Go to the documentation of this file.
49 #ifndef ThermoSurfaceFilm_H
50 #define ThermoSurfaceFilm_H
63 template<
class CloudType>
228 const label filmPatchI,
229 const label primaryPatchI,
238 const label filmFaceI
interactionType interactionType_
Interaction type enumeration.
cachedRandom & rndGen_
Reference to the cloud random number generator.
scalarList TFilmPatch_
Film temperature / patch face.
A class for handling words, derived from string.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
ThermoSurfaceFilm(const dictionary &dict, CloudType &owner)
Construct from components.
scalar Adry_
Dry surface roughness coefficient.
scalar deltaWet_
Film thickness beyond which patch is assumed to be wet.
virtual void setParcelProperties(parcelType &p, const label filmFaceI) const
Set the individual parcel properties.
virtual void cacheFilmFields(const label filmPatchI, const label primaryPatchI, const regionModels::surfaceFilmModels::surfaceFilmModel &filmModel)
Cache the film fields in preparation for injection.
TypeName("thermoSurfaceFilm")
Runtime type information.
label splashParcelType_
Splash parcel type label - id assigned to identify parcel for.
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
void absorbInteraction(regionModels::surfaceFilmModels::surfaceFilmModel &filmModel, const parcelType &p, const polyPatch &pp, const label faceI, const scalar mass, bool &keepParticle)
Absorb parcel into film.
Thermo parcel surface film model.
scalar Cf_
Skin friction typically in the range 0.6 < Cf < 0.8.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Templated wall surface film model class.
A patch is a list of labels that address the faces in the global face list.
label parcelsPerSplash_
Number of new parcels resulting from splash event.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar Awet_
Wet surface roughness coefficient.
interactionType interactionTypeEnum(const word &it) const
virtual autoPtr< SurfaceFilmModel< CloudType > > clone() const
Construct and return a clone using supplied owner cloud.
void splashInteraction(regionModels::surfaceFilmModels::surfaceFilmModel &filmModel, const parcelType &p, const polyPatch &pp, const label faceI, const scalar mRatio, const scalar We, const scalar Wec, const scalar sigma, bool &keepParticle)
Bai parcel splash interaction model.
virtual void info(Ostream &os)
Write surface film info to stream.
scalarList CpFilmPatch_
Film specific heat capacity / patch face.
void wetSplashInteraction(regionModels::surfaceFilmModels::surfaceFilmModel &filmModel, parcelType &p, const polyPatch &pp, const label faceI, bool &keepParticle)
Parcel interaction with wetted surface.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void bounceInteraction(parcelType &p, const polyPatch &pp, const label faceI, bool &keepParticle) const
Bounce parcel (flip parcel normal velocity)
const SLGThermo & thermo_
Reference to the cloud thermo package.
label nParcelsSplashed_
Counter for number of new splash parcels.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
vector tangentVector(const vector &v) const
Return a vector tangential to input vector, v.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
void drySplashInteraction(regionModels::surfaceFilmModels::surfaceFilmModel &filmModel, const parcelType &p, const polyPatch &pp, const label faceI, bool &keepParticle)
Parcel interaction with dry surface.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
vector splashDirection(const vector &tanVec1, const vector &tanVec2, const vector &nf) const
Return splashed parcel direction.
Base class for surface film models.
word interactionTypeStr(const interactionType &it) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool transferParcel(parcelType &p, const polyPatch &pp, bool &keepParticle)
Transfer parcel from cloud to surface film.
static wordList interactionTypeNames_
Word descriptions of interaction type names.
virtual ~ThermoSurfaceFilm()
Destructor.