CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   vanalbada limiter (https://www.cfd-online.com/Forums/openfoam-programming-development/135605-vanalbada-limiter.html)

yeharav May 15, 2014 09:12

vanalbada limiter
 
Hi Foamers.

Does anybody know why the vanAlbada limiter (src/finiteVolume / interpolation / surfaceInterpolation / limitedSchemes / vanAlbada/vanAlbada.H)

isimplemented as :

r*(r + 1)/(sqr(r) + 1)

Where the van albada limiter is actually,
r*(r + 1)/(r**2 + 1) (see for example wikipedia or Berger and Aftosmis,
nalysis of Slope Limiters on Irregular Grids).

Another troubling aspect is that the OF implementation does not
fulfill Sweby conditions for limiters.

The limiter is greater than 2 when r is greater then ~ 1.7.

alexeym May 15, 2014 09:19

Hi,

sqr(r) == r**2

(square root is sqrt in C)

yeharav May 15, 2014 09:21

oh my mistake I thought it is square root...


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