78 isCloud<clouds::coupled>()
84 else if (isCloud<clouds::coupledToIncompressibleFluid>())
91 eqn.
Su += g*(1 - 1/rhoByRhoc);
110 isCloud<clouds::coupled>()
116 else if (isCloud<clouds::coupledToIncompressibleFluid>())
123 eqn.
Su += vOrM*g*(1 - 1/rhoByRhoc);
125 else if (isCloud<clouds::coupledToFluid>() && isCloud<clouds::massive>())
134 eqn.
Su += vOrM*g*(1 - rhoc/
rho);
136 else if (isCloud<clouds::coupledToFluid>() && !isCloud<clouds::massive>())
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
LagrangianCoeff< Type, false > Su
Explicit coefficient.
bool isPsi(const LagrangianSubField< Type, PrimitiveField > &psi) const
Return whether the given field is that of the equation.
Class containing Lagrangian geometry and topology.
Base class for Lagrangian models.
virtual wordList addSupFields() const
Return the name of the velocity field.
virtual void addSup(const LagrangianSubScalarField &deltaT, const LagrangianSubVectorSubField &U, LagrangianEqn< vector > &eqn) const
Add a source term to the velocity equation.
gravity(const word &name, const LagrangianMesh &mesh, const dictionary &modelDict, const dictionary &stateDict)
Construct from components.
Base class for Lagrangian models that refer to a cloud. Not a Lagrangian model in itself....
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Base class for clouds which are coupled to a fluid.
const CarrierField< scalar > & rhoc
Carrier density.
Base class for clouds which are coupled to an incompressible fluid.
const dimensionedScalar rhoByRhoc
Cloud/carrier density ratio.
Base class for clouds with particles with mass.
CloudStateField< scalar > & rho
Density.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
addToRunTimeSelectionTable(LagrangianModel, constantCoefficientVirtualMass, dictionary)
defineTypeNameAndDebug(constantCoefficientVirtualMass, 0)
List< word > wordList
A List of words.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const UniformDimensionedField< Type > & lookupUniformDimensionedField(const objectRegistry &db, const word &name)