Basic first-order Euler implicit/explicit ddt using only the current and previous time-step values. 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... | |
Static Public Attributes inherited from ddtSchemeBase | |
static bool | experimentalDdtCorr |
Flag to use experimental ddtCorr from org version Default is off for backwards compatibility. More... | |
Protected Member Functions inherited from ddtScheme< Type > | |
ddtScheme (const ddtScheme &)=delete | |
No copy construct. More... | |
void | operator= (const ddtScheme &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from ddtScheme< Type > | |
const fvMesh & | mesh_ |
scalar | ddtPhiCoeff_ |
Input for fvcDdtPhiCoeff. More... | |
Basic first-order Euler implicit/explicit ddt using only the current and previous time-step values.
Definition at line 56 of file EulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 168 of file EulerDdtScheme.H.
|
inline |
Construct from mesh.
Definition at line 86 of file EulerDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 94 of file EulerDdtScheme.H.
TypeName | ( | "Euler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 105 of file EulerDdtScheme.H.
References ddtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 42 of file EulerDdtScheme.C.
References fvPatchFieldBase::calculatedType(), dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), Foam::New(), tmp< T >::ref(), dimensioned< Type >::value(), and Foam::Zero.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 86 of file EulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 142 of file EulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 199 of file EulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 259 of file EulerDdtScheme.C.
References Foam::constant::atomic::alpha, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and dimensioned< Type >::value().
|
virtual |
Reimplemented from ddtScheme< Type >.
Definition at line 332 of file EulerDdtScheme.C.
References mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 359 of file EulerDdtScheme.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().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 394 of file EulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 431 of file EulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 470 of file EulerDdtScheme.C.
References Foam::constant::atomic::alpha, lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, and fvMatrix< Type >::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 513 of file EulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), mesh, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 546 of file EulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), mesh, phi, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 578 of file EulerDdtScheme.C.
References Foam::abort(), Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, rho, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 663 of file EulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, phi, rho, and U.
|
virtual |
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 | ||
) |