https://mooseframework.inl.gov
PorousFlowBrine.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 #include "BrineFluidProperties.h"
14 
20 {
21 public:
23 
24  PorousFlowBrine(const InputParameters & parameters);
25 
26 protected:
27  virtual void initQpStatefulProperties() override;
28  virtual void computeQpProperties() override;
29 
32 
35 
38 
41 
44 
47 
49  const bool _is_xnacl_nodal;
50 
53 
55  const bool _is_xnacl_pfvar;
56 };
MaterialProperty< Real > *const _denthalpy_dX
Derivative of fluid enthalpy wrt salt mass fraction at the qps or nodes.
const bool _is_xnacl_pfvar
Flag to denote whether NaCl mass fraction is a nonlinear variable.
const BrineFluidProperties * _brine_fp
Brine fluid properties UserObject.
virtual void initQpStatefulProperties() override
Base class for fluid properties materials.
Brine (NaCl in H2O) fluid properties as a function of pressure (Pa), temperature (K) and NaCl mass fr...
static InputParameters validParams()
const SinglePhaseFluidProperties * _water_fp
Water fluid properties UserObject.
PorousFlowBrine(const InputParameters &parameters)
Common class for single phase fluid properties.
MaterialProperty< Real > *const _dviscosity_dX
Derivative of fluid phase viscosity wrt salt mass fraction at the nodes or qps.
const bool _is_xnacl_nodal
Flag for nodal NaCl mass fraction.
Fluid properties of Brine.
OutputTools< Real >::VariableValue VariableValue
MaterialProperty< Real > *const _dinternal_energy_dX
Derivative of fluid internal_energy wrt salt mass fraction at the qps or nodes.
virtual void computeQpProperties() override
const VariableValue & _xnacl
NaCl mass fraction at the qps or nodes.
MaterialProperty< Real > *const _ddensity_dX
Derivative of fluid density wrt salt mass fraction at the qps or nodes.