numerics
Loading...
Searching...
No Matches
heat.hpp
Go to the documentation of this file.
1/// @file heat.hpp
2/// @brief Heat transfer parameters for the SPH backends.
3///
4/// HeatParams is consumed by backends::seq::heat_compute and
5/// backends::omp::heat_compute. The dispatch happens in fluid.cpp.
6#pragma once
7
8namespace physics {
9
10struct HeatParams {
11 float h = 0.025f; ///< Smoothing length [m]
12 float alpha_T = 0.005f; ///< Thermal diffusivity [m^2/s]
13 float h_conv = 8.0f; ///< Convective heat transfer coefficient [1/s]
14 float mass = 0.4f; ///< Particle mass [kg]
15};
16
17} // namespace physics
float mass
Particle mass [kg].
Definition heat.hpp:14
float h
Smoothing length [m].
Definition heat.hpp:11
float h_conv
Convective heat transfer coefficient [1/s].
Definition heat.hpp:13
float alpha_T
Thermal diffusivity [m^2/s].
Definition heat.hpp:12