CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   How the grading is calculated (

Rickard.Solsjo December 3, 2010 06:47

How the grading is calculated
If I use 10 cells and 10 cm together with a stretching lets say 2
All cells are initially 1 cm each. Will the smallest cell be 1/2 cm or is it calculated in some other way?


Bernhard December 3, 2010 08:34

It is quite clearly explained in the user guide I think:

Rickard.Solsjo December 3, 2010 09:16

We talked it over here and assumed they are using some kind of numerical summation
L = sum(n=0,N-1)x(1+n/(N-1)) where in the end we get
x = 2L/3N based on some kind of average in the middle

All times are GMT -4. The time now is 12:53.