37 #ifndef cloud_fvModel_H
38 #define cloud_fvModel_H
120 const word& modelType,
209 const word& modelType,
228 #define makeCloudFvModel(Type) \
230 typedef Cloud<clouds::Type> Type##CloudFvModel; \
232 defineTemplateTypeNameAndDebugWithName \
234 Type##CloudFvModel, \
235 (clouds::Type::typeName + "Cloud").c_str(), \
239 addToRunTimeSelectionTable \
242 Type##CloudFvModel, \
Generic GeometricField class.
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.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
static const word & fieldName()
Return the name of the field associated with a source term. Special.
Cloud(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
TypeName("Cloud")
Run-time type information.
Empty template class used to template the constructor on the type.
Finite volume model that solves for the evolution of a cloud. Provides two-way coupling with a finite...
virtual bool movePoints()
Update for mesh motion.
virtual void correct()
Add a source term to an equation.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
TypeName("cloud")
Run-time type information.
virtual void preUpdateMesh()
Prepare for mesh update.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual ~cloud()
Destructor.
virtual void addSup(fvMatrix< scalar > &eqn) const
Add a source term to a field-less proxy equation.
cloud(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const Cloud< Type > &)
Construct from components.
virtual bool addsSupToField(const word &fieldName) const
Return true if the fvModel adds a source term to the given.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
#define DEFINE_FV_MODEL_ADD_ALPHA_RHO_FIELD_SUP(Type, nullArg)
#define DEFINE_FV_MODEL_ADD_RHO_FIELD_SUP(Type, nullArg)
#define DEFINE_FV_MODEL_ADD_FIELD_SUP(Type, nullArg)
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)