include/meltpooldg/level_set/delta_approximation_phase_weighted_data.hpp Source File

Developer Documentation: include/meltpooldg/level_set/delta_approximation_phase_weighted_data.hpp Source File
Developer Documentation
delta_approximation_phase_weighted_data.hpp
Go to the documentation of this file.
1#pragma once
2#include <deal.II/base/parameter_handler.h>
3
6
8{
10 DiracDeltaFunctionApproximationType,
11 char,
12 norm_of_indicator_gradient, // use δ = ||∇ϕ|| as approximation for the Dirac delta function
13 // with the heaviside representation of the level set ϕ
14 heaviside_phase_weighted, // see DeltaApproximationHeavisidePhaseWeighted
15 heaviside_times_heaviside_phase_weighted,
16 // see DeltaApproximationHeavisideTimesHeavisidePhaseWeighted
17 reciprocal_phase_weighted, // see DeltaApproximationReciprocalPhaseWeighted
18 reciprocal_times_heaviside_phase_weighted, // see
19 // DeltaApproximationReciprocalTimesHeavisidePhaseWeighted
20 heavy_phase_only // see DeltaApproximationHeavyPhaseOnly
21 )
22
23 BETTER_ENUM(ParameterScaledInterpolationType,
24 char,
27 density)
28
29 template <typename number>
31 {
32 DiracDeltaFunctionApproximationType type =
33 DiracDeltaFunctionApproximationType::norm_of_indicator_gradient;
34 number gas_phase_weight = 1.0;
35 number heavy_phase_weight = 1.0;
36 number gas_phase_weight_2 = 1.0;
38 bool auto_weights = false;
39
40 void
41 add_parameters(dealii::ParameterHandler &prm);
42
43 void
45 const ParameterScaledInterpolationType &interpolation_type);
46 };
47} // namespace MeltPoolDG::LevelSet
This operation solves the reinitialization problem for a CG- or DG-FEM-based discrete level-set field...
Definition advection_DG_operation.hpp:20
specific_heat_capacity_times_density
Definition delta_approximation_phase_weighted_data.hpp:26
BETTER_ENUM(ConvectionStabilizationType, char, none, SUPG) template< typename number > struct AdvectionDiffusionData
Definition advection_diffusion_data.hpp:15
volume_specific_heat_capacity
Definition delta_approximation_phase_weighted_data.hpp:25
Definition delta_approximation_phase_weighted_data.hpp:31
void set_parameters(const MaterialData< number > &material, const ParameterScaledInterpolationType &interpolation_type)
Definition delta_approximation_phase_weighted_data.cpp:43
number gas_phase_weight_2
Definition delta_approximation_phase_weighted_data.hpp:36
number heavy_phase_weight
Definition delta_approximation_phase_weighted_data.hpp:35
DiracDeltaFunctionApproximationType type
Definition delta_approximation_phase_weighted_data.hpp:32
void add_parameters(dealii::ParameterHandler &prm)
Definition delta_approximation_phase_weighted_data.cpp:9
number gas_phase_weight
Definition delta_approximation_phase_weighted_data.hpp:34
number heavy_phase_weight_2
Definition delta_approximation_phase_weighted_data.hpp:37
bool auto_weights
Definition delta_approximation_phase_weighted_data.hpp:38
Definition material_data.hpp:84