createAlphaFluxes.H
Go to the documentation of this file.
1 IOobject alphaPhi10Header
2 (
3  IOobject::groupName("alphaPhi0", alpha1.group()),
4  runTime.timeName(),
5  mesh,
6  IOobject::READ_IF_PRESENT,
7  IOobject::AUTO_WRITE
8 );
9 
10 const bool alphaRestart =
11  alphaPhi10Header.typeHeaderOk<surfaceScalarField>(true);
12 
14 {
15  Info << "Restarting alpha" << endl;
16 }
17 
18 // MULES flux from previous time-step
20 (
23 );
24 
25 // MULES Correction
26 tmp<surfaceScalarField> talphaPhi1Corr0;
runTime
engineTime & runTime
Definition: createEngineTime.H:13
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:350
alpha1
const volScalarField & alpha1
Definition: setRegionFluidFields.H:8
alphaPhi10Header
IOobject alphaPhi10Header(IOobject::groupName("alphaPhi0", alpha1.group()), runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)
Foam::Info
messageStream Info
Information stream (uses stdout - output is on the master only)
phi
surfaceScalarField & phi
Definition: setRegionFluidFields.H:8
alphaRestart
const bool alphaRestart
Definition: createAlphaFluxes.H:10
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:6
Foam::surfaceScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Definition: surfaceFieldsFwd.H:54
alphaPhi10
surfaceScalarField alphaPhi10(alphaPhi10Header, phi *fvc::interpolate(alpha1))
talphaPhi1Corr0
tmp< surfaceScalarField > talphaPhi1Corr0
Definition: createAlphaFluxes.H:26
Foam::fac::interpolate
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.