Computes a histogram for the distribution of particle diameters and corresponding number of particles hitting on a given list of patches.
More...
|
| TypeName ("patchParticleHistogram") |
|
| PatchParticleHistogram ()=delete |
|
| PatchParticleHistogram (const dictionary &dict, CloudType &owner, const word &modelName) |
|
| PatchParticleHistogram (const PatchParticleHistogram< CloudType > &ppm) |
|
void | operator= (const PatchParticleHistogram< CloudType > &)=delete |
|
virtual autoPtr< CloudFunctionObject< CloudType > > | clone () const |
|
virtual | ~PatchParticleHistogram ()=default |
|
virtual void | postPatch (const parcelType &p, const polyPatch &pp, bool &keepParticle) |
|
| TypeName ("cloudFunctionObject") |
|
| declareRunTimeSelectionTable (autoPtr, CloudFunctionObject, dictionary,(const dictionary &dict, CloudType &owner, const word &modelName),(dict, owner, modelName)) |
|
| CloudFunctionObject (CloudType &owner) |
|
| CloudFunctionObject (const dictionary &dict, CloudType &owner, const word &objectType, const word &modelName) |
|
| CloudFunctionObject (const CloudFunctionObject< CloudType > &ppm) |
|
virtual | ~CloudFunctionObject ()=default |
|
virtual void | preEvolve (const typename parcelType::trackingData &td) |
|
virtual void | postEvolve (const typename parcelType::trackingData &td) |
|
virtual void | postMove (parcelType &p, const scalar dt, const point &position0, bool &keepParticle) |
|
virtual void | postFace (const parcelType &p, bool &keepParticle) |
|
const fileName & | outputDir () const |
|
fileName | writeTimeDir () const |
|
| CloudSubModelBase (CloudType &owner) |
|
| CloudSubModelBase (CloudType &owner, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs") |
|
| CloudSubModelBase (const word &modelName, CloudType &owner, const dictionary &dict, const word &baseName, const word &modelType) |
|
| CloudSubModelBase (const CloudSubModelBase< CloudType > &smb) |
|
virtual | ~CloudSubModelBase () |
|
const CloudType & | owner () const |
|
virtual bool | writeTime () const |
|
virtual fileName | localPath () const |
|
CloudType & | owner () |
|
virtual void | write (Ostream &os) const |
|
| subModelBase (dictionary &properties) |
|
| subModelBase (dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs") |
|
| subModelBase (const word &modelName, dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType) |
|
| subModelBase (const subModelBase &smb) |
|
virtual | ~subModelBase () |
|
const word & | modelName () const |
|
const dictionary & | dict () const |
|
const word & | baseName () const |
|
const word & | modelType () const |
|
const dictionary & | coeffDict () const |
|
const dictionary & | properties () const |
|
virtual bool | defaultCoeffs (const bool printMsg) const |
|
virtual bool | active () const |
|
virtual void | cacheFields (const bool store) |
|
template<class Type > |
Type | getBaseProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const |
|
template<class Type > |
void | getBaseProperty (const word &entryName, Type &value) const |
|
template<class Type > |
void | setBaseProperty (const word &entryName, const Type &value) |
|
bool | getModelDict (const word &entryName, dictionary &dict) const |
|
template<class Type > |
void | getModelProperty (const word &entryName, Type &value) const |
|
template<class Type > |
Type | getModelProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const |
|
template<class Type > |
void | setModelProperty (const word &entryName, const Type &value) |
|
template<class CloudType>
class Foam::PatchParticleHistogram< CloudType >
Computes a histogram for the distribution of particle diameters and corresponding number of particles hitting on a given list of patches.
Operands:
Operand | Type | Location |
input | - | - |
output file | dat | $FOAM_CASE/postProcessing/<FO>/<time>/<file> |
output field | - | - |
The output file contains two columns, the first is the bin edges of the particle diameter (i.e. d
), and the second is the number of particles whose diameter falling into the corresponding bin (i.e. nParticles
).
- Usage
- Minimal example by using
constant/reactingCloud1Properties.cloudFunctions
: patchParticleHistogram1
{
// Mandatory entries (unmodifiable)
type patchParticleHistogram;
patches (<patch1> <patch2> ... <patchN>);
nBins 10;
min 0.1;
max 10.0;
maxStoredParcels 20;
}
where the entries mean:
Property | Description | Type | Reqd | Dflt |
type | Type name: patchParticleHistogram | word | yes | - |
patches | Names of operand patches | wordList | yes | - |
nBins | Number of histogram bins | label | yes | - |
max | Maximum value of histogram data | scalar | yes | - |
min | Minimum value of histogram data | scalar | yes | - |
maxStoredParcels | Maximum number of parcels to process | label | yes | - |
- Note
- The underlying type of
maxStoredParcels
is set as a scalar for I/O.
- Source files
-
Definition at line 149 of file PatchParticleHistogram.H.