underworldcode / underworld3

https://underworldcode.github.io/underworld3/
Other
21 stars 10 forks source link

What mesh formats are currently supported by PETSc for reading? #209

Closed gthyagi closed 4 months ago

gthyagi commented 5 months ago

Hi @knepley,

What mesh formats, other than Gmsh and Exodus, can PETSc currently read? Is there any documentation available for this?

Thanks.

lmoresi commented 5 months ago

Thyagi,

While you are waiting for the definitive response from Matt, have a look at the DMPLEX documentation here and, particularly, all of the DMPLEXcreate_____ functions. That should give you the broad sense of what is possible. Matt can tell you how well each one works.

gthyagi commented 4 months ago

Following the Petsc4py example, I was able to create dmplex from .mesh file (medit format).