32 template<
class CloudType>
42 alphacName_(this->coeffs().lookup(
"alphac")),
44 alphacInterpPtr_(
nullptr)
48 template<
class CloudType>
57 alphacInterpPtr_(
nullptr)
63 template<
class CloudType>
70 template<
class CloudType>
74 if (!alphacInterpPtr_.valid())
77 <<
"Carrier phase volume-fraction interpolation object not set" 81 return alphacInterpPtr_();
85 template<
class CloudType>
90 if (!this->
mesh().
template foundObject<volScalarField>(alphacName_))
99 this->
mesh().template lookupObject<volScalarField>(alphacName_);
101 alphacInterpPtr_.reset
105 this->owner().
solution().interpolationSchemes(),
112 alphacInterpPtr_.clear();
virtual void cacheFields(const bool store)
Cache fields.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Abstract base class for particle forces.
DenseDragForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &typeName)
Construct from mesh.
const word alphacName_
Name of the carrier volume fraction field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from string.
errorManip< error > abort(error &err)
const interpolation< scalar > & alphacInterp() const
Return the volume fraction interpolation.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for interpolation.
virtual ~DenseDragForce()
Destructor.
Selector class for relaxation factors, solver type and solution.
Templated base class for dsmc cloud.