mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
twoPhaseEulerFoam: Correct phia/b BCs rather than whole fields to support ddtPhiCorr
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user