56 #ifndef StandardWallInteraction_H 57 #define StandardWallInteraction_H 69 template<
class CloudType>
virtual void info()
Write patch interaction info.
scalar mu_
The unity minus the restitution coefficient.
virtual void writeFileHeader(Ostream &os)
Output file header information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
List< List< label > > nStick_
Number of parcels stuck to patches.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool correct(typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle)
Apply velocity correction.
List< List< scalar > > massStick_
Mass of parcels stuck to patches.
virtual autoPtr< PatchInteractionModel< CloudType > > clone() const
Construct and return a clone using supplied owner cloud.
const dictionary & dict() const
Return const access to the cloud dictionary.
Templated patch interaction model class.
PatchInteractionModel< CloudType >::interactionType interactionType_
Interaction type.
A cloud is a registry collection of lagrangian particles.
scalar e_
Elasticity coefficient.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
List< List< scalar > > massEscape_
Mass of parcels escaped.
bool outputByInjectorId_
Flag to output escaped/mass particles sorted by injectorID.
virtual ~StandardWallInteraction()=default
Destructor.
Map< label > injIdToIndex_
InjectorId to index map, when outputting escaped/stick/...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
StandardWallInteraction(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
List< List< label > > nEscape_
Number of parcels escaped.
TypeName("standardWallInteraction")
Runtime type information.
A patch is a list of labels that address the faces in the global face list.
Templated base class for dsmc cloud.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())