packageCharacteristic

Package of thermodynamic and diffusive properties

Extends from CharacteristicEOS (Base thermodynamic package with only the p-v-T relations).

Information

This package is compatible with NASA CEA thermodynamic data [McBride2002] and the virial equation of state [Dymond2002].

Notes regarding the constants:

  • Currently, formula may not contain parentheses or brackets.
  • d is the Van der Waals diameter or the diameter for the rigid-sphere ("billiard-ball") approximation of the kinetic theory of gases [Present1958].
  • bc: The rows give the coefficients for the temperature intervals bounded by the values in Tlim c. The powers of T increase by column. By default, the powers of T for the first column are each -2, which corresponds to [McBride2002]. In that case, the dimensionalities of the coefficients are {L4.M2/(N2.T4), L2.M/(N.T2), 1, …} for each row, where L is length, M is mass, N is particle number, and T is time. (In FCSys, temperature is a potential with dimension L2.M/(N.T2); see the Units package.)
  • Bc: As in bc, the rows correspond to different temperature intervals. The first column is for specific enthalpy and has dimensionality L2.M/(N.T2). The second is for specific entropy and is dimensionless. The integration constants for enthalpy are defined such that the enthalpy at 25 °C is the specific enthalpy of formation at that temperature and reference pressure [McBride2002, p. 2]. The integration constants for specific entropy are defined such that specific entropy is absolute.
  • Tlim c: The first and last entries are the minimum and maximum valid temperatures. The intermediate entries are the thresholds between rows of bc (and Bc). Therefore, if there are n temperature intervals (and rows in bc and Bc), then Tlim c must have n + 1 entries.
  • The reference pressure is po. In the NASA CEA data [McBride2002], it is 1 bar for gases and 1 atm for condensed species. For gases, the reference state is the ideal gas at po. For example, the enthalpy of a non-ideal (real) gas at 25 °C and po with ReferenceEnthalpy.zeroAt25degC is not exactly zero.
  • If the material is gaseous (phase == Phase.gas), then the first virial coefficient must be independent of temperature. Otherwise, the function for specific enthalpy (h) will be ill-posed. Typically, the first virial coefficient is one (or equivalently U.R), which satisfies this requirement.

Parameters

TypeNameDefaultDescription
Q.PressureAbsolutep0 (from CharacteristicEOS)U.bar<html>Reference pressure (<i>p</i><sup>o</sup>)</html>
Integer[2]n_v (from CharacteristicEOS){-1, 0}<html>Powers of <i>p</i>/<i>T</i> and <i>T</i> for 1<sup>st</sup> row and column of <i>b</i><sub><i>v</i></sub> (<i>n</i><sub><i>v</i></sub>)</html>
Real[:,:]b_v (from CharacteristicEOS)[1]<html>Coefficients for specific volume as a polynomial in <i>p</i>/<i>T</i> and <i>T</i> (<i>b</i><sub><i>v</i></sub>)</html>
BooleanisCompressible (from CharacteristicEOS)anyTrue({anyTrue({abs(b_v[i, j]) > Modelica.Constants.small and n_v[1] + i - 1 <> 0 for i in 1:size(b_v, 1)}) for j in 1:size(b_v, 2)})<html><code>true</code>, if density depends on pressure</html>
BooleanhasThermalExpansion (from CharacteristicEOS)anyTrue({anyTrue({abs(b_v[i, j]) > Modelica.Constants.small and n_v[2] + j - n_v[1] - i <> 0 for i in 1:size(b_v, 1)}) for j in 1:size(b_v, 2)})<html><code>true</code>, if density depends on temperature</html>
StringformulaChemical formula
PhasephaseMaterial phase
Q.MassSpecificmSpecific mass
Q.LengthSpecificdSpecific diameter
Integerzcharge(formula)Charge number
ReferenceEnthalpyreferenceEnthalpyReferenceEnthalpy.enthalpyOfFormationAt25degCChoice of enthalpy reference
Q.PotentialChemicalDeltah0_f<html>Enthalpy of formation at 298.15 K, <i>p</i><sup>o</sup> (&Delta;<i>h</i><sup>o</sup><sub>f</sub>)</html>
Q.PotentialChemicalDeltah0<html><i>h</i><sup>o</sup>(298.15 K) - <i>h</i><sup>o</sup>(0 K) (&Delta;<i>h</i><sup>o</sup>)</html>
Q.PotentialChemicalh_offset0<html>Additional enthalpy offset (<i>h</i><sub>offset</sub>)</html>
Integern_c-2<html>Power of <i>T</i> for 1<sup>st</sup> column of <i>b</i><sub><i>c</i></sub> (<i>n</i><sub><i>c</i></sub>)</html>
Q.TemperatureAbsolute[:]T_lim_c{0, Modelica.Constants.inf}<html>Temperature limits for the rows of <i>b</i><sub><i>c</i></sub> and <i>B</i><sub><i>c</i></sub> (<i>T</i><sub>lim <i>c</i></sub>)</html>
Real[size(T_lim_c, 1) - 1,:]b_c<html>Coefficients of isobaric specific heat capacity at <i>p</i><sup>o</sup> as a polynomial in <i>T</i> (<i>b</i><sub><i>c</i></sub>)</html>
Real[size(T_lim_c, 1) - 1,2]B_c<html>Integration constants for specific enthalpy and entropy (<i>B</i><sub><i>c</i></sub>)</html>

Contents

NameDescription
omegaprotectedRoot mean square of thermal velocity in one dimension as a function of temperature (ω = √ T/m )
c_pIsobaric specific heat capacity (cp) as a function of temperature and pressure
c_vIsochoric specific heat capacity (cv) as a function of temperature and pressure
DDiffusivity as a function of temperature and specific volume
gGibbs potential as a function of temperature and pressure
hSpecific enthalpy as a function of temperature and pressure
sSpecific entropy as a function of temperature and pressure
zetaContinuity (ζ) as a function of temperature
etaFluidity (η) as a function of temperature
thetaThermal resistivity (θ) as a function of temperature and specific volume
tauprimePhase change interval (τ′) as a function of temperature and specific volume
muMobility (μ) as a function of temperature and specific volume
nuThermal independity (ν) as a function of temperature and specific volume