backwardFaDdtScheme< Type > Class Template Reference

Second-order backward-differencing implicit ddt using the current and two previous time-step values. More...

Inheritance diagram for backwardFaDdtScheme< Type >:
[legend]
Collaboration diagram for backwardFaDdtScheme< Type >:
[legend]

Public Member Functions

 TypeName ("backward")
 Runtime type information. More...
 
 backwardFaDdtScheme (const faMesh &mesh)
 Construct from mesh. More...
 
 backwardFaDdtScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const dimensioned< Type >)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const dimensioned< Type >)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< faMatrix< Type > > famDdt (const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< faMatrix< Type > > famDdt (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< faMatrix< Type > > famDdt (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
- Public Member Functions inherited from faDdtScheme< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, faDdtScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 faDdtScheme (const faMesh &mesh)
 Construct from mesh. More...
 
 faDdtScheme (const faMesh &mesh, Istream &)
 Construct from mesh and Istream. More...
 
virtual ~faDdtScheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const dimensioned< Type >)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const dimensioned< Type >)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famDdt (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famDdt (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famDdt (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
- Public Member Functions inherited from refCount
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 Public Member Functions inherited from faDdtScheme< Type >
static tmp< faDdtScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new faDdtScheme created on freestore. More...
 
- Protected Member Functions inherited from faDdtScheme< Type >
 faDdtScheme (const faDdtScheme &)=delete
 No copy construct. More...
 
void operator= (const faDdtScheme &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from faDdtScheme< Type >
const faMeshmesh_
 

Detailed Description

template<class Type>
class Foam::fa::backwardFaDdtScheme< Type >

Second-order backward-differencing implicit ddt using the current and two previous time-step values.

Source files

Definition at line 57 of file backwardFaDdtScheme.H.

Constructor & Destructor Documentation

◆ backwardFaDdtScheme() [1/2]

backwardFaDdtScheme ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 90 of file backwardFaDdtScheme.H.

◆ backwardFaDdtScheme() [2/2]

backwardFaDdtScheme ( const faMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 96 of file backwardFaDdtScheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "backward"  )

Runtime type information.

◆ mesh()

const faMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 105 of file backwardFaDdtScheme.H.

References faDdtScheme< Type >::mesh().

Here is the call graph for this function:

◆ facDdt() [1/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt ( const dimensioned< Type >  dt)
virtual

Implements faDdtScheme< Type >.

Definition at line 77 of file backwardFaDdtScheme.C.

References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), Foam::New(), IOobject::NO_READ, IOobject::NO_WRITE, tmp< T >::ref(), timeName, dimensioned< Type >::value(), and Foam::Zero.

Here is the call graph for this function:

◆ facDdt0() [1/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 ( const dimensioned< Type >  dt)
virtual

Implements faDdtScheme< Type >.

Definition at line 132 of file backwardFaDdtScheme.C.

References mesh, dimensioned< Type >::name(), IOobject::NO_READ, IOobject::NO_WRITE, tmp< T >::ref(), timeName, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ facDdt() [2/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt ( const GeometricField< Type, faPatchField, areaMesh > &  vf)
virtual

Implements faDdtScheme< Type >.

Definition at line 179 of file backwardFaDdtScheme.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(), timeName, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ facDdt0() [2/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 ( const GeometricField< Type, faPatchField, areaMesh > &  vf)
virtual

Implements faDdtScheme< Type >.

Definition at line 252 of file backwardFaDdtScheme.C.

References dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::oldTime(), timeName, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ facDdt() [3/4]

◆ facDdt0() [3/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 ( const dimensionedScalar rho,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Implements faDdtScheme< Type >.

Definition at line 395 of file backwardFaDdtScheme.C.

References dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, timeName, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ facDdt() [4/4]

◆ facDdt0() [4/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0 ( const areaScalarField rho,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Implements faDdtScheme< Type >.

Definition at line 543 of file backwardFaDdtScheme.C.

References dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, timeName, and dimensioned< Type >::value().

Here is the call graph for this function:

◆ famDdt() [1/3]

tmp< faMatrix< Type > > famDdt ( const GeometricField< Type, faPatchField, areaMesh > &  vf)
virtual

Implements faDdtScheme< Type >.

Definition at line 617 of file backwardFaDdtScheme.C.

References Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), and tmp< T >::ref().

Here is the call graph for this function:

◆ famDdt() [2/3]

tmp< faMatrix< Type > > famDdt ( const dimensionedScalar rho,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Implements faDdtScheme< Type >.

Definition at line 668 of file backwardFaDdtScheme.C.

References Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and rho.

Here is the call graph for this function:

◆ famDdt() [3/3]

tmp< faMatrix< Type > > famDdt ( const areaScalarField rho,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Implements faDdtScheme< Type >.

Definition at line 719 of file backwardFaDdtScheme.C.

References Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and rho.

Here is the call graph for this function:

The documentation for this class was generated from the following files: