coupledToFluid Class Reference

Base class for clouds which are coupled to a variable density fluid. More...

Inheritance diagram for coupledToFluid:
Collaboration diagram for coupledToFluid:

Public Member Functions

 TypeName ("coupledToFluid")
 Run-time type information. More...
 
 coupledToFluid (const cloud &c, const carried &)
 Construct from a reference to the cloud. More...
 
virtual ~coupledToFluid ()
 Destructor. More...
 
- Public Member Functions inherited from coupled
 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 CarrierField< scalar > & rhoc
 Carrier density. More...
 
const CarrierField< scalar > & rhocPhase
 Corresponding Eulerian density. More...
 
const CloudDerivedField< scalar > & muc
 Carrier dynamic viscosity. More...
 
- Public Attributes inherited from coupled
const CloudDerivedField< scalar > & nuc
 Carrier kinematic viscosity. More...
 

Protected Member Functions

void updateCarrier ()
 Update the cached carrier fields. More...
 
- Protected Member Functions inherited from coupled
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...
 

Detailed Description

Base class for clouds which are coupled to a variable density fluid.

Source files

Definition at line 50 of file coupledToFluid.H.

Constructor & Destructor Documentation

◆ coupledToFluid()

coupledToFluid ( const cloud c,
const carried carriedCloud 
)

Construct from a reference to the cloud.

Definition at line 121 of file coupledToFluid.C.

References coupled::nuc, and coupledToFluid::rhoc.

◆ ~coupledToFluid()

~coupledToFluid ( )
virtual

Destructor.

Definition at line 166 of file coupledToFluid.C.

Member Function Documentation

◆ updateCarrier()

void updateCarrier ( )
protected

Update the cached carrier fields.

Definition at line 103 of file coupledToFluid.C.

References coupled::updateCarrier().

Referenced by dynamicParcel::solve(), dynamicParticle::solve(), multicomponentParcel::solve(), multicomponentParticle::solve(), parcel::solve(), and particle::solve().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "coupledToFluid"  )

Run-time type information.

Member Data Documentation

◆ rhoc

const CarrierField<scalar>& rhoc

◆ rhocPhase

const CarrierField<scalar>& rhocPhase

Corresponding Eulerian density.

Definition at line 113 of file coupledToFluid.H.

◆ muc

const CloudDerivedField<scalar>& muc

Carrier dynamic viscosity.

Definition at line 116 of file coupledToFluid.H.

Referenced by coupledToThermalFluid::coupledToThermalFluid().


The documentation for this class was generated from the following files: