include/meltpooldg/flow/darcy_damping_model.hpp Source File

Developer Documentation: include/meltpooldg/flow/darcy_damping_model.hpp Source File
Developer Documentation
darcy_damping_model.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <deal.II/base/vectorization.h>
4
6
7
8namespace MeltPoolDG::Flow
9{
26 template <typename number>
28 {
29 public:
35 explicit DarcyDampingModel(const DarcyDampingData<number> &data_in);
36
46 template <typename number2>
47 [[nodiscard]] number2
48 compute_darcy_damping_coefficient(const number2 &solid_fraction) const;
49
50 private:
53
56 };
57} // namespace MeltPoolDG::Flow
This class computes the Darcy damping coefficient given by the Kozeny-Carman equation:
Definition darcy_damping_model.hpp:28
number2 compute_darcy_damping_coefficient(const number2 &solid_fraction) const
Compute the Darcy damping coefficient based on a given solid_fraction.
Definition darcy_damping_model.cpp:22
const number mushy_zone_morphology
Morphological constant C.
Definition darcy_damping_model.hpp:52
const number avoid_div_zero_constant
Small constant b to avoid division by zero.
Definition darcy_damping_model.hpp:55
Definition equation_of_state.hpp:18
Collection of parameters for Darcy damping.
Definition darcy_damping_data.hpp:16