CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Order of accuracy: 1st or 2nd order?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 1, 2011, 05:24
Default Order of accuracy: 1st or 2nd order?
  #1
Member
 
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 7
fisch is on a distinguished road
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
fisch is offline   Reply With Quote

Old   July 2, 2011, 02:20
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
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.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

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

Reply

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 08:30.