|
[Sponsors] |
July 1, 2011, 06:24 |
Order of accuracy: 1st or 2nd order?
|
#1 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
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 |
|
July 2, 2011, 03:20 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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 in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
July 6, 2011, 05:37 |
|
#3 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
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??? |
|
|
|
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 06:54 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |
1st order temporal & 2nd order spatial | Prateep Chatterjee | FLUENT | 0 | January 19, 2003 01:31 |