CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

how can convert a blockMeshDict file into a mesh for Fluent?

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

Like Tree2Likes
  • 1 Post By nanes
  • 1 Post By nanes

Reply
 
LinkBack Thread Tools Display Modes
Old   April 15, 2013, 14:33
Default how can convert a blockMeshDict file into a mesh for Fluent?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
i have run a case in OpenFOAM and want to test it also in fluent.i have not acess to gambit now.
How can i convert simple geometry and mesh i created in fluent withot need to install gambit?
I know there is a vice versa tool but i need it reciprocally.
Is it possible?
immortality is offline   Reply With Quote

Old   April 16, 2013, 04:58
Default
  #2
New Member
 
Emanuele Leggio
Join Date: May 2009
Posts: 11
Rep Power: 8
nanes is on a distinguished road
Try foamMeshToFluent
nanes is offline   Reply With Quote

Old   April 16, 2013, 05:53
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
thanks.but flent execute it only in 3d mode while my case is 2d.how can delete third dimension?
immortality is offline   Reply With Quote

Old   April 16, 2013, 06:16
Default
  #4
New Member
 
Emanuele Leggio
Join Date: May 2009
Posts: 11
Rep Power: 8
nanes is on a distinguished road
Quote:
Originally Posted by immortality View Post
thanks.but flent execute it only in 3d mode while my case is 2d.how can delete third dimension?
Your OpenFOAM case is 2d, are you sure?

OpenFOAM cases are only 3d, 2d openfoam case is fake because the mesh has one cell in the third dimension.
The first tutorial of OpenFOAM (cavity) has the mesh in this way.

For these reasons, if you want to use a mesh of OpenFOAM with Fluent you must use fluent 3d.

Fluent has 3d and 2d versions but the 2d version read "real" 2d mesh and is not compatible with the OpenFOAM meshes.
nanes is offline   Reply With Quote

Old   April 16, 2013, 17:32
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
my case is 2d in real(3d in of) but 2d fluent doesn't accept it.
Isn't a way to modify the file obtained from foammeshtofluent?
immortality is offline   Reply With Quote

Old   April 17, 2013, 05:27
Default
  #6
New Member
 
Emanuele Leggio
Join Date: May 2009
Posts: 11
Rep Power: 8
nanes is on a distinguished road
Quote:
Originally Posted by immortality View Post
my case is 2d in real(3d in of) but 2d fluent doesn't accept it.
Isn't a way to modify the file obtained from foammeshtofluent?
I do not know a method for changing a 3d mesh to get a 2d mesh, but I suggest you to use the 3d mesh in fluent with appropriate BC, for example I think you can use symmetry BC in Fluent to "emulate" empty BC in OpenFOAM.
immortality likes this.
nanes is offline   Reply With Quote

Old   April 17, 2013, 07:16
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
thank you for your helpful answer.
Then i think dimension in z direction should be small or no matter?
immortality is offline   Reply With Quote

Old   April 17, 2013, 07:30
Default
  #8
New Member
 
Emanuele Leggio
Join Date: May 2009
Posts: 11
Rep Power: 8
nanes is on a distinguished road
The important thing is to have one cell in z direction, the size does not matter.
immortality likes this.
nanes is offline   Reply With Quote

Reply

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
wmake compiling new solver mksca OpenFOAM Programming & Development 13 August 18, 2014 22:26
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


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