First-order Euler implicit d2dt2 using the current and two previous time-step values. More...
Public Member Functions | |
TypeName ("Euler") | |
Runtime type information. More... | |
EulerD2dt2Scheme (const fvMesh &mesh) | |
Construct from mesh. More... | |
EulerD2dt2Scheme (const fvMesh &mesh, Istream &is) | |
Construct from mesh and Istream. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | fvcD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &) |
tmp< GeometricField< Type, fvPatchField, volMesh > > | fvcD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) |
tmp< fvMatrix< Type > > | fvmD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &) |
tmp< fvMatrix< Type > > | fvmD2dt2 (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &) |
tmp< fvMatrix< Type > > | fvmD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) |
![]() | |
virtual const word & | type () const =0 |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, d2dt2Scheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
d2dt2Scheme (const fvMesh &mesh) | |
Construct from mesh. More... | |
d2dt2Scheme (const fvMesh &mesh, Istream &) | |
Construct from mesh and Istream. More... | |
virtual | ~d2dt2Scheme ()=default |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > | fvcD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > | fvcD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmD2dt2 (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0 |
![]() | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | count () const noexcept |
Return the current reference count. More... | |
bool | unique () const noexcept |
Return true if the reference count is zero. More... | |
void | operator++ () noexcept |
Increment the reference count. More... | |
void | operator++ (int) noexcept |
Increment the reference count. More... | |
void | operator-- () noexcept |
Decrement the reference count. More... | |
void | operator-- (int) noexcept |
Decrement the reference count. More... | |
Additional Inherited Members | |
![]() | |
static tmp< d2dt2Scheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new d2dt2Scheme created on freestore. More... | |
![]() | |
d2dt2Scheme (const d2dt2Scheme &)=delete | |
No copy construct. More... | |
void | operator= (const d2dt2Scheme &)=delete |
No copy assignment. More... | |
![]() | |
const fvMesh & | mesh_ |
First-order Euler implicit d2dt2 using the current and two previous time-step values.
Definition at line 57 of file EulerD2dt2Scheme.H.
|
inline |
Construct from mesh.
Definition at line 79 of file EulerD2dt2Scheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 85 of file EulerD2dt2Scheme.H.
TypeName | ( | "Euler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 94 of file EulerD2dt2Scheme.H.
References d2dt2Scheme< Type >::mesh().
|
virtual |
Implements d2dt2Scheme< Type >.
Definition at line 46 of file EulerD2dt2Scheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), Foam::sqr(), timeName, and dimensioned< Type >::value().
|
virtual |
Implements d2dt2Scheme< Type >.
Definition at line 123 of file EulerD2dt2Scheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::oldTime(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), rho, Foam::sqr(), timeName, and dimensioned< Type >::value().
|
virtual |
Implements d2dt2Scheme< Type >.
Definition at line 238 of file EulerD2dt2Scheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), fvMatrix< Type >::source(), and Foam::sqr().
|
virtual |
Implements d2dt2Scheme< Type >.
Definition at line 297 of file EulerD2dt2Scheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, fvMatrix< Type >::source(), and Foam::sqr().
|
virtual |
Implements d2dt2Scheme< Type >.
Definition at line 357 of file EulerD2dt2Scheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, fvMatrix< Type >::source(), and Foam::sqr().