Local time-step first-order Euler implicit/explicit ddt. The reciprocal of the local time-step field is looked-up from the database with the name provided. More...
#include <finiteVolume/localEulerDdtScheme.H>
Local time-step first-order Euler implicit/explicit ddt. The reciprocal of the local time-step field is looked-up from the database with the name provided.
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.
See also CoEulerDdtScheme.
Definition at line 64 of file localEulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Reimplemented from ddtScheme< Type >.
Definition at line 149 of file localEulerDdtScheme.H.
localEulerDdtScheme | ( | const fvMesh & | mesh, |
Istream & | is | ||
) | [inline]
|
Construct from mesh and Istream.
Definition at line 95 of file localEulerDdtScheme.H.
TypeName | ( | "localEuler" | ) |
Runtime type information.
const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Reimplemented from ddtScheme< Type >.
Definition at line 105 of file localEulerDdtScheme.H.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensioned< Type > & | dt ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 52 of file localEulerDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), dimensioned< Type >::name(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const GeometricField< Type, fvPatchField, volMesh > & | vf ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 111 of file localEulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), and fvMesh::V0().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensionedScalar & | rho, |
const GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 162 of file localEulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), IOobject::name(), dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const volScalarField & | rho, |
const GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 214 of file localEulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DimensionedField< Type, GeoMesh >::dimensions(), GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::time(), Time::timeName(), fvMesh::V(), and fvMesh::V0().
tmp< fvMatrix< Type > > fvmDdt | ( | GeometricField< Type, fvPatchField, volMesh > & | vf ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 269 of file localEulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), and fvMesh::V0().
tmp< fvMatrix< Type > > fvmDdt | ( | const dimensionedScalar & | rho, |
GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 304 of file localEulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), dimensioned< Type >::dimensions(), Foam::dimTime, Foam::dimVol, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
tmp< fvMatrix< Type > > fvmDdt | ( | const volScalarField & | rho, |
GeometricField< Type, fvPatchField, volMesh > & | vf | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 341 of file localEulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), fvMesh::V(), and fvMesh::V0().
tmp< typename localEulerDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 380 of file localEulerDdtScheme.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::interpolate(), Foam::fvc::interpolate(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().
tmp< typename localEulerDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | rho, | ||
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 433 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVelocity, Foam::FatalError, FatalErrorIn, Foam::interpolate(), Foam::fvc::interpolate(), mesh, polyMesh::moving(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().
tmp< surfaceScalarField > meshPhi | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 566 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, and timeName.
tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | U, | ||
const surfaceScalarField & | phi | ||
) |
tmp< surfaceScalarField > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const volScalarField & | rho, | ||
const volScalarField & | U, | ||
const surfaceScalarField & | phi | ||
) |