34 const dictionary&
dict,
35 const phaseInterface& interface,
36 const bool registerObject
39 dragModel(dict, interface, registerObject),
40 interface_(interface.modelCast<dragModel, dispersedPhaseInterface>()),
43 dict.
found(
"swarmCorrection")
44 ? swarmCorrection::
New(dict.subDict(
"swarmCorrection"), interface).ptr()
45 : new swarmCorrections::noSwarm(dict, interface)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
dispersedDragModel(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual tmp< volScalarField > rho() const =0
Return the density field.
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
const rhoThermo & thermo() const
Return const-access to phase rhoThermo.
const phaseModel & continuous() const
Continuous phase.
const phaseModel & dispersed() const
Dispersed phase.
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
virtual ~dispersedDragModel()
Destructor.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
virtual tmp< volScalarField > Ki() const
Return the phase-intensive drag coefficient Ki.
const dispersedPhaseInterface interface_
Interface.
virtual tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
virtual tmp< volScalarField > nu() const
Kinematic viscosity of mixture [m^2/s].
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
A class for managing temporary objects.
autoPtr< swarmCorrection > swarmCorrection_
Swarm correction.