DarcyDampingModel< number > Class Template Reference
|
Developer Documentation
|
This class computes the Darcy damping coefficient \( K \) given by the Kozeny-Carman equation: More...
#include <darcy_damping_model.hpp>
Public Member Functions | |
| DarcyDampingModel (const DarcyDampingData< number > &data_in) | |
| Constructor. | |
| template<typename number2 > | |
| number2 | compute_darcy_damping_coefficient (const number2 &solid_fraction) const |
Compute the Darcy damping coefficient based on a given solid_fraction. | |
Private Attributes | |
| const number | mushy_zone_morphology |
| Morphological constant C. | |
| const number | avoid_div_zero_constant |
| Small constant b to avoid division by zero. | |
Detailed Description
class MeltPoolDG::Flow::DarcyDampingModel< number >
This class computes the Darcy damping coefficient \( K \) given by the Kozeny-Carman equation:
\( K= -C \frac{f_s^2}{(1-f_s)^3 + b} \)
with the solid fraction \( f_s \in [0, 1] \), the morphology of the mushy zone \( C \) and the parameter \( b \) to avoid division by zero.
- Note
- The regularization constant \( b \) must be greater than zero.
Voller, V. R., & Prakash, C. (1987). A fixed grid numerical modelling methodology for convection-diffusion mushy region phase-change problems. International Journal of Heat and Mass Transfer, 30(8), 1709–1719. https://doi.org/10.1016/0017-9310(87)90317-6
- Template Parameters
-
number Floating-point type
Constructor & Destructor Documentation
◆ DarcyDampingModel()
|
explicit |
Constructor.
- Parameters
-
data_in Input parameters related to darcy damping.
Member Function Documentation
◆ compute_darcy_damping_coefficient()
| template dealii::VectorizedArray< double > MeltPoolDG::Flow::DarcyDampingModel< number >::compute_darcy_damping_coefficient< dealii::VectorizedArray< double > > | ( | const number2 & | solid_fraction | ) | const |
Compute the Darcy damping coefficient based on a given solid_fraction.
- Template Parameters
-
number2 Enables both scalar and vectorized computations.
- Parameters
-
solid_fraction Volume fraction of solid phase between 0 and 1.
- Returns
- Darcy damping coefficient.
Member Data Documentation
◆ avoid_div_zero_constant
|
private |
Small constant b to avoid division by zero.
◆ mushy_zone_morphology
|
private |
Morphological constant C.
The documentation for this class was generated from the following files:
- include/meltpooldg/flow/darcy_damping_model.hpp
- source/flow/darcy_damping_model.cpp
Generated by