27 #include "surfaceInterpolate.H" 44 tmp<GeometricField<Type, fvPatchField, volMesh>>
55 mesh().time().timeName(),
76 tdtdt.
ref().primitiveFieldRef() =
113 "ddt("+vf.
name()+
')',
114 mesh().time().timeName(),
163 "ddt("+rho.
name()+
','+vf.
name()+
')',
164 mesh().time().timeName(),
194 rDeltaT*rho*(vf - vf.
oldTime())
213 "ddt("+rho.
name()+
','+vf.
name()+
')',
214 mesh().time().timeName(),
268 mesh().time().timeName(),
338 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
373 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
410 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
450 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
496 "ddtCorr(" + U.
name() +
',' + Uf.
name() +
')',
497 mesh().time().timeName(),
500 this->fvcDdtPhiCoeff(U.
oldTime(), phiUf0, phiCorr)
528 "ddtCorr(" + U.
name() +
',' + phi.
name() +
')',
529 mesh().time().timeName(),
572 mesh().time().timeName(),
575 this->fvcDdtPhiCoeff(rhoU0, phiUf0, phiCorr)*rDeltaT*phiCorr
585 return fvcDdtUfCorr(U, Uf);
590 <<
"dimensions of Uf are not correct" 593 return fluxFieldType::null();
633 mesh().time().timeName(),
636 this->fvcDdtPhiCoeff(rhoU0, phi.
oldTime(), phiCorr)
647 return fvcDdtPhiCorr(U, phi);
652 <<
"dimensions of phi are not correct" 655 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.
const dimensionSet dimVol(dimVolume)
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt(const dimensioned< Type > &)
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
const Type & value() const
Return const reference to value.
Generic GeometricField class.
Generic dimensioned Type class.
const word & name() const
Return const reference to name.
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)
tmp< surfaceScalarField > meshPhi(const GeometricField< Type, fvPatchField, volMesh > &)
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.
errorManip< error > abort(error &err)
tmp< fluxFieldType > fvcDdtUfCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
const dimensionSet & dimensions() const
Return dimensions.
Calculate the divergence of the given field.
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.
T & ref() const
Return non-const reference or generate a fatal error.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
tmp< fvMatrix< Type > > fvmDdt(const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity