[CIG-SHORT] PyLith Value Error

Brad Aagaard baagaard at usgs.gov
Tue Oct 18 14:00:47 PDT 2011


Bobby,

The error indicates that you are trying to set the shape of the cell to 
'tetrahedron' in a 2-D mesh (spatial dimension of 2). The shape of the 
cell should be 'triangle' ('tetrahedron' is for a 3-D mesh, which has a 
spatial dimension of 3).

Brad


On 10/18/2011 01:48 PM, BOK10 at pitt.edu wrote:
> Hi,
>
> I'm having some difficulty figuring out what this error means:
>
> ValueError: Could not set shape 'tetrahedron' of cell for 'fiatsimplex' in
> spatial dimension '2'.
>
> I created my triangle mesh in Cubit, and am assuming i've just made a
> simple error somewhere. The last line in the log before this error is:
>
> File "/usr/lib/python2.6/site-packages/pylith/feassemble/FIATSimplex.py",
> line 243, in_setupGeometry
> "dimension '%s'." % (name, self.name, spaceDim))
>
> Thanks for your help,
> Bobby Karimi
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list