33template<
class CloudType>
42 alphaName_(this->coeffs().
lookup(
"alpha")),
43 C_(this->coeffs().getScalar(
"C")),
44 gradInterForceInterpPtr_(nullptr)
48template<
class CloudType>
52 alphaName_(pf.alphaName_),
54 gradInterForceInterpPtr_(pf.gradInterForceInterpPtr_)
60template<
class CloudType>
67template<
class CloudType>
70 static word fName(
"gradAlpha");
73 this->
mesh().template foundObject<volVectorField>(fName);
80 lookupObject<volScalarField>(alphaName_);
85 gradInterForcePtr->
store();
89 lookupObject<volVectorField>(fName);
91 gradInterForceInterpPtr_.reset
95 this->owner().
solution().interpolationSchemes(),
102 gradInterForceInterpPtr_.clear();
107 this->
mesh().template lookupObjectRef<volVectorField>(fName);
115template<
class CloudType>
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Vector force apply to particles to avoid the crossing of particles from one phase to the other....
virtual forceSuSp calcNonCoupled(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
Calculate the non-coupled force.
virtual ~InterfaceForce()
Destructor.
virtual void cacheFields(const bool store)
Cache fields.
Abstract base class for particle forces.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class used to pass data into container.
Helper container for force Su and Sp terms.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for volume field interpolation.
virtual Type interpolate(const vector &position, const label celli, const label facei=-1) const =0
Interpolate field to the given point in the given cell.
Lookup type of boundary radiation properties.
bool checkOut()
Remove all file watches and remove object from registry.
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from Foam::string.
Calculate the gradient of the given field.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
GeometricField< vector, fvPatchField, volMesh > volVectorField
scalarField Re(const UList< complex > &cf)
Extract real component.
static constexpr const zero Zero
Global zero (0)