CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ANSYS Meshing] Export mesh ( .msh) in a ASCII format

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 1 Post By adunne304
  • 1 Post By Far
  • 1 Post By Far
  • 3 Post By samtheman23
  • 1 Post By vasava

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2013, 13:16
Default Export mesh ( .msh) in a ASCII format
  #1
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14
pedroxramos is on a distinguished road
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.
pedroxramos is offline   Reply With Quote

Old   July 18, 2013, 12:59
Default
  #2
New Member
 
Adrian
Join Date: Jul 2013
Location: Dublin
Posts: 21
Rep Power: 14
adunne304 is on a distinguished road
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.
__________________
www.idacireland.com
adunne304 is offline   Reply With Quote

Old   July 18, 2013, 13:21
Default
  #3
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14
pedroxramos is on a distinguished road
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
pedroxramos is offline   Reply With Quote

Old   July 18, 2013, 13:28
Default
  #4
New Member
 
Adrian
Join Date: Jul 2013
Location: Dublin
Posts: 21
Rep Power: 14
adunne304 is on a distinguished road
Hi Pedro,

I can't see anything in that image link you've sent me.
__________________
www.idacireland.com
adunne304 is offline   Reply With Quote

Old   July 18, 2013, 13:30
Default
  #5
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14
pedroxramos is on a distinguished road
I'm sorry. And here:https://dl.dropboxusercontent.com/u/...5/Untitled.png ?
pedroxramos is offline   Reply With Quote

Old   July 18, 2013, 13:38
Default
  #6
New Member
 
Adrian
Join Date: Jul 2013
Location: Dublin
Posts: 21
Rep Power: 14
adunne304 is on a distinguished road
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.
pedroxramos likes this.
__________________
www.idacireland.com
adunne304 is offline   Reply With Quote

Old   July 18, 2013, 13:49
Default
  #7
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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
rsaha likes this.
Far is offline   Reply With Quote

Old   July 18, 2013, 14:10
Default
  #8
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14
pedroxramos is on a distinguished road
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
pedroxramos is offline   Reply With Quote

Old   July 18, 2013, 14:15
Default
  #9
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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 likes this.
Far is offline   Reply With Quote

Old   July 18, 2013, 14:16
Default
  #10
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14
pedroxramos is on a distinguished road
ok, thanks a lot
pedroxramos is offline   Reply With Quote

Old   October 6, 2016, 22:46
Default
  #11
New Member
 
Skanner Darkly
Join Date: Jul 2016
Posts: 3
Rep Power: 10
samtheman23 is on a distinguished road
In Ansys15 Mesher, I had to go to Tools->Options->Export and select ASCII (after I set the environment variable)
samtheman23 is offline   Reply With Quote

Old   October 12, 2016, 07:26
Default
  #12
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
Quote:
Originally Posted by samtheman23 View Post
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 likes this.
vasava is offline   Reply With Quote

Old   July 5, 2019, 05:08
Default
  #13
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Works perfectly in 2019 :-) thanks



Quote:
Originally Posted by vasava View Post
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.
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   July 29, 2019, 07:59
Default
  #14
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Thank you so much

Quote:
Originally Posted by vasava View Post
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 is offline   Reply With Quote

Old   June 20, 2020, 13:30
Default
  #15
New Member
 
mukund
Join Date: Mar 2020
Posts: 3
Rep Power: 6
mukundsunil is on a distinguished road
Quote:
Originally Posted by vasava View Post
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
mukundsunil is offline   Reply With Quote

Reply

Tags
ascii. fluent, mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] ANSYS to Fluent mesh export in ASCII format johannes ANSYS Meshing & Geometry 64 October 19, 2021 21:13
[ICEM] export hexa mesh to fluent Wieland ANSYS Meshing & Geometry 37 January 23, 2013 04:27
Export mesh from Fluent in Nastran format Wieland FLUENT 9 October 19, 2012 10:16
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 07:30


All times are GMT -4. The time now is 19:20.