CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Geometry in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2013, 08:30
Default Geometry in OpenFoam
  #1
Member
 
Amin
Join Date: May 2013
Posts: 76
Rep Power: 12
Mirage12 is on a distinguished road
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 00:02.
Mirage12 is offline   Reply With Quote

Old   May 23, 2013, 13:59
Default
  #2
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 15
zhengzh5 is on a distinguished road
Quote:
Originally Posted by Mirage12 View Post
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 !!!!!
hey,

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
zhengzh5 is offline   Reply With Quote

Old   May 24, 2013, 00:05
Default
  #3
Member
 
Amin
Join Date: May 2013
Posts: 76
Rep Power: 12
Mirage12 is on a distinguished road
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 ?
Mirage12 is offline   Reply With Quote

Old   May 24, 2013, 00:11
Default
  #4
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 15
zhengzh5 is on a distinguished road
Quote:
Originally Posted by Mirage12 View Post
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 ?
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.
zhengzh5 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
[ICEM] O-grid around wing geometry Anorky ANSYS Meshing & Geometry 15 November 27, 2017 13:43
Memory protection in OpenFOAM / combinig with FORTRAN botp OpenFOAM Programming & Development 2 February 15, 2016 12:25
ESI-OpenCFD Releases OpenFOAM v2.2.0 opencfd OpenFOAM Announcements from ESI-OpenCFD 13 March 30, 2013 16:52
[Gmsh] gmsh 2.6.0 conversion to OpenFoam 160 rosswin OpenFOAM Meshing & Mesh Conversion 0 March 5, 2013 07:34
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


All times are GMT -4. The time now is 10:44.