BrineAir Fluidsystem problems
-
vaporPressure does not depend on osmotic potential anymore:
Vishal introduced it like this:
static Scalar vaporPressure_(Scalar T, Scalar x)
{
Scalar p_0 = H2O::vaporPressure(T);//Saturation vapor pressure for pure water
Scalar p_s = p_0; // modified saturation vapor pressure for saline water
// #if SALINIZATION
// Scalar vw = 18.0e-6;//[m3/mol] volume per unit mole of water
// Scalar R = 8.314;//[j/K mol] universal gas constant
// Scalar pi = (R * T * std::log(1- x))/vw;
// if (x > 0.26) // here we have hard coaded the solubility limit for NaCl
// pi = (R * T * std::log(0.74))/vw;
// p_s = p_0 * std::exp((pi*vw)/(R*T));// Kelvin's law for reduction in saturation vapor pressure due to osmotic potential
// #endif
return p_s;
}
Todo: Check if salinity has the desired influence where needed. Do always pass salinity, otherwise constantSalinity is used.