Go to the documentation of this file.
44 tmp<GeometricField<Type, fvPatchField, volMesh> >
76 tdtdt().internalField() =
113 "ddt("+vf.name()+
')',
165 "ddt("+
rho.name()+
','+vf.name()+
')',
217 "ddt("+
rho.name()+
','+vf.name()+
')',
234 -
rho.oldTime().internalField()
240 -
rho.oldTime().boundaryField()
290 alpha.internalField()
294 -
alpha.oldTime().internalField()
295 *
rho.oldTime().internalField()
300 alpha.boundaryField()
304 -
alpha.oldTime().boundaryField()
305 *
rho.oldTime().boundaryField()
347 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
349 fvm.diag() = rDeltaT*
mesh().Vsc();
382 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
384 fvm.diag() = rDeltaT*
rho.value()*
mesh().Vsc();
419 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
421 fvm.diag() = rDeltaT*
rho.internalField()*
mesh().Vsc();
426 *
rho.oldTime().internalField()
432 *
rho.oldTime().internalField()
459 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
461 fvm.diag() = rDeltaT*
alpha.internalField()*
rho.internalField()*
mesh().Vsc();
466 *
alpha.oldTime().internalField()
467 *
rho.oldTime().internalField()
473 *
alpha.oldTime().internalField()
474 *
rho.oldTime().internalField()
503 "ddtCorr(" +
U.name() +
',' +
Uf.name() +
')',
510 mesh().Sf() &
Uf.oldTime(),
540 "ddtCorr(" +
U.name() +
',' +
phi.name() +
')',
544 this->fvcDdtPhiCoeff(
U.oldTime(),
phi.oldTime(), phiCorr)
570 rho.oldTime()*
U.oldTime()
585 +
rho.name() +
',' +
U.name() +
',' +
Uf.name() +
')',
592 mesh().Sf() &
Uf.oldTime(),
605 return fvcDdtUfCorr(
U,
Uf);
610 <<
"dimensions of Uf are not correct"
613 return fluxFieldType::null();
637 rho.oldTime()*
U.oldTime()
652 +
rho.name() +
',' +
U.name() +
',' +
phi.name() +
')',
656 this->fvcDdtPhiCoeff(rhoU0,
phi.oldTime(), phiCorr)
667 return fvcDdtPhiCorr(
U,
phi);
672 <<
"dimensions of phi are not correct"
675 return fluxFieldType::null();
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
A class for managing temporary objects.
const dimensionSet dimVelocity
tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
Calculate the divergence of the given field.
const word & name() const
Return const reference to name.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
const Type & value() const
Return const reference to value.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimArea(sqr(dimLength))
InternalField & internalField()
Return internal field.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
errorManip< error > abort(error &err)
tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Traits class for primitives.
const dimensionSet dimVol(dimVolume)
const dimensionSet & dimensions() const
Return const reference to dimensions.
Generic GeometricField class.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)