Renu
Renu

Reputation: 35

Package that deals with cgns format?

How to read cgns file contain mesh in python?

I found one package Pymesh but this package only deal with (read/write 2D and 3D mesh in .obj, .ply, .stl, .mesh).

Does anyone knows any package?

Upvotes: 0

Views: 2870

Answers (3)

smillerc
smillerc

Reputation: 168

If the CGNS file is written with hdf5 (instead of the older ADF versions) you can open them with the python libraries h5py or tables. I use these to read my CGNS files and access them like any other hdf5 file. The same could be said for matlab or any other language... if you can read hdf5 you can read CGNS. I believe CGNS versions 3+ default to hdf5.

Upvotes: 2

Nico Schlömer
Nico Schlömer

Reputation: 58791

meshio now has initial support for CGNS.

Upvotes: 1

Renu
Renu

Reputation: 35

PyCGNS libraries for CGNS end-users and Python application developpers. Here is link - http://pycgns.sourceforge.net/

Upvotes: 2

Related Questions