Functions
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 &phi, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su)
 
template<class RhoType , class SpType , class SuType >
void correct (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const scalar psiMax, const scalar psiMin)
 
void correct (volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const scalar psiMax, const scalar psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType >
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 scalar psiMax, const scalar psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType >
void limitCorr (const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const scalar psiMax, const scalar psiMin)
 
template<class RhoType , class SpType , class SuType >
void implicitSolve (const RhoType &rho, volScalarField &gamma, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const scalar psiMax, const scalar psiMin)
 
void implicitSolve (volScalarField &gamma, const surfaceScalarField &phi, surfaceScalarField &phiCorr, const scalar psiMax, const scalar psiMin)
 
template<class RhoType >
tmp< surfaceScalarFieldinterpolate (const RhoType &rho)
 
template<>
tmp< surfaceScalarFieldinterpolate (const volScalarField &rho)
 
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 , class SpType , class SuType >
void explicitSolve (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
 
template<class RhoType , class SpType , class SuType >
void explicitSolve (const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiBD, surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su, const scalar psiMax, const scalar psiMin)
 
void explicitSolve (volScalarField &psi, const surfaceScalarField &phiBD, surfaceScalarField &phiPsi, const scalar psiMax, const scalar psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType >
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 scalar psiMax, const scalar psiMin)
 
template<class RdeltaTType , class RhoType , class SpType , class SuType >
void limit (const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phi, surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su, const scalar psiMax, const scalar psiMin, const bool returnCorr)
 
void limitSum (UPtrList< scalarField > &phiPsiCorrs)
 
template<class SurfaceScalarFieldList >
void limitSum (SurfaceScalarFieldList &phiPsiCorrs)
 

Function Documentation

◆ correct() [1/3]

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

Definition at line 37 of file CMULESTemplates.C.

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

Here is the call graph for this function:

◆ correct() [2/3]

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

Definition at line 79 of file CMULESTemplates.C.

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

Here is the call graph for this function:

◆ correct() [3/3]

void correct ( volScalarField psi,
const surfaceScalarField phi,
surfaceScalarField phiCorr,
const scalar  psiMax,
const scalar  psiMin 
)

Definition at line 31 of file CMULES.C.

References correct(), phi, and psi.

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 scalar  psiMax,
const scalar  psiMin 
)

◆ limitCorr()

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

Definition at line 467 of file CMULESTemplates.C.

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

Referenced by correct().

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

◆ implicitSolve() [1/2]

void implicitSolve ( const RhoType &  rho,
volScalarField gamma,
const surfaceScalarField phi,
surfaceScalarField phiCorr,
const SpType &  Sp,
const SuType &  Su,
const scalar  psiMax,
const scalar  psiMin 
)

fv::gaussLaplacianScheme<scalar, scalar>(mesh, CDs, snGrads)

.fvmLaplacian(Dpsif, psi)

Definition at line 57 of file IMULESTemplates.C.

References Foam::fvc::ddt(), Foam::dimArea, Foam::dimDensity, Foam::dimless, Foam::dimVelocity, Foam::fvc::div(), Foam::endl(), fvMatrix::flux(), Foam::gMax(), Foam::gMin(), Foam::Info, interpolate(), lambda(), limiter(), dictionary::lookup(), Foam::mag(), Foam::max(), mesh, Foam::min(), phi, psi, Foam::readLabel(), readScalar, rho, solve(), Foam::fvc::Sp(), and Foam::fvc::Su().

Referenced by implicitSolve().

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

◆ implicitSolve() [2/2]

void implicitSolve ( volScalarField gamma,
const surfaceScalarField phi,
surfaceScalarField phiCorr,
const scalar  psiMax,
const scalar  psiMin 
)

Definition at line 31 of file IMULES.C.

References implicitSolve(), phi, and psi.

Here is the call graph for this function:

◆ interpolate() [1/2]

tmp<surfaceScalarField> Foam::MULES::interpolate ( const RhoType &  rho)
inline

◆ interpolate() [2/2]

tmp<surfaceScalarField> Foam::MULES::interpolate ( const volScalarField rho)
inline

Definition at line 47 of file IMULESTemplates.C.

References Foam::fvc::interpolate(), and rho.

Referenced by implicitSolve().

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

◆ explicitSolve() [1/4]

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

Definition at line 38 of file MULESTemplates.C.

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

Referenced by explicitSolve(), and for().

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

◆ explicitSolve() [2/4]

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

Definition at line 83 of file MULESTemplates.C.

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

Here is the call graph for this function:

◆ explicitSolve() [3/4]

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

Definition at line 99 of file MULESTemplates.C.

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

Here is the call graph for this function:

◆ explicitSolve() [4/4]

void explicitSolve ( volScalarField psi,
const surfaceScalarField phiBD,
surfaceScalarField phiPsi,
const scalar  psiMax,
const scalar  psiMin 
)

Definition at line 31 of file MULES.C.

References explicitSolve(), phi, and psi.

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 scalar  psiMax,
const scalar  psiMin 
)

◆ limit()

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

Definition at line 526 of file MULESTemplates.C.

References Foam::dimless, limitedSurfaceInterpolationScheme< Type >::flux(), lambda(), limiter(), mesh, phi, psi, rho, Foam::fvc::Sp(), and Foam::fvc::Su().

Referenced by simpleGeomDecomp::assignToProcessorGroup(), explicitSolve(), and thermo< Thermo, Type >::T().

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

◆ limitSum() [1/2]

void limitSum ( UPtrList< scalarField > &  phiPsiCorrs)

Definition at line 51 of file MULES.C.

References forAll, lambda(), phasei, UPtrList::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/2]

void limitSum ( SurfaceScalarFieldList &  phiPsiCorrs)

Definition at line 591 of file MULESTemplates.C.

References boundaryField(), forAll, limitSum(), patchi, phasei, and UPtrList::set().

Here is the call graph for this function: