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

Geometry in OpenFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 22, 2013, 08:30
Default Geometry in OpenFoam
  #1
Member
 
Amin
Join Date: May 2013
Posts: 76
Rep Power: 4
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: 5
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: 4
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: 5
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

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
ESI-OpenCFD Releases OpenFOAM v2.2.0 opencfd OpenFOAM Announcements from ESI-OpenCFD 13 March 30, 2013 17:52
gmsh 2.6.0 conversion to OpenFoam 160 rosswin Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 March 5, 2013 08:34
Memory protection in OpenFOAM / combinig with FORTRAN botp OpenFOAM Programming & Development 1 February 6, 2013 05:26
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
[ICEM] O-grid around wing geometry Anorky ANSYS Meshing & Geometry 12 August 17, 2011 21:28


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