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

[Technical] File format for import meshes in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2007, 05:49
Default File format for import meshes in OpenFoam
  #1
t42
New Member
 
Denk Marcus
Join Date: Mar 2009
Posts: 13
Rep Power: 17
t42 is on a distinguished road
Hello Forum,

i plan to work with OpenFoam in the future.
Can somebody tell me a good mesing tool to
create hexahedral meshes (is it the best ?)
which is OpenSource or a commercial one which
is not to expensive but convinient to use ?

Which type of format must the pre-processing
and meshing software create to be compatible to
OpenFoam ?

It should run with SUSE 10.1.

Thank you
t42 is offline   Reply With Quote

Old   August 1, 2007, 05:55
Default Well, we've got blockMesh for
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Well, we've got blockMesh for really simple cases and most tutorials. For the rest, there is a full set of mesh converters. Unfortunately, there's no (released) automatic meshers or multi-block hex meshers with interfaces.

In principle, you can use any hex mesher on the market - most of them will have either Star or Fluent export format, both of which are easily converted into OpenFOAM.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 1, 2007, 06:08
Default Hi Marcus, you can try salo
  #3
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18
sradl is on a distinguished road
Hi Marcus,

you can try salome (under GNU GPL):
http://www.salome-platform.org/home/...tion/overview/

What is an option is netgen if you like also tets:
http://www.hpfem.jku.at/netgen/

What I'm currently trying is Cubit 10.2:
cubit.sandia.gov
It is an acdemic license I use (distribution fee 300 USD), I don't know how much a commercial one is. However, it is a quite comfortable program but there are minor troubles with Cubit's export to ideas format. I'm currently in contact with the Cubit guys to resolve this issue.

All three options should run with SUSE. There migth several other meshers, but as I'm academic I have only limited access to money and hence commercial meshers :-)

You can import a hole bunch of formats into OF:
http://www.opencfd.co.uk/openfoam/indexhe21.html

br
Stefan Radl
sradl is offline   Reply With Quote

Old   August 1, 2007, 08:08
Default Thank you for fast answer,
  #4
t42
New Member
 
Denk Marcus
Join Date: Mar 2009
Posts: 13
Rep Power: 17
t42 is on a distinguished road
Thank you for fast answer,

but concerning Hrovje Jasaks replie, how can i
transform mesh-files easily. Maybe itīs now to
early for me to go into deep of this issue but
is it easy possible with OpenFoam or do i need
an other device ?

greatings
t42 is offline   Reply With Quote

Old   August 1, 2007, 09:43
Default Hi, I have used CalculiX/c
  #5
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

I have used CalculiX/cgx for all hex meshes. It can export mesh with boundary conditions info to Of-1.3 format. It can be converted to OF-1.4 within OF. This is basically block-structured mesher.

I am also trying out True Grid now - a commercial package. It cannot export to OF directly, but, it supports Fluent/CFX/Star-CD. I have not completely finished the evaluation yet.

I am also trying to get a trial license of bubbleMesh - this is a new mesher. It is supposed to generate hybrid mesh (hex-dominated mesh) automatically. Send me an email if you would like to contact the company.

You can also generated all-hex using gmsh. But, gmsh is better in generating tet elements. It is more work to generate all-hex element. There is a gmshToFoam converter in OF.

Pei
hsieh is offline   Reply With Quote

Old   August 1, 2007, 09:45
Default Hi Marcus! If one of the co
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Marcus!

If one of the converters on the list Stefan pointed to (http://www.opencfd.co.uk/openfoam/indexhe21.html) works for the format your mesh generator writes, it's as easy as 1 2 3 (or in the case of a Fluent-mesh: fluentMeshToFoam . theCase theMesh.msh). If your generator is not supported, then you have a problem .... You'll have to write a converter
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


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
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 09:54.