Closed staneuski closed 5 years ago
Environment | Parameter |
---|---|
Compiled using OpenFOAM | v7 |
Solver Version | v0.3-alpha |
Commit | d21650f |
Case \ File | RiemannTube/ |
Comments | Check the concentrations plot below (right bottom corner) |
Switch div(phi,alphaX)
to upwind scheme to remove instability.
If upwind is set only for alphaAir
:
diff a/tutorials/multiCompression/RiemannTube/system/fvSchemes b/tutorials/multiCompression/RiemannTube/system/fvSchemes
@@ -58 +58 @@
- div(phi,alphaAir) Gauss cubic; // alphaAirEqn
+ div(phi,alphaAir) Gauss upwind; // alphaAirEqn
If upwind is set only for alphaAir
and alphaGas
:
diff a/tutorials/multiCompression/RiemannTube/system/fvSchemes b/tutorials/multiCompression/RiemannTube/system/fvSchemes
@@ -58 +58 @@
- div(phi,alphaAir) Gauss cubic; // alphaAirEqn
+ div(phi,alphaAir) Gauss upwind; // alphaAirEqn
@@ -59 +59 @@
- div(phi,alphaGas) Gauss cubic; // alphaGasEqn
+ div(phi,alphaGas) Gauss upwind; // alphaGasEqn
Можно все-таки какое-нибудь словесное резюме?