Go to the documentation of this file.
33 template<
class CloudType>
42 alphaName_(this->coeffs().
lookup(
"alpha")),
43 C_(this->coeffs().getScalar(
"C")),
44 gradInterForceInterpPtr_(
nullptr)
48 template<
class CloudType>
52 alphaName_(pf.alphaName_),
54 gradInterForceInterpPtr_(pf.gradInterForceInterpPtr_)
60 template<
class CloudType>
67 template<
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);
109 gradInterForce.checkOut();
115 template<
class CloudType>
119 const typename CloudType::parcelType::trackingData& td,
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual void cacheFields(const bool store)
Cache fields.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].
InterfaceForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
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.
Helper container for force Su and Sp terms.
Abstract base class for particle forces.
Lookup type of boundary radiation properties.
Templated base class for dsmc cloud.
Abstract base class for interpolation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Vector force apply to particles to avoid the crossing of particles from one phase to the other....
virtual ~InterfaceForce()
Destructor.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Calculate the gradient of the given field.
scalarField Re(const UList< complex > &cf)
Extract real component.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
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.