Go to the documentation of this file.
40 const scalar trackTime
48 scalar tEnd = (1.0 - stepFraction())*trackTime;
55 Info<<
"Time = " << mesh_.time().timeName()
56 <<
" trackTime = " << trackTime
58 <<
" steptFraction() = " << stepFraction() <<
endl;
62 scalar dt =
min(dtMax, tEnd);
68 dt *= trackToFace(position() + dt*U_, td);
71 stepFraction() = 1.0 - tEnd/trackTime;
79 scalar magUr =
mag(Uc - U_);
82 scalar
Re = magUr*d_/nuc;
86 ReFunc += 0.15*
pow(
Re, 0.687);
89 scalar Dc = (24.0*nuc/d_)*ReFunc*(3.0/4.0)*(rhoc/(d_*rhop));
91 U_ = (U_ + dt*(Dc*Uc + (1.0 - rhoc/rhop)*td.
g()))/(1.0 + dt*Dc);
95 if (isA<processorPolyPatch>(pbMesh[patch(
face())]))
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
bool keepParticle
Flag to indicate whether to keep particle (false = delete)
scalarField Re(const UList< complex > &cf)
CloudType & cloud()
Return a reference to the cloud.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool hitPatch(const polyPatch &, trackingData &td, const label patchI, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionSet transform(const dimensionSet &)
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
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
vector normal() const
Return vector normal.
triPointRef faceTri(const polyMesh &mesh) const
Return the geometry corresponding to the tri on the.
const interpolationCellPoint< scalar > & nuInterp() const
A patch is a list of labels that address the faces in the global face list.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Neighbour processor patch.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
Type interpolate(const cellPointWeight &cpw) const
Interpolate field for the given cellPointWeight.
Class used to pass tracking data to the trackToFace function.
bool switchProcessor
Flag to switch processor.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
vector U_
Velocity of parcel.
bool move(trackingData &, const scalar)
Move.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
A face is a list of labels corresponding to mesh vertices.
const interpolationCellPoint< scalar > & rhoInterp() const
defineTemplateTypeNameAndDebug(IOPtrList< ensightPart >, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
A cell is defined as a list of faces with extra functionality.