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

[CAD formats] How to convert an IGES hull surfaces to an OF mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2013, 14:57
Question How to convert an IGES hull surfaces to an OF mesh
  #1
New Member
 
sreibisch
Join Date: Sep 2013
Posts: 10
Rep Power: 13
Ingenieur5 is on a distinguished road
Hi all,
I have to state that I am new to OF as well as to Linux
I managed to get through some tutorials including the Wighley hull but have no clew how to convert my own hull surface (Iges format out of NAPA and modified in Rhino3D) to a format usable instead of the wighley hull. To be honest I even cannot check the tutorial input as I do not know how to get to the original wighley hull file as everything is zipped in gz-files....
Do anyone know where to find such instruction or can give it directly???

Thanks
Sönke
Ingenieur5 is offline   Reply With Quote

Old   September 10, 2013, 18:09
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
The Allrun script copies $FOAM_TUTORIALS/resources/geometry/wigley-scaled-oriented.stl.gz to in constant/triSurface/ your case directory.
see https://github.com/OpenFOAM/OpenFOAM...leyHull/Allrun

It is in the STL file format (compressed by gzip) https://en.wikipedia.org/wiki/STL_%28file_format%29
You can uncompress it by ungzip scaled-oriented.stl.gz

You can view it in a CAD program like FreeCAD (http://www.freecadweb.org/)

Then a mesh is created using snappyHexMesh (also see the Allrun script).

The blockMeshDict has to be adapted that your hull fits into the surrounding block mesh. Then your snappyHexMeshDict has to be modified correspondingly (e.g. for different names/sizes of the surfaces).

So I guess you have to learn how to use snappyHexMesh.
jherb is offline   Reply With Quote

Old   September 11, 2013, 05:11
Default
  #3
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 19
colinB is on a distinguished road
Dear Soenke,

if you have Rhino you can export your iges file to stl (ascii)
and use this together with snappyHexMesh and blockMesh
to create an openfoam-mesh.

How to do this I recommend you to go through the motorbike
and the damBreak tutorials (motorbike for snappyHexMehs
and damBreak for multiphase) both of them are also briefly
explained in the user guide.

I hope this helps you
regards
Colin
colinB is offline   Reply With Quote

Old   September 13, 2013, 15:15
Question
  #4
New Member
 
sreibisch
Join Date: Sep 2013
Posts: 10
Rep Power: 13
Ingenieur5 is on a distinguished road
Hi,
is there a description for the single steps of the mentioned motorbike tutorial? I fear just to run the allrunn command doesn't help to learn and understand snappyhexmesh, or?

regards
Sönke
Ingenieur5 is offline   Reply With Quote

Old   September 13, 2013, 17:22
Default
  #5
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Look inside the Allrun script to see what programs are called. The configuration for snappyHexMesh is system/snappyHexMeshDict

A documentation of snappyHexMesh can be found e.g. here: http://openfoamwiki.net/index.php/Sn...als_and_Guides
jherb is offline   Reply With Quote

Reply

Tags
conversion, iges, mesh, rhino3d


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
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) Combas SU2 45 October 16, 2024 18:26
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 16:15
[snappyHexMesh] Disturbance in the mesh after the addition of layers Dorian1504 OpenFOAM Meshing & Mesh Conversion 0 June 13, 2017 03:27
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 01:27
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


All times are GMT -4. The time now is 15:56.