27 #include "surfaceInterpolate.H" 43 const volScalarField& localEulerDdtScheme<Type>::localRDeltaT()
const 57 tmp<GeometricField<Type, fvPatchField, volMesh>>
63 const word ddtName(
"ddt(" + dt.
name() +
')');
92 const word ddtName(
"ddt(" + vf.
name() +
')');
115 const word ddtName(
"ddt(" + rho.
name() +
',' + vf.
name() +
')');
122 rDeltaT*rho*(vf - vf.
oldTime())
138 const word ddtName(
"ddt(" + rho.
name() +
',' + vf.
name() +
')');
188 const word ddtName(
"ddt("+sf.
name()+
')');
389 "ddtCorr(" + U.
name() +
',' + Uf.
name() +
')',
390 mesh().time().timeName(),
393 this->fvcDdtPhiCoeff(U.
oldTime(), phiUf0, phiCorr)
421 "ddtCorr(" + U.
name() +
',' + phi.
name() +
')',
422 mesh().time().timeName(),
465 mesh().time().timeName(),
468 this->fvcDdtPhiCoeff(rhoU0, phiUf0, phiCorr, rho.
oldTime())
493 mesh().time().timeName(),
509 <<
"dimensions of Uf are not correct" 512 return fluxFieldType::null();
552 mesh().time().timeName(),
584 mesh().time().timeName(),
600 <<
"dimensions of phi are not correct" 603 return fluxFieldType::null();
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
const word & name() const
Return name.
static const surfaceScalarField & localRDeltaTf(const fvMesh &mesh)
Return the reciprocal of the local face time-step.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
T & ref() const
Return non-const reference or generate a fatal error.
static tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate(const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &tvf)
Interpolate field onto faces.
virtual tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &)
Return a temporary field constructed from name,.
virtual tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
Generic GeometricField class.
Generic dimensioned Type class.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
const dimensionSet & dimensions() const
Return dimensions.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
const dimensionSet dimVol
const dimensionSet dimFlux
const dimensionSet dimDensity
This boundary condition is not designed to be evaluated; it is assumed that the value is assigned via...
const Type & value() const
Return const reference to value.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
static const volScalarField & localRDeltaT(const fvMesh &mesh)
Return the reciprocal of the local time-step.
faceListList boundary(nPatches)
errorManip< error > abort(error &err)
const dimensionSet dimVelocity
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)
const word & name() const
Return const reference to name.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
virtual tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionSet & dimensions() const
Return const reference to dimensions.
const dimensionSet dimVolume
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...