coupledToThermalFluid Class Reference

Base class for clouds which are coupled to a fluid with a thermodynamic model. More...

Inheritance diagram for coupledToThermalFluid:
Collaboration diagram for coupledToThermalFluid:

Public Member Functions

 TypeName ("coupledToThermalFluid")
 Run-time type information. More...
 
 coupledToThermalFluid (const cloud &c, const carried &, const thermal &)
 Construct from a reference to the cloud and its base classes. More...
 
virtual ~coupledToThermalFluid ()
 Destructor. More...
 
bool hasThermoc () const
 Return whether this cloud has a carrier thermo. More...
 
bool hasThermocPhase () const
 Return whether this cloud has a corresponding Eulerian phase thermo. More...
 
- Public Member Functions inherited from coupledToFluid
 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 > & pc
 Carrier pressure. More...
 
const CarrierField< scalar > & Tc
 Carrier temperature. More...
 
const CarrierField< scalar > & hec
 Carrier enthalpy/energy. More...
 
const CarrierField< scalar > & hecPhase
 Corresponding Eulerian enthalpy/energy. More...
 
const CarrierField< scalar > & Cpvc
 Carrier heat capacity. More...
 
const CarrierField< scalar > & Cpc
 Carrier heat capacity at constant pressure. More...
 
const CarrierField< scalar > & Cvc
 Carrier heat capacity at constant volume. More...
 
const CarrierField< scalar > & kappac
 Carrier thermal conductivity. More...
 
const CloudDerivedField< scalar > & Prc
 Carrier Prandtl number. More...
 
labelList iToic
 Map from cloud to carrier specie indices. More...
 
labelList iToicPhase
 Map from cloud to corresponding Eulerian specie indices. More...
 
UPtrList< const CarrierField< scalar > > Yc
 Carrier mass fractions (indexed with the carrier specie index) More...
 
UPtrList< const CarrierField< scalar > > YcPhase
 Corresponding Eulerian mass fractions (indexed with the Eulerian. More...
 
- Public Attributes inherited from coupledToFluid
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...
 

Additional Inherited Members

- Protected Member Functions inherited from coupledToFluid
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 fluid with a thermodynamic model.

Source files

Definition at line 58 of file coupledToThermalFluid.H.

Constructor & Destructor Documentation

◆ coupledToThermalFluid()

coupledToThermalFluid ( const cloud c,
const carried carriedCloud,
const thermal thermalCloud 
)

Construct from a reference to the cloud and its base classes.

Definition at line 46 of file coupledToThermalFluid.C.

References coupledToThermalFluid::Cpc, coupledToThermalFluid::kappac, and coupledToFluid::muc.

◆ ~coupledToThermalFluid()

~coupledToThermalFluid ( )
virtual

Destructor.

Definition at line 250 of file coupledToThermalFluid.C.

Member Function Documentation

◆ TypeName()

TypeName ( "coupledToThermalFluid"  )

Run-time type information.

◆ hasThermoc()

bool hasThermoc ( ) const

Return whether this cloud has a carrier thermo.

Definition at line 256 of file coupledToThermalFluid.C.

References Foam::notNull().

Here is the call graph for this function:

◆ hasThermocPhase()

bool hasThermocPhase ( ) const

Return whether this cloud has a corresponding Eulerian phase thermo.

Definition at line 262 of file coupledToThermalFluid.C.

References Foam::notNull().

Here is the call graph for this function:

Member Data Documentation

◆ pc

const CarrierField<scalar>& pc

Carrier pressure.

Definition at line 93 of file coupledToThermalFluid.H.

◆ Tc

const CarrierField<scalar>& Tc

Carrier temperature.

Definition at line 96 of file coupledToThermalFluid.H.

Referenced by heatTransfer::addSup().

◆ hec

const CarrierField<scalar>& hec

Carrier enthalpy/energy.

Definition at line 99 of file coupledToThermalFluid.H.

Referenced by heatTransfer::addSup().

◆ hecPhase

const CarrierField<scalar>& hecPhase

Corresponding Eulerian enthalpy/energy.

Definition at line 102 of file coupledToThermalFluid.H.

◆ Cpvc

const CarrierField<scalar>& Cpvc

Carrier heat capacity.

Definition at line 105 of file coupledToThermalFluid.H.

Referenced by heatTransfer::addSup().

◆ Cpc

const CarrierField<scalar>& Cpc

Carrier heat capacity at constant pressure.

Definition at line 108 of file coupledToThermalFluid.H.

Referenced by coupledToThermalFluid::coupledToThermalFluid().

◆ Cvc

const CarrierField<scalar>& Cvc

Carrier heat capacity at constant volume.

Definition at line 111 of file coupledToThermalFluid.H.

◆ kappac

const CarrierField<scalar>& kappac

Carrier thermal conductivity.

Definition at line 114 of file coupledToThermalFluid.H.

Referenced by coupledToThermalFluid::coupledToThermalFluid().

◆ Prc

const CloudDerivedField<scalar>& Prc

Carrier Prandtl number.

Definition at line 117 of file coupledToThermalFluid.H.

◆ iToic

labelList iToic

Map from cloud to carrier specie indices.

Definition at line 120 of file coupledToThermalFluid.H.

◆ iToicPhase

labelList iToicPhase

Map from cloud to corresponding Eulerian specie indices.

Definition at line 123 of file coupledToThermalFluid.H.

◆ Yc

UPtrList<const CarrierField<scalar> > Yc

Carrier mass fractions (indexed with the carrier specie index)

Definition at line 126 of file coupledToThermalFluid.H.

◆ YcPhase

UPtrList<const CarrierField<scalar> > YcPhase

Corresponding Eulerian mass fractions (indexed with the Eulerian.

phase specie index)

Definition at line 130 of file coupledToThermalFluid.H.


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