ApparentCapacity< number > Class Template Reference
|
Developer Documentation
|
Apparent capacity model for latent heat release/absorption during phase change. More...
#include <apparent_capacity.hpp>
Public Member Functions | |
| ApparentCapacity (const MaterialData< number > &material_data_in) | |
| Constructor. | |
| dealii::VectorizedArray< number > | evaluate (const dealii::VectorizedArray< number > &solid_fraction) const |
| Evaluate the apparent capacity. | |
| number | evaluate (const number &solid_fraction) const |
| Evaluate the apparent capacity. | |
| dealii::VectorizedArray< number > | compute_temperature_derivative (const dealii::VectorizedArray< number > &solid_fraction) const |
| Compute the temperature derivative of the apparent capacity. | |
| number | compute_temperature_derivative (const number &solid_fraction) const |
| Compute the temperature derivative of the apparent capacity. | |
Private Member Functions | |
| number | compute_temperature_derivative_qlq_from_solid_fraction (const number &solid_fraction) const |
| Compute the temperature derivative of the QLQ apparent-capacity profile. | |
| number | evaluate_qlq_from_solid_fraction (const number &solid_fraction) const |
| Evaluate the QLQ apparent-capacity profile. | |
Private Attributes | |
| const MaterialData< number > & | material |
| Material data used by the apparent capacity model. | |
| const number | inv_mushy_zone_radius |
| Inverse radius of the mushy zone in temperature space. | |
| const number | peak |
| Peak value of the apparent-capacity distribution. | |
| const ApparentCapacityType | apparent_capacity_type |
| Selected apparent-capacity profile. | |
| const QLQParameters< number > | qlq |
| Parameters used by the QLQ apparent capacity model. | |
Detailed Description
class MeltPoolDG::Heat::ApparentCapacity< number >
Apparent capacity model for latent heat release/absorption during phase change.
This class evaluates the additional heat capacity contribution used in the apparent capacity method. The latent heat is distributed over the mushy zone according to the selected apparent-capacity profile.
The input argument is the solid fraction \(f_s\), where \(f_s = 1\) denotes fully solid material and \(f_s = 0\) denotes fully liquid material.
- Template Parameters
-
number Scalar number type.
Constructor & Destructor Documentation
◆ ApparentCapacity()
| MeltPoolDG::Heat::ApparentCapacity< number >::ApparentCapacity | ( | const MaterialData< number > & | material_data_in | ) |
Constructor.
Initializes the apparent capacity model from the material data.
- Parameters
-
material_data_in Material data containing latent heat, solidus and liquidus temperatures, and the selected apparent-capacity type.
Member Function Documentation
◆ compute_temperature_derivative() [1/2]
| dealii::VectorizedArray< number > MeltPoolDG::Heat::ApparentCapacity< number >::compute_temperature_derivative | ( | const dealii::VectorizedArray< number > & | solid_fraction | ) | const |
Compute the temperature derivative of the apparent capacity.
- Parameters
-
solid_fraction Solid fraction \(f_s\).
- Returns
- Temperature derivative of the apparent capacity contribution.
◆ compute_temperature_derivative() [2/2]
| number MeltPoolDG::Heat::ApparentCapacity< number >::compute_temperature_derivative | ( | const number & | solid_fraction | ) | const |
Compute the temperature derivative of the apparent capacity.
- Parameters
-
solid_fraction Solid fraction \(f_s\).
- Returns
- Temperature derivative of the apparent capacity contribution.
◆ compute_temperature_derivative_qlq_from_solid_fraction()
|
private |
Compute the temperature derivative of the QLQ apparent-capacity profile.
- Parameters
-
solid_fraction Solid fraction \(f_s\).
- Returns
- Temperature derivative of the QLQ apparent-capacity contribution.
◆ evaluate() [1/2]
| dealii::VectorizedArray< number > MeltPoolDG::Heat::ApparentCapacity< number >::evaluate | ( | const dealii::VectorizedArray< number > & | solid_fraction | ) | const |
Evaluate the apparent capacity.
- Parameters
-
solid_fraction Solid fraction \(f_s\).
- Returns
- Apparent capacity contribution.
◆ evaluate() [2/2]
| number MeltPoolDG::Heat::ApparentCapacity< number >::evaluate | ( | const number & | solid_fraction | ) | const |
Evaluate the apparent capacity.
- Parameters
-
solid_fraction Solid fraction \(f_s\).
- Returns
- Apparent capacity contribution.
◆ evaluate_qlq_from_solid_fraction()
|
private |
Evaluate the QLQ apparent-capacity profile.
- Parameters
-
solid_fraction Solid fraction \(f_s\).
- Returns
- QLQ apparent-capacity contribution.
Member Data Documentation
◆ apparent_capacity_type
|
private |
Selected apparent-capacity profile.
◆ inv_mushy_zone_radius
|
private |
Inverse radius of the mushy zone in temperature space.
◆ material
|
private |
Material data used by the apparent capacity model.
◆ peak
|
private |
Peak value of the apparent-capacity distribution.
◆ qlq
|
private |
Parameters used by the QLQ apparent capacity model.
The documentation for this class was generated from the following files:
- include/meltpooldg/heat/apparent_capacity.hpp
- source/heat/apparent_capacity.cpp
Generated by