createAlphaFluxes.H
Go to the documentation of this file.
2(
3 IOobject::groupName("alphaPhi0", alpha1.group()),
4 runTime.timeName(),
5 mesh,
6 IOobject::READ_IF_PRESENT,
7 IOobject::AUTO_WRITE
8);
9
10const bool alphaRestart =
11 alphaPhi10Header.typeHeaderOk<surfaceScalarField>(true);
12
14{
15 Info << "Restarting alpha" << endl;
16}
17
18// MULES flux from previous time-step
19surfaceScalarField alphaPhi10
20(
22 phi*fvc::interpolate(alpha1)
23);
24
25// MULES Correction
26tmp<surfaceScalarField> talphaPhi1Corr0;
27
28// MULES compressed flux is registered in case scalarTransport FO needs it.
29surfaceScalarField alphaPhiUn
30(
31 IOobject
32 (
33 "alphaPhiUn",
34 runTime.timeName(),
35 mesh,
36 IOobject::NO_READ,
37 IOobject::NO_WRITE
38 ),
39 mesh,
40 dimensionedScalar(phi.dimensions(), Zero)
41);
surfaceScalarField & phi
const volScalarField & alpha1
alphaPhi10
Definition: alphaEqn.H:7
IOobject alphaPhi10Header(IOobject::groupName("alphaPhi0", alpha1.group()), runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)
surfaceScalarField alphaPhiUn(IOobject("alphaPhiUn", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(phi.dimensions(), Zero))
const bool alphaRestart
tmp< surfaceScalarField > talphaPhi1Corr0
dynamicFvMesh & mesh
engineTime & runTime