Kinematic parcel surface film model. More...
Public Types | |
enum | interactionType { itAbsorb, itBounce, itSplashBai } |
Public Member Functions | |
interactionType | interactionTypeEnum (const word &it) const |
word | interactionTypeStr (const interactionType &it) const |
TypeName ("kinematicSurfaceFilm") | |
KinematicSurfaceFilm (const dictionary &dict, CloudType &owner, const word &type=typeName, bool initThermo=true) | |
KinematicSurfaceFilm (const KinematicSurfaceFilm< CloudType > &sfm, bool initThermo=true) | |
virtual autoPtr< SurfaceFilmModel< CloudType > > | clone () const |
virtual | ~KinematicSurfaceFilm ()=default |
template<class filmType > | |
void | absorbInteraction (filmType &, const parcelType &p, const polyPatch &pp, const label facei, const scalar mass, bool &keepParticle) |
void | bounceInteraction (parcelType &p, const polyPatch &pp, const label facei, bool &keepParticle) const |
template<class filmType > | |
void | drySplashInteraction (filmType &, const scalar sigma, const scalar mu, const parcelType &p, const polyPatch &pp, const label facei, bool &keepParticle) |
template<class filmType > | |
void | wetSplashInteraction (filmType &, const scalar sigma, const scalar mu, parcelType &p, const polyPatch &pp, const label facei, bool &keepParticle) |
template<class filmType > | |
void | splashInteraction (filmType &, const parcelType &p, const polyPatch &pp, const label facei, const scalar mRatio, const scalar We, const scalar Wec, const scalar sigma, bool &keepParticle) |
virtual bool | transferParcel (parcelType &p, const polyPatch &pp, bool &keepParticle) |
virtual void | info (Ostream &os) |
![]() | |
void | injectParticles (const label primaryPatchi, const labelList &injectorCellsPatch, CloudTrackType &cloud) |
TypeName ("surfaceFilmModel") | |
declareRunTimeSelectionTable (autoPtr, SurfaceFilmModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
SurfaceFilmModel (CloudType &owner) | |
SurfaceFilmModel (const dictionary &dict, CloudType &owner, const word &type) | |
SurfaceFilmModel (const SurfaceFilmModel< CloudType > &sfm) | |
virtual autoPtr< SurfaceFilmModel< CloudType > > | clone () const=0 |
virtual | ~SurfaceFilmModel () |
const dimensionedVector & | g () const |
label | nParcelsTransferred () const |
label & | nParcelsTransferred () |
label | nParcelsInjected () const |
label & | nParcelsInjected () |
scalar & | totalMassTransferred () |
scalar | totalMassTransferred () const |
void | inject (TrackCloudType &cloud) |
Static Public Attributes | |
static wordList | interactionTypeNames_ |
Protected Types | |
typedef CloudType::parcelType | parcelType |
typedef regionModels::areaSurfaceFilmModels::liquidFilmBase | areaFilm |
typedef regionModels::surfaceFilmModels::surfaceFilmRegionModel | regionFilm |
![]() | |
typedef CloudType::parcelType | parcelType |
typedef regionModels::areaSurfaceFilmModels::liquidFilmBase | areaFilm |
Protected Member Functions | |
vector | tangentVector (const vector &v) const |
vector | splashDirection (const vector &tanVec1, const vector &tanVec2, const vector &nf) const |
void | init (bool binitThermo) |
void | initFilmModels () |
virtual void | cacheFilmFields (const label primaryPatchi, const areaFilm &) |
virtual void | cacheFilmFields (const label filmPatchi, const label primaryPatchi, const regionModels::surfaceFilmModels::surfaceFilmRegionModel &) |
virtual void | setParcelProperties (parcelType &p, const label filmFacei) const |
![]() | |
void | injectParticles (const label primaryPatchi, const labelList &injectorCellsPatch, TrackCloudType &cloud) |
Protected Attributes | |
Random & | rndGen_ |
liquidMixtureProperties * | thermo_ |
scalar | pRef_ |
scalar | TRef_ |
regionFilm * | filmModel_ |
UPtrList< areaFilm > | areaFilms_ |
interactionType | interactionType_ |
scalar | deltaWet_ |
label | splashParcelType_ |
label | parcelsPerSplash_ |
scalar | Adry_ |
scalar | Awet_ |
scalar | Cf_ |
label | nParcelsSplashed_ |
![]() | |
const dimensionedVector & | g_ |
label | ejectedParcelType_ |
scalar | injectionOffset_ |
scalar | minDiameter_ |
scalarField | massParcelPatch_ |
scalarField | diameterParcelPatch_ |
Field< vector > | UFilmPatch_ |
scalarField | rhoFilmPatch_ |
Field< scalarField > | deltaFilmPatch_ |
label | nParcelsTransferred_ |
label | nParcelsInjected_ |
scalar | totalMassTransferred_ |
Additional Inherited Members | |
![]() | |
static autoPtr< SurfaceFilmModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Kinematic parcel surface film model.
Definition at line 74 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 108 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 111 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 114 of file KinematicSurfaceFilm.H.
enum interactionType |
Enumerator | |
---|---|
itAbsorb | |
itBounce | |
itSplashBai |
Definition at line 83 of file KinematicSurfaceFilm.H.
KinematicSurfaceFilm | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type = typeName , |
||
bool | initThermo = true |
||
) |
Definition at line 537 of file KinematicSurfaceFilm.C.
References Foam::endl(), Foam::Info, and init().
KinematicSurfaceFilm | ( | const KinematicSurfaceFilm< CloudType > & | sfm, |
bool | initThermo = true |
||
) |
Definition at line 581 of file KinematicSurfaceFilm.C.
References init().
|
virtualdefault |
Foam::KinematicSurfaceFilm< CloudType >::interactionType interactionTypeEnum | ( | const word & | it | ) | const |
Definition at line 43 of file KinematicSurfaceFilm.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and forAll.
Foam::word interactionTypeStr | ( | const interactionType & | it | ) | const |
Definition at line 64 of file KinematicSurfaceFilm.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
protected |
Definition at line 82 of file KinematicSurfaceFilm.C.
References Foam::mag(), and Foam::Zero.
|
protected |
Definition at line 102 of file KinematicSurfaceFilm.C.
References Foam::constant::atomic::alpha, Foam::cos(), Foam::degToRad(), Foam::mag(), Foam::sin(), and Foam::constant::mathematical::twoPi().
|
protected |
Definition at line 173 of file KinematicSurfaceFilm.C.
|
protected |
Definition at line 126 of file KinematicSurfaceFilm.C.
References forAll, mesh, Foam::PtrListOps::names(), and fvMesh::time().
|
protectedvirtual |
Reimplemented from SurfaceFilmModel< CloudType >.
Reimplemented in ThermoSurfaceFilm< CloudType >.
Definition at line 773 of file KinematicSurfaceFilm.C.
References SurfaceFilmModel::cacheFilmFields().
|
protectedvirtual |
Reimplemented from SurfaceFilmModel< CloudType >.
Reimplemented in ThermoSurfaceFilm< CloudType >.
Definition at line 756 of file KinematicSurfaceFilm.C.
References SurfaceFilmModel::cacheFilmFields().
|
protectedvirtual |
Reimplemented from SurfaceFilmModel< CloudType >.
Reimplemented in ThermoSurfaceFilm< CloudType >.
Definition at line 788 of file KinematicSurfaceFilm.C.
References p, and SurfaceFilmModel::setParcelProperties().
TypeName | ( | "kinematicSurfaceFilm" | ) |
|
inlinevirtual |
Reimplemented in ThermoSurfaceFilm< CloudType >.
Definition at line 247 of file KinematicSurfaceFilm.H.
void absorbInteraction | ( | filmType & | film, |
const parcelType & | p, | ||
const polyPatch & | pp, | ||
const label | facei, | ||
const scalar | mass, | ||
bool & | keepParticle | ||
) |
Definition at line 187 of file KinematicSurfaceFilm.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), PrimitivePatch< FaceList, PointField >::faceNormals(), patchIdentifier::index(), Foam::Info, Foam::mag(), p, and Urel.
void bounceInteraction | ( | parcelType & | p, |
const polyPatch & | pp, | ||
const label | facei, | ||
bool & | keepParticle | ||
) | const |
Definition at line 236 of file KinematicSurfaceFilm.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), PrimitivePatch< FaceList, PointField >::faceNormals(), patchIdentifier::index(), Foam::Info, p, and Urel.
void drySplashInteraction | ( | filmType & | filmModel, |
const scalar | sigma, | ||
const scalar | mu, | ||
const parcelType & | p, | ||
const polyPatch & | pp, | ||
const label | facei, | ||
bool & | keepParticle | ||
) |
Definition at line 267 of file KinematicSurfaceFilm.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), PrimitivePatch< FaceList, PointField >::faceNormals(), patchIdentifier::index(), Foam::Info, Foam::magSqr(), Foam::constant::physicoChemical::mu, p, Foam::pow(), rho, sigma(), Foam::sqr(), and Urel.
void wetSplashInteraction | ( | filmType & | filmModel, |
const scalar | sigma, | ||
const scalar | mu, | ||
parcelType & | p, | ||
const polyPatch & | pp, | ||
const label | facei, | ||
bool & | keepParticle | ||
) |
Definition at line 323 of file KinematicSurfaceFilm.C.
References Foam::acos(), Foam::expressions::patchExpr::debug, Foam::endl(), epsilon, PrimitivePatch< FaceList, PointField >::faceNormals(), patchIdentifier::index(), Foam::Info, Foam::mag(), Foam::magSqr(), Foam::constant::physicoChemical::mu, p, Foam::constant::mathematical::piByTwo(), Foam::pow(), rho, sigma(), Foam::sqr(), U, and Urel.
void splashInteraction | ( | filmType & | filmModel, |
const parcelType & | p, | ||
const polyPatch & | pp, | ||
const label | facei, | ||
const scalar | mRatio, | ||
const scalar | We, | ||
const scalar | Wec, | ||
const scalar | sigma, | ||
bool & | keepParticle | ||
) |
Definition at line 398 of file KinematicSurfaceFilm.C.
References GeometricField::boundaryField(), fvMesh::C(), Foam::cbrt(), fvMesh::Cf(), Foam::meshTools::constrainDirection(), Foam::exp(), PrimitivePatch< FaceList, PointField >::faceNormals(), forAll, patchIdentifier::index(), Foam::log(), Foam::mag(), Foam::magSqr(), Foam::max(), mesh, UPstream::myProcNo(), p, Foam::constant::mathematical::pi(), Foam::pow3(), sigma(), polyMesh::solutionD(), Foam::sqr(), Foam::sqrt(), Urel, and y.
|
virtual |
Implements SurfaceFilmModel< CloudType >.
Reimplemented in ThermoSurfaceFilm< CloudType >.
Definition at line 611 of file KinematicSurfaceFilm.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, patchIdentifier::index(), Foam::constant::physicoChemical::mu, liquidMixtureProperties::mu(), p, Foam::refCast(), sigma(), liquidMixtureProperties::sigma(), liquidMixtureProperties::size(), liquidFilmModel::thermo(), TRef(), liquidFilmModel::Tref(), and polyPatch::whichFace().
|
virtual |
Reimplemented from SurfaceFilmModel< CloudType >.
Reimplemented in ThermoSurfaceFilm< CloudType >.
Definition at line 798 of file KinematicSurfaceFilm.C.
References Foam::endl(), SurfaceFilmModel::info(), os(), and Foam::returnReduce().
|
static |
Definition at line 91 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 117 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 123 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 126 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 129 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 132 of file KinematicSurfaceFilm.H.
Definition at line 138 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 144 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 147 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 152 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 155 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 163 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 167 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 171 of file KinematicSurfaceFilm.H.
|
protected |
Definition at line 174 of file KinematicSurfaceFilm.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.