45 namespace functionObjects
85 const bool dUdt = tracking == trackingType::parabolic;
98 if (context != contextType::functionObject)
106 if (context != contextType::functionObject)
142 if (context != contextType::functionObject &&
final)
151 carrierEqn(rhoc) += mcEqn;
166 if (context != contextType::functionObject &&
final)
175 carrierEqn(Uc) += UcEqn;
Functions for calculating the time derivative for a Lagrangian equation.
Functions for calculating the time derivative for a Lagrangian equation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Mesh & mesh() const
Return mesh.
readOption
Enumeration defining the read options.
writeOption
Enumeration defining the write options.
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
void solve(const bool final)
Solve.
List of Lagrangian models, constructed as a (Lagrangian) mesh object. Provides similar functions to t...
bool addsSupToField(const word &) const
Return true if the LagrangianModels adds a source term to the.
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.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
contextType
Context in which this cloud is used.
virtual void initialise(const bool predict)
Initialisation hook.
virtual void partition()
Partition hook.
virtual void solve()
Solve the cloud's evolution over the current time-step.
Base class for clouds which are coupled to a fluid.
void updateRhoc()
Update the carrier density.
void initialise(const bool predict)
Initialisation hook.
void clearCarrierEqns()
Clear the carrier equations.
void partition()
Partition hook.
Base class for clouds with particles with mass.
Cloud with spherical, variable density, particles.
virtual bool reCalculateModified()
Do we need to re-calculate particles that are modified?
virtual ~particle()
Destructor.
virtual tmp< LagrangianSubVectorField > dUdt(const LagrangianSubMesh &) const
Return the acceleration with which to do second-order tracking.
virtual void initialise(const bool predict)
Initialisation hook.
virtual void partition()
Partition hook.
particle(const polyMesh &mesh, const word &name, const contextType context, const IOobject::readOption readOption=IOobject::READ_IF_PRESENT, const IOobject::writeOption writeOption=IOobject::AUTO_WRITE)
Construct from a mesh and a name.
virtual void calculate(const LagrangianSubScalarField &deltaT, const bool final)
Update the cloud properties.
virtual void solve()
Solve the cloud's evolution over the current time-step.
Base class for clouds of spherical particles which are coupled to a fluid.
Base class for clouds with spherical particles.
void correct(const LagrangianSubScalarSubField &v)
Correct the shape to match the given volume.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
tmp< LagrangianSubField< Type > > Ddt(const LagrangianSubSubField< Type > &psi)
tmp< LagrangianEqn< Type > > Ddt(const LagrangianSubScalarField &deltaT, LagrangianSubSubField< Type > &psi)
bool initDdt(const dimensionSet &mDims, const LagrangianSubSubField< Type > &psi, const bool instantaneousDdt=false)
tmp< LagrangianEqn< Type > > noDdt(const LagrangianSubScalarField &deltaT, const dimensionSet &mDims, const LagrangianSubSubField< Type > &psi)
defineTypeNameAndDebug(coupled, 0)
addToRunTimeSelectionTable(cloud, kinematicParcel, polyMesh)
makeCloudFunctionObject(kinematicParcel)
makeCloudFvModel(kinematicParcel)
const dimensionSet dimless
const dimensionSet dimVolume
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimMass
tmp< DimensionedField< Type, GeoMesh, SubField > > toSubField(const DimensionedField< Type, GeoMesh, Field > &)
Return a temporary sub-field from a reference to a field.