53 Foam::Lagrangian::GidaspowErgunWenYuDrag::calcD
55 const LagrangianModelRef& model,
56 const LagrangianSubMesh& subMesh
59 const clouds::spherical& sCloud = cloud<clouds::spherical>();
60 const clouds::sphericalCoupled& scCloud = cloud<clouds::sphericalCoupled>();
76 +
neg(alphac - 0.8)*(4.0/3.0)*(150*
alpha/alphac + 1.75*
Re)
81 clouds::coupledToIncompressibleFluid,
82 clouds::coupledToFluid
85 tmp<LagrangianSubScalarField> tmucByRhoOrMuc =
86 isCloud<clouds::coupledToIncompressibleFluid>()
88 cloud<clouds::coupledToIncompressibleFluid>().nuc(model, subMesh)
89 /cloud<clouds::coupledToIncompressibleFluid>().rhoByRhoc
91 : tmp<LagrangianSubScalarField>
93 cloud<clouds::coupledToFluid>().muc(model, subMesh)
116 alphaMax_(modelDict.lookup<scalar>(
"alphaMax",
unitFraction))
Macros for easy insertion into run-time selection tables.
static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Mesh &mesh, const dimensionSet &, const PrimitiveField< Type > &)
Return a temporary field constructed from name, mesh,.
Class containing Lagrangian geometry and topology.
Base class for Lagrangian models.
GidaspowErgunWenYuDrag(const word &name, const LagrangianMesh &mesh, const dictionary &modelDict, const dictionary &stateDict)
Construct from components.
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.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
addToRunTimeSelectionTable(LagrangianModel, constantCoefficientVirtualMass, dictionary)
defineTypeNameAndDebug(constantCoefficientVirtualMass, 0)
dimensionedScalar pos0(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
dimensionedScalar neg(const dimensionedScalar &ds)
LagrangianSubSubField< scalar > LagrangianSubScalarSubField
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
LagrangianSubField< scalar > LagrangianSubScalarField
const unitConversion unitFraction
scalarField Re(const UList< complex > &cf)