|
[Sponsors] |
May 23, 2017, 04:14 |
OpenFOAM discretization schemes
|
#1 |
Member
Join Date: Jul 2013
Posts: 39
Rep Power: 13 |
Hello OpenFOAMers. As you know from the CFD theory, there are several discretization schemes such as Upwind, Hybrid and Power-Law.
I mostly select linear of OpenFOAM as it is second order scheme. When I am solving laminar and high Re number flows, such as Re = 2000 for empty channel, I am facing with convergence problems. However, if I select Upwind, there is no convergence problem. This is one of the advantage of Upwind scheme when there is strong convective effect. However, as it is first-order scheme, there is false diffusion risk. What are your suggestions for this kind of flows? As I know, there is no power-law scheme in OpenFOAM, which scheme should I select at high Re and laminar flows? |
|
May 23, 2017, 04:23 |
|
#2 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
That depends on the term you are trying to discretise...
For the convective term, 'linear' is asking for trouble as far as I know. 'upwind' works, but is diffusive. 'vanLeer' (and other flux-limiters) are the best of both worlds: second-order in all of space, except for the critical regions like shocks where it switches to first-order to maintain a stable simulation. For the Laplacian (momentum diffusion / viscosity) terms, I tend to always go for 'linear', but I don't know if it really matters. The convective term seems to be the most critical one. |
|
May 23, 2017, 10:46 |
|
#3 |
Member
Join Date: Jul 2013
Posts: 39
Rep Power: 13 |
Thank you so much for your answer. I try to discretize U term. I don't know why but when Re high, even channel flow with good quality mesh, only upwind scheme works for me. What might be a reason behind this? I use OpenFOAM 4.1.
|
|
May 23, 2017, 14:10 |
|
#4 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
It is the wrong way the reach numerical stability by using less exact models.
The first thing to analyse is the reason for instability. Often it ist the mesh or wrong boundary conditions. Only in real complicated problems the physics need taken into account. The last one may be if there are shock waves and other transient effects of large size. To analyse the mesh it may be helpful to write result every time step. These result indicate the region where the instability starts to grow. Look at these regions first. If you need to handle physical stiffness of you problem, it may be much better to use relaxation in the solution process but second order schemes. In this case the final, stable solution is correct (if there is any), but the course to it get smeared. If you use less exact models you don't get a correct solution for any simulated time.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
Tags |
openfoam 4.1, upwind |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
Convection discretization schemes for LES | sek | OpenFOAM Running, Solving & CFD | 38 | July 31, 2017 15:30 |
Question on OpenFOAM and implicit time discretization | me3840 | OpenFOAM Running, Solving & CFD | 1 | March 11, 2016 04:05 |
Grid Independence with discretization schemes | saisanthoshm88 | CFX | 19 | May 22, 2013 11:10 |
OpenFOAM - 2nd order of discretization? | makaveli_lcf | OpenFOAM Running, Solving & CFD | 0 | November 12, 2009 08:15 |