45 void Foam::Lagrangian::drag::addUSup
48 LagrangianEqn<vector>& eqn
54 cloud<clouds::coupled>().Uc(
U.mesh());
61 else if (eqn.isPsi(Uc))
87 cloud().derivedField<scalar>
111 assertCloud<clouds::coupledToIncompressibleFluid>();
125 assertCloud<clouds::coupledToIncompressibleFluid, clouds::coupledToFluid>();
Functions for calculating sources in a Lagrangian equation.
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...
Class containing Lagrangian geometry and topology.
Base class for Lagrangian models.
virtual wordList addSupFields() const
Return the name of the velocity field.
drag(const word &name, const LagrangianMesh &mesh, const dictionary &modelDict, const dictionary &stateDict)
Construct from components.
virtual void addSup(const LagrangianSubScalarField &deltaT, const LagrangianSubVectorSubField &U, LagrangianEqn< vector > &eqn) const
Add a source term to the velocity equation.
const CloudDerivedField< scalar > & D
Drag coefficient.
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...
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)
defineTypeNameAndDebug(constantCoefficientVirtualMass, 0)
tmp< LagrangianEqn< Type > > Sp(const LagrangianSubField< SpType > &Sp, const LagrangianSubSubField< Type > &psi)
static const coefficient D("D", dimTemperature, 257.14)
List< word > wordList
A List of words.
LagrangianSubSubField< vector > LagrangianSubVectorSubField
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
LagrangianSubField< scalar > LagrangianSubScalarField
LagrangianSubField< vector > LagrangianSubVectorField