include/meltpooldg/phase_change/evaporative_cooling.hpp Source File

Developer Documentation: include/meltpooldg/phase_change/evaporative_cooling.hpp Source File
Developer Documentation
evaporative_cooling.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <deal.II/base/vectorization.h>
4
8
9#include <memory>
10
11
13{
62 template <typename number>
64 {
65 public:
66 EvaporativeCooling(const EvaporationData<number> &evapor_data,
67 const MaterialData<number> &material_data,
68 const bool setup_internal_mass_flux_operator = false);
69
70
74 template <typename ValueType>
75 inline ValueType
76 compute_evaporative_cooling(const ValueType &mass_flux,
77 [[maybe_unused]] const ValueType &temperature) const;
78
79
83 inline number
84 compute_evaporative_cooling(const number temperature) const;
85
86 inline dealii::VectorizedArray<number>
87 compute_evaporative_cooling(const dealii::VectorizedArray<number> &temperature) const;
88
89
105 template <typename ValueType>
106 inline ValueType
108 [[maybe_unused]] const ValueType &mass_flux) const;
109
110
119 inline number
121 const number temperature) const;
122
123 inline dealii::VectorizedArray<number>
125 const dealii::VectorizedArray<number> &temperature) const;
126
127 private:
128 template <typename ValueType>
129 inline ValueType
130 compute_phenomenological_specific_enthalpy(const ValueType &temperature) const;
131
140 std::unique_ptr<EvaporationModelBase<number>> mass_flux_operator;
141 };
142} // namespace MeltPoolDG::Evaporation
Definition evaporative_cooling.hpp:64
const number latent_heat_of_evaporation
Definition evaporative_cooling.hpp:133
const bool do_phenomenological_recoil_pressure
Definition evaporative_cooling.hpp:132
number activation_temperature
Definition evaporative_cooling.hpp:137
number compute_evaporative_cooling_derivative_with_temperature_dependent_mass_flux(const number temperature) const
Definition evaporative_cooling.templates.hpp:158
ValueType compute_phenomenological_specific_enthalpy(const ValueType &temperature) const
Definition evaporative_cooling.templates.hpp:215
number activation_ramp_derivative
Definition evaporative_cooling.hpp:139
std::unique_ptr< EvaporationModelBase< number > > mass_flux_operator
Definition evaporative_cooling.hpp:140
ValueType compute_evaporative_cooling_derivative_constant_mass_flux(const ValueType &mass_flux) const
Definition evaporative_cooling.templates.hpp:145
const number boiling_temperature
Definition evaporative_cooling.hpp:136
ValueType compute_evaporative_cooling(const ValueType &mass_flux, const ValueType &temperature) const
Definition evaporative_cooling.templates.hpp:89
const number specific_heat_capacity
Definition evaporative_cooling.hpp:134
const number specific_enthalpy_reference_temperature
Definition evaporative_cooling.hpp:135
bool ramp_enabled
Definition evaporative_cooling.hpp:138
Definition evaporation_data.hpp:15
Definition material_data.hpp:84