include/meltpooldg/phase_change/evaporation_model_knight.hpp Source File

Developer Documentation: include/meltpooldg/phase_change/evaporation_model_knight.hpp Source File
Developer Documentation
evaporation_model_knight.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <deal.II/base/vectorization.h>
4
6{
27 template <typename number, typename number_2 = number>
29 {
30 public:
41 explicit EvaporationModelKnight(const number atmospheric_pressure,
43 const number latent_heat_of_evaporation,
44 const number specific_gas_constant,
45 const number specific_heat_ratio_vapor);
46
59 void
60 reinit(const number_2 &T_liquid,
61 const number_2 &Ma_gas,
62 const unsigned int n_active_lanes = dealii::VectorizedArray<number>::size());
63
69 [[nodiscard]] number_2
74
80 [[nodiscard]] number_2
82 {
83 return temperature_jump;
84 }
85
86 private:
89
92
95
98
101
104
106 const number helper_mass_flux;
107
110
113
116
124 number_2
125 compute_temperature_ratio(const number_2 &m_g) const;
126
137 number_2
138 compute_density_ratio(const number_2 &T_gas_over_T_sat,
139 const number_2 &m_g,
140 const number_2 &exp_m_g_2,
141 const number_2 &erfc_m_g) const;
142
156 number_2
157 compute_factor_beta(const number_2 &T_gas_over_T_sat,
158 const number_2 &rho_gas_over_rho_sat,
159 const number_2 &m_g,
160 const number_2 &exp_m_g_2) const;
161
170 void
171 apply_boiling_threshold(const number_2 &T_sat);
172 };
173} // namespace MeltPoolDG::Evaporation
This class implements the evaporative mass flux and temperature jump for rapid evaporation according ...
Definition evaporation_model_knight.hpp:29
const number specific_heat_ratio_vapor
Ratio of specific heats for the vapor phase.
Definition evaporation_model_knight.hpp:100
number_2 compute_factor_beta(const number_2 &T_gas_over_T_sat, const number_2 &rho_gas_over_rho_sat, const number_2 &m_g, const number_2 &exp_m_g_2) const
Calculate the factor beta according to Knight's theory.
Definition evaporation_model_knight.cpp:154
const number helper_temperature_ratio
Precomputed helper variable for the temperature ratio computation.
Definition evaporation_model_knight.hpp:109
void apply_boiling_threshold(const number_2 &T_sat)
Restrict evaporation to liquid temperatures above the boiling temperature.
Definition evaporation_model_knight.cpp:168
number_2 compute_density_ratio(const number_2 &T_gas_over_T_sat, const number_2 &m_g, const number_2 &exp_m_g_2, const number_2 &erfc_m_g) const
Calculate the density ratio rho_gas/rho_sat according to Knight's theory.
Definition evaporation_model_knight.cpp:142
const number atmospheric_pressure
Atmospheric pressure in the gas phase (gas chamber pressure)
Definition evaporation_model_knight.hpp:88
number_2 temperature_jump
Temperature jump from Knight's theory.
Definition evaporation_model_knight.hpp:115
const number helper_mass_flux
Precomputed helper variable for the mass flux computation.
Definition evaporation_model_knight.hpp:106
number_2 get_evaporative_mass_flux() const
Getter function for the evaporative mass flux.
Definition evaporation_model_knight.hpp:70
const number specific_gas_constant
Specific gas constant.
Definition evaporation_model_knight.hpp:97
const number boiling_temperature_at_atmospheric_pressure
Boiling temperature of the considered material at atmospheric pressure conditions.
Definition evaporation_model_knight.hpp:91
number_2 compute_temperature_ratio(const number_2 &m_g) const
Calculate the temperature ratio T_gas/T_sat according to Knight's theory.
Definition evaporation_model_knight.cpp:130
const number temperature_constant
Temperature constant for Clausius-Clapeyron equation.
Definition evaporation_model_knight.hpp:103
void reinit(const number_2 &T_liquid, const number_2 &Ma_gas, const unsigned int n_active_lanes=dealii::VectorizedArray< number >::size())
Use Knight's theory to evaluate the current evaporative mass flux and temperature jump T_liquid - T_g...
Definition evaporation_model_knight.cpp:41
number_2 evaporative_mass_flux
Evaporative mass flux from Knight's theory.
Definition evaporation_model_knight.hpp:112
const number latent_heat_of_evaporation
Latent heat of evaporation.
Definition evaporation_model_knight.hpp:94
number_2 get_temperature_jump() const
Getter function for the temperature jump T_liquid - T_gas.
Definition evaporation_model_knight.hpp:81
Definition evaporation_data.hpp:15