38 const LagrangianSubSubField<Type>&
psi
41 return typedName(
"S0(" + LagrangianModel::fieldName(
psi) +
")");
48 const LagrangianSubSubField<Type>&
psi
51 return typedName(
"deltaTSp0(" + LagrangianModel::fieldName(
psi) +
")");
62 const bool instantaneousDdt
68 const word S0Name = this->S0Name(
psi);
81 IOobject::READ_IF_PRESENT,
104 if (!instantaneousDdt)
return true;
106 const word deltaTSp0Name = this->deltaTSp0Name(
psi);
119 IOobject::READ_IF_PRESENT,
120 IOobject::AUTO_WRITE,
158 const word S0Name = this->S0Name(
psi);
159 const word deltaTSp0Name = this->deltaTSp0Name(
psi);
166 : NullObjectNonConstRef<LagrangianDynamicField<scalar>>();
168 const bool isNone = subMesh.
group() == LagrangianGroup::none;
181 if (!isNone) tEqn.
ref().Su += subMesh.
sub(S0);
198 tEqn.
ref().deltaTSp += 1;
199 tEqn.
ref().deltaTSu -=
psi.oldTime();
220 tEqn.
ref().deltaTSp += m;
275 return m*LagrangiancDdt(
psi);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
const Mesh & mesh() const
Return mesh.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
Base class for Lagrangian injections. Minimal wrapper over LagrangianSource. Implements some utility ...
Class containing Lagrangian geometry and topology.
Base class for Lagrangian sources. Minimal wrapper over LagrangianModel that provides an interface to...
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
SubList< Type > sub(const List< Type > &list) const
Return a sub-list corresponding to this sub-mesh.
LagrangianGroup group() const
Return the group.
const LagrangianMesh & mesh() const
Return the mesh.
Basic first-order implicit CrankNicolson Lagrangian ddt scheme.
virtual tmp< LagrangianEqn< Type > > LagrangianmNoDdt(const LagrangianSubScalarField &deltaT, const dimensionSet &mDims, const LagrangianSubSubField< Type > &psi)
Return the no-time-derivative matrix.
virtual bool LagrangianmInitDdt(const dimensionSet &mDims, const LagrangianSubSubField< Type > &psi, const bool instantaneousDdt)
Initialise time-derivative information.
virtual tmp< LagrangianEqn< Type > > LagrangianmDdt(const LagrangianSubScalarField &deltaT, LagrangianSubSubField< Type > &psi)
Return the time-derivative matrix.
virtual tmp< LagrangianSubField< Type > > LagrangiancDdt(const LagrangianSubSubField< Type > &psi)
Return the instantaneous time-derivative.
This source condition provides a NaN value.
const Field0Type & oldTime() const
Return the old-time field.
label size() const
Return the number of elements in the UPtrList.
A calculated boundary condition for Lagrangian. This condition does not provide any evaluation functi...
Dimension set for the base types.
Generic dimensioned Type class.
const word & name() const
Return const reference to name.
const Time & time() const
Return the top-level database.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
This source condition retains the internal value.
Type & lookupObjectRef(const word &name) const
Lookup and return the object reference of the given Type.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
bool foundObject(const word &name) const
Is the named Type in registry.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const volScalarField & psi
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionSet dimless
const dimensionSet dimTime
word typedName(Name name)
Return the name of the object within the given type.