localEulerDdt Class Reference
Inheritance diagram for localEulerDdt:
Collaboration diagram for localEulerDdt:

Public Member Functions

 localEulerDdt ()
 

Static Public Member Functions

static bool enabled (const fvMesh &mesh)
 Return true if LTS is enabled. More...
 
static const volScalarFieldlocalRDeltaT (const fvMesh &mesh)
 Return the reciprocal of the local time-step. More...
 
static const surfaceScalarFieldlocalRDeltaTf (const fvMesh &mesh)
 Return the reciprocal of the local face time-step. More...
 
static tmp< volScalarFieldlocalRSubDeltaT (const fvMesh &mesh, const label nAlphaSubCycles)
 Calculate and return the reciprocal of the local sub-cycling. More...
 

Static Public Attributes

static word rDeltaTName
 Name of the reciprocal local time-step field. More...
 
static word rDeltaTfName
 Name of the reciprocal local face time-step field. More...
 
static word rSubDeltaTName
 Name of the reciprocal local sub-cycling time-step field. More...
 

Detailed Description

Definition at line 64 of file localEulerDdtScheme.H.

Constructor & Destructor Documentation

◆ localEulerDdt()

localEulerDdt ( )
inline

Definition at line 80 of file localEulerDdtScheme.H.

Member Function Documentation

◆ enabled()

bool enabled ( const fvMesh mesh)
static

Return true if LTS is enabled.

Definition at line 37 of file localEulerDdt.C.

References fvSchemes::ddt(), and fvMesh::schemes().

Referenced by Foam::byDt(), laminar::correct(), cloudSolution::read(), and phaseSystem::solve().

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

◆ localRDeltaT()

const Foam::volScalarField & localRDeltaT ( const fvMesh mesh)
static

Return the reciprocal of the local time-step.

looked-up from the objectRegistry

Definition at line 45 of file localEulerDdt.C.

References Time::subCycling(), and fvMesh::time().

Referenced by Foam::byDt(), laminar::correct(), and advectiveFvPatchField< Type >::updateCoeffs().

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

◆ localRDeltaTf()

const Foam::surfaceScalarField & localRDeltaTf ( const fvMesh mesh)
static

Return the reciprocal of the local face time-step.

looked-up from the objectRegistry

Definition at line 57 of file localEulerDdt.C.

◆ localRSubDeltaT()

Foam::tmp< Foam::volScalarField > localRSubDeltaT ( const fvMesh mesh,
const label  nAlphaSubCycles 
)
static

Calculate and return the reciprocal of the local sub-cycling.

time-step

Definition at line 69 of file localEulerDdt.C.

References nAlphaSubCycles().

Referenced by twoPhaseSolver::alphaPredictor(), and phaseSystem::solve().

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

Member Data Documentation

◆ rDeltaTName

Foam::word rDeltaTName
static

Name of the reciprocal local time-step field.

Definition at line 69 of file localEulerDdtScheme.H.

Referenced by incompressibleFluid::incompressibleFluid(), isothermalFluid::isothermalFluid(), shockFluid::shockFluid(), and VoFSolver::VoFSolver().

◆ rDeltaTfName

Foam::word rDeltaTfName
static

Name of the reciprocal local face time-step field.

Definition at line 72 of file localEulerDdtScheme.H.

◆ rSubDeltaTName

Foam::word rSubDeltaTName
static

Name of the reciprocal local sub-cycling time-step field.

Definition at line 75 of file localEulerDdtScheme.H.


The documentation for this class was generated from the following files: