54 mesh().thisDb().newIOobject
57 { IOobject::REGISTER }
73 tdtdt.
ref().primitiveFieldRef() =
101 mesh().thisDb().newIOobject
103 "ddt("+dt.
name()+
')',
104 { IOobject::REGISTER }
120 tdtdt0.ref().primitiveFieldRef() =
139 mesh().thisDb().newIOobject
141 "ddt("+vf.
name()+
')',
142 { IOobject::REGISTER }
192 mesh().thisDb().newIOobject
194 "ddt0("+vf.
name()+
')',
195 { IOobject::REGISTER }
215 return tmp<GeometricField<Type, faPatchField, areaMesh>>
217 new GeometricField<Type, faPatchField, areaMesh>
239 mesh().thisDb().newIOobject
241 "ddt("+
rho.name()+
','+vf.
name()+
')',
242 { IOobject::REGISTER }
269 return tmp<GeometricField<Type, faPatchField, areaMesh>>
271 new GeometricField<Type, faPatchField, areaMesh>
292 mesh().thisDb().newIOobject
294 "ddt0("+
rho.name()+
','+vf.
name()+
')',
295 { IOobject::REGISTER }
317 return tmp<GeometricField<Type, faPatchField, areaMesh>>
319 new GeometricField<Type, faPatchField, areaMesh>
341 mesh().thisDb().newIOobject
343 "ddt("+
rho.name()+
','+vf.
name()+
')',
344 { IOobject::REGISTER }
366 -
rho.oldTime().boundaryField()
374 return tmp<GeometricField<Type, faPatchField, areaMesh>>
376 new GeometricField<Type, faPatchField, areaMesh>
398 mesh().thisDb().newIOobject
400 "ddt0("+
rho.name()+
','+vf.
name()+
')',
401 { IOobject::REGISTER }
421 -
rho.oldTime().boundaryField()
429 return tmp<GeometricField<Type, faPatchField, areaMesh>>
431 new GeometricField<Type, faPatchField, areaMesh>
458 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
460 fam.diag() = rDeltaT*
mesh().S();
493 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
499 fam.source() = rDeltaT
504 fam.source() = rDeltaT
530 scalar rDeltaT = 1.0/
mesh().time().deltaTValue();
532 fam.diag() = rDeltaT*
rho.primitiveField()*
mesh().S();
536 fam.source() = rDeltaT
537 *
rho.oldTime().primitiveField()
542 fam.source() = rDeltaT
543 *
rho.oldTime().primitiveField()
const dimensionSet & dimensions() const noexcept
Return dimensions.
Generic GeometricField class.
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
Generic dimensioned Type class.
const dimensionSet & dimensions() const noexcept
Return const reference to dimensions.
const word & name() const noexcept
Return const reference to name.
const Type & value() const noexcept
Return const reference to value.
A special matrix type and solver, designed for finite area solutions of scalar equations....
static const word & calculatedType() noexcept
The type name for calculated patch fields.
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt(const dimensioned< Type >)
tmp< faMatrix< Type > > famDdt(const GeometricField< Type, faPatchField, areaMesh > &)
const faMesh & mesh() const
Return mesh reference.
tmp< GeometricField< Type, faPatchField, areaMesh > > facDdt0(const dimensioned< Type >)
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Namespace for finite-area.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimArea(sqr(dimLength))
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Calculate the matrix for the second temporal derivative.