CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ANSYS Meshing] Export mesh ( .msh) in a ASCII format (https://www.cfd-online.com/Forums/ansys-meshing/120822-export-mesh-msh-ascii-format.html)

pedroxramos July 15, 2013 12:16

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.

adunne304 July 18, 2013 11:59

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.

pedroxramos July 18, 2013 12:21

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

adunne304 July 18, 2013 12:28

Hi Pedro,

I can't see anything in that image link you've sent me.

pedroxramos July 18, 2013 12:30

I'm sorry. And here:https://dl.dropboxusercontent.com/u/...5/Untitled.png ?

adunne304 July 18, 2013 12:38

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.

Far July 18, 2013 12:49

http://www.cfd-online.com/Forums/ope...-openfoam.html

http://www.cfd-online.com/Forums/ope...-openfoam.html

http://www.cfd-online.com/Forums/ope...case-file.html

http://www.cfd-online.com/Forums/ope...mesh-foam.html

pedroxramos July 18, 2013 13:10

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

Far July 18, 2013 13:15

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/

pedroxramos July 18, 2013 13:16

ok, thanks a lot

samtheman23 October 6, 2016 21:46

In Ansys15 Mesher, I had to go to Tools->Options->Export and select ASCII (after I set the environment variable)

vasava October 12, 2016 06:26

Quote:

Originally Posted by samtheman23 (Post 620607)
In Ansys15 Mesher, I had to go to Tools->Options->Export and select ASCII (after I set the environment variable)

This works for all the versions. I am not sure if setting the environment variable is necessary.

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.

makaveli_lcf July 5, 2019 04:08

Works perfectly in 2019 :-) thanks



Quote:

Originally Posted by vasava (Post 621177)
This works for all the versions. I am not sure if setting the environment variable is necessary.

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.


ydima July 29, 2019 06:59

Thank you so much :D

Quote:

Originally Posted by vasava (Post 621177)
This works for all the versions. I am not sure if setting the environment variable is necessary.

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.


mukundsunil June 20, 2020 12:30

Quote:

Originally Posted by vasava (Post 621177)
This works for all the versions. I am not sure if setting the environment variable is necessary.

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.

I am new to this, can you please elaborate on the process, I am using ansys 2019 R3


All times are GMT -4. The time now is 07:46.