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