alphaEqn.H File Reference
Include dependency graph for alphaEqn.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

word alpharScheme ("div(phirb,alpha)")
 
 if (isType< fv::EulerDdtScheme< scalar >>(ddtAlpha)||isType< fv::localEulerDdtScheme< scalar >>(ddtAlpha))
 
else if (isType< fv::CrankNicolsonDdtScheme< scalar >>(ddtAlpha))
 
surfaceScalarField phic (mixture.cAlpha() *mag(alphaPhic/mesh.magSf()))
 
 if (icAlpha > 0)
 
 if (scAlpha > 0)
 
 forAll (phic.boundaryField(), patchi)
 
tmp< surfaceScalarField > phiCN (alphaPhic)
 
 if (ocCoeff > 0)
 
 if (MULESCorr)
 
 for (int aCorr=0;aCorr< nAlphaCorr;aCorr++)
 
 if (alphaApplyPrevCorr &&MULESCorr)
 
 if (word(mesh.ddtScheme("ddt(rho,U)"))==fv::EulerDdtScheme< vector >::typeName)
 

Variables

scalar ocCoeff = 0
 
const fv::ddtScheme< scalar > & ddtAlpha = tddtAlpha()
 
 else
 
scalar cnCoeff = 1.0/(1.0 + ocCoeff)
 
surfaceScalarField::Boundary & phicBf = phic.boundaryFieldRef()
 

Function Documentation

◆ alpharScheme()

word alpharScheme ( "div(phirb,alpha)"  )

◆ if() [1/8]

if ( isType< fv::EulerDdtScheme< scalar >>  ddtAlpha)||isType< fv::localEulerDdtScheme< scalar >>(ddtAlpha)

Definition at line 19 of file alphaEqn.H.

References ocCoeff.

◆ if() [2/8]

else if ( isType< fv::CrankNicolsonDdtScheme< scalar >>  ddtAlpha)

Definition at line 26 of file alphaEqn.H.

References alphaRestart, ddtAlpha, Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, nAlphaSubCycles(), and ocCoeff.

Here is the call graph for this function:

◆ phic()

surfaceScalarField phic ( mixture.  cAlpha) *mag(alphaPhic/mesh.magSf())

Referenced by setFlow::execute(), for(), if(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), ETAB< CloudType >::update(), TAB< CloudType >::update(), and while().

Here is the caller graph for this function:

◆ if() [3/8]

if ( icAlpha  ,
 
)

Definition at line 62 of file alphaEqn.H.

References icAlpha(), Foam::fac::interpolate(), Foam::mag(), mixture, phic(), and U.

Here is the call graph for this function:

◆ if() [4/8]

if ( scAlpha  ,
 
)

Definition at line 69 of file alphaEqn.H.

References Foam::fac::grad(), Foam::fac::interpolate(), Foam::mag(), mesh, phic(), scAlpha(), Foam::symm(), and U.

Here is the call graph for this function:

◆ forAll()

forAll ( phic.  boundaryField(),
patchi   
)

Definition at line 79 of file alphaEqn.H.

References phicBf.

◆ phiCN()

tmp<surfaceScalarField> phiCN ( alphaPhic  )

Referenced by for(), and if().

Here is the caller graph for this function:

◆ if() [5/8]

if ( ocCoeff  ,
 
)

Definition at line 92 of file alphaEqn.H.

References cnCoeff, and phiCN().

Here is the call graph for this function:

◆ if() [6/8]

if ( MULESCorr  )

Definition at line 97 of file alphaEqn.H.

References alpha1, alpha2, alphaApplyPrevCorr(), alphaPhi10, correct(), Foam::fac::ddt(), Foam::fac::div(), divU, Foam::endl(), Foam::Info, LTS, Foam::max(), mesh, Foam::min(), mixture, phiCN(), Sp, Su, talphaPhi1Corr0, and Foam::vtk::Tools::zeroField().

Here is the call graph for this function:

◆ for()

for ( )

Definition at line 156 of file alphaEqn.H.

References alpha1, alpha10(), alpha2, alphaPhi10, alpharScheme(), cnCoeff, correct(), divU, Foam::MULES::explicitSolve(), Foam::fvc::flux(), Foam::min(), mixture, MULESCorr(), phic(), phiCN(), phir(), Sp, Su, and Foam::vtk::Tools::zeroField().

Here is the call graph for this function:

◆ if() [7/8]

if ( alphaApplyPrevCorr &&  MULESCorr)

Definition at line 228 of file alphaEqn.H.

References alphaPhi10, and talphaPhi1Corr0.

◆ if() [8/8]

if ( word(mesh.ddtScheme("ddt(rho,U)"))  = = fv::EulerDdtScheme<vector>::typeName)

Definition at line 239 of file alphaEqn.H.

References alphaPhi10, phiCN(), rho1f(), rho2f(), and rhoPhi.

Here is the call graph for this function:

Variable Documentation

◆ ocCoeff

scalar ocCoeff = 0

Definition at line 6 of file alphaEqn.H.

Referenced by CrankNicolsonDdtScheme< Type >::CrankNicolsonDdtScheme(), and if().

◆ ddtAlpha

const fv::ddtScheme<scalar>& ddtAlpha = tddtAlpha()

Definition at line 16 of file alphaEqn.H.

Referenced by if().

◆ else

else
Initial value:
{
<< "Only Euler and CrankNicolson ddt schemes are supported"

Definition at line 48 of file alphaEqn.H.

◆ cnCoeff

scalar cnCoeff = 1.0/(1.0 + ocCoeff)

Definition at line 56 of file alphaEqn.H.

Referenced by for(), and if().

◆ phicBf

surfaceScalarField::Boundary& phicBf = phic.boundaryFieldRef()

Definition at line 75 of file alphaEqn.H.

Referenced by forAll().

Foam::FatalError
error FatalError
Foam::exit
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:130
FatalErrorInFunction
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:453