include/meltpooldg/flow/surface_tension_data.hpp Source File

Developer Documentation: include/meltpooldg/flow/surface_tension_data.hpp Source File
Developer Documentation
surface_tension_data.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <deal.II/base/parameter_handler.h>
4
10
11
12namespace MeltPoolDG::Flow
13{
19 BETTER_ENUM(RegularizedSurfaceTensionTemperatureEvaluationType,
20 char,
21 // The flux distributed in the interfacial zone is computed based on local values
22 // evaluated at the quadrature points.
23 local_value,
24 // The flux distributed in the interfacial zone is computed based on values evaluated
25 // at the projected quadrature points to the level set = 0 isosurface.
26 interface_value)
27
28
31 template <typename number>
32 struct SurfaceTensionData
33 {
35 number surface_tension_coefficient = 0.0;
36
38 number temperature_dependent_surface_tension_coefficient = 0.0;
39
41 number reference_temperature = numbers::invalid_double;
42
44 RegularizedSurfaceTensionTemperatureEvaluationType interface_temperature_evaluation_type =
45 RegularizedSurfaceTensionTemperatureEvaluationType::local_value;
46
48 number coefficient_residual_fraction = 0.0;
49
51 bool zero_surface_tension_in_solid = false;
52
54 LevelSet::DeltaApproximationPhaseWeightedData<number> delta_approximation_phase_weighted;
55
58
64 void
65 add_parameters(dealii::ParameterHandler &prm);
66
72 void
73 post(const MaterialData<number> &material);
74
80 void
81 check_input_parameters(const bool curv_enable) const;
82 };
83} // namespace MeltPoolDG::Flow
Definition equation_of_state.hpp:17
BETTER_ENUM(RegularizedSurfaceTensionTemperatureEvaluationType, char, local_value, interface_value) template< typename number > struct SurfaceTensionData
Collection of parameters related to surface tension effects.
Definition surface_tension_data.hpp:19
Definition delta_approximation_phase_weighted_data.hpp:31
Definition material_data.hpp:84
Definition time_stepping_data.hpp:24