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... | |
Protected Member Functions inherited from ddtScheme< Type > | |
ddtScheme (const ddtScheme &) | |
Disallow copy construct. More... | |
void | operator= (const ddtScheme &) |
Disallow default bitwise assignment. More... | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initializing count to 0. More... | |
Protected Attributes inherited from ddtScheme< Type > | |
const fvMesh & | mesh_ |
Basic first-order Euler implicit/explicit ddt using only the current and previous time-step values.
Definition at line 55 of file EulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 150 of file EulerDdtScheme.H.
|
inline |
Construct from mesh.
Definition at line 77 of file EulerDdtScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 83 of file EulerDdtScheme.H.
TypeName | ( | "Euler" | ) |
Runtime type information.
|
inline |
Return mesh reference.
Definition at line 92 of file EulerDdtScheme.H.
References Foam::constant::atomic::alpha, EulerDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::mesh(), psi, and rho.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 46 of file EulerDdtScheme.C.
References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), tmp< T >::ref(), dimensioned< Type >::value(), and Foam::Zero.
Referenced by EulerDdtScheme< Type >::fvcDdt(), and EulerDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 105 of file EulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), EulerDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 154 of file EulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), EulerDdtScheme< Type >::fvcDdt(), mesh, dimensioned< Type >::name(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 204 of file EulerDdtScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), EulerDdtScheme< Type >::fvcDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 257 of file EulerDdtScheme.C.
References Foam::constant::atomic::alpha, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), EulerDdtScheme< Type >::fvmDdt(), mesh, IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), rho, and dimensioned< Type >::value().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 323 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().
Referenced by EulerDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvmDdt(), and EulerDdtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 358 of file EulerDdtScheme.C.
References lduMatrix::diag(), dimensioned< Type >::dimensions(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, EulerDdtScheme< 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 395 of file EulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, EulerDdtScheme< 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 434 of file EulerDdtScheme.C.
References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, EulerDdtScheme< 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 477 of file EulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), EulerDdtScheme< Type >::fvcDdtPhiCorr(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by EulerDdtScheme< Type >::fvcDdtPhiCorr(), and EulerDdtScheme< Type >::fvmDdt().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 510 of file EulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), EulerDdtScheme< Type >::fvcDdtUfCorr(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
Referenced by EulerDdtScheme< Type >::fvcDdtUfCorr().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 542 of file EulerDdtScheme.C.
References Foam::abort(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, EulerDdtScheme< Type >::fvcDdtPhiCorr(), mesh, IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 601 of file EulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, mesh, EulerDdtScheme< Type >::meshPhi(), IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::oldTime().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 662 of file EulerDdtScheme.C.
References mesh.
Referenced by EulerDdtScheme< Type >::fvcDdtPhiCorr().
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 | ||
) |