![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <thermal_conductivity_model.h>
Public Member Functions | |
| ThermalConductivityPhaseChange (const Parameters::PhaseChange phase_change_params) | |
| double | value (const std::map< field, double > &fields_value) override |
| void | vector_value (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &property_vector) override |
| double | jacobian (const std::map< field, double > &field_values, field id) override |
| void | vector_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector) override |
| Public Member Functions inherited from PhysicalPropertyModel | |
| PhysicalPropertyModel () | |
| virtual | ~PhysicalPropertyModel ()=default |
| bool | depends_on (const field &id) |
| 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) |
Private Attributes | |
| Parameters::PhaseChange | p_phase_change_params |
| const double | thermal_conductivity_s |
| const double | thermal_conductivity_l |
| const double | T_solidus |
| const double | T_liquidus |
Additional Inherited Members | |
| Public Types inherited from PhysicalPropertyModel | |
| enum class | ComplexComponent : std::int8_t { real , imag } |
| Static Public Member Functions inherited from ThermalConductivityModel | |
| static std::shared_ptr< ThermalConductivityModel > | model_cast (const Parameters::Material &material_properties) |
| 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 |
Implements a phase-dependent thermal conductivity.
Definition at line 190 of file thermal_conductivity_model.h.
|
inline |
Default constructor.
Definition at line 196 of file thermal_conductivity_model.h.
References PhysicalPropertyModel::model_depends_on, p_phase_change_params, T_liquidus, T_solidus, temperature, thermal_conductivity_l, and thermal_conductivity_s.
|
inlineoverridevirtual |
jacobian Calculates the jacobian (the partial derivative) of the thermal conductivity with respect to a field
| field_values | Value of the various fields on which the property may depend. |
| id | Indicator of the field with respect to which the jacobian should be calculated |
Implements PhysicalPropertyModel.
Definition at line 280 of file thermal_conductivity_model.h.
References PhysicalPropertyModel::numerical_jacobian(), and temperature.
|
inlineoverridevirtual |
value Calculates the value of the thermal conductivity
| fields_value | Value of the various field on which the thermal conductivity depends. |
Implements PhysicalPropertyModel.
Definition at line 213 of file thermal_conductivity_model.h.
References calculate_liquid_fraction(), p_phase_change_params, T_liquidus, T_solidus, temperature, thermal_conductivity_l, and thermal_conductivity_s.
|
inlineoverridevirtual |
vector_jacobian Calculate the derivative of the thermal conductivity with respect to a field
| field_vectors | Vector for the values of the fields used to evaluate the property |
| id | Identifier of the field with respect to which a derivative should be calculated |
| jacobian | Vector of the value of the derivative of the thermal conductivity with respect to the field id |
Implements PhysicalPropertyModel.
Definition at line 301 of file thermal_conductivity_model.h.
References temperature, and PhysicalPropertyModel::vector_numerical_jacobian().
|
inlineoverridevirtual |
vector_value Calculates the vector value of thermal conductivities
| field_vectors | Vector of properties on which the thermal conductivities depend |
| property_vector | Values of the thermal conductivities |
Implements PhysicalPropertyModel.
Definition at line 245 of file thermal_conductivity_model.h.
References calculate_liquid_fraction(), p_phase_change_params, T_liquidus, T_solidus, temperature, thermal_conductivity_l, and thermal_conductivity_s.
|
private |
Definition at line 312 of file thermal_conductivity_model.h.
|
private |
Definition at line 316 of file thermal_conductivity_model.h.
|
private |
Definition at line 315 of file thermal_conductivity_model.h.
|
private |
Definition at line 314 of file thermal_conductivity_model.h.
|
private |
Definition at line 313 of file thermal_conductivity_model.h.