24#ifndef DUMUX_MESITYLENE_HH
25#define DUMUX_MESITYLENE_HH
43template <
class Scalar>
56 {
return "mesitylene"; }
87 DUNE_THROW(Dune::NotImplemented,
"tripleTemperature for mesitylene");
95 DUNE_THROW(Dune::NotImplemented,
"triplePressure for mesitylene");
108 const Scalar B = 1571.005;
111 const Scalar T = temperature - 273.15;
114 return 100 * 1.334 * pow(
Scalar(10.0),
Scalar(A - (B / (T + C))));
140 const Scalar sqrt1over3 = sqrt(1./3.);
142 const Scalar TEval1 = 0.5*(temperature-273.15)* sqrt1over3 + 0.5*(273.15+temperature);
144 const Scalar TEval2 = 0.5*(temperature-273.15)* (-1)* sqrt1over3 + 0.5*(273.15+temperature);
165 temperature = max(temperature, 0.0);
173 const Scalar DH_v_boil =
Consts::R * T_crit * Tr1 * (3.978 * Tr1 - 3.958 + 1.555*log(p_crit * 1e-5 ) )
180 const Scalar DH_vap = DH_v_boil * pow(((1.0 - Tr2)/(1.0 - Tr1)), n);
246 temperature = min(temperature, 500.0);
247 temperature = max(temperature, 250.0);
249 const Scalar Z_RA = 0.2556;
287 temperature = min(temperature, 500.0);
288 temperature = max(temperature, 250.0);
299 Fp0*(0.807*pow(Tr,0.618)
300 - 0.357*exp(-0.449*Tr)
301 + 0.34*exp(-4.058*Tr)
304 return eta_xi/xi/1e7;
317 temperature = min(temperature, 500.0);
318 temperature = max(temperature, 250.0);
324 return exp(A + B/temperature)*1e-3;
343 if(temperature<298.) {
345 H = 13.4+1.2*(temperature-273.0)/25.;
346 CH3 = 40.0+1.6*(temperature-273.0)/25.;
347 C6H5 = 113.0+4.2*(temperature-273.0)/25.;
349 else if((temperature>=298.0)&&(temperature<323.)){
350 H = 14.6+0.9*(temperature-298.0)/25.;
351 CH3 = 41.6+1.9*(temperature-298.0)/25.;
352 C6H5 = 117.2+6.2*(temperature-298.0)/25.;
354 else if((temperature>=323.0)&&(temperature<348.)){
355 H = 15.5+1.2*(temperature-323.0)/25.;
356 CH3 = 43.5+2.3*(temperature-323.0)/25.;
357 C6H5 = 123.4+6.3*(temperature-323.0)/25.;
360 assert(temperature>=348.0);
363 H = 16.7+2.1*(temperature-348.0)/25.;
364 CH3 = 45.8+2.5*(temperature-348.0)/25.;
365 C6H5 = 129.7+6.3*(temperature-348.0)/25.;
Interface for components that have a gas state.
Interface for components that have a liquid state.
A central place for various physical constants occuring in some equations.
Relations valid for an ideal gas.
make the local view function available whenever we use the grid geometry
Definition adapt.hh:29
Definition components/base.hh:47
Scalar Scalar
Definition components/base.hh:51
Interface for components that have a gas state.
Definition gas.hh:41
Interface for components that have a liquid state.
Definition liquid.hh:41
mesitylene
Definition mesitylene.hh:48
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of mesitylene in , depending on pressure and temperature.
Definition mesitylene.hh:219
static constexpr Scalar boilingTemperature()
Returns the temperature at mesitylene's boiling point (1 atm).
Definition mesitylene.hh:79
static Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of mesitylene vapor .
Definition mesitylene.hh:195
static constexpr Scalar criticalTemperature()
Returns the critical temperature of mesitylene.
Definition mesitylene.hh:67
static constexpr Scalar criticalPressure()
Returns the critical pressure of mesitylene.
Definition mesitylene.hh:73
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition mesitylene.hh:261
static Scalar liquidHeatCapacity(const Scalar temperature, const Scalar pressure)
Specific heat capacity of liquid mesitylene .
Definition mesitylene.hh:336
static std::string name()
A human readable name for the mesitylene.
Definition mesitylene.hh:55
static Scalar liquidMolarDensity(Scalar temperature, Scalar pressure)
The molar density of pure mesitylene at a given pressure and temperature .
Definition mesitylene.hh:242
static constexpr Scalar molarMass()
The molar mass in of mesitylene.
Definition mesitylene.hh:61
static Scalar liquidThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity of mesitylene.
Definition mesitylene.hh:379
static Scalar vaporPressure(Scalar temperature)
The saturation vapor pressure in of pure mesitylene at a given temperature according to Antoine afte...
Definition mesitylene.hh:105
static constexpr bool liquidIsCompressible()
Returns true if the liquid phase is assumed to be compressible.
Definition mesitylene.hh:273
static Scalar gasDensity(Scalar temperature, Scalar pressure)
The density of mesitylene at a given pressure and temperature .
Definition mesitylene.hh:206
static Scalar liquidEnthalpy(const Scalar temperature, const Scalar pressure)
Specific enthalpy of liquid mesitylene .
Definition mesitylene.hh:124
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
The density of pure mesitylene at a given pressure and temperature .
Definition mesitylene.hh:228
static Scalar heatVap(Scalar temperature, const Scalar pressure)
Latent heat of vaporization for mesitylene .
Definition mesitylene.hh:159
static Scalar tripleTemperature()
Returns the temperature at mesitylene's triple point.
Definition mesitylene.hh:85
static Scalar triplePressure()
Returns the pressure at mesitylene's triple point.
Definition mesitylene.hh:93
static Scalar gasViscosity(Scalar temperature, Scalar pressure, bool regularize=true)
The dynamic viscosity of mesitylene vapor.
Definition mesitylene.hh:283
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition mesitylene.hh:267
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of pure mesitylene.
Definition mesitylene.hh:313
A central place for various physical constants occuring in some equations.
Definition constants.hh:39
static constexpr Scalar R
The ideal gas constant .
Definition constants.hh:44
Relations valid for an ideal gas.
Definition idealgas.hh:37
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:49
static constexpr Scalar molarDensity(Scalar temperature, Scalar pressure)
The molar density of the gas , depending on pressure and temperature.
Definition idealgas.hh:70
Base class for all components Components provide the thermodynamic relations for the liquid,...