CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Double grading meshes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2016, 12:04
Default Double grading meshes
  #1
New Member
 
Tom Bale
Join Date: Feb 2016
Posts: 2
Rep Power: 0
tb465 is on a distinguished road
Hi All,

I've just started using openFoam and I'm looking to change my mesh using double grading. This sentence is in the wiki,

"Each of the grading sections is described by a triple consisting of the fraction of the block, the fraction of the divisions and the grading ratio"

and I was wondering what the fraction of the divisions is?
tb465 is offline   Reply With Quote

Old   February 25, 2016, 22:30
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

A typical block definition goes something like this:

hex (0 1 2 3 4 5 6 7) (NX NY NZ)
simpleGrading
(
1
(
(LY1 ny1 GR)
(LY2 ny2 GR)
)
1
)

Basically these should hold:
LY1 + LY2 = Span in the y-direction of the mesh
ny1 + ny2 = NY

i.e. the sum of the number of cells in each sub-block should equal the total number of cells of the big block.

Hope this helps.

Cheers,
Antimony
Antimony 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
fvOptions npatricia OpenFOAM 6 May 23, 2018 06:21
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
Warning message C4133 while compiling Arminius Fluent UDF and Scheme Programming 0 October 2, 2017 12:44
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


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