Go to the documentation of this file.
39 #ifndef FacePostProcessing_H
40 #define FacePostProcessing_H
54 template<
class CloudType>
103 const word& zoneName,
void makeLogFile(const word &zoneName, const label zoneI, const label nFaces, const scalar totArea)
Helper function to create log files.
List< scalarField > mass_
Mass storage.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
Switch log_
Flag to indicate whether data should be written to file.
List< scalarField > massTotal_
Mass total storage.
const CloudType & owner() const
Return const access to the owner cloud.
const word & modelName() const
Return const access to the name of the sub-model.
scalar timeOld_
Last calculation time.
Records particle face quantities on used-specified face zone.
virtual ~FacePostProcessing()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dictionary & dict() const
Return const access to the cloud dictionary.
labelList faceZoneIDs_
Face zone IDs.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
PtrList< OFstream > outputFilePtr_
Output file pointer per zone.
const Switch & resetOnWrite() const
Return const access to the reset on write flag.
FacePostProcessing(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word surfaceFormat_
Surface output format.
TypeName("facePostProcessing")
Runtime type information.
Switch resetOnWrite_
Flag to indicate whether data should be reset/cleared on writing.
virtual void postFace(const parcelType &p, const label faceI, bool &keepParticle)
Post-face hook.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Templated cloud function object base class.
List< scalarField > massFlowRate_
Mass flow rate storage.
void write()
Write post-processing info.
scalar totalTime_
Total time.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.