Patch injection, by using patch flow rate to determine concentration and velocity. More...
Public Member Functions | |
TypeName ("patchFlowRateInjection") | |
PatchFlowRateInjection (const dictionary &dict, CloudType &owner, const word &modelName) | |
PatchFlowRateInjection (const PatchFlowRateInjection< CloudType > &im) | |
virtual autoPtr< InjectionModel< CloudType > > | clone () const |
virtual | ~PatchFlowRateInjection () |
virtual void | updateMesh () |
scalar | timeEnd () const |
virtual scalar | flowRate () const |
virtual label | parcelsToInject (const scalar time0, const scalar time1) |
virtual scalar | volumeToInject (const scalar time0, const scalar time1) |
virtual void | setPositionAndCell (const label parcelI, const label nParcels, const scalar time, vector &position, label &cellOwner, label &tetFacei, label &tetPti) |
virtual void | setProperties (const label parcelI, const label nParcels, const scalar time, typename CloudType::parcelType &parcel) |
virtual bool | fullyDescribed () const |
virtual bool | validInjection (const label parcelI) |
virtual void | updateMesh (const polyMesh &mesh) |
label | setPositionAndCell (const fvMesh &mesh, const scalar fraction01, Random &rnd, vector &position, label &cellOwner, label &tetFacei, label &tetPti) |
virtual label | setPositionAndCell (const fvMesh &mesh, Random &rnd, vector &position, label &cellOwner, label &tetFacei, label &tetPti) |
![]() | |
TypeName ("injectionModel") | |
declareRunTimeSelectionTable (autoPtr, InjectionModel, dictionary,(const dictionary &dict, CloudType &owner, const word &modelType),(dict, owner, modelType)) | |
InjectionModel (CloudType &owner) | |
InjectionModel (const dictionary &dict, CloudType &owner, const word &modelName, const word &modelType) | |
InjectionModel (const InjectionModel< CloudType > &im) | |
virtual | ~InjectionModel ()=default |
scalar | timeStart () const |
scalar | volumeTotal () const |
scalar | massTotal () const |
scalar | massInjected () const |
label | injectorID () const |
virtual scalar | averageParcelMass () |
label | nInjections () const |
label | parcelsAddedTotal () const |
template<class TrackCloudType > | |
void | inject (TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td) |
template<class TrackCloudType > | |
void | injectSteadyState (TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td, const scalar trackTime) |
virtual void | info (Ostream &os) |
![]() | |
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) |
![]() | |
patchInjectionBase (const polyMesh &mesh, const word &patchName) | |
patchInjectionBase (const patchInjectionBase &pib) | |
virtual | ~patchInjectionBase ()=default |
virtual void | updateMesh (const polyMesh &mesh) |
label | setPositionAndCell (const fvMesh &mesh, const scalar fraction01, Random &rnd, vector &position, label &cellOwner, label &tetFacei, label &tetPti) |
virtual label | setPositionAndCell (const fvMesh &mesh, Random &rnd, vector &position, label &cellOwner, label &tetFacei, label &tetPti) |
label | whichProc (const scalar fraction01) const |
Patch injection, by using patch flow rate to determine concentration and velocity.
Properties:
Definition at line 65 of file PatchFlowRateInjection.H.
PatchFlowRateInjection | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | modelName | ||
) |
Definition at line 31 of file PatchFlowRateInjection.C.
References DSMCCloud< ParcelType >::mesh(), and TimeState::userTimeToTime().
PatchFlowRateInjection | ( | const PatchFlowRateInjection< CloudType > & | im | ) |
Definition at line 80 of file PatchFlowRateInjection.C.
|
virtual |
Definition at line 98 of file PatchFlowRateInjection.C.
TypeName | ( | "patchFlowRateInjection" | ) |
|
inlinevirtual |
Implements InjectionModel< CloudType >.
Definition at line 111 of file PatchFlowRateInjection.H.
|
virtual |
Reimplemented from InjectionModel< CloudType >.
Definition at line 105 of file PatchFlowRateInjection.C.
References mesh.
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 112 of file PatchFlowRateInjection.C.
|
virtual |
Definition at line 119 of file PatchFlowRateInjection.C.
References Foam::dimArea, Foam::dimVelocity, Foam::max(), mesh, DSMCCloud< ParcelType >::mesh(), phi, reduce(), rho, and Foam::sum().
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 150 of file PatchFlowRateInjection.C.
References Foam::constant::universal::c, Random::globalPosition(), DSMCCloud< ParcelType >::rndGen(), and dimensioned::value().
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 190 of file PatchFlowRateInjection.C.
References Foam::constant::universal::c, DSMCCloud< ParcelType >::constProps(), dimensioned::value(), and Foam::fieldTypes::volume.
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 213 of file PatchFlowRateInjection.C.
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 237 of file PatchFlowRateInjection.C.
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 253 of file PatchFlowRateInjection.C.
|
virtual |
Implements InjectionModel< CloudType >.
Definition at line 260 of file PatchFlowRateInjection.C.
void updateMesh |
Definition at line 75 of file patchInjectionBase.C.
Foam::label setPositionAndCell |
Definition at line 141 of file patchInjectionBase.C.
Foam::label setPositionAndCell |
Definition at line 265 of file patchInjectionBase.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.