CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   Specifying the height of the first cell of a block using simpleGrading (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/89575-specifying-height-first-cell-block-using-simplegrading.html)

bigbang June 16, 2011 13:15

Specifying the height of the first cell of a block using simpleGrading
 
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 June 16, 2011 13:52

Nevermind. I found a program that does it in the same forum...

http://www.cfd-online.com/Forums/ope...alculator.html


All times are GMT -4. The time now is 07:47.