Go to the documentation of this file.
35 template<
class CloudType>
46 this->coeffs().
template getOrDefault<word>(
"HdotGradH",
"HdotGradH")
48 HdotGradHInterpPtr_(
nullptr),
49 magneticSusceptibility_
51 this->coeffs().getScalar(
"magneticSusceptibility")
56 template<
class CloudType>
63 HdotGradHName_(pf.HdotGradHName_),
64 HdotGradHInterpPtr_(pf.HdotGradHInterpPtr_),
65 magneticSusceptibility_(pf.magneticSusceptibility_)
71 template<
class CloudType>
78 template<
class CloudType>
84 this->
mesh().template lookupObject<volVectorField>(HdotGradHName_);
88 this->owner().
solution().interpolationSchemes(),
99 template<
class CloudType>
103 const typename CloudType::parcelType::trackingData& td,
116 *magneticSusceptibility_/(magneticSusceptibility_ + 3)
117 *HdotGradHInterp.
interpolate(
p.coordinates(),
p.currentTetIndices());
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.
Selector class for relaxation factors, solver type and solution.
static constexpr const zero Zero
Global zero (0)
Template functions to aid in the implementation of demand driven data.
virtual ~ParamagneticForce()
Destructor.
const Type & value() const
Return const reference to value.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].
ParamagneticForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
void deleteDemandDrivenData(DataPtr &dataPtr)
Helper container for force Su and Sp terms.
Abstract base class for particle forces.
Calculates particle paramagnetic (magnetic field) force.
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,...
virtual void cacheFields(const bool store)
Cache fields.
Mesh data needed to do the Finite Volume discretisation.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
scalarField Re(const UList< complex > &cf)
Extract real component.
const dimensionedScalar mu0
Magnetic constant/permeability of free space: default SI units: [H/m].
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.