https://mooseframework.inl.gov
Loading...
Searching...
No Matches
fluid_properties
unit
include
GasTransportUtilsTest.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
#include "
Water97FluidProperties.h
"
14
15
class
GasTransportUtilsTest
:
public
MooseObjectUnitTest
16
{
17
public
:
18
GasTransportUtilsTest
();
19
20
protected
:
22
const
Water97FluidProperties
*
_water
;
23
};
24
25
inline
GasTransportUtilsTest::GasTransportUtilsTest
() :
MooseObjectUnitTest
(
"FluidPropertiesApp"
)
26
{
27
InputParameters
params =
_factory
.
getValidParams
(
"Water97FluidProperties"
);
28
_fe_problem
->addUserObject(
"Water97FluidProperties"
,
"water"
, params);
29
_water
= &
_fe_problem
->
getUserObject
<
Water97FluidProperties
>(
"water"
);
30
}
MooseObjectUnitTest.h
Water97FluidProperties.h
Factory::getValidParams
InputParameters getValidParams(const std::string &name) const
GasTransportUtilsTest
Definition
GasTransportUtilsTest.h:16
GasTransportUtilsTest::GasTransportUtilsTest
GasTransportUtilsTest()
Definition
GasTransportUtilsTest.h:25
GasTransportUtilsTest::_water
const Water97FluidProperties * _water
Water and steam properties, the reference for the low-density properties of steam.
Definition
GasTransportUtilsTest.h:22
MooseObjectUnitTest
MooseObjectUnitTest::_fe_problem
std::shared_ptr< FEProblem > _fe_problem
MooseObjectUnitTest::_factory
Factory & _factory
ThreadedGeneralUserObject::getUserObject
const T & getUserObject(const std::string ¶m_name, bool is_dependency=true) const
Water97FluidProperties
Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revi...
Definition
Water97FluidProperties.h:39
InputParameters
Generated on Tue Nov 10 2026 05:07:39 for https://mooseframework.inl.gov by
1.9.8