Go to the documentation of this file.
20 #pragma GCC diagnostic push
21 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
48 virtual std::string
fluidName()
const override;
71 using MultiComponentFluidProperties::rho_from_p_T_X;
83 Real & drho_dx)
const override;
86 using MultiComponentFluidProperties::mu_from_p_T_X;
94 Real & dmu_dx)
const override;
101 using MultiComponentFluidProperties::h_from_p_T_X;
109 Real & dh_dx)
const override;
125 Real & de_dx)
const override;
171 static const unsigned int WATER = 0;
172 static const unsigned int NACL = 1;
207 #pragma GCC diagnostic pop
Real haliteSolubility(Real temperature) const
Solubility of halite (solid NaCl) in water Originally from Potter et al., A new method for determinin...
Real _Mh2o
Molar mass of water (H2O) (kg/mol)
Real molarMass(Real xnacl) const
Average molar mass of brine.
Real _Mnacl
Molar mass of NaCl (kg/mol)
BrineFluidProperties(const InputParameters ¶meters)
Real molarMassNaCl() const
NaCl molar mass.
Common class for single phase fluid properties.
virtual Real cp_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
static const unsigned int NACL
InputParameters validParams< BrineFluidProperties >()
const SinglePhaseFluidProperties * _nacl_fp
NaClFluidProperties UserObject.
bool _water_fp_derivs
Flag to indicate whether to calculate derivatives in water_fp.
Common class for multiple component fluid properties using a pressure and temperature formulation.
Real vaporPressure(Real temperature, Real xnacl) const
Brine vapour pressure From Haas, Physical properties of the coexisting phases and thermochemical prop...
Real henryConstant(Real temperature, const std::vector< Real > &coeffs) const
IAPWS formulation of Henry's law constant for dissolution in water (implemented in water FluidPropert...
DualNumber< Real, DNDerivativeSize< 5 > > FPDualReal
static const unsigned int WATER
Fluid component numbers for water and NaCl.
FPDualReal e_from_p_T_X(const FPDualReal &pressure, const FPDualReal &temperature, const FPDualReal &xnacl) const
virtual Real mu_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
virtual const SinglePhaseFluidProperties & getComponent(unsigned int component) const override
Get UserObject for specified component.
Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revi...
Real molarMassH2O() const
H2O molar mass.
virtual ~BrineFluidProperties()
virtual Real rho_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
FPDualReal h_from_p_T_X(const FPDualReal &pressure, const FPDualReal &temperature, const FPDualReal &xnacl) const
virtual Real k_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
const Water97FluidProperties * _water97_fp
Water97FluidProperties UserObject (for Henry's law)
const std::string temperature
virtual std::string fluidName() const override
Fluid name.
Brine (NaCl in H2O) fluid properties as a function of pressure (Pa), temperature (K) and NaCl mass fr...
Real massFractionToMolalConc(Real xnacl) const
Conversion from mass fraction to molal concentration (molality)
Real massFractionToMoleFraction(Real xnacl) const
Conversion from mass fraction to mole fraction.
const SinglePhaseFluidProperties * _water_fp
Water97FluidProperties UserObject.
const std::string pressure