OpenFoam, SALOME, all free tools for engineers
second order schemes
Posted August 28, 2013 at 11:43 by skeptik
Quote:
Hi,
both limitedLinear and linearUpwind are bounded. What is different is how the boundness of the scheme is obtained (see table 4.10 of User's guide).
I believe the second order upwind scheme in commercial codes is close to linearUpwind than to limitedLinear, probably with limiters turned on. Something along the lines of
div(phi, U) Gauss linearUpwindV cellMDLimited Gauss linear 1;
(notice linearUpwindV becomes linearUpwind for scalars) which limits also the gradients.
Best,
both limitedLinear and linearUpwind are bounded. What is different is how the boundness of the scheme is obtained (see table 4.10 of User's guide).
- limitedLinear is the linear scheme stabilized with the introduction of a limiter (Sweby limiter)
- linearUpwind in an upwinded scheme
I believe the second order upwind scheme in commercial codes is close to linearUpwind than to limitedLinear, probably with limiters turned on. Something along the lines of
div(phi, U) Gauss linearUpwindV cellMDLimited Gauss linear 1;
(notice linearUpwindV becomes linearUpwind for scalars) which limits also the gradients.
Best,
Total Comments 0