Courant number limited first-order Euler implicit/explicit ddt. More...
#include <finiteVolume/CoEulerDdtScheme.H>
Courant number limited first-order Euler implicit/explicit ddt.
The time-step is adjusted locally so that the local Courant number does not exceed the specified value.
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 62 of file CoEulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Reimplemented from ddtScheme< Type >.
Definition at line 159 of file CoEulerDdtScheme.H.
CoEulerDdtScheme | ( | const fvMesh & | mesh, |
Istream & | is | ||
) | [inline]
|
Construct from mesh and Istream.
Definition at line 103 of file CoEulerDdtScheme.H.
TypeName | ( | "CoEuler" | ) |
Runtime type information.
const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Reimplemented from ddtScheme< Type >.
Definition at line 115 of file CoEulerDdtScheme.H.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt | ( | const dimensioned< Type > & | dt ) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 153 of file CoEulerDdtScheme.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 212 of file CoEulerDdtScheme.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 263 of file CoEulerDdtScheme.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 315 of file CoEulerDdtScheme.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 370 of file CoEulerDdtScheme.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 405 of file CoEulerDdtScheme.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 442 of file CoEulerDdtScheme.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 CoEulerDdtScheme< Type >::fluxFieldType > fvcDdtPhiCorr | ( | const volScalarField & | rA, |
const GeometricField< Type, fvPatchField, volMesh > & | U, | ||
const fluxFieldType & | phi | ||
) | [virtual]
|
Implements ddtScheme< Type >.
Definition at line 481 of file CoEulerDdtScheme.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 CoEulerDdtScheme< 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 534 of file CoEulerDdtScheme.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 661 of file CoEulerDdtScheme.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 | ||
) |