ApparentCapacity< number > Class Template Reference

Developer Documentation: MeltPoolDG::Heat::ApparentCapacity< number > Class Template Reference
Developer Documentation
MeltPoolDG::Heat::ApparentCapacity< number > Class Template Reference

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

template<typename number>
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
numberScalar number type.

Constructor & Destructor Documentation

◆ ApparentCapacity()

template<typename number >
MeltPoolDG::Heat::ApparentCapacity< number >::ApparentCapacity ( const MaterialData< number > &  material_data_in)

Constructor.

Initializes the apparent capacity model from the material data.

Parameters
material_data_inMaterial data containing latent heat, solidus and liquidus temperatures, and the selected apparent-capacity type.

Member Function Documentation

◆ compute_temperature_derivative() [1/2]

template<typename number >
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_fractionSolid fraction \(f_s\).
Returns
Temperature derivative of the apparent capacity contribution.

◆ compute_temperature_derivative() [2/2]

template<typename number >
number MeltPoolDG::Heat::ApparentCapacity< number >::compute_temperature_derivative ( const number &  solid_fraction) const

Compute the temperature derivative of the apparent capacity.

Parameters
solid_fractionSolid fraction \(f_s\).
Returns
Temperature derivative of the apparent capacity contribution.

◆ compute_temperature_derivative_qlq_from_solid_fraction()

template<typename number >
number MeltPoolDG::Heat::ApparentCapacity< number >::compute_temperature_derivative_qlq_from_solid_fraction ( const number &  solid_fraction) const
private

Compute the temperature derivative of the QLQ apparent-capacity profile.

Parameters
solid_fractionSolid fraction \(f_s\).
Returns
Temperature derivative of the QLQ apparent-capacity contribution.

◆ evaluate() [1/2]

template<typename number >
dealii::VectorizedArray< number > MeltPoolDG::Heat::ApparentCapacity< number >::evaluate ( const dealii::VectorizedArray< number > &  solid_fraction) const

Evaluate the apparent capacity.

Parameters
solid_fractionSolid fraction \(f_s\).
Returns
Apparent capacity contribution.

◆ evaluate() [2/2]

template<typename number >
number MeltPoolDG::Heat::ApparentCapacity< number >::evaluate ( const number &  solid_fraction) const

Evaluate the apparent capacity.

Parameters
solid_fractionSolid fraction \(f_s\).
Returns
Apparent capacity contribution.

◆ evaluate_qlq_from_solid_fraction()

template<typename number >
number MeltPoolDG::Heat::ApparentCapacity< number >::evaluate_qlq_from_solid_fraction ( const number &  solid_fraction) const
private

Evaluate the QLQ apparent-capacity profile.

Parameters
solid_fractionSolid fraction \(f_s\).
Returns
QLQ apparent-capacity contribution.

Member Data Documentation

◆ apparent_capacity_type

template<typename number >
const ApparentCapacityType MeltPoolDG::Heat::ApparentCapacity< number >::apparent_capacity_type
private

Selected apparent-capacity profile.

◆ inv_mushy_zone_radius

template<typename number >
const number MeltPoolDG::Heat::ApparentCapacity< number >::inv_mushy_zone_radius
private

Inverse radius of the mushy zone in temperature space.

◆ material

template<typename number >
const MaterialData<number>& MeltPoolDG::Heat::ApparentCapacity< number >::material
private

Material data used by the apparent capacity model.

◆ peak

template<typename number >
const number MeltPoolDG::Heat::ApparentCapacity< number >::peak
private

Peak value of the apparent-capacity distribution.

◆ qlq

template<typename number >
const QLQParameters<number> MeltPoolDG::Heat::ApparentCapacity< number >::qlq
private

Parameters used by the QLQ apparent capacity model.


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