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

const word alphaScheme (mesh.schemes().div(divAlphaName)[1].wordToken())
 
ITstream compressionScheme (compressionSchemes.found(alphaScheme) ? mesh.schemes().div(divAlphaName) :ITstream(divAlphaName, tokenList { word("Gauss"), word("interfaceCompression"), alphaScheme, alphaControls.lookup< scalar >("cAlpha") }))
 
 if (isType< fv::EulerDdtScheme< scalar >>(ddtAlpha)||isType< fv::localEulerDdtScheme< scalar >>(ddtAlpha))
 
else if (isType< fv::CrankNicolsonDdtScheme< scalar >>(ddtAlpha))
 
tmp< surfaceScalarField > phiCN (phi)
 
 if (ocCoeff > 0)
 
 if (MULESCorr)
 
 for (int aCorr=0;aCorr< nAlphaCorr;aCorr++)
 
 if (alphaApplyPrevCorr &&MULESCorr)
 
 if (word(mesh.schemes().ddt("ddt(rho,U)"))==fv::EulerDdtScheme< vector >::typeName||word(mesh.schemes().ddt("ddt(rho,U)"))==fv::localEulerDdtScheme< vector >::typeName)
 

Variables

scalar ocCoeff = 0
 
const fv::ddtScheme< scalar > & ddtAlpha = tddtAlpha()
 
 else
 
scalar cnCoeff = 1.0/(1.0 + ocCoeff)
 

Function Documentation

◆ alphaScheme()

const word alphaScheme ( mesh.  schemes().div(divAlphaName).wordToken()[1])

Referenced by for().

Here is the caller graph for this function:

◆ compressionScheme()

ITstream compressionScheme ( compressionSchemes.  foundalphaScheme) ? mesh.schemes().div(divAlphaName) :ITstream(divAlphaName, tokenList { word("Gauss"), word("interfaceCompression"), alphaScheme, alphaControls.lookup< scalar >("cAlpha") })

Referenced by for().

Here is the caller graph for this function:

◆ if() [1/6]

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

Definition at line 18 of file alphaEqn.H.

◆ if() [2/6]

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

Definition at line 25 of file alphaEqn.H.

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

Here is the call graph for this function:

◆ phiCN()

tmp<surfaceScalarField> phiCN ( phi  )

Referenced by scalarTransport::execute(), for(), forAll(), and if().

Here is the caller graph for this function:

◆ if() [3/6]

if ( ocCoeff  ,
 
)

Definition at line 60 of file alphaEqn.H.

References Foam::compressible::New(), phi, and phiCN().

Here is the call graph for this function:

◆ if() [4/6]

if ( MULESCorr  )

Definition at line 71 of file alphaEqn.H.

References alpha1(), alpha2, alphaApplyPrevCorr(), alphaPhi1(), correct, divU, Foam::endl(), Foam::Info, LTS, Foam::max(), mesh, Foam::min(), phiCN(), Sp, Su, and talphaPhi1Corr0.

Here is the call graph for this function:

◆ for()

for ( )

Definition at line 128 of file alphaEqn.H.

References alpha1(), alpha2, alphaPhi1(), compressionScheme(), correct, divU, Foam::MULES::explicitSolve(), Foam::fvc::flux(), Foam::min(), MULESCorr(), phiCN(), Sp, and Su.

Here is the call graph for this function:

◆ if() [5/6]

if ( alphaApplyPrevCorr &&  MULESCorr)

Definition at line 221 of file alphaEqn.H.

References alphaPhi1(), and talphaPhi1Corr0.

Here is the call graph for this function:

◆ if() [6/6]

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

Definition at line 234 of file alphaEqn.H.

References alpha1(), alphaPhi1(), cnCoeff, Foam::endl(), Foam::Info, Foam::max(), mesh, Foam::min(), phi, phiCN(), rho1f(), rho2f(), and rhoPhi.

Here is the call graph for this function:

Variable Documentation

◆ ocCoeff

scalar ocCoeff = 0

Definition at line 5 of file alphaEqn.H.

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

◆ ddtAlpha

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

Definition at line 15 of file alphaEqn.H.

Referenced by if().

◆ else

else
Initial value:
{
<< "Only Euler and CrankNicolson ddt schemes are supported"
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:124
error FatalError
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:306

Definition at line 47 of file alphaEqn.H.

◆ cnCoeff

scalar cnCoeff = 1.0/(1.0 + ocCoeff)

Definition at line 55 of file alphaEqn.H.

Referenced by scalarTransport::execute(), and if().