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

This commit is contained in:
Henry
2012-02-24 16:44:02 +00:00
parent 37a3e363a5
commit fe9763d9e2

View File

@ -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));