Base class for clouds which are carried by a fluid. More...


Public Member Functions | |
| TypeName ("carried") | |
| Run-time type information. More... | |
| carried (const cloud &c, const dictionary &dict) | |
| Construct from a reference to the cloud. More... | |
| virtual | ~carried () |
| Destructor. More... | |
| const word & | carrierPhaseName () const |
| Return the name of the carrier phase. More... | |
| const word & | phaseName (const bool strict=true) const |
| Return the name of the corresponding Eulerian phase. More... | |
| bool | hasPhase () const |
| Return whether this cloud has a corresponding Eulerian phase. More... | |
| const word | carrierPhaseFieldName (const word &name) |
| Construct the name of a field associated with the carrier. I.e.,. More... | |
| const word | phaseFieldName (const word &name) |
| Construct the name of a field associated with the carrier. I.e.,. More... | |
| template<class Type > | |
| const CarrierField< Type > & | carrierField (const VolField< Type > &) const |
| Add/get a carrier field to/from the cache. More... | |
| template<class Type , class ... Args> | |
| const CarrierField< Type > & | carrierField (const Args &... args) const |
| Add/get a carrier field to/from the cache. More... | |
| template<class Type > | |
| const CarrierField< Type > & | noCarrierField (const word &symbolicName, const word &descriptiveName, const bool isPhase) const |
| Generate a carrier field reference using a functor that raises. More... | |
| template<class Type > | |
| const Foam::CarrierField< Type > & | carrierField (const VolField< Type > &psi) const |
| template<class Type , class ... Args> | |
| const Foam::CarrierField< Type > & | carrierField (const Args &... args) const |
| template<class Type > | |
| const Foam::CarrierField< Type > & | noCarrierField (const word &symbolicName, const word &descriptiveName, const bool isPhase) const |
Static Public Member Functions | |
| static word | nameToCarrierName (const word &name) |
| Convert a name to its disambiguated carrier equivalent name. I.e.,. More... | |
| static word | nameToCarrierName (const word &name, const word &group) |
| Convert a name to its disambiguated carrier equivalent name. I.e.,. More... | |
| static word | carrierNameToName (const word &namec) |
| Convert a disambiguated carrier name to its equivalent name. I.e.,. More... | |
Public Attributes | |
| const CarrierField< vector > & | Uc |
| Carrier velocity. More... | |
| const CarrierField< vector > & | curlUc |
| Carrier velocity curl. More... | |
| const CarrierField< vector > & | DUDtc |
| Carrier advective derivative. More... | |
| const CarrierField< vector > & | UcPhase |
| Corresponding Eulerian phase velocity. More... | |
Protected Member Functions | |
| void | clearCarrierFields () |
| Clear the carrier fields. More... | |
| void | resetCarrierFields (const bool initial) |
| Reset the carrier fields. More... | |
Base class for clouds which are carried by a fluid.
| carried | ( | const cloud & | c, |
| const dictionary & | dict | ||
| ) |
Construct from a reference to the cloud.
Definition at line 151 of file carried.C.
References Foam::fvc::curl(), and carried::Uc.

|
protected |
Clear the carrier fields.
Definition at line 115 of file carried.C.
References CLEAR_TYPE_CARRIER_FIELDS, and Foam::FOR_ALL_FIELD_TYPES().
Referenced by dynamicParcel::partition(), dynamicParticle::partition(), kinematicParcel::partition(), kinematicParticle::partition(), multicomponentParcel::partition(), multicomponentParticle::partition(), parcel::partition(), particle::partition(), and tracer::partition().


|
protected |
Reset the carrier fields.
Definition at line 132 of file carried.C.
References Foam::FOR_ALL_FIELD_TYPES(), and RESET_TYPE_CARRIER_FIELDS.
Referenced by dynamicParcel::solve(), dynamicParticle::solve(), kinematicParcel::solve(), kinematicParticle::solve(), multicomponentParcel::solve(), multicomponentParticle::solve(), parcel::solve(), particle::solve(), and tracer::solve().


| TypeName | ( | "carried" | ) |
Run-time type information.
| const Foam::word & carrierPhaseName | ( | ) | const |
| const Foam::word & phaseName | ( | const bool | strict = true | ) | const |
Return the name of the corresponding Eulerian phase.
Definition at line 248 of file carried.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

| bool hasPhase | ( | ) | const |
Return whether this cloud has a corresponding Eulerian phase.
Definition at line 267 of file carried.C.
References word::null.
|
static |
Convert a name to its disambiguated carrier equivalent name. I.e.,.
add a 'c' suffix to the member.
Definition at line 273 of file carried.C.
References IOobject::group(), IOobject::groupName(), IOobject::member(), and Foam::name().
Referenced by cloud::addsSupToField(), and totalPressureVelocityMagnitudeLagrangianScalarFieldSource::write().


|
static |
Convert a name to its disambiguated carrier equivalent name. I.e.,.
add a 'c' suffix to the member.
Definition at line 284 of file carried.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOobject::group(), Foam::constant::atomic::group, IOobject::groupName(), Foam::name(), and word::null.

|
static |
Convert a disambiguated carrier name to its equivalent name. I.e.,.
remove the 'c' suffix from the member.
Definition at line 307 of file carried.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOobject::group(), IOobject::groupName(), and IOobject::member().
Referenced by coupled::carrierEqn().


Construct the name of a field associated with the carrier. I.e.,.
add a 'c' suffix and add the carrier phase group
Construct the name of a field associated with the carrier. I.e.,.
add a 'c' suffix and add the corresponding Eulerian phase group
| const CarrierField<Type>& carrierField | ( | const VolField< Type > & | ) | const |
Add/get a carrier field to/from the cache.
| const CarrierField<Type>& carrierField | ( | const Args &... | args | ) | const |
Add/get a carrier field to/from the cache.
| const CarrierField<Type>& noCarrierField | ( | const word & | symbolicName, |
| const word & | descriptiveName, | ||
| const bool | isPhase | ||
| ) | const |
Generate a carrier field reference using a functor that raises.
an error to say that the field is not available
| const Foam::CarrierField<Type>& carrierField | ( | const VolField< Type > & | psi | ) | const |
Definition at line 32 of file carriedTemplates.C.
References psi.
| const Foam::CarrierField<Type>& carrierField | ( | const Args &... | args | ) | const |
Definition at line 42 of file carriedTemplates.C.
References args, HashTable< T, Key, Hash >::find(), and Foam::name().

| const Foam::CarrierField<Type>& noCarrierField | ( | const word & | symbolicName, |
| const word & | descriptiveName, | ||
| const bool | isPhase | ||
| ) | const |
Definition at line 60 of file carriedTemplates.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

| const CarrierField<vector>& Uc |
Carrier velocity.
Definition at line 114 of file carried.H.
Referenced by carried::carried(), coupled::carrierEqn(), tracer::dUdt(), and sphericalCoupled::sphericalCoupled().
| const CarrierField<vector>& curlUc |
| const CarrierField<vector>& DUDtc |
| const CarrierField<vector>& UcPhase |