#include <Transport_model.hpp>
Public Member Functions | |
| double | coefficient (double sqrt_temp) const |
Static Public Member Functions | |
| static Transport_model | inviscid () |
create a Transport_model that always returns 0 (with is_viscous set to false) | |
| static Transport_model | constant (double value) |
create a Transport_model that always returns the same constant value | |
| static Transport_model | sutherland (double reference_value, double reference_temperature, double temperature_offset) |
Public Attributes | |
| const bool | is_viscous |
if false, you can safely assume coefficient will always return 0 regardless of input | |
A model for molecular transport coefficients (e.g. viscosity and thermal conductivity) which supports either a constant coefficient or Sutherland's law.
|
inline |
Compute whatever transport coefficient this object is supposed to represent. Expects the square root of the temperature to be precomputed (so the caller can reuse it for multiple transport coefficients)
|
inlinestatic |
create a Transport_model which depends on temperature according to Sutherland's law. It will return reference_value at reference_temperature and temperature_offset is the Sutherland constant \(S\)