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 interpolationCellPoint< vector > & UInterp() const
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 >()
const interpolationCellPoint< scalar > & rhoInterp() const
Neighbour processor patch.
const vector & position() const
Return current particle position.
A Cloud of solid particles.
const polyMesh & mesh_
Reference to the polyMesh database.
bool move(trackingData &, const scalar)
Move.
virtual autoPtr< particle > clone() const
Construct and return a clone.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
virtual scalar wallImpactDistance(const vector &n) const
The nearest distance to a wall that.
Base cloud calls templated on particle type.
solidParticle(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI, const scalar d, const vector &U)
Construct from components.
Factory class to read-construct particles used for.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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)
scalar d() const
Return diameter.
trackingData(solidParticleCloud &spc, const interpolationCellPoint< scalar > &rhoInterp, const interpolationCellPoint< vector > &UInterp, const interpolationCellPoint< scalar > &nuInterp, const vector &g)
const dimensionedScalar c
Speed of light in a vacuum.
Ostream & operator<<(Ostream &, const ensightPart &)
const polyMesh & mesh() const
Return the mesh database.
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.
const interpolationCellPoint< scalar > & nuInterp() const
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
const vector & U() const
Return velocity.
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 &)