Local time-step first-order Euler implicit/explicit ddt. More...
Public Types | |
typedef ddtScheme< Type >::fluxFieldType | fluxFieldType |
![]() | |
typedef GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > | fluxFieldType |
Private Member Functions | |
localEulerDdtScheme (const localEulerDdtScheme &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const localEulerDdtScheme &) |
Disallow default bitwise assignment. More... | |
const volScalarField & | localRDeltaT () const |
Return the reciprocal of the local time-step. More... | |
Additional Inherited Members | |
![]() | |
static bool | enabled (const fvMesh &mesh) |
Return true if LTS is enabled. More... | |
static const volScalarField & | localRDeltaT (const fvMesh &mesh) |
Return the reciprocal of the local time-step. More... | |
static tmp< volScalarField > | localRSubDeltaT (const fvMesh &mesh, const label nAlphaSubCycles) |
Calculate and return the reciprocal of the local sub-cycling. More... | |
![]() | |
static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new ddtScheme created on freestore. More... | |
![]() | |
static word | rDeltaTName |
Name of the reciprocal local time-step field. More... | |
static word | rSubDeltaTName |
Name of the reciprocal local sub-cycling time-step field. More... | |
![]() | |
ddtScheme (const ddtScheme &) | |
Disallow copy construct. More... | |
void | operator= (const ddtScheme &) |
Disallow default bitwise assignment. More... | |
![]() | |
const fvMesh & | mesh_ |
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 105 of file localEulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 204 of file localEulerDdtScheme.H.
|
private |
Disallow default bitwise copy construct.
|
inline |
Construct from mesh.
Definition at line 131 of file localEulerDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 137 of file localEulerDdtScheme.H.
|
private |
Disallow default bitwise assignment.
|
private |
Return the reciprocal of the local time-step.
Definition at line 43 of file localEulerDdtScheme.C.
References localEulerDdt::localRDeltaT(), and mesh.
TypeName | ( | "localEuler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 146 of file localEulerDdtScheme.H.
References ddtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 52 of file localEulerDdtScheme.C.
References dimensioned::dimensions(), Foam::dimTime, GeometricField::internalField(), mesh, dimensioned::name(), timeName, and dimensioned::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 112 of file localEulerDdtScheme.C.
References GeometricField::boundaryField(), GeometricField::internalField(), mesh, GeometricField::oldTime(), and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 163 of file localEulerDdtScheme.C.
References GeometricField::boundaryField(), GeometricField::internalField(), mesh, GeometricField::oldTime(), rho, and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 215 of file localEulerDdtScheme.C.
References GeometricField::boundaryField(), GeometricField::internalField(), mesh, GeometricField::oldTime(), rho, and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 270 of file localEulerDdtScheme.C.
References Foam::constant::atomic::alpha, GeometricField::boundaryField(), dimensioned::dimensions(), GeometricField::internalField(), mesh, dimensioned::name(), GeometricField::oldTime(), rho, and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 339 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 374 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), rho, and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 411 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), rho, and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 450 of file localEulerDdtScheme.C.
References Foam::constant::atomic::alpha, dimensioned::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), rho, and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 492 of file localEulerDdtScheme.C.
References Foam::fvc::interpolate(), mesh, timeName, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 529 of file localEulerDdtScheme.C.
References Foam::fvc::interpolate(), mesh, phi, timeName, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 561 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimDensity, Foam::dimVelocity, Foam::FatalError, FatalErrorInFunction, Foam::fvc::interpolate(), mesh, rho, timeName, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 628 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimVelocity, Foam::FatalError, FatalErrorInFunction, Foam::fvc::interpolate(), mesh, phi, rho, timeName, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 689 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, IOobject::NO_READ, IOobject::NO_WRITE, and timeName.
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 | ||
) |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.