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

twoPhaseEulerFoam: Correct phia/b BCs rather than whole fields to support ddtPhiCorr

parent 37a3e363
Branches
Tags
No related merge requests found
......@@ -5,8 +5,10 @@
volScalarField rUaA(1.0/UaEqn.A());
volScalarField rUbA(1.0/UbEqn.A());
phia == (fvc::interpolate(Ua) & mesh.Sf());
phib == (fvc::interpolate(Ub) & mesh.Sf());
phia.boundaryField() ==
(fvc::interpolate(Ua) & mesh.Sf())().boundaryField();
phib.boundaryField() ==
(fvc::interpolate(Ub) & mesh.Sf())().boundaryField();
rUaAf = fvc::interpolate(rUaA);
surfaceScalarField rUbAf(fvc::interpolate(rUbA));
......
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