CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Order of accuracy: 1st or 2nd order? (https://www.cfd-online.com/Forums/openfoam-solving/90133-order-accuracy-1st-2nd-order.html)

fisch July 1, 2011 05:24

Order of accuracy: 1st or 2nd order?
 
Hello,

i made some small tests for testing the order of accuracy of openfoam. Estimating the discretization error development during refinement showed the result, that the velocities converge 2nd order, but the pressure only converges 1st order.

Is there something wrong in my inputs or is this behaviour necessary?

thanks a lot,
rupert

alberto July 2, 2011 02:20

Hi, you should provide the fvScheme file so that who wants to reply knows the schemes you are using.

Best,

fisch July 6, 2011 04:37

Here is my fvSchemes file content:


gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

divSchemes
{
div(phi,U) Gauss vanLeerV;

}

laplacianSchemes
{
default none;
laplacian(nu,U) Gauss linear corrected;//corrected;
laplacian((1|A(U)),p) Gauss linear corrected;

}

interpolationSchemes
{
default linear;
interpolate(U) linear;
}

snGradSchemes
{
default corrected;
}


Has anybody any idea???


All times are GMT -4. The time now is 19:52.