15#ifndef DUMUX_COMMON_DIMENSIONLESS_NUMBERS_HH
16#define DUMUX_COMMON_DIMENSIONLESS_NUMBERS_HH
21#include <dune/common/exceptions.hh>
22#include <dune/common/math.hh>
51template <
class Scalar>
77 const Scalar charcteristicLength,
78 const Scalar kinematicViscosity)
80 return darcyMagVelocity * charcteristicLength / kinematicViscosity ;
107 const Scalar heatCapacity,
108 const Scalar thermalConductivity)
110 return dynamicViscosity * heatCapacity / thermalConductivity;
173 Scalar denominator = 1+ 2.443 * reToMin01 * (prTo23 -1.) ;
175 Scalar nusseltTurbular = numerator / denominator;
177 Scalar nusseltSingleSphere = 2 + sqrt( power(nusseltLaminar,2) + power(nusseltTurbular,2));
179 Scalar funckyFactor = 1 + 1.5 * (1.-
porosity);
180 Scalar nusseltNumber = funckyFactor * nusseltSingleSphere ;
182 return nusseltNumber;
186 DUNE_THROW(Dune::NotImplemented,
"wrong index");
213 const Scalar massDensity,
214 const Scalar diffusionCoefficient)
216 return dynamicViscosity / (massDensity * diffusionCoefficient);
262 DUNE_THROW(Dune::NotImplemented,
"wrong index");
283 const Scalar & phaseDensity ,
284 const Scalar & heatCapacity)
286 return thermalConductivity / (phaseDensity * heatCapacity);
Collection of functions which calculate dimensionless numbers. Each number has it's own function....
Definition: dimensionlessnumbers.hh:53
static Scalar nusseltNumberForced(const Scalar reynoldsNumber, const Scalar prandtlNumber, const Scalar porosity, NusseltFormulation formulation)
Calculate the Nusselt Number [-] (Nu).
Definition: dimensionlessnumbers.hh:139
static Scalar reynoldsNumber(const Scalar darcyMagVelocity, const Scalar charcteristicLength, const Scalar kinematicViscosity)
Calculate the Reynolds Number [-] (Re).
Definition: dimensionlessnumbers.hh:76
static Scalar prandtlNumber(const Scalar dynamicViscosity, const Scalar heatCapacity, const Scalar thermalConductivity)
Calculate the Prandtl Number [-] (Pr).
Definition: dimensionlessnumbers.hh:106
static Scalar schmidtNumber(const Scalar dynamicViscosity, const Scalar massDensity, const Scalar diffusionCoefficient)
Calculate the Schmidt Number [-] (Sc).
Definition: dimensionlessnumbers.hh:212
static Scalar thermalDiffusivity(const Scalar &thermalConductivity, const Scalar &phaseDensity, const Scalar &heatCapacity)
Calculate the thermal diffusivity alpha [m^2/s].
Definition: dimensionlessnumbers.hh:282
static Scalar sherwoodNumber(const Scalar reynoldsNumber, const Scalar schmidtNumber, SherwoodFormulation formulation)
Calculate the Sherwood Number [-] (Sh).
Definition: dimensionlessnumbers.hh:248
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:127
NusseltFormulation
A container for possible values of the property for selecting which Nusselt parametrization to choose...
Definition: dimensionlessnumbers.hh:31
SherwoodFormulation
A container for possible values of the property for selecting which Sherwood parametrization to choos...
Definition: dimensionlessnumbers.hh:40