usnistgov / fipy

FiPy is a Finite Volume PDE solver written in Python
http://pages.nist.gov/fipy/en/latest
Other
509 stars 149 forks source link

viewing 3D Cahn-Hilliard is broken #115

Closed wd15 closed 10 years ago

wd15 commented 10 years ago

Reported by Edwin.

I have been playing with FiPy all morning, mostly with the 1D and 2D examples. A few minutes ago, I started to play with the 3D viewers. I extended the 2D spinodal decomposition example and simply ran it (please find attached spinodal3D.py). Maybe I did something wrong, but upon running it, I got the warning:

Warning: The Mayavi viewer may or may not render 3D meshes correctly The method Mesh._getOrderedCellVertexIDs() needs to be fixed to return the correct ordering for 3D meshes that fits with pyvtk paradigm.

and the 3D mesh looks quite awkward (please see attached TIFF).

Imported from trac ticket #130, created by wd15 on 05-29-2007 at 09:56, last modified: 07-02-2008 at 09:37

wd15 commented 10 years ago

wd15 attached 3dimage.tiff on 05-29-2007 at 09:57

wd15 commented 10 years ago

wd15 attached spinodal3D.py on 05-29-2007 at 09:59

guyer commented 10 years ago

Fixed in r2626 by correcting the UniformGrid3D vertex numbering.

Trac comment by guyer on 07-02-2008 at 09:37