Foam::MULES Namespace Reference

Functions

template<class RdeltaTType , class RhoType , class SpType , class SuType >
void correct (const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su)
 
template<class RhoType >
void correct (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiCorr)
 
template<class RhoType , class SpType , class SuType >
void correct (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su)
 
template<class RhoType , class PsiMaxType , class PsiMinType >
void correct (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void correct (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void limiterCorr (scalarField &allLambda, const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phi, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void limitCorr (const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType >
void explicitSolve (const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
 
template<class RhoType >
void explicitSolve (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi)
 
template<class RhoType , class SpType , class SuType >
void explicitSolve (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
 
template<class RhoType , class PsiMaxType , class PsiMinType >
void explicitSolve (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiBD, surfaceScalarField &phiPsi, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void explicitSolve (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiBD, surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void limiter (scalarField &allLambda, const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phiBD, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void limit (const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin, const bool returnCorr)
 
template<class RhoType , class SpType , class SuType , class PsiMaxType , class PsiMinType >
void limit (const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin, const bool returnCorr)
 
void limitSum (UPtrList< scalarField > &phiPsiCorrs)
 
template<class SurfaceScalarFieldList >
void limitSum (SurfaceScalarFieldList &phiPsiCorrs)
 
void limitSum (const UPtrList< const scalarField > &alphas, UPtrList< scalarField > &phiPsiCorrs, const labelHashSet &fixed)
 
template<class SurfaceScalarFieldList >
void limitSum (const SurfaceScalarFieldList &alphas, SurfaceScalarFieldList &phiPsiCorrs, const labelHashSet &fixed)
 

Function Documentation

◆ correct() [1/5]

void correct ( const RdeltaTType &  rDeltaT,
const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su 
)

Definition at line 40 of file CMULESTemplates.C.

References Foam::endl(), Foam::Info, mesh, psi, rho, Sp, Su, Foam::fvc::surfaceIntegrate(), and Foam::Zero.

Here is the call graph for this function:

◆ correct() [2/5]

void correct ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiCorr 
)

Definition at line 81 of file CMULESTemplates.C.

References correct(), psi, rho, and Foam::vtk::Tools::zeroField().

Here is the call graph for this function:

◆ correct() [3/5]

void correct ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su 
)

Definition at line 93 of file CMULESTemplates.C.

References correct(), mesh, psi, rho, Sp, and Su.

Here is the call graph for this function:

◆ correct() [4/5]

void correct ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phi,
surfaceScalarField phiCorr,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 118 of file CMULESTemplates.C.

References correct(), phi, psi, rho, and Foam::vtk::Tools::zeroField().

Here is the call graph for this function:

◆ correct() [5/5]

void correct ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phi,
surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 140 of file CMULESTemplates.C.

References correct(), limitCorr(), mesh, phi, psi, rho, Sp, and Su.

Here is the call graph for this function:

◆ limiterCorr()

void limiterCorr ( scalarField allLambda,
const RdeltaTType &  rDeltaT,
const RhoType &  rho,
const volScalarField psi,
const surfaceScalarField phi,
const surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 204 of file CMULESTemplates.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatchField< Type >::coupled(), Foam::dimless, fvPatchField< Type >::fixesValue(), forAll, dictionary::get(), dictionary::getOrDefault(), lambda(), Foam::max(), mesh, Foam::min(), fvPatchField< Type >::patchNeighbourField(), phi, psi, rho, Sp, Su, and Foam::Zero.

Referenced by limitCorr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ limitCorr()

void limitCorr ( const RdeltaTType &  rDeltaT,
const RhoType &  rho,
const volScalarField psi,
const surfaceScalarField phi,
surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 580 of file CMULESTemplates.C.

References Foam::dimless, lambda(), limiterCorr(), mesh, phi, psi, rho, Sp, and Su.

Referenced by correct().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ explicitSolve() [1/5]

void explicitSolve ( const RdeltaTType &  rDeltaT,
const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiPsi,
const SpType &  Sp,
const SuType &  Su 
)

Definition at line 41 of file MULESTemplates.C.

References Foam::endl(), field(), Foam::Info, mesh, psi, rho, Sp, Su, and Foam::fvc::surfaceIntegrate().

Referenced by scalarTransport::execute(), explicitSolve(), for(), twoPhaseSystem::solve(), and MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ explicitSolve() [2/5]

void explicitSolve ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiPsi 
)

Definition at line 86 of file MULESTemplates.C.

References explicitSolve(), psi, rho, and Foam::vtk::Tools::zeroField().

Here is the call graph for this function:

◆ explicitSolve() [3/5]

void explicitSolve ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiPsi,
const SpType &  Sp,
const SuType &  Su 
)

Definition at line 98 of file MULESTemplates.C.

References explicitSolve(), mesh, psi, rho, Sp, and Su.

Here is the call graph for this function:

◆ explicitSolve() [4/5]

void explicitSolve ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiBD,
surfaceScalarField phiPsi,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 123 of file MULESTemplates.C.

References explicitSolve(), psi, rho, and Foam::vtk::Tools::zeroField().

Here is the call graph for this function:

◆ explicitSolve() [5/5]

void explicitSolve ( const RhoType &  rho,
volScalarField psi,
const surfaceScalarField phiBD,
surfaceScalarField phiPsi,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 155 of file MULESTemplates.C.

References explicitSolve(), limit(), mesh, phi, psi, rho, Sp, and Su.

Here is the call graph for this function:

◆ limiter()

void limiter ( scalarField allLambda,
const RdeltaTType &  rDeltaT,
const RhoType &  rho,
const volScalarField psi,
const surfaceScalarField phiBD,
const surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin 
)

Definition at line 195 of file MULESTemplates.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatchField< Type >::coupled(), Foam::dimless, fvPatchField< Type >::fixesValue(), forAll, dictionary::getOrDefault(), lambda(), Foam::max(), mesh, Foam::min(), fvPatchField< Type >::patchNeighbourField(), psi, rho, Sp, Su, and Foam::Zero.

Here is the call graph for this function:

◆ limit() [1/2]

void limit ( const RdeltaTType &  rDeltaT,
const RhoType &  rho,
const volScalarField psi,
const surfaceScalarField phi,
surfaceScalarField phiPsi,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin,
const bool  returnCorr 
)

Definition at line 581 of file MULESTemplates.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), fvsPatchField< Type >::coupled(), Foam::dimless, Foam::fvc::flux(), forAll, lambda(), Foam::limiter(), mesh, phi, psi, rho, Sp, and Su.

Referenced by explicitSolve(), limit(), and MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ limit() [2/2]

void limit ( const RhoType &  rho,
const volScalarField psi,
const surfaceScalarField phi,
surfaceScalarField phiPsi,
const SpType &  Sp,
const SuType &  Su,
const PsiMaxType &  psiMax,
const PsiMinType &  psiMin,
const bool  returnCorr 
)

Definition at line 667 of file MULESTemplates.C.

References limit(), mesh, phi, psi, rho, Sp, and Su.

Here is the call graph for this function:

◆ limitSum() [1/4]

void limitSum ( UPtrList< scalarField > &  phiPsiCorrs)

Definition at line 34 of file MULES.C.

References forAll, lambda(), phasei, UPtrList< T >::size(), and Foam::sum().

Referenced by limitSum().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ limitSum() [2/4]

void limitSum ( SurfaceScalarFieldList &  phiPsiCorrs)

Definition at line 695 of file MULESTemplates.C.

References coupled(), forAll, limitSum(), and phasei.

Here is the call graph for this function:

◆ limitSum() [3/4]

void limitSum ( const UPtrList< const scalarField > &  alphas,
UPtrList< scalarField > &  phiPsiCorrs,
const labelHashSet fixed 
)

Definition at line 86 of file MULES.C.

References Foam::fixed(), forAll, Foam::identity(), lambda(), phasei, and UPtrList< T >::size().

Here is the call graph for this function:

◆ limitSum() [4/4]

void limitSum ( const SurfaceScalarFieldList &  alphas,
SurfaceScalarFieldList &  phiPsiCorrs,
const labelHashSet fixed 
)

Definition at line 732 of file MULESTemplates.C.

References coupled(), Foam::fixed(), forAll, limitSum(), and phasei.

Here is the call graph for this function: