solidLagrangianThermo::implementation Class Reference
Inheritance diagram for solidLagrangianThermo::implementation:
Collaboration diagram for solidLagrangianThermo::implementation:

Public Member Functions

 implementation (const dictionary &, const LagrangianMesh &, const word &)
 Construct from dictionary, mesh and phase name. More...
 
virtual ~implementation ()
 Destructor. More...
 
- Public Member Functions inherited from solidLagrangianThermo
 TypeName ("solidLagrangianThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, solidLagrangianThermo, LagrangianMesh,(const LagrangianMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~solidLagrangianThermo ()
 Destructor. More...
 
virtual void initialise ()
 Initialise state. More...
 
virtual void correctPressure (const LagrangianSubMesh &)
 Update the pressure (does nothing) 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 const LagrangianMeshmesh () const =0
 Access the mesh. More...
 
virtual const wordphaseName () const =0
 Access the phase name. 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 const LagrangianScalarDynamicFieldT () const =0
 Temperature [K]. More...
 
virtual LagrangianScalarDynamicFieldT ()=0
 Modify the Temperature [K]. More...
 
virtual const LagrangianScalarDynamicFieldrho () const =0
 Density [kg/m^3]. More...
 
virtual LagrangianScalarDynamicFieldrho ()=0
 Modify the Density [kg/m^3]. 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 const LagrangianScalarDynamicFieldCv () const =0
 Heat capacity at constant volume [J/kg/K]. 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 const LagrangianScalarDynamicFieldkappa () const =0
 Thermal conductivity [W/m/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)
 

Protected Member Functions

tmp< uniformDimensionedScalarField > p (const LagrangianSubMesh &) const
 Pressure for a sub-mesh [Pa]. More...
 
tmp< uniformDimensionedScalarField > p (const LagrangianInjection &, const LagrangianSubMesh &) const
 Pressure for an injection [Pa]. 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...
 

Protected Attributes

uniformGeometricScalarField p_
 Pressure [Pa]. More...
 

Additional Inherited Members

- Public Types inherited from solidLagrangianThermo
template<class MixtureType >
using DerivedThermoType = SolidLagrangianThermo< BasicLagrangianThermo< MixtureType, composite > >
 The derived type. More...
 
- Static Public Member Functions inherited from solidLagrangianThermo
static word derivedThermoName ()
 The derived name. More...
 
static autoPtr< solidLagrangianThermoNew (const LagrangianMesh &mesh, const word &phaseName=word::null)
 Select a solid thermo. 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 Protected Member Functions inherited from basicLagrangianThermo
template<class LagrangianFieldSourceType >
static HashTable< wordsourcesTypes (const LagrangianScalarDynamicField &T)
 Field sources types. More...
 

Detailed Description

Definition at line 131 of file solidLagrangianThermo.H.

Constructor & Destructor Documentation

◆ implementation()

implementation ( const dictionary dict,
const LagrangianMesh mesh,
const word phaseName 
)

Construct from dictionary, mesh and phase name.

Definition at line 58 of file solidLagrangianThermo.C.

◆ ~implementation()

~implementation ( )
virtual

Destructor.

Definition at line 99 of file solidLagrangianThermo.C.

Member Function Documentation

◆ p() [1/2]

Foam::tmp< Foam::uniformDimensionedScalarField > p ( const LagrangianSubMesh ) const
protected

Pressure for a sub-mesh [Pa].

Definition at line 39 of file solidLagrangianThermo.C.

References solidLagrangianThermo::implementation::p_.

◆ p() [2/2]

Foam::tmp< Foam::uniformDimensionedScalarField > p ( const LagrangianInjection ,
const LagrangianSubMesh  
) const
protected

Pressure for an injection [Pa].

Definition at line 46 of file solidLagrangianThermo.C.

Member Data Documentation

◆ p_

uniformGeometricScalarField p_
protected

Pressure [Pa].

Note: This value should never be used. Solid thermo should only be instantiated with thermo models that do not depend on pressure. This uniform field takes a value of NaN, so that if any thermo models that do depend on pressure are used then the code will exit.

Definition at line 144 of file solidLagrangianThermo.H.

Referenced by solidLagrangianThermo::implementation::p().


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