Local time-step first-order Euler implicit/explicit ddt. More...
Public Types | |
typedef ddtScheme< Type >::fluxFieldType | fluxFieldType |
![]() | |
typedef GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > | fluxFieldType |
Additional Inherited Members | |
![]() | |
static bool | enabled (const fvMesh &mesh) |
static const volScalarField & | localRDeltaT (const fvMesh &mesh) |
static const surfaceScalarField & | localRDeltaTf (const fvMesh &mesh) |
static tmp< volScalarField > | localRSubDeltaT (const fvMesh &mesh, const label nAlphaSubCycles) |
![]() | |
static tmp< ddtScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
![]() | |
static word | rDeltaTName |
static word | rDeltaTfName |
static word | rSubDeltaTName |
![]() | |
static bool | experimentalDdtCorr |
![]() | |
ddtScheme (const ddtScheme &)=delete | |
void | operator= (const ddtScheme &)=delete |
![]() | |
const fvMesh & | mesh_ |
scalar | ddtPhiCoeff_ |
Local time-step first-order Euler implicit/explicit ddt.
The reciprocal of the local time-step field is looked-up from the database.
This scheme should only be used for steady-state computations using transient codes where local time-stepping is preferably to under-relaxation for transport consistency reasons.
Definition at line 113 of file localEulerDdtScheme.H.
typedef ddtScheme<Type>::fluxFieldType fluxFieldType |
Definition at line 220 of file localEulerDdtScheme.H.
|
inline |
Definition at line 142 of file localEulerDdtScheme.H.
|
inline |
Definition at line 148 of file localEulerDdtScheme.H.
TypeName | ( | "localEuler" | ) |
|
inline |
Definition at line 157 of file localEulerDdtScheme.H.
References ddtScheme< Type >::mesh().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 54 of file localEulerDdtScheme.C.
References dimensioned::dimensions(), Foam::dimTime, mesh, dimensioned::name(), Foam::New(), timeName, and Foam::Zero.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 78 of file localEulerDdtScheme.C.
References mesh, GeometricField::oldTime(), and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 105 of file localEulerDdtScheme.C.
References mesh, GeometricField::oldTime(), rho, and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 133 of file localEulerDdtScheme.C.
References mesh, GeometricField::oldTime(), rho, and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 161 of file localEulerDdtScheme.C.
References Foam::constant::atomic::alpha, mesh, dimensioned::name(), GeometricField::oldTime(), rho, and timeName.
|
virtual |
Reimplemented from ddtScheme< Type >.
Definition at line 194 of file localEulerDdtScheme.C.
References mesh, GeometricField::oldTime(), and timeName.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 221 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), tmp::ref(), and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 248 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), tmp::ref(), rho, and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 277 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), tmp::ref(), rho, and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 307 of file localEulerDdtScheme.C.
References Foam::constant::atomic::alpha, dimensioned::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField::oldTime(), tmp::ref(), rho, and fvMatrix::source().
|
virtual |
Implements ddtScheme< Type >.
Definition at line 340 of file localEulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), Foam::fvc::interpolate(), mesh, timeName, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 373 of file localEulerDdtScheme.C.
References Foam::fvc::dotInterpolate(), Foam::fvc::interpolate(), mesh, phi, timeName, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 405 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimDensity, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::interpolate(), mesh, rho, timeName, U, and Uf.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 490 of file localEulerDdtScheme.C.
References Foam::abort(), Foam::dimArea, Foam::dimVelocity, Foam::fvc::dotInterpolate(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::interpolate(), mesh, phi, rho, timeName, and U.
|
virtual |
Implements ddtScheme< Type >.
Definition at line 580 of file localEulerDdtScheme.C.
References Foam::dimTime, Foam::dimVolume, mesh, IOobject::NO_READ, IOobject::NO_WRITE, tmp::ref(), timeName, and Foam::Zero.
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 | ||
) |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.