using the continuity error correction formulation developed for twoPhaseEulerFoam and reactingEulerFoam.
22 lines
418 B
C
22 lines
418 B
C
IOobject alphaPhi10Header
|
|
(
|
|
"alphaPhi10",
|
|
runTime.timeName(),
|
|
mesh,
|
|
IOobject::READ_IF_PRESENT,
|
|
IOobject::AUTO_WRITE
|
|
);
|
|
|
|
const bool alphaRestart =
|
|
alphaPhi10Header.typeHeaderOk<surfaceScalarField>(true);
|
|
|
|
// MULES flux from previous time-step
|
|
surfaceScalarField alphaPhi10
|
|
(
|
|
alphaPhi10Header,
|
|
phi*fvc::interpolate(alpha1)
|
|
);
|
|
|
|
// MULES Correction
|
|
tmp<surfaceScalarField> talphaPhi1Corr0;
|