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

#include <PorousFlowFluidStateFlashTest.h>

Inheritance diagram for PorousFlowFluidStateFlashTest:
[legend]

Public Member Functions

 PorousFlowFluidStateFlashTest ()
 

Protected Member Functions

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

Protected Attributes

const PorousFlowCapillaryPressureVG_pc
 
const PorousFlowWaterNCG_fp
 
const Water97FluidProperties_water_fp
 
const CO2FluidProperties_ncg_fp
 
std::unique_ptr< MooseMesh_mesh
 
std::shared_ptr< MooseApp_app
 
Factory_factory
 
std::shared_ptr< FEProblem_fe_problem
 

Detailed Description

Definition at line 18 of file PorousFlowFluidStateFlashTest.h.

Constructor & Destructor Documentation

◆ PorousFlowFluidStateFlashTest()

PorousFlowFluidStateFlashTest::PorousFlowFluidStateFlashTest ( )
inline

Member Function Documentation

◆ buildObjects()

void PorousFlowFluidStateFlashTest::buildObjects ( )
inlineprotected

Definition at line 24 of file PorousFlowFluidStateFlashTest.h.

25 {
26 InputParameters pc_params = _factory.getValidParams("PorousFlowCapillaryPressureVG");
27 pc_params.set<Real>("m") = 0.5;
28 pc_params.set<Real>("alpha") = 0.1;
29 _fe_problem->addUserObject("PorousFlowCapillaryPressureVG", "pc", pc_params);
31
32 InputParameters water_params = _factory.getValidParams("Water97FluidProperties");
33 _fe_problem->addUserObject("Water97FluidProperties", "water_fp", water_params);
35
36 InputParameters ncg_params = _factory.getValidParams("CO2FluidProperties");
37 _fe_problem->addUserObject("CO2FluidProperties", "ncg_fp", ncg_params);
39
40 InputParameters uo_params = _factory.getValidParams("PorousFlowWaterNCG");
41 uo_params.set<UserObjectName>("water_fp") = "water_fp";
42 uo_params.set<UserObjectName>("gas_fp") = "ncg_fp";
43 uo_params.set<UserObjectName>("capillary_pressure") = "pc";
44 _fe_problem->addUserObject("PorousFlowWaterNCG", "fp", uo_params);
46 }
CO2 fluid properties Most thermophysical properties taken from: Span and Wagner, "A New Equation of S...
InputParameters getValidParams(const std::string &name) const
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
van Genuchten form of capillary pressure.
const Water97FluidProperties * _water_fp
const PorousFlowCapillaryPressureVG * _pc
Specialized class for water and a non-condensable gas (NCG) Includes dissolution of gas in liquid wat...
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const
Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revi...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

Referenced by PorousFlowFluidStateFlashTest().

Member Data Documentation

◆ _fp

const PorousFlowWaterNCG* PorousFlowFluidStateFlashTest::_fp
protected

Definition at line 49 of file PorousFlowFluidStateFlashTest.h.

Referenced by buildObjects().

◆ _ncg_fp

const CO2FluidProperties* PorousFlowFluidStateFlashTest::_ncg_fp
protected

Definition at line 51 of file PorousFlowFluidStateFlashTest.h.

Referenced by buildObjects().

◆ _pc

const PorousFlowCapillaryPressureVG* PorousFlowFluidStateFlashTest::_pc
protected

Definition at line 48 of file PorousFlowFluidStateFlashTest.h.

Referenced by buildObjects().

◆ _water_fp

const Water97FluidProperties* PorousFlowFluidStateFlashTest::_water_fp
protected

Definition at line 50 of file PorousFlowFluidStateFlashTest.h.

Referenced by buildObjects().


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