52 Foam::Lagrangian::SchillerNaumannDrag::calcD
54 const LagrangianModelRef& model,
55 const LagrangianSubMesh& subMesh
58 const clouds::spherical& sCloud = cloud<clouds::spherical>();
59 const clouds::sphericalCoupled& scCloud = cloud<clouds::sphericalCoupled>();
61 tmp<LagrangianSubScalarSubField> td = sCloud.d(model, subMesh);
67 clouds::coupledToConstantDensityFluid,
68 clouds::coupledToFluid
71 tmp<LagrangianSubScalarField> tmucByRhoOrMuc =
72 isCloud<clouds::coupledToConstantDensityFluid>()
74 cloud<clouds::coupledToConstantDensityFluid>().nuc(model, subMesh)
75 /cloud<clouds::coupledToConstantDensityFluid>().rhoByRhoc
77 : tmp<LagrangianSubScalarField>
79 cloud<clouds::coupledToFluid>().muc(model, subMesh)
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...
Base class for Lagrangian models.
Drag model of Schiller and Naumann for spherical particles in a turbulent carrier flow.
static tmp< LagrangianSubScalarField > CdRe(const LagrangianSubScalarField &Re)
Return the drag coefficient times Reynold's number, as a function.
void assertCloud() const
Generate an error if the cloud is not one of the given types.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for managing temporary objects.
defineTypeNameAndDebug(collisionPhaseTransfer, 0)
addToRunTimeSelectionTable(LagrangianModel, collisionPhaseTransfer, dictionary)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)
LagrangianSubSubField< scalar > LagrangianSubScalarSubField
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
LagrangianSubField< scalar > LagrangianSubScalarField
scalarField Re(const UList< complex > &cf)