https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NASA7IdealGasFluidPropertiesTest Class Reference

#include <NASA7IdealGasFluidPropertiesTest.h>

Inheritance diagram for NASA7IdealGasFluidPropertiesTest:
[legend]

Public Member Functions

 NASA7IdealGasFluidPropertiesTest ()
 

Protected Member Functions

const NASA7IdealGasFluidProperties & buildFluidProperties (const std::string &species, const std::string &name)
 Builds a fluid properties object for a species.
 
void buildObjects ()
 
T & addObject (const std::string &type, const std::string &name, InputParameters &params)
 

Protected Attributes

const NASA7IdealGasFluidProperties * _fp_h2o
 
const NASA7IdealGasFluidProperties * _fp_n2
 
std::unique_ptr< MooseMesh > _mesh
 
std::shared_ptr< MooseApp > _app
 
Factory & _factory
 
std::shared_ptr< FEProblem > _fe_problem
 

Detailed Description

Definition at line 15 of file NASA7IdealGasFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ NASA7IdealGasFluidPropertiesTest()

NASA7IdealGasFluidPropertiesTest::NASA7IdealGasFluidPropertiesTest ( )
inline

Definition at line 29 of file NASA7IdealGasFluidPropertiesTest.h.

30 : MooseObjectUnitTest("FluidPropertiesApp"),
31 _fp_h2o(&buildFluidProperties("H2O", "h2o")),
32 _fp_n2(&buildFluidProperties("N2", "n2"))
33{
34}
const NASA7IdealGasFluidProperties * _fp_h2o
const NASA7IdealGasFluidProperties & buildFluidProperties(const std::string &species, const std::string &name)
Builds a fluid properties object for a species.
const NASA7IdealGasFluidProperties * _fp_n2

Member Function Documentation

◆ buildFluidProperties()

const NASA7IdealGasFluidProperties & NASA7IdealGasFluidPropertiesTest::buildFluidProperties ( const std::string &  species,
const std::string &  name 
)
inlineprotected

Builds a fluid properties object for a species.

Definition at line 37 of file NASA7IdealGasFluidPropertiesTest.h.

39{
40 InputParameters params = _factory.getValidParams("NASA7IdealGasFluidProperties");
41 params.set<MooseEnum>("species") = species;
42 _fe_problem->addUserObject("NASA7IdealGasFluidProperties", name, params);
43 return _fe_problem->getUserObject<NASA7IdealGasFluidProperties>(name);
44}
const std::string name
Definition Setup.h:21
InputParameters getValidParams(const std::string &name) const
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
Ideal gas whose heat capacity, enthalpy, and entropy depend on temperature through NASA 7-coefficient...

Member Data Documentation

◆ _fp_h2o

const NASA7IdealGasFluidProperties* NASA7IdealGasFluidPropertiesTest::_fp_h2o
protected

Definition at line 25 of file NASA7IdealGasFluidPropertiesTest.h.

◆ _fp_n2

const NASA7IdealGasFluidProperties* NASA7IdealGasFluidPropertiesTest::_fp_n2
protected

Definition at line 26 of file NASA7IdealGasFluidPropertiesTest.h.


The documentation for this class was generated from the following file: