12#ifndef DUMUX_MESITYLENE_HH 
   13#define DUMUX_MESITYLENE_HH 
   30template <
class Scalar>
 
   43    { 
return "mesitylene"; }
 
 
   74        DUNE_THROW(Dune::NotImplemented, 
"tripleTemperature for mesitylene");
 
 
   82        DUNE_THROW(Dune::NotImplemented, 
"triplePressure for mesitylene");
 
 
   98        const Scalar T = temperature - 273.15;
 
  101        return 100 * 1.334 * pow(
Scalar(10.0), 
Scalar(A - (B / (T + C))));
 
 
  127        const Scalar sqrt1over3 = sqrt(1./3.);
 
  129        const Scalar TEval1 = 0.5*(temperature-273.15)*        sqrt1over3 + 0.5*(273.15+temperature);
 
  131        const Scalar TEval2 = 0.5*(temperature-273.15)* (-1)*  sqrt1over3 + 0.5*(273.15+temperature);
 
 
  152        temperature = max(temperature, 0.0); 
 
  160        const Scalar DH_v_boil = 
Consts::R * T_crit * Tr1 * (3.978 * Tr1 - 3.958 + 1.555*log(p_crit * 1e-5  ) )
 
  167        const Scalar DH_vap = DH_v_boil * pow(((1.0 - Tr2)/(1.0 - Tr1)), n);
 
 
  233        temperature = min(temperature, 500.0); 
 
  234        temperature = max(temperature, 250.0);
 
  236        const Scalar Z_RA = 0.2556; 
 
 
  273        temperature = min(temperature, 500.0); 
 
  274        temperature = max(temperature, 250.0);
 
  285            Fp0*(0.807*pow(Tr,0.618)
 
  286                 - 0.357*exp(-0.449*Tr)
 
  287                 + 0.34*exp(-4.058*Tr)
 
  290        return eta_xi/xi/1e7; 
 
 
  303        temperature = min(temperature, 500.0); 
 
  304        temperature = max(temperature, 250.0);
 
  310        return exp(A + B/temperature)*1e-3; 
 
 
  329        if(temperature<298.) {
 
  331            H = 13.4+1.2*(temperature-273.0)/25.;       
 
  332            CH3 = 40.0+1.6*(temperature-273.0)/25.;     
 
  333            C6H5 = 113.0+4.2*(temperature-273.0)/25.;   
 
  335        else if((temperature>=298.0)&&(temperature<323.)){ 
 
  336            H = 14.6+0.9*(temperature-298.0)/25.;
 
  337            CH3 = 41.6+1.9*(temperature-298.0)/25.;
 
  338            C6H5 = 117.2+6.2*(temperature-298.0)/25.;
 
  340        else if((temperature>=323.0)&&(temperature<348.)){
 
  341            H = 15.5+1.2*(temperature-323.0)/25.;
 
  342            CH3 = 43.5+2.3*(temperature-323.0)/25.;
 
  343            C6H5 = 123.4+6.3*(temperature-323.0)/25.;
 
  346            assert(temperature>=348.0);
 
  349            H = 16.7+2.1*(temperature-348.0)/25.;          
 
  350            CH3 = 45.8+2.5*(temperature-348.0)/25.;
 
  351            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:46
Scalar Scalar
Definition components/base.hh:50
Interface for components that have a gas state.
Definition gas.hh:28
Interface for components that have a liquid state.
Definition liquid.hh:28
mesitylene
Definition mesitylene.hh:35
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of mesitylene in , depending on pressure and temperature.
Definition mesitylene.hh:206
static constexpr Scalar boilingTemperature()
Returns the temperature  at mesitylene's boiling point (1 atm).
Definition mesitylene.hh:66
static Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of mesitylene vapor .
Definition mesitylene.hh:182
static constexpr Scalar criticalTemperature()
Returns the critical temperature  of mesitylene.
Definition mesitylene.hh:54
static constexpr Scalar criticalPressure()
Returns the critical pressure  of mesitylene.
Definition mesitylene.hh:60
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition mesitylene.hh:248
static Scalar liquidHeatCapacity(const Scalar temperature, const Scalar pressure)
Specific heat capacity of liquid mesitylene .
Definition mesitylene.hh:322
static std::string name()
A human readable name for the mesitylene.
Definition mesitylene.hh:42
static Scalar liquidMolarDensity(Scalar temperature, Scalar pressure)
The molar density of pure mesitylene at a given pressure and temperature .
Definition mesitylene.hh:229
static constexpr Scalar molarMass()
The molar mass in  of mesitylene.
Definition mesitylene.hh:48
static Scalar liquidThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity  of mesitylene.
Definition mesitylene.hh:365
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity  of mesitylene vapor.
Definition mesitylene.hh:269
static Scalar vaporPressure(Scalar temperature)
The saturation vapor pressure in  of pure mesitylene at a given temperature according to Antoine afte...
Definition mesitylene.hh:92
static constexpr bool liquidIsCompressible()
Returns true if the liquid phase is assumed to be compressible.
Definition mesitylene.hh:260
static Scalar gasDensity(Scalar temperature, Scalar pressure)
The density of mesitylene at a given pressure and temperature  .
Definition mesitylene.hh:193
static Scalar liquidEnthalpy(const Scalar temperature, const Scalar pressure)
Specific enthalpy of liquid mesitylene .
Definition mesitylene.hh:111
static Scalar liquidDensity(Scalar temperature, Scalar pressure)
The density of pure mesitylene at a given pressure and temperature .
Definition mesitylene.hh:215
static Scalar heatVap(Scalar temperature, const Scalar pressure)
Latent heat of vaporization for mesitylene .
Definition mesitylene.hh:146
static Scalar tripleTemperature()
Returns the temperature  at mesitylene's triple point.
Definition mesitylene.hh:72
static Scalar triplePressure()
Returns the pressure  at mesitylene's triple point.
Definition mesitylene.hh:80
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition mesitylene.hh:254
static Scalar liquidViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity  of pure mesitylene.
Definition mesitylene.hh:299
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.