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

[blockMesh] Specifying the height of the first cell of a block using simpleGrading

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2011, 14:15
Default Specifying the height of the first cell of a block using simpleGrading
  #1
Member
 
Alex
Join Date: Jun 2010
Location: Planet Earth
Posts: 43
Rep Power: 16
bigbang is on a distinguished road
Has anybody come up with a formula to solve the ratio you need for a given first layer height and total block height in blockMesh?

Example:

Let's say I'm modeling the flow over a thin plate 4m long as a single block. I want my first layer of cells on the plate to be 0.001m in height. Outside of using multiple blocks, can I specify a certain expansion ratio for a given block height that will give me exactly 0.001m in height on the first layer?
bigbang is offline   Reply With Quote

Old   June 16, 2011, 14:52
Default
  #2
Member
 
Alex
Join Date: Jun 2010
Location: Planet Earth
Posts: 43
Rep Power: 16
bigbang is on a distinguished road
Nevermind. I found a program that does it in the same forum...

http://www.cfd-online.com/Forums/ope...alculator.html
bigbang 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
[blockMesh] --> FOAM FATAL ERROR: Trying to specify a boundary face A.A. OpenFOAM Meshing & Mesh Conversion 41 June 26, 2020 08:06
[blockMesh] edges not aligned with or perpendicular to non-empty directions ynos OpenFOAM Meshing & Mesh Conversion 6 March 26, 2020 16:02
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from syntex OpenFOAM Meshing & Mesh Conversion 19 December 10, 2018 08:21
Neighboring cells in tetrahedral mesh vishwesh OpenFOAM Programming & Development 9 November 10, 2017 08:06
[blockMesh] FOAM FATAL ERROR: face 0 in patch 0 does not have neighbour cell face am9109 OpenFOAM Meshing & Mesh Conversion 41 October 15, 2015 04:59


All times are GMT -4. The time now is 04:15.