35template<
class CloudType>
46 this->coeffs().template getOrDefault<
word>(
"HdotGradH",
"HdotGradH")
48 HdotGradHInterpPtr_(nullptr),
49 magneticSusceptibility_
51 this->coeffs().getScalar(
"magneticSusceptibility")
56template<
class CloudType>
63 HdotGradHName_(pf.HdotGradHName_),
64 HdotGradHInterpPtr_(pf.HdotGradHInterpPtr_),
65 magneticSusceptibility_(pf.magneticSusceptibility_)
71template<
class CloudType>
78template<
class CloudType>
84 this->
mesh().template lookupObject<volVectorField>(HdotGradHName_);
88 this->owner().
solution().interpolationSchemes(),
99template<
class CloudType>
116 *magneticSusceptibility_/(magneticSusceptibility_ + 3)
117 *HdotGradHInterp.
interpolate(
p.coordinates(),
p.currentTetIndices());
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Calculates particle paramagnetic (magnetic field) force.
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 void cacheFields(const bool store)
Cache fields.
virtual ~ParamagneticForce()
Destructor.
Abstract base class for particle forces.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const Type & value() const
Return const reference to value.
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.
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from Foam::string.
Template functions to aid in the implementation of demand driven data.
const dimensionedScalar mu0
Magnetic constant/permeability of free space: default SI units: [H/m].
scalarField Re(const UList< complex > &cf)
Extract real component.
static constexpr const zero Zero
Global zero (0)
void deleteDemandDrivenData(DataPtr &dataPtr)