27#ifndef DIMENSIONLESS_NUMBERS_HH
28#define DIMENSIONLESS_NUMBERS_HH
33#include <dune/common/exceptions.hh>
34#include <dune/common/math.hh>
63template <
class Scalar>
89 const Scalar charcteristicLength,
90 const Scalar kinematicViscosity)
92 return darcyMagVelocity * charcteristicLength / kinematicViscosity ;
119 const Scalar heatCapacity,
120 const Scalar thermalConductivity)
122 return dynamicViscosity * heatCapacity / thermalConductivity;
185 Scalar denominator = 1+ 2.443 * reToMin01 * (prTo23 -1.) ;
187 Scalar nusseltTurbular = numerator / denominator;
189 Scalar nusseltSingleSphere = 2 + sqrt( power(nusseltLaminar,2) + power(nusseltTurbular,2));
191 Scalar funckyFactor = 1 + 1.5 * (1.-
porosity);
192 Scalar nusseltNumber = funckyFactor * nusseltSingleSphere ;
194 return nusseltNumber;
198 DUNE_THROW(Dune::NotImplemented,
"wrong index");
225 const Scalar massDensity,
226 const Scalar diffusionCoefficient)
228 return dynamicViscosity / (massDensity * diffusionCoefficient);
274 DUNE_THROW(Dune::NotImplemented,
"wrong index");
295 const Scalar & phaseDensity ,
296 const Scalar & heatCapacity)
298 return thermalConductivity / (phaseDensity * heatCapacity);
NusseltFormulation
A container for possible values of the property for selecting which nusselt parametrization to choose...
Definition: dimensionlessnumbers.hh:43
SherwoodFormulation
A container for possible values of the property for selecting which sherwood parametrization to choos...
Definition: dimensionlessnumbers.hh:52
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:139
Collection of functions which calculate dimensionless numbers. Each number has it's own function....
Definition: dimensionlessnumbers.hh:65
static Scalar nusseltNumberForced(const Scalar reynoldsNumber, const Scalar prandtlNumber, const Scalar porosity, NusseltFormulation formulation)
Calculate the Nusselt Number [-] (Nu).
Definition: dimensionlessnumbers.hh:151
static Scalar reynoldsNumber(const Scalar darcyMagVelocity, const Scalar charcteristicLength, const Scalar kinematicViscosity)
Calculate the Reynolds Number [-] (Re).
Definition: dimensionlessnumbers.hh:88
static Scalar prandtlNumber(const Scalar dynamicViscosity, const Scalar heatCapacity, const Scalar thermalConductivity)
Calculate the Prandtl Number [-] (Pr).
Definition: dimensionlessnumbers.hh:118
static Scalar schmidtNumber(const Scalar dynamicViscosity, const Scalar massDensity, const Scalar diffusionCoefficient)
Calculate the Schmidt Number [-] (Sc).
Definition: dimensionlessnumbers.hh:224
static Scalar thermalDiffusivity(const Scalar &thermalConductivity, const Scalar &phaseDensity, const Scalar &heatCapacity)
Calculate the thermal diffusivity alpha [m^2/s].
Definition: dimensionlessnumbers.hh:294
static Scalar sherwoodNumber(const Scalar reynoldsNumber, const Scalar schmidtNumber, SherwoodFormulation formulation)
Calculate the Sherwood Number [-] (Sh).
Definition: dimensionlessnumbers.hh:260