alphaSuSp.H
Go to the documentation of this file.
1 // Phase change alpha1 source
2 Pair<tmp<volScalarField::Internal>> phaseChangeS
3 (
4  phaseChange.Salpha(alpha1)
5 );
6 const tmp<volScalarField::Internal>& Su = phaseChangeS[0];
7 const tmp<volScalarField::Internal>& Sp = phaseChangeS[1];
8 
9 tmp<volScalarField> divU;
10 
11 if (Sp.valid())
12 {
13  divU =
14  (
15  mesh.moving()
16  ? fvc::div(phiCN() + mesh.phi())
17  : fvc::div(phiCN())
18  );
19 }
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
Pair< tmp< volScalarField::Internal > > phaseChangeS(phaseChange.Salpha(alpha1))
volScalarField & alpha1(mixture.alpha1())
twoPhaseChangeModel & phaseChange
fvMesh & mesh
tmp< surfaceScalarField > phiCN(phi)
tmp< volScalarField > divU
Definition: alphaSuSp.H:9