Skip to content
Snippets Groups Projects
Commit d425421c authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

ENH: reactingTwoPhaseEulerFoam: Added continuity fvOption term to U equations

Patch contributed by Juho Peltola, VTT
Resolves bug-report https://bugs.openfoam.org/view.php?id=2699
parent 1ad3c4c2
Branches
Tags
No related merge requests found
......@@ -30,6 +30,7 @@ fvVectorMatrix U2Eqn(U2, rho2.dimensions()*U2.dimensions()*dimVol/dimTime);
+ phase1.turbulence().divDevRhoReff(U1)
+ Vm*(UgradU1 - (UgradU2 & U2))
- fvOptions(alpha1, rho1, U1)
+ fvm::SuSp(fvOptions(alpha1, rho1)&rho1,U1)
);
U1Eqn.relax();
fvOptions.constrain(U1Eqn);
......@@ -46,6 +47,7 @@ fvVectorMatrix U2Eqn(U2, rho2.dimensions()*U2.dimensions()*dimVol/dimTime);
+ phase2.turbulence().divDevRhoReff(U2)
+ Vm*(UgradU2 - (UgradU1 & U1))
- fvOptions(alpha2, rho2, U2)
+ fvm::SuSp(fvOptions(alpha2, rho2)&rho2,U2)
);
U2Eqn.relax();
fvOptions.constrain(U2Eqn);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment