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

#include <IdealGasFluidPropertiesTest.h>

Inheritance diagram for IdealGasFluidPropertiesTest:
[legend]

Public Member Functions

 IdealGasFluidPropertiesTest ()
 

Protected Member Functions

void buildObjects ()
 
TaddObject (const std::string &type, const std::string &name, InputParameters &params)
 

Protected Attributes

const IdealGasFluidProperties_fp
 
const Real _molar_mass
 
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 IdealGasFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ IdealGasFluidPropertiesTest()

IdealGasFluidPropertiesTest::IdealGasFluidPropertiesTest ( )
inline

Definition at line 18 of file IdealGasFluidPropertiesTest.h.

Member Function Documentation

◆ buildObjects()

void IdealGasFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 25 of file IdealGasFluidPropertiesTest.h.

26 {
27 InputParameters uo_pars = _factory.getValidParams("IdealGasFluidProperties");
28 uo_pars.set<Real>("molar_mass") = _molar_mass;
29 uo_pars.set<Real>("gamma") = 1.41;
30 uo_pars.set<Real>("e_ref") = 1000.0;
31 _fe_problem->addUserObject("IdealGasFluidProperties", "fp", uo_pars);
33 }
InputParameters getValidParams(const std::string &name) const
const IdealGasFluidProperties * _fp
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

Referenced by IdealGasFluidPropertiesTest().

Member Data Documentation

◆ _fp

const IdealGasFluidProperties* IdealGasFluidPropertiesTest::_fp
protected

Definition at line 35 of file IdealGasFluidPropertiesTest.h.

Referenced by buildObjects().

◆ _molar_mass

const Real IdealGasFluidPropertiesTest::_molar_mass
protected

Definition at line 37 of file IdealGasFluidPropertiesTest.h.

Referenced by buildObjects().


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