41#ifndef solidParticle_H
42#define solidParticle_H
56class solidParticleCloud;
59Ostream&
operator<<(Ostream&,
const solidParticle&);
120 inline const vector&
g()
const;
139 const label celli = -1
148 const label tetFacei,
160 bool newFormat =
true
193 inline scalar
d()
const;
196 inline const vector&
U()
const;
Base cloud calls templated on particle type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
Given cell centre values and point (vertex) values decompose into tetrahedra and linear interpolate w...
vector position() const
Return current particle position.
const polyMesh & mesh() const noexcept
Return the mesh database.
const barycentric & coordinates() const noexcept
Return current particle coordinates.
Mesh consisting of general polyhedral cells.
A Cloud of solid particles.
Factory class to read-construct particles (for parallel transfer)
autoPtr< solidParticle > operator()(Istream &is) const
iNew(const polyMesh &mesh)
Class used to pass tracking data to the trackToFace function.
const interpolationCellPoint< scalar > & rhoInterp() const
const interpolationCellPoint< vector > & UInterp() const
const interpolationCellPoint< scalar > & nuInterp() const
Simple solid spherical particle class with one-way coupling with the continuous phase.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
const vector & U() const
Return velocity.
void hitWallPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a wallPatch.
scalar d() const
Return diameter.
virtual autoPtr< particle > clone() const
Construct and return a clone.
static const std::size_t sizeofFields
Size in bytes of the fields.
bool move(solidParticleCloud &, trackingData &, const scalar)
Move.
friend Ostream & operator<<(Ostream &, const solidParticle &)
bool hitPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a patch.
void hitProcessorPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a.
static void readFields(Cloud< solidParticle > &c)
static void writeFields(const Cloud< solidParticle > &c)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
A template class to specify that a data type can be considered as being contiguous in memory.