Go to the documentation of this file.
38 #ifndef solidParticle_H
39 #define solidParticle_H
52 class solidParticleCloud;
115 inline const vector&
g()
const;
127 const label tetFaceI,
175 inline scalar
d()
const;
178 inline const vector&
U()
const;
184 bool move(trackingData&,
const scalar);
196 const scalar trackFraction,
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
static const std::size_t sizeofFields_
Size in bytes of the fields.
trackingData(solidParticleCloud &spc, const interpolationCellPoint< scalar > &rhoInterp, const interpolationCellPoint< vector > &UInterp, const interpolationCellPoint< scalar > &nuInterp, const vector &g)
Factory class to read-construct particles used for.
A Cloud of solid particles.
const interpolationCellPoint< scalar > & rhoInterp_
const interpolationCellPoint< vector > & UInterp_
bool hitPatch(const polyPatch &, trackingData &td, const label patchI, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
const interpolationCellPoint< scalar > & nuInterp_
This function object reads fields from the time directories and adds them to the mesh database for fu...
Mesh consisting of general polyhedral cells.
virtual scalar wallImpactDistance(const vector &n) const
The nearest distance to a wall that.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
const interpolationCellPoint< vector > & UInterp() const
autoPtr< solidParticle > operator()(Istream &is) 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.
const vector & U() const
Return velocity.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const interpolationCellPoint< scalar > & nuInterp() const
A patch is a list of labels that address the faces in the global face list.
friend Ostream & operator<<(Ostream &, const solidParticle &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Neighbour processor patch.
const polyMesh & mesh() const
Return the mesh database.
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
static void writeFields(const Cloud< solidParticle > &c)
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.
Class used to pass tracking data to the trackToFace function.
static void readFields(Cloud< solidParticle > &c)
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual autoPtr< particle > clone() const
Construct and return a clone.
vector U_
Velocity of parcel.
iNew(const polyMesh &mesh)
bool move(trackingData &, const scalar)
Move.
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
Template function to specify if the data of a type are contiguous.
Base cloud calls templated on particle type.
scalar d() const
Return diameter.
Simple solid spherical particle class with one-way coupling with the continuous phase.
const vector & position() const
Return current particle position.
const dimensionedScalar c
Speed of light in a vacuum.
bool contiguous< solidParticle >()
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const interpolationCellPoint< scalar > & rhoInterp() const
const vector & g_
Local gravitational or other body-force acceleration.