fluidMulticomponentLagrangianThermo::composite Class Reference
Inheritance diagram for fluidMulticomponentLagrangianThermo::composite:
Collaboration diagram for fluidMulticomponentLagrangianThermo::composite:

Public Member Functions

template<class MixtureType >
 composite (const dictionary &dict, const MixtureType &mixture, const LagrangianMesh &mesh, const word &phaseName)
 Construct from dictionary, mesh and phase name. More...
 
- Public Member Functions inherited from basicLagrangianThermo::implementation
 implementation (const dictionary &, const LagrangianMesh &, const word &)
 Construct from dictionary, mesh and phase name. More...
 
 implementation (const implementation &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~implementation ()
 Destructor. More...
 
virtual const LagrangianMeshmesh () const
 Return const access to the mesh. More...
 
virtual const wordphaseName () const
 Phase name. More...
 
virtual const LagrangianScalarDynamicFieldT () const
 Temperature [K]. More...
 
virtual LagrangianScalarDynamicFieldT ()
 Modify the Temperature [K]. More...
 
virtual const LagrangianScalarDynamicFieldrho () const
 Density [kg/m^3]. More...
 
virtual LagrangianScalarDynamicFieldrho ()
 Modify the Density [kg/m^3]. More...
 
virtual const LagrangianScalarDynamicFieldCv () const
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual const LagrangianScalarDynamicFieldkappa () const
 Thermal conductivity [W/m/K]. More...
 
virtual void read (const dictionary &)
 Read properties dictionary. More...
 
- Public Member Functions inherited from basicLagrangianThermo
 TypeName ("basicLagrangianThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, basicLagrangianThermo, LagrangianMesh,(const LagrangianMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~basicLagrangianThermo ()
 Destructor. More...
 
virtual const IOdictionaryproperties () const =0
 Access the properties dictionary. More...
 
virtual IOdictionaryproperties ()=0
 Modify the properties dictionary. More...
 
virtual void correct (const LagrangianSubMesh &)=0
 Update state. More...
 
virtual word thermoName () const =0
 Return the full name of the thermodynamic model. More...
 
virtual tmp< LagrangianSubScalarFieldW (const LagrangianSubMesh &) const =0
 Molecular weight for a sub-mesh [kg/kmol]. More...
 
virtual tmp< LagrangianSubScalarFieldrho (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Density for an injection [kg/m^3]. More...
 
virtual const LagrangianScalarDynamicFielde () const =0
 Internal energy [J/kg]. More...
 
virtual LagrangianScalarDynamicFielde ()=0
 Modify the internal energy [J/kg]. More...
 
virtual tmp< LagrangianSubScalarFielde (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Internal energy for an injection [J/kg]. More...
 
virtual tmp< LagrangianSubScalarFieldCv (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Heat capacity at constant volume for an injection [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarFieldCp (const LagrangianSubMesh &subMesh) const =0
 Heat capacity at constant pressure for a sub-mesh [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarFieldalphav (const LagrangianSubMesh &subMesh) const =0
 Coefficient of thermal expansion for a sub-mesh [1/K]. More...
 
virtual tmp< LagrangianSubScalarFieldkappa (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Thermal conductivity for an injection [W/m/K]. More...
 
template<class LagrangianFieldSourceType >
Foam::HashTable< Foam::wordsourcesTypes (const LagrangianScalarDynamicField &T)
 
template<class Thermo >
Foam::autoPtr< Thermo > New (const LagrangianMesh &mesh, const word &phaseName)
 
- Public Member Functions inherited from fluidLagrangianThermo::implementation
 implementation (const dictionary &, const LagrangianMesh &, const word &, const LagrangianScalarDynamicField &T)
 Construct from dictionary, mesh and phase name. More...
 
virtual ~implementation ()
 Destructor. More...
 
virtual void initialise ()
 Initialise state. More...
 
virtual void correctPressure (const LagrangianSubMesh &)
 Update the pressure. More...
 
virtual const LagrangianScalarDynamicFieldp () const
 Pressure [Pa]. More...
 
virtual LagrangianScalarDynamicFieldp ()
 Modify the Pressure [Pa]. More...
 
virtual tmp< LagrangianSubScalarSubFieldp (const LagrangianSubMesh &) const
 Pressure for a sub-mesh [Pa]. More...
 
virtual tmp< LagrangianSubScalarFieldp (const LagrangianInjection &, const LagrangianSubMesh &) const
 Pressure for an injection [Pa]. More...
 
virtual const LagrangianScalarDynamicFieldpsi () const
 Compressibility [s^2/m^2]. More...
 
virtual const LagrangianScalarDynamicFieldmu () const
 Dynamic viscosity [kg/m/s]. More...
 
- Public Member Functions inherited from fluidLagrangianThermo
 TypeName ("fluidLagrangianThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fluidLagrangianThermo, LagrangianMesh,(const LagrangianMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~fluidLagrangianThermo ()
 Destructor. More...
 
virtual tmp< LagrangianSubScalarFieldpsi (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Compressibility for an injection [m^2/s^2]. More...
 
virtual tmp< LagrangianSubScalarFieldmu (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Dynamic viscosity for an injection [W/m/K]. More...
 
- Public Member Functions inherited from multicomponentLagrangianThermo::implementation
 implementation (const dictionary &, const speciesTable &, const LagrangianMesh &, const word &)
 Construct from dictionary, mesh and phase name. More...
 
virtual ~implementation ()
 Destructor. More...
 
virtual label defaultSpecie () const
 The index of the default specie. More...
 
virtual PtrList< LagrangianScalarDynamicField > & Y ()
 Access the mass-fraction fields. More...
 
virtual const PtrList< LagrangianScalarDynamicField > & Y () const
 Access the mass-fraction fields. More...
 
virtual void normaliseY (const LagrangianSubMesh &)
 Normalise the mass fractions within the given sub-mesh by. More...
 
DimensionedFieldListSlicer< scalar > Yslicer () const
 Get the slicer. More...
 
scalarFieldListSlice elementComposition (const DimensionedFieldListSlicer< scalar > &Yslicer, const label i) const
 Get the composition of an element. More...
 
DimensionedFieldListAndSlicer< scalar, LagrangianSubMeshYslicer (const LagrangianInjection &, const LagrangianSubMesh &) const
 Get the slicer for an injection. More...
 
scalarFieldListSlice injectionElementComposition (const DimensionedFieldListAndSlicer< scalar, LagrangianSubMesh > &, const label subi) const
 Get the composition of an element in an injection. More...
 
- Public Member Functions inherited from multicomponentLagrangianThermo
 TypeName ("multicomponentLagrangianThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, multicomponentLagrangianThermo, LagrangianMesh,(const LagrangianMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~multicomponentLagrangianThermo ()
 Destructor. More...
 
virtual const speciesTablespecies () const =0
 Return the table of species. More...
 
bool containsSpecie (const word &specieName) const
 Does the mixture include this specie? More...
 
LagrangianScalarDynamicFieldY (const label)
 Access the mass-fraction field for a specie given by index. More...
 
const LagrangianScalarDynamicFieldY (const label) const
 Access the mass-fraction field for a specie given by index. More...
 
LagrangianScalarDynamicFieldY (const word &)
 Access the mass-fraction field for a specie given by name. More...
 
const LagrangianScalarDynamicFieldY (const word &) const
 Access the mass-fraction field for a specie given by name. More...
 
label specieIndex (const LagrangianScalarDynamicField &) const
 Access the specie index of the given mass-fraction field. More...
 
virtual dimensionedScalar Wi (const label speciei) const =0
 Molecular weight [kg/kmol]. More...
 
virtual tmp< LagrangianSubScalarFieldrhoi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const =0
 Density [kg/m^3]. More...
 
virtual tmp< LagrangianSubScalarFieldhsi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const =0
 Sensible enthalpy [J/kg]. More...
 
virtual dimensionedScalar hfi (const label speciei) const =0
 Enthalpy of formation [J/kg]. More...
 
virtual tmp< LagrangianSubScalarFieldCvi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const =0
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarFieldCpi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const =0
 Heat capacity at constant pressure [J/kg/K]. More...
 
- Public Member Functions inherited from fluidMulticomponentLagrangianThermo
 TypeName ("fluidMulticomponentLagrangianThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fluidMulticomponentLagrangianThermo, LagrangianMesh,(const LagrangianMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~fluidMulticomponentLagrangianThermo ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from fluidLagrangianThermo
template<class MixtureType >
using DerivedThermoType = FluidLagrangianThermo< BasicLagrangianThermo< MixtureType, composite > >
 The derived type. More...
 
- Public Types inherited from fluidMulticomponentLagrangianThermo
template<class MixtureType >
using DerivedThermoType = MulticomponentLagrangianThermo< FluidLagrangianThermo< BasicLagrangianThermo< MixtureType, composite > > >
 The derived type. More...
 
- Static Public Member Functions inherited from basicLagrangianThermo
template<class Thermo >
static autoPtr< Thermo > New (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select thermo of a given derived type. More...
 
static autoPtr< basicLagrangianThermoNew (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select a basic thermo. More...
 
- Static Public Member Functions inherited from fluidLagrangianThermo
static word derivedThermoName ()
 The derived name. More...
 
static autoPtr< fluidLagrangianThermoNew (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select a fluid thermo. More...
 
- Static Public Member Functions inherited from multicomponentLagrangianThermo
static autoPtr< multicomponentLagrangianThermoNew (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select a multicomponent thermo. More...
 
- Static Public Member Functions inherited from fluidMulticomponentLagrangianThermo
static word derivedThermoName ()
 The derived name. More...
 
static autoPtr< fluidMulticomponentLagrangianThermoNew (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select a fluid multicomponent thermo. More...
 
- Protected Member Functions inherited from basicLagrangianThermo
wordList eBoundaryTypes () const
 Internal energy field boundary types. More...
 
wordList eBoundaryBaseTypes () const
 Internal energy field boundary base types. More...
 
- Static Protected Member Functions inherited from basicLagrangianThermo
template<class LagrangianFieldSourceType >
static HashTable< wordsourcesTypes (const LagrangianScalarDynamicField &T)
 Field sources types. More...
 
- Protected Attributes inherited from basicLagrangianThermo::implementation
LagrangianScalarDynamicField T_
 Temperature [K]. More...
 
LagrangianScalarDynamicField rho_
 Density [kg/m^3]. More...
 
LagrangianScalarDynamicField Cv_
 Heat capacity at constant volume [J/kg/K]. More...
 
LagrangianScalarDynamicField kappa_
 Thermal conductivity [W/m/K]. More...
 
- Protected Attributes inherited from fluidLagrangianThermo::implementation
LagrangianScalarDynamicField p_
 Pressure [Pa]. More...
 
autoPtr< LagrangianScalarFieldSource > pSourcePtr_
 Pressure source condition [Pa]. More...
 
LagrangianScalarDynamicField psi_
 Compressibility [s^2/m^2]. More...
 
LagrangianScalarDynamicField mu_
 Dynamic Viscosity [kg/m/s]. More...
 
- Protected Attributes inherited from multicomponentLagrangianThermo::implementation
word defaultSpecieName_
 The name of the default specie. The mass fraction of which is. More...
 
label defaultSpeciei_
 The index of the default specie. More...
 
PtrList< LagrangianScalarDynamicFieldY_
 Species mass fractions. More...
 

Detailed Description

Definition at line 120 of file fluidMulticomponentLagrangianThermo.H.

Constructor & Destructor Documentation

◆ composite()

composite ( const dictionary dict,
const MixtureType &  mixture,
const LagrangianMesh mesh,
const word phaseName 
)
inline

Construct from dictionary, mesh and phase name.

Definition at line 133 of file fluidMulticomponentLagrangianThermo.H.


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