15#pragma GCC diagnostic push
16#pragma GCC diagnostic ignored "-Woverloaded-virtual"
45 virtual std::string
fluidName()
const override;
67 virtual Real
rho_from_p_T_X(Real pressure, Real temperature, Real xnacl)
const override;
68 using MultiComponentFluidProperties::rho_from_p_T_X;
80 Real & drho_dx)
const override;
82 virtual Real
mu_from_p_T_X(Real pressure, Real temperature, Real xnacl)
const override;
83 using MultiComponentFluidProperties::mu_from_p_T_X;
91 Real & dmu_dx)
const override;
97 virtual Real
h_from_p_T_X(Real pressure, Real temperature, Real xnacl)
const override;
98 using MultiComponentFluidProperties::h_from_p_T_X;
106 Real & dh_dx)
const override;
108 virtual Real
cp_from_p_T_X(Real pressure, Real temperature, Real xnacl)
const override;
114 virtual Real
e_from_p_T_X(Real pressure, Real temperature, Real xnacl)
const override;
122 Real & de_dx)
const override;
124 virtual Real
k_from_p_T_X(Real pressure, Real temperature, Real xnacl)
const override;
162 Real
henryConstant(Real temperature,
const std::vector<Real> & coeffs)
const;
164 henryConstant(Real temperature,
const std::vector<Real> & coeffs, Real & Kh, Real & dKh_dT)
const;
168 static const unsigned int WATER = 0;
169 static const unsigned int NACL = 1;
204#pragma GCC diagnostic pop
DualNumber< Real, DNDerivativeType, true > ADReal
DualNumber< Real, DNDerivativeSize< 5 > > FPADReal
Brine (NaCl in H2O) fluid properties as a function of pressure (Pa), temperature (K) and NaCl mass fr...
virtual Real mu_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
virtual Real rho_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
Real massFractionToMolalConc(Real xnacl) const
Conversion from mass fraction to molal concentration (molality)
FPADReal e_from_p_T_X(const FPADReal &pressure, const FPADReal &temperature, const FPADReal &xnacl) const
const SinglePhaseFluidProperties * _nacl_fp
NaClFluidProperties UserObject.
Real molarMassNaCl() const
NaCl molar mass.
virtual ~BrineFluidProperties()
FPADReal h_from_p_T_X(const FPADReal &pressure, const FPADReal &temperature, const FPADReal &xnacl) const
virtual Real k_from_p_T_X(Real pressure, Real temperature, Real xnacl) const override
Real massFractionToMoleFraction(Real xnacl) const
Conversion from mass fraction to mole fraction.
Real _Mh2o
Molar mass of water (H2O) (kg/mol)
Real haliteSolubility(Real temperature) const
Solubility of halite (solid NaCl) in water Originally from Potter et al., A new method for determinin...
static const unsigned int NACL
Real vaporPressure(Real temperature, Real xnacl) const
Brine vapour pressure From Haas, Physical properties of the coexisting phases and thermochemical prop...
const SinglePhaseFluidProperties * _water_fp
Water97FluidProperties UserObject.
Real molarMassH2O() const
H2O molar mass.
static InputParameters validParams()
static const unsigned int WATER
Fluid component numbers for water and NaCl.
virtual Real cp_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.
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...
bool _water_fp_derivs
Flag to indicate whether to calculate derivatives in water_fp.
Real molarMass(Real xnacl) const
Average molar mass of brine.
const Water97FluidProperties * _water97_fp
Water97FluidProperties UserObject (for Henry's law)
Real _Mnacl
Molar mass of NaCl (kg/mol)
virtual std::string fluidName() const override
Fluid name.
const InputParameters & parameters() const
Common class for multiple component fluid properties using a pressure and temperature formulation.
Common class for single phase fluid properties.
Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revi...