Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
SpecificHeatModel Class Reference

#include <specific_heat_model.h>

Inheritance diagram for SpecificHeatModel:
[legend]

Static Public Member Functions

static std::shared_ptr< SpecificHeatModel > model_cast (const Parameters::Material &material_properties)

Additional Inherited Members

Public Types inherited from PhysicalPropertyModel
enum class  ComplexComponent : std::int8_t { real , imag }
Public Member Functions inherited from PhysicalPropertyModel
 PhysicalPropertyModel ()
virtual ~PhysicalPropertyModel ()=default
bool depends_on (const field &id)
virtual double value (const std::map< field, double > &fields_value)=0
virtual void vector_value (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &property_vector)=0
virtual double jacobian (const std::map< field, double > &field_values, const field id)=0
virtual void vector_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector)=0
void provide_simulation_control (std::shared_ptr< SimulationControl > &p_simulation_control)
double numerical_jacobian (const std::map< field, double > &field_values, const field id)
void vector_numerical_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector)
Protected Member Functions inherited from PhysicalPropertyModel
std::shared_ptr< SimulationControl > & get_simulation_control ()
Protected Attributes inherited from PhysicalPropertyModel
std::map< field, bool > model_depends_on

Detailed Description

Abstract class for calculating the specific heat of materials on quadrature points using the temperature of the fluid.

Definition at line 19 of file specific_heat_model.h.

Member Function Documentation

◆ model_cast()

std::shared_ptr< SpecificHeatModel > SpecificHeatModel::model_cast ( const Parameters::Material & material_properties)
static

Instantiates and returns a pointer to a SpecificHeatModel object by casting it to the proper child class.

Parameters
[in]material_propertiesProperty parameters of a material (fluid or solid).
Returns
Casted SpecificHeatModel object.

Definition at line 7 of file specific_heat_model.cc.

References Parameters::Material::phase_change, Parameters::Material::phase_change_parameters, Parameters::Material::specific_heat, and Parameters::Material::specific_heat_model.


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