mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
21 lines
403 B
C
21 lines
403 B
C
IOobject alphaPhiHeader
|
|
(
|
|
"alphaPhi",
|
|
runTime.timeName(),
|
|
mesh,
|
|
IOobject::READ_IF_PRESENT,
|
|
IOobject::AUTO_WRITE
|
|
);
|
|
|
|
const bool alphaRestart = alphaPhiHeader.typeHeaderOk<surfaceScalarField>(true);
|
|
|
|
// MULES flux from previous time-step
|
|
surfaceScalarField alphaPhi
|
|
(
|
|
alphaPhiHeader,
|
|
phi*fvc::interpolate(alpha1)
|
|
);
|
|
|
|
// MULES Correction
|
|
tmp<surfaceScalarField> talphaPhiCorr0;
|