74 template<
class TrackingData>
108 template<
class TrackingData>
109 inline bool valid(TrackingData& td)
const;
112 template<
class TrackingData>
123 template<
class TrackingData>
128 const label patchFacei,
129 const point& faceCentre,
134 template<
class TrackingData>
139 const label patchFacei,
140 const point& faceCentre,
145 template<
class TrackingData>
154 template<
class TrackingData>
158 const label thisCelli,
159 const label neighbourFacei,
166 template<
class TrackingData>
170 const label thisFacei,
171 const label neighbourCelli,
178 template<
class TrackingData>
182 const label thisFacei,
189 template<
class TrackingData>
206 return os << rhs.delta_;
211 return is >> rhs.delta_;
220 autoPtr<LESdelta> geometricDelta_;
222 scalar maxDeltaRatio_;
228 smoothDelta(
const smoothDelta&) =
delete;
friend Istream & operator>>(Istream &is, deltaData &rhs)
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const turbulenceModel & turbulence() const
Return turbulenceModel reference.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Abstract base class for LES deltas.
bool operator!=(const deltaData &) const
Test for inequality.
TypeName("smooth")
Declare type-name, virtual type (with debug switch)
Abstract base class for turbulence models (RAS, LES and laminar).
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
virtual ~smoothDelta()=default
Destructor.
bool sameGeometry(const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face centre.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
bool operator==(const deltaData &) const
Test for equality.
deltaData()
Default construct.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool equal(const deltaData &, TrackingData &td) const
Test for equality, with TrackingData.
OBJstream os(runTime.globalPath()/outputName)
virtual void read(const dictionary &dict)
Read the LESdelta dictionary.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
A template class to specify that a data type can be considered as being contiguous in memory...
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Tensor of scalars, i.e. Tensor<scalar>.
friend Ostream & operator<<(Ostream &os, const deltaData &rhs)
Public class used by mesh-wave to propagate the delta-ratio.