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

How to create Prism Layer in OpenFOAM?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 16, 2011, 07:01
Question How to create Prism Layer in OpenFOAM?
  #1
Member
 
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 52
Blog Entries: 1
Rep Power: 12
j-avdeev will become famous soon enough
Send a message via Skype™ to j-avdeev
Does OpenFOAM have something for creating prism layer as Star-CCM+ has?
j-avdeev is offline   Reply With Quote

Old   August 16, 2011, 09:14
Default Boundary layer in OpenFOAM
  #2
New Member
 
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 24
Rep Power: 8
jango is on a distinguished road
Hello j-avdeev,

with blockmesh you can create graded mesh blocks (according to chpt. 2.1.6. in Users guide). If you want to create a boundary layer, it may be useful to divide up the blocks in graded and non graded cells according to the attached example.

greets,

Jan
Attached Files
File Type: gz blockMeshDict.gz (3.7 KB, 66 views)
jango is offline   Reply With Quote

Old   September 19, 2011, 04:50
Default
  #3
Member
 
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 52
Blog Entries: 1
Rep Power: 12
j-avdeev will become famous soon enough
Send a message via Skype™ to j-avdeev
Thanks, Jan.
Can you also describe how you made this blockMeshDict?
Too much vertices - what additional software you use?
j-avdeev is offline   Reply With Quote

Old   September 19, 2011, 06:27
Default Prism layers in openFOAM
  #4
New Member
 
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 24
Rep Power: 8
jango is on a distinguished road
Hi j-avdeev,

This model (see attached files) I created with a python script. With python you can do parametric modelling and it`s much easier than editing the blockMeshDict by hand. For 3D- boundary layer you can use salome (www.salome-platform.org)

greets,

Jan
Attached Files
File Type: zip pyDustsep.zip (5.9 KB, 37 views)

Last edited by jango; September 19, 2011 at 06:48. Reason: forgotten attachments
jango is offline   Reply With Quote

Old   September 23, 2011, 16:38
Default
  #5
Member
 
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 52
Blog Entries: 1
Rep Power: 12
j-avdeev will become famous soon enough
Send a message via Skype™ to j-avdeev
Also connected theoretical question -
how you choose sufficient count of boundary layers?
and mesh frequency?

Are you just use Courant number (as written in User Guide) or something else?
j-avdeev is offline   Reply With Quote

Old   September 25, 2011, 05:43
Default
  #6
New Member
 
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 24
Rep Power: 8
jango is on a distinguished road
Quote:
Originally Posted by j-avdeev View Post
Also connected theoretical question -
how you choose sufficient count of boundary layers?
and mesh frequency?

Are you just use Courant number (as written in User Guide) or something else?
Hi j-avdeev,

that strongly depends on your desired results. In the theorical way you can do it as written in UG. In practical experience it`s mostly the case, that you approximately estimate the number of cells without boundary layer and set up a model with a coarse mesh in a parametric way. Making sure, the model works, you simply change the parameters for mesh refinement and boundary layers.
If you`re not interested in near wall results at some parts of the model and you don`t have heated walls or something, you can simply calculate the model without boundary layers at this regions.

have fun trying it and a nice weekend,

Jan
jango 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
Boundary layer generation problems ivan_cozza OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2010 13:47
[ICEM] Auto prism layer growth to unity siw ANSYS Meshing & Geometry 5 August 23, 2010 16:40
[ICEM] Creation of hexa dominant mesh and prism layer gnuboard ANSYS Meshing & Geometry 5 May 18, 2010 10:27
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 00:41.