38 #ifndef solidParticle_H 39 #define solidParticle_H 52 class solidParticleCloud;
59 Ostream&
operator<<(Ostream&,
const solidParticle&);
73 static const std::size_t sizeofFields_;
123 inline const vector&
g()
const;
135 const label tetFacei,
183 inline scalar
d()
const;
186 inline const vector&
U()
const;
204 const scalar trackFraction,
const polyMesh & mesh() const
Return the mesh database.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Template function to specify if the data of a type are contiguous.
bool contiguous< solidParticle >()
scalar d() const
Return diameter.
Neighbour processor patch.
const vector & U() const
Return velocity.
A Cloud of solid particles.
bool move(trackingData &, const scalar)
Move.
const interpolationCellPoint< scalar > & rhoInterp() const
const interpolationCellPoint< scalar > & nuInterp() const
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
Base cloud calls templated on particle type.
Factory class to read-construct particles used for.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const interpolationCellPoint< vector > & UInterp() const
Class used to pass tracking data to the trackToFace function.
static void writeFields(const Cloud< solidParticle > &c)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
solidParticle(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const scalar d, const vector &U)
Construct from components.
trackingData(solidParticleCloud &spc, const interpolationCellPoint< scalar > &rhoInterp, const interpolationCellPoint< vector > &UInterp, const interpolationCellPoint< scalar > &nuInterp, const vector &g)
virtual autoPtr< particle > clone() const
Construct and return a clone.
const dimensionedScalar c
Speed of light in a vacuum.
Ostream & operator<<(Ostream &, const ensightPart &)
const barycentric & coordinates() const
Return current particle coordinates.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
bool hitPatch(const polyPatch &, trackingData &td, const label patchi, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
A patch is a list of labels that address the faces in the global face list.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
static void readFields(Cloud< solidParticle > &c)
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
Simple solid spherical particle class with one-way coupling with the continuous phase.
friend Ostream & operator<<(Ostream &, const solidParticle &)
virtual scalar wallImpactDistance(const vector &n) const
The nearest distance to a wall that.