CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Order of accuracy: 1st or 2nd order?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 1, 2011, 05:24
Default Order of accuracy: 1st or 2nd order?
Join Date: Feb 2010
Posts: 97
Rep Power: 9
fisch is on a distinguished road

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,
fisch is offline   Reply With Quote

Old   July 2, 2011, 02:20
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,911
Rep Power: 28
alberto will become famous soon enoughalberto will become famous soon enough
Hi, you should provide the fvScheme file so that who wants to reply knows the schemes you are using.

Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status:
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   July 6, 2011, 04:37
Join Date: Feb 2010
Posts: 97
Rep Power: 9
fisch is on a distinguished road
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???
fisch is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2nd order upwind vs 2nd order upwind!!! Far Main CFD Forum 7 March 14, 2013 13:29
1st order vs 2nd order ken FLUENT 8 March 14, 2013 04:43
Changing LimitedLinear to blend with 2nd order upwind instead of 1st order upwind stevenvanharen OpenFOAM Programming & Development 0 April 11, 2011 05:54
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
1st order temporal & 2nd order spatial Prateep Chatterjee FLUENT 0 January 19, 2003 01:31

All times are GMT -4. The time now is 09:26.