https://mooseframework.inl.gov
BrineFluidPropertiesTest.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 
12 #include "MooseObjectUnitTest.h"
13 
14 #include "BrineFluidProperties.h"
15 
18 
20 {
21 public:
23 
24 protected:
25  void buildObjects()
26  {
27  InputParameters uo_pars = _factory.getValidParams("BrineFluidProperties");
28  _fe_problem->addUserObject("BrineFluidProperties", "fp", uo_pars);
29  _fp = &_fe_problem->getUserObject<BrineFluidProperties>("fp");
31  }
32 
35 };
std::shared_ptr< FEProblem > _fe_problem
const BrineFluidProperties * _fp
InputParameters getValidParams(const std::string &name) const
Brine (NaCl in H2O) fluid properties as a function of pressure (Pa), temperature (K) and NaCl mass fr...
virtual const SinglePhaseFluidProperties & getComponent(unsigned int component) const override
Get UserObject for specified component.
Common class for single phase fluid properties.
const SinglePhaseFluidProperties * _water_fp
static const unsigned int WATER
Fluid component numbers for water and NaCl.