CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

grow rate of cells

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 3, 2011, 04:09
Default grow rate of cells
  #1
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 7
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
In cfd computations grow rate of cells should be about 1.1-1.5 near a wall. But in all examples from tutorials aspect ratio of conectings edges is 2. How can I change it?

Thanks in advance!

Last edited by Svensson; October 3, 2011 at 07:39.
Svensson is offline   Reply With Quote

Old   October 4, 2011, 08:21
Default
  #2
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 259
Blog Entries: 5
Rep Power: 11
tomislav_maric is on a distinguished road
Quote:
Originally Posted by Svensson View Post
In cfd computations grow rate of cells should be about 1.1-1.5 near a wall. But in all examples from tutorials aspect ratio of conectings edges is 2. How can I change it?

Thanks in advance!
Edit this kind of line in the "const/blockMeshDict" file:


Code:
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
there you will see that the mesh grading is defined alongside edges of every block. There are more information on this in the User Guide:

http://www.openfoam.com/docs/user/bl...#x25-1420005.3

Tomislav
tomislav_maric is offline   Reply With Quote

Old   October 4, 2011, 09:47
Default
  #3
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 7
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
I'm asking about another problem.. I use snappyHexMesh and would like to have 'grow rate' from the body with any coefficient (in my case 1.3).
Is it possible in sHM?
Svensson is offline   Reply With Quote

Old   October 4, 2011, 10:28
Default
  #4
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 259
Blog Entries: 5
Rep Power: 11
tomislav_maric is on a distinguished road
Quote:
Originally Posted by Svensson View Post
I'm asking about another problem.. I use snappyHexMesh and would like to have 'grow rate' from the body with any coefficient (in my case 1.3).
Is it possible in sHM?
I remember it being possible, but I can't remember how to use it... I did set this up a while ago, but if I remember correctly, it was only the refinement increase for the bulk of the mesh in defined regions. For instance, there was a distance vector of some kind (if I remember correctly), and for every different distance from a patch, a different refinement level is prescribed.

Tomislav
tomislav_maric 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
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
physical boundary error!! kris CD-adapco 2 August 3, 2005 00:32


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