Courant number limited first-order Euler implicit/explicit ddt. More...
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 ddtScheme< Type > | |
static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new ddtScheme created on freestore. More... | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initializing count to 0. More... | |
Protected Attributes inherited from ddtScheme< Type > | |
const fvMesh & | mesh_ |
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 preferable to under-relaxation for transport consistency reasons.
Definition at line 61 of file CoEulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 169 of file CoEulerDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 96 of file CoEulerDdtScheme.H.
|
delete |
Disallow default bitwise copy construction.
TypeName | ( | "CoEuler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 111 of file CoEulerDdtScheme.H.
References alpha(), CoEulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::mesh(), psi, and rho.
Referenced by CrankNicolsonDdtScheme< Type >::ddt0_().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 147 of file CoEulerDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), dimensioned< Type >::value(), and Foam::Zero.
Referenced by CoEulerDdtScheme< Type >::fvcDdt(), and CoEulerDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 202 of file CoEulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), CoEulerDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 246 of file CoEulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), CoEulerDdtScheme< Type >::fvcDdt(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 291 of file CoEulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), CoEulerDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 339 of file CoEulerDdtScheme.C.
References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), CoEulerDdtScheme< Type >::fvmDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 400 of file CoEulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and fvMatrix< Type >::source().
Referenced by CoEulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvmDdt(), and CoEulerDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 435 of file CoEulerDdtScheme.C.
References lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, CoEulerDdtScheme< Type >::fvmDdt(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), fvMatrix< Type >::source(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 472 of file CoEulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, CoEulerDdtScheme< Type >::fvmDdt(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 511 of file CoEulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, CoEulerDdtScheme< Type >::fvcDdtUfCorr(), mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 554 of file CoEulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), and CoEulerDdtScheme< Type >::fvmDdt().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 578 of file CoEulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), CoEulerDdtScheme< Type >::fvcDdtUfCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by CoEulerDdtScheme< Type >::fvcDdtUfCorr().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 602 of file CoEulerDdtScheme.C.
References Foam::abort(), Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), Foam::fvc::interpolate(), mesh, IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 669 of file CoEulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, CoEulerDdtScheme< Type >::meshPhi(), IOobject::name(), Foam::compressible::New(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 741 of file CoEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, and GeometricField< scalar, fvsPatchField, surfaceMesh >::New().
Referenced by CoEulerDdtScheme< Type >::fvcDdtPhiCorr().
|
delete |
Disallow default bitwise assignment.
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 | ||
) |