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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 1 Post By adunne304
  • 1 Post By Far
  • 1 Post By Far

Reply
 
LinkBack Thread Tools Display Modes
Old   July 15, 2013, 12:16
Default Export mesh ( .msh) in a ASCII format
  #1
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Portugal
Posts: 62
Rep Power: 6
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, 11:59
Default
  #2
New Member
 
Adrian
Join Date: Jul 2013
Location: Dublin
Posts: 21
Rep Power: 6
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, 12:21
Default
  #3
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Portugal
Posts: 62
Rep Power: 6
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, 12:28
Default
  #4
New Member
 
Adrian
Join Date: Jul 2013
Location: Dublin
Posts: 21
Rep Power: 6
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, 12:30
Default
  #5
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Portugal
Posts: 62
Rep Power: 6
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, 12:38
Default
  #6
New Member
 
Adrian
Join Date: Jul 2013
Location: Dublin
Posts: 21
Rep Power: 6
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, 12:49
Default
  #7
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,314
Blog Entries: 6
Rep Power: 43
Far will become famous soon enoughFar will become famous soon enough
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, 13:10
Default
  #8
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Portugal
Posts: 62
Rep Power: 6
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, 13:15
Default
  #9
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,314
Blog Entries: 6
Rep Power: 43
Far will become famous soon enoughFar will become famous soon enough
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, 13:16
Default
  #10
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Portugal
Posts: 62
Rep Power: 6
pedroxramos is on a distinguished road
ok, thanks a lot
pedroxramos is offline   Reply With Quote

Old   October 6, 2016, 21:46
Default
  #11
New Member
 
Skanner Darkly
Join Date: Jul 2016
Posts: 3
Rep Power: 2
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, 06:26
Default
  #12
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 682
Rep Power: 15
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.
vasava is offline   Reply With Quote

Reply

Tags
ascii. fluent, mesh

Thread Tools
Display Modes

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 On
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 61 April 21, 2016 20:29
[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 09:16
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30


All times are GMT -4. The time now is 12:43.