36 #ifndef SurfaceFilmModel_H 37 #define SurfaceFilmModel_H 50 namespace regionModels
52 namespace surfaceFilmModels
62 template<
class CloudType>
80 label ejectedParcelType_;
104 label nParcelsTransferred_;
107 label nParcelsInjected_;
113 virtual void cacheFilmFields
115 const label filmPatchi,
116 const label primaryPatchi,
121 virtual void setParcelProperties
124 const label filmFacei
188 inline label nParcelsTransferred()
const;
192 inline label& nParcelsTransferred();
196 inline label nParcelsInjected()
const;
200 inline label& nParcelsInjected();
207 virtual bool transferParcel
215 template<
class TrackCloudType>
216 void inject(TrackCloudType&
cloud);
222 virtual void info(
Ostream& os);
232 #define makeSurfaceFilmModel(CloudType) \ 234 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \ 235 defineNamedTemplateTypeNameAndDebug \ 237 Foam::SurfaceFilmModel<kinematicCloudType>, \ 242 defineTemplateRunTimeSelectionTable \ 244 SurfaceFilmModel<kinematicCloudType>, \ 250 #define makeSurfaceFilmModelType(SS, CloudType) \ 252 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \ 253 defineNamedTemplateTypeNameAndDebug(Foam::SS<kinematicCloudType>, 0); \ 255 Foam::SurfaceFilmModel<kinematicCloudType>:: \ 256 adddictionaryConstructorToTable<Foam::SS<kinematicCloudType>> \ 257 add##SS##CloudType##kinematicCloudType##ConstructorToTable_;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Base class for surface film models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for cloud sub-models.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
A class for handling words, derived from string.
A cloud is a collection of lagrangian particles.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
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...
Templated wall surface film model class.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
#define declareRunTimeSelectionTable(autoPtr, baseType, argNames, argList, parList)
Declare a run-time selection.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A patch is a list of labels that address the faces in the global face list.
const dimensionedVector & g
Templated base class for dsmc cloud.