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/)
-   -   [Other] ANSYS to Fluent mesh export in ASCII format (https://www.cfd-online.com/Forums/ansys-meshing/72929-ansys-fluent-mesh-export-ascii-format.html)

Davitt November 3, 2015 17:15

Hello everyone,

I've recently read through this post as I am attempting to use fluent3DMeshToFoam to import a .msh file into OpenFOAM but after setting the the varaible for ASCII, the command still does not produce the mesh in OpenFOAM.
It just stops at Lexing...here is an image of the terminal
[IMG]http://i666.photobucket.com/albums/v...pss5owq4nh.png[/IMG]

Any help will be greatly appreciated,

Thank you,
Davitt

chewlupwai April 21, 2016 20:29

As mentioned in previous posts, changing environment doesn’t work in ANSYS v14 and above if you want to export .msh file as ASCII format. After a whole day of digging, I finally found the way, hope this helps:
Step 1: Tools -> Options -> Meshing -> Export
Step 2: Under ANSYS FLUENT, change Format of input files to “ASCII”
Step 3: Export as .msh format
Step 4: Run your fluent3DMeshToFoam to convert your mesh

cryabroad July 12, 2018 22:26

Set it in ANSYS Meshing
 
I know this is a very old post, just want to provide a little video I found. It's exactly what Lup Wai suggested, but you can see it in action.

https://www.youtube.com/watch?v=f9-GDWLKixg (Get .MSH Fluent Mesh File to Use in OpenFOAM w/o Having Fluent License)

At around 5' mark.

mattia_samiolo May 17, 2021 06:20

Workbench 2020 r2
 
To export the .msh file in ASCII format the shortest way (from ANSYS meshing) is:

File -> Option -> Meshing -> Export -> Format of input file (.msh)

Choose ASCII and then you can easily extract the file in ASCII format exporting the mesh.

a.aralnu October 19, 2021 20:13

Yes, this is the way to do it from fluent mesh program.

If you are working in ICEM CFD v 2020R2 you have to go to output mesh menu --> select solver --> fluent, set BC --> input file. In the input file menu just click the Write Binary File : NO. This writes the mesh file in ASCII.

Just tried this after looking it up for a couple hours and it works.


All times are GMT -4. The time now is 05:52.