rhoCentralFoam linearUpwind
Dear foamers.
I want to try the schemes linearUpwind in interpolationSchemes for rhoCentralFoam solver. In the begining my fvSchemes file looks so: Code:
fluxScheme Tadmor; Code:
interpolationSchemes Code:
[3] --> FOAM FATAL IO ERROR: Code:
interpolationSchemes Code:
[17] --> FOAM FATAL IO ERROR: Thanks. |
To use the linearUpwind scheme you have to specify also a gradient scheme. The correct syntax in OF-2.0.x should be (for instance):
div(phi,k) Gauss linearUpwind grad(k); where grad(k) is the scheme specified for k in the gradSchemes section (in your case, the default cellLimited leastSquares 1 scheme will be selected). In OF-1.7.x this syntax will not be recognized, because you have to specify explicitly the gradient scheme, like in the following example: div(phi,k) Gauss linearUpwind cellLimited leastSquares 1; Finally, just a note about div(tauMC): it is an explicitly calculated divergence term, not a convective flux term, thus the only scheme that makes sense is Gauss linear. Hope this helps V. |
Thanks for your fast reply,
You tip has really helped me, but i have same questions: If i use Code:
interpolationSchemes |
Quote:
Code:
interpolationSchemes V. |
I already tried to use this:
Code:
interpolationSchemes my case has the decision only Code:
Thanks. |
Quote:
V. |
I solve a problem of the expiration stream (М~2-5) in vacuum what solver can you recommend? I used sonicFoam, but he required too much time for the decision.
|
Quote:
V. |
Thanks a lot, I will try select schemes.
|
All times are GMT -4. The time now is 04:00. |