CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Order of accuracy: 1st or 2nd order? (

fisch July 1, 2011 05:24

Order of accuracy: 1st or 2nd order?

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,

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.


fisch July 6, 2011 04:37

Here is my fvSchemes file content:

default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;

div(phi,U) Gauss vanLeerV;


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


default linear;
interpolate(U) linear;

default corrected;

Has anybody any idea???

All times are GMT -4. The time now is 11:10.