12#ifndef DUMUX_MESITYLENE_HH
13#define DUMUX_MESITYLENE_HH
31template <
class Scalar>
44 {
return "mesitylene"; }
75 DUNE_THROW(Dune::NotImplemented,
"tripleTemperature for mesitylene");
83 DUNE_THROW(Dune::NotImplemented,
"triplePressure for mesitylene");
99 const Scalar T = temperature - 273.15;
102 return 100 * 1.334 * pow(
Scalar(10.0),
Scalar(A - (B / (T + C))));
128 const Scalar sqrt1over3 = sqrt(1./3.);
130 const Scalar TEval1 = 0.5*(temperature-273.15)* sqrt1over3 + 0.5*(273.15+temperature);
132 const Scalar TEval2 = 0.5*(temperature-273.15)* (-1)* sqrt1over3 + 0.5*(273.15+temperature);
153 temperature = max(temperature, 0.0);
161 const Scalar DH_v_boil =
Consts::R * T_crit * Tr1 * (3.978 * Tr1 - 3.958 + 1.555*log(p_crit * 1e-5 ) )
168 const Scalar DH_vap = DH_v_boil * pow(((1.0 - Tr2)/(1.0 - Tr1)), n);
234 temperature = min(temperature, 500.0);
235 temperature = max(temperature, 250.0);
237 const Scalar Z_RA = 0.2556;
274 temperature = min(temperature, 500.0);
275 temperature = max(temperature, 250.0);
286 Fp0*(0.807*pow(Tr,0.618)
287 - 0.357*exp(-0.449*Tr)
288 + 0.34*exp(-4.058*Tr)
291 return eta_xi/xi/1e7;
304 temperature = min(temperature, 500.0);
305 temperature = max(temperature, 250.0);
311 return exp(A + B/temperature)*1e-3;
330 if(temperature<298.) {
332 H = 13.4+1.2*(temperature-273.0)/25.;
333 CH3 = 40.0+1.6*(temperature-273.0)/25.;
334 C6H5 = 113.0+4.2*(temperature-273.0)/25.;
336 else if((temperature>=298.0)&&(temperature<323.)){
337 H = 14.6+0.9*(temperature-298.0)/25.;
338 CH3 = 41.6+1.9*(temperature-298.0)/25.;
339 C6H5 = 117.2+6.2*(temperature-298.0)/25.;
341 else if((temperature>=323.0)&&(temperature<348.)){
342 H = 15.5+1.2*(temperature-323.0)/25.;
343 CH3 = 43.5+2.3*(temperature-323.0)/25.;
344 C6H5 = 123.4+6.3*(temperature-323.0)/25.;
347 assert(temperature>=348.0);
350 H = 16.7+2.1*(temperature-348.0)/25.;
351 CH3 = 45.8+2.5*(temperature-348.0)/25.;
352 C6H5 = 129.7+6.3*(temperature-348.0)/25.;
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition components/base.hh:47
Scalar Scalar
export the scalar type used by the component
Definition components/base.hh:51
Interface for components that have a gas state.
Definition gas.hh:29
Interface for components that have a liquid state.
Definition liquid.hh:29
mesitylene
Definition mesitylene.hh:36
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of mesitylene in , depending on pressure and temperature.
Definition mesitylene.hh:207
static constexpr Scalar boilingTemperature()
Returns the temperature at mesitylene's boiling point (1 atm).
Definition mesitylene.hh:67
static Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of mesitylene vapor .
Definition mesitylene.hh:183
static constexpr Scalar criticalTemperature()
Returns the critical temperature of mesitylene.
Definition mesitylene.hh:55
static constexpr Scalar criticalPressure()
Returns the critical pressure of mesitylene.
Definition mesitylene.hh:61
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition mesitylene.hh:249
static Scalar liquidHeatCapacity(const Scalar temperature, const Scalar pressure)
Specific heat capacity of liquid mesitylene .
Definition mesitylene.hh:323
static std::string name()
A human readable name for the mesitylene.
Definition mesitylene.hh:43
static Scalar liquidMolarDensity(Scalar temperature, Scalar pressure)
The molar density of pure mesitylene at a given pressure and temperature .
Definition mesitylene.hh:230
static constexpr Scalar molarMass()
The molar mass in of mesitylene.
Definition mesitylene.hh:49
static Scalar liquidThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity of mesitylene.
Definition mesitylene.hh:366
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of mesitylene vapor.
Definition mesitylene.hh:270
static Scalar vaporPressure(Scalar temperature)
The saturation vapor pressure in of pure mesitylene at a given temperature according to Antoine afte...
Definition mesitylene.hh:93
static constexpr bool liquidIsCompressible()
Returns true if the liquid phase is assumed to be compressible.
Definition mesitylene.hh:261
static Scalar gasDensity(Scalar temperature, Scalar pressure)
The density of mesitylene at a given pressure and temperature .
Definition mesitylene.hh:194
static Scalar liquidEnthalpy(const Scalar temperature, const Scalar pressure)
Specific enthalpy of liquid mesitylene .
Definition mesitylene.hh:112
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
The density of pure mesitylene at a given pressure and temperature .
Definition mesitylene.hh:216
static Scalar heatVap(Scalar temperature, const Scalar pressure)
Latent heat of vaporization for mesitylene .
Definition mesitylene.hh:147
static Scalar tripleTemperature()
Returns the temperature at mesitylene's triple point.
Definition mesitylene.hh:73
static Scalar triplePressure()
Returns the pressure at mesitylene's triple point.
Definition mesitylene.hh:81
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition mesitylene.hh:255
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of pure mesitylene.
Definition mesitylene.hh:300
A central place for various physical constants occurring in some equations.
Definition constants.hh:27
static constexpr Scalar R
The ideal gas constant .
Definition constants.hh:32
Relations valid for an ideal gas.
Definition idealgas.hh:25
static constexpr Scalar density(Scalar avgMolarMass, Scalar temperature, Scalar pressure)
The density of the gas in , depending on pressure, temperature and average molar mass of the gas.
Definition idealgas.hh:37
static constexpr Scalar molarDensity(Scalar temperature, Scalar pressure)
The molar density of the gas , depending on pressure and temperature.
Definition idealgas.hh:58
Base class for all components Components provide the thermodynamic relations for the liquid,...
A central place for various physical constants occurring in some equations.
Interface for components that have a gas state.
Relations valid for an ideal gas.
Interface for components that have a liquid state.