27 #include "surfaceInterpolate.H" 43 const volScalarField& localEulerDdtScheme<Type>::localRDeltaT()
const 50 tmp<GeometricField<Type, fvPatchField, volMesh>>
60 "ddt(" + dt.
name() +
')',
61 mesh().time().timeName(),
82 tdtdt.
ref().primitiveFieldRef() =
120 "ddt(" + vf.
name() +
')',
121 mesh().time().timeName(),
172 "ddt(" + rho.
name() +
',' + vf.
name() +
')',
173 mesh().time().timeName(),
205 rDeltaT*rho*(vf - vf.
oldTime())
224 "ddt(" + rho.
name() +
',' + vf.
name() +
')',
225 mesh().time().timeName(),
281 mesh().time().timeName(),
512 "ddtCorr(" + U.
name() +
',' + Uf.
name() +
')',
513 mesh().time().timeName(),
516 this->fvcDdtPhiCoeff(U.
oldTime(), phiUf0, phiCorr)
544 "ddtCorr(" + U.
name() +
',' + phi.
name() +
')',
545 mesh().time().timeName(),
588 mesh().time().timeName(),
591 this->fvcDdtPhiCoeff(rhoU0, phiUf0, phiCorr)*rDeltaT*phiCorr
601 return fvcDdtUfCorr(U, Uf);
606 <<
"dimensions of Uf are not correct" 609 return fluxFieldType::null();
649 mesh().time().timeName(),
652 this->fvcDdtPhiCoeff(rhoU0, phi.
oldTime(), phiCorr)
663 return fvcDdtPhiCorr(U, phi);
668 <<
"dimensions of phi are not correct" 671 return fluxFieldType::null();
const dimensionSet & dimensions() const
Return const reference to dimensions.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate(const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &tvf)
Interpolate field onto faces.
tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionSet dimVol(dimVolume)
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
const Type & value() const
Return const reference to value.
Generic dimensioned Type class.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const word & name() const
Return const reference to name.
const dimensionSet dimVolume(pow3(dimLength))
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
tmp< fluxFieldType > fvcDdtPhiCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
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.
errorManip< error > abort(error &err)
const dimensionSet & dimensions() const
Return dimensions.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)
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.
const dimensionSet dimDensity
tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A special matrix type and solver, designed for finite volume solutions of scalar equations.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
T & ref() const
Return non-const reference or generate a fatal error.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity