Skip to content
Snippets Groups Projects
Commit 199dc889 authored by Henry's avatar Henry
Browse files

MRFtwoPhaseEulerFoam: corrected handling of oldTime fluxes

parent 6a2b77c3
Branches
Tags
No related merge requests found
......@@ -96,11 +96,13 @@
(fvc::interpolate(U1) & mesh.Sf())().boundaryField();
mrfZones.relativeFlux(phi1);
phi1 = phiHbyA1 - rAU1f*SfGradp/rho1;
mrfZones.relativeFlux(phi1.oldTime());
phi2.boundaryField() ==
(fvc::interpolate(U2) & mesh.Sf())().boundaryField();
mrfZones.relativeFlux(phi2);
phi2 = phiHbyA2 - rAU2f*SfGradp/rho2;
mrfZones.relativeFlux(phi2.oldTime());
phi = alpha1f*phi1 + alpha2f*phi2;
......
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