CLEO Constants

Header file: <libs/cleoconstants.hpp> [source]

double dimmed_constants::G = 9.80665

Acceleration due to gravity [m/s^2].

double dimmed_constants::RGAS_UNIV = 8.314462618

Universal molar gas constant [J/Kg/K].

double dimmed_constants::MR_WATER = 0.01801528

Molecular mass of water [Kg/mol].

double dimmed_constants::MR_DRY = 0.028966216

Molecular mass of dry air [Kg/mol].

double dimmed_constants::RGAS_DRY = RGAS_UNIV / MR_DRY

Specific gas constant for dry air [J/Kg/K].

double dimmed_constants::RGAS_V = RGAS_UNIV / MR_WATER

Specific gas constant for water [J/Kg/K].

double dimmed_constants::LATENT_V = 2500930

Specific latent heat of vapourisation of water [J/Kg] (IAPWS97 at 273.15K).

double dimmed_constants::CP_DRY = 1004.64

Specific heat capacity (dry) air at constant pressure [J/Kg/K] ~1.400*cv_dry (ICON).

double dimmed_constants::CP_V = 1865.01

Specific heat capacity of water vapour [J/Kg/K] (IAPWS97 at 273.15K).

double dimmed_constants::C_L = 4192.664

Specific heat capacity of liquid water[J/Kg/K] (ICON c_l = (3.1733 + 1.0) * cp_dry).

double dimmed_constants::RHO_DRY = 1.177

Density of dry air [Kg/m^3] (at 300K).

double dimmed_constants::RHO_L = 998.203

Density of liquid water condensing [kg/m^3] (water at 293K from SCALE-SDM).

double dimmed_constants::DYNVISC = 18.45 * 1e-6

dynamic viscosity of air [Pa s] (at 300K).

double dimmed_constants::RHO_SOL = 2016.5

Density of (dry) areosol [Kg/m^3] (NaCl from SCALE-SDM).

double dimmed_constants::MR_SOL = 0.05844277

Molecular mass of areosol [Kg/mol] (NaCl=0.058 from SCALE-SDM).

int dimmed_constants::IONIC = 2

Degree ionic dissociation (van’t Hoff factor) [dimensionless].

double dimmed_constants::SURFSIGMA = 7.28e-2

Surface tension of water [J/m^-2].

double dimless_constants::W0 = 1.0

Characteristic velocity [m/s].

double dimless_constants::TIME0 = 1000.0

Rimescale [s].

double dimless_constants::COORD0 = TIME0 * W0

Coordinate grid scale [m].

double dimless_constants::VOL0 = COORD0 * COORD0 * COORD0

Volume scale [m^3].

double dimless_constants::CP0 = DC::CP_DRY

Heat capacity [J/Kg/K].

double dimless_constants::MR0 = DC::MR_DRY

Molecular molar mass [Kg/mol].

double dimless_constants::R0 = 1e-6

Droplet radius lengthscale [m].

double dimless_constants::P0 = 100000.0

Pressure [Pa].

double dimless_constants::TEMP0 = 273.15

Temperature [K].

double dimless_constants::RHO0 = P0 / (CP0 * TEMP0)

Density [Kg/m^3].

double dimless_constants::MASS0 = R0 * R0 * R0 * RHO0

Mass [Kg].

double dimless_constants::MASS0grams = MASS0 * 1000

Mass [g].

double dimless_constants::F0 = TIME0 / (RHO0 * R0 * R0)

Droplet condensation-diffusion factors.

double dimless_constants::Mr_ratio = DC::MR_WATER / DC::MR_DRY

Dimensionless molecular mass ratio.

double dimless_constants::Cp_dry = DC::CP_DRY / CP0

Dimensionless CP_DRY.

double dimless_constants::Cp_v = DC::CP_V / CP0

Dimensionless CP_V.

double dimless_constants::C_l = DC::C_L / CP0

Dimensionless C_L.

double dimless_constants::Latent_v = DC::LATENT_V / (TEMP0 * CP0)

Dimensionless LATENT_V.

double dimless_constants::Rgas_dry = DC::RGAS_DRY / CP0

Dimensionless RGAS_DRY.

double dimless_constants::Rgas_v = DC::RGAS_V / CP0

Dimensionless RGAS_V.

double dimless_constants::Rho_dry = DC::RHO_DRY / RHO0

Dimensionless RHO_DRY.

double dimless_constants::Rho_l = DC::RHO_L / RHO0

Dimensionless RHO_L.

double dimless_constants::Rho_sol = DC::RHO_SOL / RHO0

Dimensionless RHO_SOL.

double dimless_constants::Mr_sol = DC::MR_SOL / MR0

Dimensionless MR_SOL.

int dimless_constants::IONIC = DC::IONIC

Dimensionless IONIC.

double dimless_constants::surfconst = 4.0 * DC::SURFSIGMA * std::numbers::pi * R0 * R0

Surface tension energy constant (see collisionkinetics)

unsigned int LIMITVALUES::uintmax = std::numeric_limits<unsigned int>::max()

Max unsigned int.

uint64_t LIMITVALUES::uint64_t_max = std::numeric_limits<uint64_t>::max()

Max 64 byte u-int.

double LIMITVALUES::llim = -1.0 * std::numeric_limits<double>::max()

Maximum negative double.

double LIMITVALUES::ulim = std::numeric_limits<double>::max()

Maximum positive double.