CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS Meshing & Geometry (
-   -   [ANSYS Meshing] Export .msh file for fluent by script (

Mostapha July 21, 2011 16:21

Export .msh file for fluent by script
Hi all,

I have a quick question. I want to export the mesh as .msh from WB Meshing and then import it in Fluent. It's manually possible from File> Export and export as .msh file but I need to do it by scripting.

In WorkBench Scripting document the export command only works for .mshdat files which Fluent cannot read.

Changing the file name to .msh in the command line was not helpful as well. Something like: mesh.Export(FilePath=r"D:\BoxTest\box.msh")

Thanks in advance,

adenlan August 2, 2011 05:33

I also need to export automatically to fluent ... If anyone has a solution, please answer this thread ...
Another solution would be to find a utility that converts meshdat to msh and can be run in batch ...

All times are GMT -4. The time now is 06:18.