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