|
[Sponsors] |
May 22, 2013, 09:30 |
Geometry in OpenFoam
|
#1 |
Member
Amin
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Hello everyone,
I am a new OpenFoam-user and have a lot of questions.... i read the User-guide...but still not understanding , how really openfoam works.... so...first of all .... i am interested on the geometry in OpenFoam: I would like to understand, how OpenFoam builds the geometry..where can i find the information concerning the geometry, that i want to simulate ? how can know....if my geometry is an air foil, a cylinder or a cavity ? how can i import CAD-files into OpenFoam ? how can use geometries, that i drew using a CAD-software ? should i only use the stl format ? Thanks a lot !!!!! Last edited by Mirage12; May 23, 2013 at 01:02. |
|
May 23, 2013, 14:59 |
|
#2 | |
Member
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 16 |
Quote:
OpenFOAM has 2 general approaches for building geometries: blockMesh and snappyHexMesh. BlockMesh is typically used for simple geometries, you basicaly define points and builds blocks from them. You can read this for more detailed information. http://www.openfoam.org/docs/user/blockMesh.php Other way to generate geometry in OpenFOAM is using snappyHexMesh, it takes a stl file as input, and there's various parameters to control the quality of the resultant mesh. for more detail, read this http://www.openfoam.org/docs/user/snappyHexMesh.php A tutorial on snappyHexMesh is located at /tutorials/mesh/snappyHexMesh/ That should get you going |
||
May 24, 2013, 01:05 |
|
#3 |
Member
Amin
Join Date: May 2013
Posts: 76
Rep Power: 13 |
thank you
but how can i import CAD-files into OpenFoam ? how can i use geometries, that i drew using a CAD-software ? should i only use the stl format ? |
|
May 24, 2013, 01:11 |
|
#4 |
Member
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 16 |
Yah, export your geometry into stl files, and use snappyHexMesh to generate the mesh. That will require a background mesh generated using blockmesh and a file called snappyHexMeshDict in the system directory. A sample snappyHexMeshDict can be found in the tutorial link I posted earlier.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] O-grid around wing geometry | Anorky | ANSYS Meshing & Geometry | 15 | November 27, 2017 14:43 |
Memory protection in OpenFOAM / combinig with FORTRAN | botp | OpenFOAM Programming & Development | 2 | February 15, 2016 13:25 |
ESI-OpenCFD Releases OpenFOAM v2.2.0 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 13 | March 30, 2013 17:52 |
[Gmsh] gmsh 2.6.0 conversion to OpenFoam 160 | rosswin | OpenFOAM Meshing & Mesh Conversion | 0 | March 5, 2013 08:34 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |