Base class for clouds which are coupled to a carrier. More...


Public Member Functions | |
| TypeName ("coupled") | |
| Run-time type information. More... | |
| coupled (const cloud &c, const carried &) | |
| Construct from a reference to the cloud. More... | |
| virtual | ~coupled () |
| Destructor. More... | |
| bool | hasCarrierEqns () const |
| Return if any carrier equations are cached. More... | |
| template<class Type > | |
| bool | hasCarrierEqn (const word &) const |
| Return if a carrier equation is in the cache. More... | |
| template<class Type > | |
| const CarrierEqn< Type > & | carrierEqn (const word &) const |
| Get a carrier equation from the cache. More... | |
| template<class Type > | |
| const HashTable< const CarrierEqn< Type > * > | carrierEqns (const word &) const |
| Get multiple phase carrier equations from the cache. More... | |
| template<class Type > | |
| bool | hasCarrierEqn (const VolField< Type > &) const |
| Return if a carrier equation is in the cache. More... | |
| template<class Type > | |
| const CarrierEqn< Type > & | carrierEqn (const VolField< Type > &) const |
| Get a carrier equation from the cache. More... | |
| template<class Type > | |
| const HashTable< const CarrierEqn< Type > * > | carrierEqns (const VolField< Type > &) const |
| Get multiple phase carrier equations from the cache. More... | |
| template<class Type > | |
| Foam::CarrierEqn< Type > & | carrierEqn (const CloudDerivedField< Type > &psic) |
| template<class Type > | |
| Foam::CarrierEqn< Type > & | carrierEqn (const CarrierField< Type > &psic) |
| template<class Type > | |
| Foam::tmp< Foam::LagrangianEqn< Type > > | psicEqn (const LagrangianSubScalarField &deltaT, const LagrangianSubScalarSubField &vOrM, const LagrangianSubSubField< Type > &psi, const CloudDerivedField< Type > &psic) const |
| template<class Type > | |
| const Foam::CarrierEqn< Type > & | carrierEqn (const word &key) const |
| template<class Type > | |
| const Foam::HashTable< const Foam::CarrierEqn< Type > * > | carrierEqns (const word &key) const |
| template<class Type > | |
| const Foam::CarrierEqn< Type > & | carrierEqn (const VolField< Type > &psi) const |
| template<class Type > | |
| const Foam::HashTable< const Foam::CarrierEqn< Type > * > | carrierEqns (const VolField< Type > &psi) const |
Public Attributes | |
| const CloudDerivedField< scalar > & | nuc |
| Carrier kinematic viscosity. More... | |
Protected Member Functions | |
| void | updateCarrier () |
| Update the cached carrier fields. More... | |
| template<class Type > | |
| CarrierEqn< Type > & | carrierEqn (const CloudDerivedField< Type > &) |
| Add/get a carrier equation to/from the cache. More... | |
| template<class Type > | |
| CarrierEqn< Type > & | carrierEqn (const CarrierField< Type > &) |
| Add/get a carrier equation to/from the cache. More... | |
| void | clearCarrierEqns () |
| Clear the carrier equations. More... | |
| template<class Type > | |
| bool | initPsicDdt (const LagrangianSubScalarSubField &vOrM, const CloudDerivedField< Type > &psic) const |
| Do we need to re-calculate particles that are modified? More... | |
| tmp< LagrangianEqn< scalar > > | psicEqn (const LagrangianSubScalarField &deltaT, const LagrangianSubScalarSubField &vOrM, const CloudDerivedField< scalar > &oneOrRhoc) const |
| Return the basic models-only equation for a carrier field. More... | |
| template<class Type > | |
| tmp< LagrangianEqn< Type > > | psicEqn (const LagrangianSubScalarField &deltaT, const LagrangianSubScalarSubField &vOrM, const LagrangianSubSubField< Type > &psi, const CloudDerivedField< Type > &psic) const |
| Return the basic models-only equation for a carrier field. More... | |
Base class for clouds which are coupled to a carrier.
|
protected |
Update the cached carrier fields.
Definition at line 101 of file coupled.C.
Referenced by kinematicParcel::solve(), kinematicParticle::solve(), and coupledToFluid::updateCarrier().

|
protected |
Add/get a carrier equation to/from the cache.
|
protected |
Add/get a carrier equation to/from the cache.
|
protected |
Clear the carrier equations.
Definition at line 110 of file coupled.C.
References CLEAR_TYPE_CARRIER_EQNS, and Foam::FOR_ALL_FIELD_TYPES().
Referenced by dynamicParcel::solve(), dynamicParticle::solve(), kinematicParcel::solve(), kinematicParticle::solve(), multicomponentParcel::solve(), multicomponentParticle::solve(), parcel::solve(), and particle::solve().


|
protected |
Do we need to re-calculate particles that are modified?
Definition at line 78 of file coupledTemplates.C.
References DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::Lagrangianm::initDdt(), and DimensionedField< Type, GeoMesh, PrimitiveField >::mesh().

|
protected |
Return the basic models-only equation for a carrier field.
Definition at line 129 of file coupled.C.
References DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), LagrangianModels::LagrangianModels(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), Foam::Lagrangianm::noDdt(), and LagrangianModels::sourceProxy().

|
protected |
Return the basic models-only equation for a carrier field.
| TypeName | ( | "coupled" | ) |
Run-time type information.
| bool hasCarrierEqns | ( | ) | const |
| bool hasCarrierEqn | ( | const word & | key | ) | const |
Return if a carrier equation is in the cache.
Definition at line 112 of file coupledTemplates.C.
| const CarrierEqn<Type>& carrierEqn | ( | const word & | ) | const |
Get a carrier equation from the cache.
| const HashTable<const CarrierEqn<Type>*> carrierEqns | ( | const word & | ) | const |
Get multiple phase carrier equations from the cache.
| bool hasCarrierEqn | ( | const VolField< Type > & | psi | ) | const |
Return if a carrier equation is in the cache.
Definition at line 152 of file coupledTemplates.C.
References psi.
| const CarrierEqn<Type>& carrierEqn | ( | const VolField< Type > & | ) | const |
Get a carrier equation from the cache.
| const HashTable<const CarrierEqn<Type>*> carrierEqns | ( | const VolField< Type > & | ) | const |
Get multiple phase carrier equations from the cache.
| Foam::CarrierEqn<Type>& carrierEqn | ( | const CloudDerivedField< Type > & | psic | ) |
Definition at line 33 of file coupledTemplates.C.
References carried::carrierNameToName(), HashTable< T, Key, Hash >::find(), CloudDerivedField< Type >::name(), and carried::Uc.

| Foam::CarrierEqn<Type>& carrierEqn | ( | const CarrierField< Type > & | psic | ) |
Definition at line 56 of file coupledTemplates.C.
References HashTable< T, Key, Hash >::find().

| Foam::tmp<Foam::LagrangianEqn<Type> > psicEqn | ( | const LagrangianSubScalarField & | deltaT, |
| const LagrangianSubScalarSubField & | vOrM, | ||
| const LagrangianSubSubField< Type > & | psi, | ||
| const CloudDerivedField< Type > & | psic | ||
| ) | const |
Definition at line 91 of file coupledTemplates.C.
References DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), LagrangianModels::LagrangianModels(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), Foam::Lagrangianm::noDdt(), psi, and LagrangianModels::sourceProxy().

| const Foam::CarrierEqn<Type>& carrierEqn | ( | const word & | key | ) | const |
Definition at line 120 of file coupledTemplates.C.
| const Foam::HashTable<const Foam::CarrierEqn<Type>*> carrierEqns | ( | const word & | key | ) | const |
Definition at line 128 of file coupledTemplates.C.
References forAllConstIter, IOobject::group(), and IOobject::member().

| const Foam::CarrierEqn<Type>& carrierEqn | ( | const VolField< Type > & | psi | ) | const |
Definition at line 160 of file coupledTemplates.C.
References psi.
| const Foam::HashTable<const Foam::CarrierEqn<Type>*> carrierEqns | ( | const VolField< Type > & | psi | ) | const |
Definition at line 168 of file coupledTemplates.C.
References psi.
| const CloudDerivedField<scalar>& nuc |
Carrier kinematic viscosity.
Definition at line 156 of file coupled.H.
Referenced by coupledToFluid::coupledToFluid(), and sphericalCoupled::sphericalCoupled().