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 = alphaPhi10Header.typeHeaderOk<surfaceScalarField>();
11 
12 if (alphaRestart)
13 {
14  Info << "Restarting alpha" << endl;
15 }
16 
17 // MULES flux from previous time-step
19 (
22 );
23 
24 // MULES Correction
25 tmp<surfaceScalarField> talphaPhi1Corr0;
surfaceScalarField & phi
engineTime & runTime
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:256
surfaceScalarField alphaPhi10(alphaPhi10Header, phi *fvc::interpolate(alpha1))
dynamicFvMesh & mesh
const volScalarField & alpha1
IOobject alphaPhi10Header(IOobject::groupName("alphaPhi0", alpha1.group()), runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
messageStream Info
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< surfaceScalarField > talphaPhi1Corr0