Open haivijayanand opened 4 years ago
This is the code, i tried to convert to python 3. Any help is highly appreciated...
I have pushed 8f9f0517a3a194888c9469f9bdc7be3d232dcf62, which
Dear Mr.Mrklein, Thank you very much for your time and efforts. My intention is to make the grid to run in Ansys Fluent Software. I will check the compatibility with ICEM CFD Grid Software, after converting my CONSTRUCT2D grid to gmsh. . . Regards, K Vijay Anand
I have attached the Fluent .msh file format just for your reference... appb.pdf
Fluent's .msh is completely different from Gmsh's .msh format. Since there is a way to import Gmsh mesh into Fluent (for example, https://www.cfd-online.com/Forums/openfoam-meshing/81841-gmsh-fluent.html), I do not see the point in implementing conversion to Fluent's format.
Hi Mr.Mrklein, I tried to use your code on windows machine with python 3 environment.
I get the following error
E:\CONSTRUCT2D\Construct2D_2.1.4>p3d2gmsh3.py -m 64a612.nmf 64a612.p3d Traceback (most recent call last): File "E:\CONSTRUCT2D\Construct2D_2.1.4\p3d2gmsh3.py", line 55, in
FILE PyBytes_AsFile(PyObject p)
NameError: name 'PyBytes_AsFile' is not defined
Kindly look into the issue please
K Vijay Anand