functionrayleigh
Rayleigh number with smooth transition to lower limit
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function returns the Rayleigh number. The parameterRaMin is used to transition
to a lower limit for the Rayleigh number.
This is helpful to avoid a Rayleigh number of zero or
to avoid an expression for a convection coefficient that
has an infinite derivative near zero, i.e., if h=f(Ra(1/2)).Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length | x | Layer thickness | |
| Modelica.Units.SI.Density | rho | Mass density | |
| Modelica.Units.SI.SpecificHeatCapacity | c_p | Specific heat capacity | |
| Modelica.Units.SI.DynamicViscosity | mu | Dynamic viscosity | |
| Modelica.Units.SI.ThermalConductivity | k | Thermal conductivity | |
| Modelica.Units.SI.Temperature | T_a | Temperature of surface a | |
| Modelica.Units.SI.Temperature | T_b | Temperature of surface b | |
| Real | Ra_min | Minimum value for Rayleigh number |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Ra | Rayleigh number |
Revisions
-
May 21, 2015, by Michael Wetter:
Reformulated to reduce use of the division macro in Dymola. This is for issue 417. -
July 2, 2013, by Michael Wetter:
Renamed function fromraleightorayleigh. -
August 18 2010, by Michael Wetter:
First implementation.