111#ifndef Foam_CoulombForce_H
112#define Foam_CoulombForce_H
130template<
class CloudType>
138 autoPtr<Function1<scalar>> qPtr_;
144 mutable std::unique_ptr<interpolation<vector>> EInterpPtr_;
201 const typename CloudType::parcelType::trackingData&
td,
Particle electric force model involving the Coulomb force calculation.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
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.
void operator=(const CoulombForce< CloudType > &)=delete
No copy assignment.
TypeName("Coulomb")
Runtime type information.
CoulombForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
virtual ~CoulombForce()=default
Destructor.
Abstract base class for particle forces.
const fvMesh & mesh() const noexcept
Return the mesh database.
const CloudType & owner() const noexcept
Return const access to the cloud owner.
ParticleForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs)
Construct from mesh.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Helper container for force Su and Sp terms.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
DSMCCloud< dsmcParcel > CloudType
GeometricField< vector, fvPatchField, volMesh > volVectorField
scalarField Re(const UList< complex > &cmplx)
Extract real component.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.