Export mesh ( .msh) in a ASCII format
Hello!
I'm trying to convert a Fluent mesh to an OpenFOAM one. The problem is that the mesh has to be in a .msh ASCII format and not in binary. Can any of you help me? I don t find anythinh in Fluent about this. Best regards. |
If you have ICEM, you can import it from ANSYS meshing and then re-export it in the Fluent format needed to convert in openFoam.
|
Hello, thank you for your answer.
Your suggestion seems good but the problem is that i don t find the option to export to a fluent file (.msh). See for yourself in here: http://d.pr/i/tqSz |
Hi Pedro,
I can't see anything in that image link you've sent me. |
I'm sorry. And here:https://dl.dropboxusercontent.com/u/...5/Untitled.png ?
|
Instead of exporting it from there, go to the output tab and click 'write input'. Choose ANSYS Fluent from there and it should write it in ASCII format.
|
|
ok, thanks. no i have this message error:
Usage: fluent3DMeshToFoam <Fluent mesh file> [-cubit] [-scale scale factor] [-ignoreCellGroups cell group names] [-case dir] [-ignoreFaceGroups face group names] [-help] [-doc] [-srcDoc] --> FOAM FATAL ERROR: Wrong number of arguments, expected 1 found 0 FOAM exiting |
I am not expert in foam, so I dont have idea about the error message.
http://openfoamwiki.net/index.php/Fluent3DMeshToFoam http://www.cfd-online.com/Forums/ope...eshtofoam.html http://www.cfd-online.com/Forums/ope...meshing-other/ |
ok, thanks a lot
|
In Ansys15 Mesher, I had to go to Tools->Options->Export and select ASCII (after I set the environment variable)
|
Quote:
There is another way to bring fluent mesh to openFoam. Import your mesh to fluent and write case (no need to setup anything). While Writing the case make sure to remove tic in the binary option. Removing the tic will write the fluent case in ASCII form. This case file can be converted to openFoam mesh with fluentMeshtoFoam command. |
Works perfectly in 2019 :-) thanks
Quote:
|
Thank you so much :D
Quote:
|
Quote:
|
All times are GMT -4. The time now is 07:46. |