List of constants
Universal physical constants
-
constexpr double AVOGADRO_CONSTANT = 6.022141994747e+23
Avogadro constant [1/mol].
-
constexpr double BOLTZMANN_CONSTANT = 1.38065032424e-23
Boltzmann constant [J/K].
-
constexpr double MOLAR_GAS_CONSTANT = 8.314459848
Molar gas constant [J/mol/K].
-
constexpr double SPEED_OF_LIGHT_IN_VACUUM = 2.9979245811e+8
Speed of light in vacuum [m/s].
-
constexpr double STANDARD_ACCELERATION_OF_GRAVITY = 9.80665
Standard acceleration of gravity [m/s2].
-
constexpr double STANDARD_CONDITION_T = 298.15
Standard condition temperature [K].
-
constexpr double STANDARD_CONDITION_P = 101325
Standard condition pressure [Pa].
-
constexpr double STEFAN_BOLTZMANN_CONSTANT = 5.670374419e-8
Stefan-Boltzmann constant [W/m2/K4].
-
constexpr double MATH_PI = 3.14159265358979323846
\(\pi\) constant.
Dyssol constants
-
enum class EUnitPort : uint32_t
Types of unit ports.
Values:
-
enumerator INPUT
Input port.
-
enumerator OUTPUT
Output port.
-
enumerator UNDEFINED
Undefined.
-
enumerator INPUT
-
enum class EUnitParameter : uint8_t
Types of unit parameters.
Values:
-
enumerator UNKNOWN
Type is undefined.
-
enumerator TIME_DEPENDENT
Time-dependent unit parameter.
-
enumerator CONSTANT
Real constant unit parameter.
-
enumerator STRING
String unit parameter.
-
enumerator CHECKBOX
Check box unit parameter.
-
enumerator SOLVER
Solver unit parameter.
-
enumerator COMBO
Combo-box unit parameter.
-
enumerator GROUP
Combo-box unit parameter.
-
enumerator COMPOUND
Compound unit parameter.
-
enumerator CONSTANT_DOUBLE
Real constant unit parameter.
-
enumerator CONSTANT_INT64
Signed integer constant unit parameter.
-
enumerator CONSTANT_UINT64
Unsigned integer constant unit parameter.
-
enumerator REACTION
Reaction unit parameter.
-
enumerator LIST_DOUBLE
List of real unit parameters.
-
enumerator LIST_INT64
List of signed integer unit parameters.
-
enumerator LIST_UINT64
List of unsigned integer unit parameters.
-
enumerator MDB_COMPOUND
Compound from the materials database.
-
enumerator PARAM_DEPENDENT
Dependent unit parameter.
-
enumerator UNKNOWN
-
enum class EPhase : uint32_t
Identifiers of phase types.
Values:
-
enumerator UNDEFINED
Type is undefined.
-
enumerator SOLID
Solid phase.
-
enumerator LIQUID
Liquid phase.
-
enumerator VAPOR
Gas phase.
-
enumerator GAS
Gas phase.
-
enumerator UNDEFINED
-
enum EDistrTypes
Types of distributed properties of the solid phase.
Values:
-
enumerator DISTR_COMPOUNDS
Distribution by compounds.
-
enumerator DISTR_SIZE
Distribution by particle size.
-
enumerator DISTR_PART_POROSITY
Distribution by porosity.
-
enumerator DISTR_FORM_FACTOR
Distribution by form factor.
-
enumerator DISTR_COLOR
Distribution by color.
-
enumerator DISTR_MOISTURE
Distribution by moisture.
-
enumerator DISTR_USER_DEFINED_01
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_02
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_03
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_04
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_05
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_06
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_07
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_08
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_09
User-defined distribution.
-
enumerator DISTR_USER_DEFINED_10
User-defined distribution.
-
enumerator DISTR_UNDEFINED
Distribution type is undefined.
-
enumerator DISTR_COMPOUNDS
-
enum class EGridEntry : uint32_t
Types of grid entries for distributed properties of the solid phase.
Values:
-
enumerator GRID_NUMERIC
Numeric grid.
-
enumerator GRID_SYMBOLIC
Symbolic grid.
-
enumerator GRID_UNDEFINED
Grid type is undefined.
-
enumerator GRID_NUMERIC
-
enum ECompoundConstProperties
Identifiers of constant material properties.
Values:
-
enumerator CONST_PROP_NO_PROERTY
Undefined.
-
enumerator CRITICAL_PRESSURE
Critical pressure [Pa].
-
enumerator CRITICAL_TEMPERATURE
Critical temperature [K].
-
enumerator HEAT_OF_FUSION_AT_NORMAL_FREEZING_POINT
Heat of fusion at normal freezing point [J/mol].
-
enumerator HEAT_OF_VAPORIZATION_AT_NORMAL_BOILING_POINT
Heat of vaporization at normal freezing point [J/mol].
-
enumerator MOLAR_MASS
Molar mass [kg/mol].
-
enumerator NORMAL_BOILING_POINT
Normal boiling point [K].
-
enumerator NORMAL_FREEZING_POINT
Normal freezing point [K].
-
enumerator STANDARD_FORMATION_ENTHALPY
Standard enthalpy of formation [J/mol].
-
enumerator BOND_WORK_INDEX
Bond work index [kWh/t].
-
enumerator SOA_AT_NORMAL_CONDITIONS
State of aggregation at normal conditions [-].
-
enumerator CONST_PROP_USER_DEFINED_01
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_02
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_03
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_04
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_05
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_06
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_07
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_08
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_09
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_10
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_11
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_12
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_13
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_14
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_15
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_16
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_17
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_18
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_19
User-defined constant property.
-
enumerator CONST_PROP_USER_DEFINED_20
User-defined constant property.
-
enumerator CONST_PROP_NO_PROERTY
-
enum ECompoundTPProperties
Identifiers of temperature/pressure-dependent properties.
Values:
-
enumerator TP_PROP_NO_PROERTY
Undefined.
-
enumerator HEAT_CAPACITY_CP
Heat capacity [J/(kg·K)].
-
enumerator ENTHALPY
Enthalpy [J/kg].
-
enumerator THERMAL_CONDUCTIVITY
Thermal conductivity [W/(m·K)].
-
enumerator EQUILIBRIUM_MOISTURE_CONTENT
Equilibrium moisture content [kg/kg].
-
enumerator VAPOR_PRESSURE
Vapor pressure [Pa].
-
enumerator VISCOSITY
Dynamic viscosity [Pa·s].
-
enumerator DENSITY
Density [kg/m3].
-
enumerator PERMITTIVITY
Permittivity [F/m].
-
enumerator MASS_DIFFUSION_COEFFICIENT
Mass diffusion Coefficient [m2/s].
-
enumerator TP_PROP_USER_DEFINED_01
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_02
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_03
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_04
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_05
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_06
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_07
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_08
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_09
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_10
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_11
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_12
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_13
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_14
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_15
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_16
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_17
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_18
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_19
User-defined dependent property.
-
enumerator TP_PROP_USER_DEFINED_20
User-defined dependent property.
-
enumerator TP_PROP_NO_PROERTY
-
enum EInteractionProperties
Identifiers of properties, defined for interaction of two compounds.
Values:
-
enumerator INT_PROP_NO_PROERTY
Undefined.
-
enumerator INTERFACE_TENSION
Interface tension [N/m].
-
enumerator INT_PROP_USER_DEFINED_01
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_02
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_03
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_04
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_05
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_06
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_07
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_08
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_09
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_10
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_11
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_12
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_13
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_14
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_15
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_16
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_17
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_18
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_19
User-defined interaction property.
-
enumerator INT_PROP_USER_DEFINED_20
User-defined interaction property.
-
enumerator INT_PROP_NO_PROERTY
-
enum class EOverall : uint32_t
Identifiers of time-dependent overall properties.
Values:
-
enumerator OVERALL_MASS
Overall mass or mass flow.
-
enumerator OVERALL_TEMPERATURE
Overall temperature.
-
enumerator OVERALL_PRESSURE
Overall pressure.
-
enumerator OVERALL_USER_DEFINED_01
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_02
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_03
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_04
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_05
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_06
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_07
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_08
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_09
User-defined overall property.
-
enumerator OVERALL_USER_DEFINED_10
User-defined overall property.
-
enumerator OVERALL_MASS
-
enum EPSDTypes
Identifiers of PSD types.
Note
\(i\) - index of size classes
\(j\) - index of compounds
\(k\) - index of porosities
\(d_i\) - particle diameter of class \(i\)
\(\Delta d_i\) - size of the class \(i\)
\(m_i\) - mass of particles of class \(i\)
\(M_{tot}\) - total mass of particles
\(N_i\) - number of particles of class \(i\)
\(N_{i,j}\) - number of particles of compound \(j\) of size class \(i\)
\(N_{tot}\) - total number of particles
\(w_i\) - mass fraction of particles of class \(i\)
\(w_{i,j}\) - mass fraction of particles of compound \(j\) of size class \(i\)
\(w_{i,j,k}\) - mass fraction of particles of compound \(j\) of size class \(i\) and porosity \(k\)
\(\rho_{j}\) - density of compound \(j\)
\(\varepsilon_{k}\) - porosity of class \(k\)
\(q_0\) - number-related density distribution
\(Q_0\) - number-related cumulative distribution
\(q_2\) - surface-related density distribution
\(Q_2\) - surface-related cumulative distribution
\(q_3\) - mass-related density distribution
\(Q_3\) - mass-related cumulative distribution
Values:
-
enumerator PSD_q3
Mass-related density distribution: \(q_{3,i} = \frac{w_i}{\Delta d_i}\).
-
enumerator PSD_Q3
Mass-related cumulative distribution: \(Q_{3,0} = w_0\), \(Q_{3,i} = Q_{3,i-1} + w_i\).
-
enumerator PSD_q0
Number-related density distribution: \(q_{0,i} = \frac{N_i}{N_{tot} \Delta d_i}\).
-
enumerator PSD_Q0
Number-related cumulative distribution: \(Q_{0,i} = Q_{0,i-1} + q_{0,i} \Delta d_i\).
-
enumerator PSD_MassFrac
Size distribution in the form of mass fractions with the total sum of 1.
-
enumerator PSD_Number
Number-related distribution of particles, depends on several conditions:
If only one compound is specified: \(N_i = \frac{m_i}{\rho \frac{\pi}{6} d_i^3}\).
For several compounds: \(N_i = \sum_j \frac{M_{tot} w_{i,j}}{\frac{\pi d_i^3}{6} \rho_j}\).
If distribution by particle porosity defined: \(N_i = \sum_j N_{i,j}\), with \(N_{i, j} = \sum_k \frac{M_{tot} w_{i,j,k}}{\frac{\pi d_i^3}{6} \rho_j (1 - \varepsilon_k)}\).
-
enumerator PSD_q2
Surface-area-related density distribution: \(q_{2,i} = \frac{Q_{2,i} - Q_{2,i-1}}{\Delta d_i}\).
-
enumerator PSD_Q2
Surface-area-related cumulative distribution: \(Q_{2,i} = \frac{\sum_{j=0}^i N_j \pi d_j^2}{\sum_j N_j \pi d_j^2}\).