Local time-step first-order Euler implicit/explicit ddt. More...
#include <localEulerDdtScheme.H>


Public Types | |
| typedef ddtScheme< Type >::fluxFieldType | fluxFieldType |
| Public Types inherited from ddtScheme< Type > | |
| typedef GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > | fluxFieldType |
Additional Inherited Members | |
| Static Public Member Functions inherited from localEulerDdt | |
| static bool | enabled (const fvMesh &mesh) |
| Return true if LTS is enabled. | |
| static const volScalarField & | localRDeltaT (const fvMesh &mesh) |
| Return the reciprocal of the local time-step. | |
| static const surfaceScalarField & | localRDeltaTf (const fvMesh &mesh) |
| Return the reciprocal of the local face time-step. | |
| static tmp< volScalarField > | localRSubDeltaT (const fvMesh &mesh, const label nAlphaSubCycles) |
| Calculate and return the reciprocal of the local sub-cycling. | |
| Static Public Member Functions inherited from ddtScheme< Type > | |
| static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
| Return a pointer to a new ddtScheme created on freestore. | |
| Static Public Attributes inherited from localEulerDdt | |
| static word | rDeltaTName |
| Name of the reciprocal local time-step field. | |
| static word | rDeltaTfName |
| Name of the reciprocal local face time-step field. | |
| static word | rSubDeltaTName |
| Name of the reciprocal local sub-cycling time-step field. | |
| Static Public Attributes inherited from ddtSchemeBase | |
| static bool | experimentalDdtCorr |
| Flag to use experimental ddtCorr from org version Default is off for backwards compatibility. | |
| Protected Member Functions inherited from ddtScheme< Type > | |
| ddtScheme (const ddtScheme &)=delete | |
| No copy construct. | |
| void | operator= (const ddtScheme &)=delete |
| No copy assignment. | |
| Protected Attributes inherited from ddtScheme< Type > | |
| const fvMesh & | mesh_ |
| scalar | ddtPhiCoeff_ |
| Input for fvcDdtPhiCoeff. | |
Local time-step first-order Euler implicit/explicit ddt.
The reciprocal of the local time-step field is looked-up from the database.
This scheme should only be used for steady-state computations using transient codes where local time-stepping is preferably to under-relaxation for transport consistency reasons.
Definition at line 130 of file localEulerDdtScheme.H.
| typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 253 of file localEulerDdtScheme.H.
|
inline |
Construct from mesh.
Definition at line 171 of file localEulerDdtScheme.H.
References ddtScheme< Type >::ddtScheme(), and mesh().

Construct from mesh and Istream.
Definition at line 179 of file localEulerDdtScheme.H.
References ddtScheme< Type >::ddtScheme(), and mesh().

| TypeName | ( | "localEuler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 190 of file localEulerDdtScheme.H.
References ddtScheme< Type >::mesh().
Referenced by fvcDdt(), fvcDdt(), fvcDdt(), fvcDdt(), fvcDdt(), fvcDdt(), fvcDdtPhiCorr(), fvcDdtPhiCorr(), fvcDdtUfCorr(), fvcDdtUfCorr(), localEulerDdtScheme(), and localEulerDdtScheme().


|
virtual |
Implements ddtScheme< Type >.
Definition at line 53 of file localEulerDdtScheme.C.
References fvPatchFieldBase::calculatedType(), dimensioned< Type >::dimensions(), Foam::dimTime, mesh(), mesh, dimensioned< Type >::name(), Foam::New(), timeName, and Foam::Zero.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 77 of file localEulerDdtScheme.C.
References mesh(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and timeName.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 104 of file localEulerDdtScheme.C.
References mesh(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and timeName.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 132 of file localEulerDdtScheme.C.
References mesh(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and timeName.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 160 of file localEulerDdtScheme.C.
References alpha, mesh(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and timeName.

|
virtual |
Reimplemented from ddtScheme< Type >.
Definition at line 193 of file localEulerDdtScheme.C.
References mesh(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and timeName.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 220 of file localEulerDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), and tmp< T >::ref().

|
virtual |
Implements ddtScheme< Type >.
Definition at line 247 of file localEulerDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and rho.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 276 of file localEulerDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and rho.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 306 of file localEulerDdtScheme.C.
References alpha, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and rho.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 339 of file localEulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), ddtScheme< Type >::fvcDdtPhiCoeff(), Foam::fvc::interpolate(), mesh(), mesh, timeName, U, and Uf.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 372 of file localEulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), ddtScheme< Type >::fvcDdtPhiCoeff(), Foam::fvc::interpolate(), mesh(), mesh, phi, timeName, and U.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 404 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimDensity, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, ddtScheme< Type >::fvcDdtPhiCoeff(), Foam::fvc::interpolate(), mesh(), mesh, GeometricField< Type, PatchField, GeoMesh >::null(), rho, timeName, U, and Uf.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 489 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, ddtScheme< Type >::fvcDdtPhiCoeff(), Foam::fvc::interpolate(), mesh(), mesh, GeometricField< Type, PatchField, GeoMesh >::null(), phi, rho, timeName, and U.

|
virtual |
Implements ddtScheme< Type >.
Definition at line 579 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, IOobjectOption::NO_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, tmp< T >::ref(), timeName, and Foam::Zero.

| tmp< surfaceScalarField > fvcDdtUfCorr | ( | const GeometricField< scalar, fvPatchField, volMesh > & | U, |
| const GeometricField< scalar, fvsPatchField, surfaceMesh > & | Uf ) |
| tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | U, |
| const surfaceScalarField & | phi ) |
| tmp< surfaceScalarField > fvcDdtUfCorr | ( | const volScalarField & | rho, |
| const volScalarField & | U, | ||
| const surfaceScalarField & | Uf ) |
| tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rho, |
| const volScalarField & | U, | ||
| const surfaceScalarField & | phi ) |
| tmp< surfaceScalarField > fvcDdtUfCorr | ( | const volScalarField & | U, |
| const surfaceScalarField & | Uf ) |
Definition at line 26 of file localEulerDdtSchemes.C.
| tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | U, |
| const surfaceScalarField & | phi ) |
Definition at line 26 of file localEulerDdtSchemes.C.
| tmp< surfaceScalarField > fvcDdtUfCorr | ( | const volScalarField & | rho, |
| const volScalarField & | U, | ||
| const surfaceScalarField & | Uf ) |
Definition at line 26 of file localEulerDdtSchemes.C.
| tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rho, |
| const volScalarField & | U, | ||
| const surfaceScalarField & | phi ) |
Definition at line 26 of file localEulerDdtSchemes.C.