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.
Inheritance diagram for CoEulerDdtScheme< Type >:
Collaboration diagram for CoEulerDdtScheme< Type >:Public Types | |
| typedef ddtScheme< Type > ::fluxFieldType | fluxFieldType |
Public Types inherited from ddtScheme< Type > | |
Additional Inherited Members | |
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. | |
Protected Member Functions inherited from ddtScheme< Type > | |
| ddtScheme (const ddtScheme &) | |
| Disallow copy construct. | |
| void | operator= (const ddtScheme &) |
| Disallow default bitwise assignment. | |
Protected Attributes inherited from ddtScheme< Type > | |
| const fvMesh & | mesh_ |
| typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Reimplemented from ddtScheme< Type >.
Definition at line 159 of file CoEulerDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 103 of file CoEulerDdtScheme.H.
| TypeName | ( | "CoEuler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Reimplemented from ddtScheme< Type >.
Definition at line 115 of file CoEulerDdtScheme.H.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 153 of file CoEulerDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, dimensioned< Type >::name(), and dimensioned< Type >::value().
|
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, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
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, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
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, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
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(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 405 of file CoEulerDdtScheme.C.
References lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), fvMatrix< Type >::source(), and dimensioned< Type >::value().
|
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(), and fvMatrix< Type >::source().
|
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, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
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, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 656 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 | ||
| ) |