Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gthyagi opened this issue Jun 24, 2024 · 2 comments
Closed

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

gthyagi opened this issue Jun 24, 2024 · 2 comments

Comments

@gthyagi
Copy link
Contributor

gthyagi commented Jun 24, 2024

Hi @knepley,

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

Thanks.

@lmoresi
Copy link
Member

lmoresi commented Jun 24, 2024

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
Copy link
Contributor Author

gthyagi commented Jul 19, 2024

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

@gthyagi gthyagi closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants