Go to the documentation of this file.
32 #ifndef LocalInteraction_H
33 #define LocalInteraction_H
47 template<
class CloudType>
126 const scalar trackFraction,
const patchInteractionDataList patchData_
List of participating patches.
autoPtr< volScalarField > massEscapePtr_
Mass escape field.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
List< scalar > massStick_
Mass of parcels stuck to patches.
List container for patchInteractionData class.
List< label > nEscape_
Number of parcels escaped.
autoPtr< volScalarField > massStickPtr_
Mass stick field.
LocalInteraction(const dictionary &dict, CloudType &owner)
Construct from dictionary.
Switch writeFields_
Flag to output data as fields.
virtual autoPtr< PatchInteractionModel< CloudType > > clone() const
Construct and return a clone using supplied owner cloud.
Templated patch interaction model class.
A patch is a list of labels that address the faces in the global face list.
TypeName("localInteraction")
Runtime type information.
Templated base class for dsmc cloud.
virtual ~LocalInteraction()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void info(Ostream &os)
Write patch interaction info to stream.
Patch interaction specified on a patch-by-patch basis.
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 bool correct(typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle, const scalar trackFraction, const tetIndices &tetIs)
Apply velocity correction.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
List< scalar > massEscape_
Mass of parcels escaped.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
volScalarField & massEscape()
Return access to the massEscape field.
volScalarField & massStick()
Return access to the massStick field.
List< label > nStick_
Number of parcels stuck to patches.