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 LagrangianMesh & mesh () const
 Return const access to the mesh. More...
 
virtual const word & phaseName () const
 Phase name. More...
 
virtual const LagrangianScalarDynamicField & T () const
 Temperature [K]. More...
 
virtual LagrangianScalarDynamicField & T ()
 Modify the Temperature [K]. More...
 
virtual const LagrangianScalarDynamicField & rho () const
 Density [kg/m^3]. More...
 
virtual LagrangianScalarDynamicField & rho ()
 Modify the Density [kg/m^3]. More...
 
virtual const LagrangianScalarDynamicField & Cv () const
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual const LagrangianScalarDynamicField & kappa () 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 IOdictionary & properties () const =0
 Access the properties dictionary. More...
 
virtual IOdictionary & properties ()=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< LagrangianSubScalarField > W (const LagrangianSubMesh &) const =0
 Molecular weight for a sub-mesh [kg/kmol]. More...
 
virtual tmp< LagrangianSubScalarField > rho (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Density for an injection [kg/m^3]. More...
 
virtual const LagrangianScalarDynamicField & e () const =0
 Internal energy [J/kg]. More...
 
virtual LagrangianScalarDynamicField & e ()=0
 Modify the internal energy [J/kg]. More...
 
virtual tmp< LagrangianSubScalarField > e (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Internal energy for an injection [J/kg]. More...
 
virtual tmp< LagrangianSubScalarField > Cv (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Heat capacity at constant volume for an injection [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarField > Cp (const LagrangianSubMesh &subMesh) const =0
 Heat capacity at constant pressure for a sub-mesh [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarField > alphav (const LagrangianSubMesh &subMesh) const =0
 Coefficient of thermal expansion for a sub-mesh [1/K]. More...
 
virtual tmp< LagrangianSubScalarField > kappa (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Thermal conductivity for an injection [W/m/K]. More...
 
template<class LagrangianFieldSourceType >
Foam::HashTable< Foam::word > sourcesTypes (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 LagrangianScalarDynamicField & p () const
 Pressure [Pa]. More...
 
virtual LagrangianScalarDynamicField & p ()
 Modify the Pressure [Pa]. More...
 
virtual tmp< LagrangianSubScalarSubField > p (const LagrangianSubMesh &) const
 Pressure for a sub-mesh [Pa]. More...
 
virtual tmp< LagrangianSubScalarField > p (const LagrangianInjection &, const LagrangianSubMesh &) const
 Pressure for an injection [Pa]. More...
 
virtual const LagrangianScalarDynamicField & psi () const
 Compressibility [s^2/m^2]. More...
 
virtual const LagrangianScalarDynamicField & mu () 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< LagrangianSubScalarField > psi (const LagrangianSubScalarField &T, const LagrangianInjection &) const =0
 Compressibility for an injection [m^2/s^2]. More...
 
virtual tmp< LagrangianSubScalarField > mu (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, LagrangianSubMesh > Yslicer (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 speciesTable & species () const =0
 Return the table of species. More...
 
bool containsSpecie (const word &specieName) const
 Does the mixture include this specie? More...
 
LagrangianScalarDynamicField & Y (const label)
 Access the mass-fraction field for a specie given by index. More...
 
const LagrangianScalarDynamicField & Y (const label) const
 Access the mass-fraction field for a specie given by index. More...
 
LagrangianScalarDynamicField & Y (const word &)
 Access the mass-fraction field for a specie given by name. More...
 
const LagrangianScalarDynamicField & Y (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< LagrangianSubScalarField > rhoi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const =0
 Density [kg/m^3]. More...
 
virtual tmp< LagrangianSubScalarField > hsi (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< LagrangianSubScalarField > Cvi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const =0
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarField > Cpi (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< basicLagrangianThermo > New (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< fluidLagrangianThermo > New (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select a fluid thermo. More...
 
- Static Public Member Functions inherited from multicomponentLagrangianThermo
static autoPtr< multicomponentLagrangianThermo > New (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< fluidMulticomponentLagrangianThermo > New (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< word > sourcesTypes (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< LagrangianScalarDynamicField > Y_
 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: