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

#include <PorousFlowBrineCO2Test.h>

Inheritance diagram for PorousFlowBrineCO2Test:
[legend]

Public Member Functions

 PorousFlowBrineCO2Test ()
 

Protected Member Functions

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

Protected Attributes

const PorousFlowCapillaryPressureVG_pc
 
const PorousFlowBrineCO2_fs
 
const BrineFluidProperties_brine_fp
 
const Water97FluidProperties_water_fp
 
const SinglePhaseFluidProperties_co2_fp
 
unsigned int _pidx
 
unsigned int _Tidx
 
unsigned int _Zidx
 
unsigned int _Xidx
 
std::unique_ptr< MooseMesh_mesh
 
std::shared_ptr< MooseApp_app
 
Factory_factory
 
std::shared_ptr< FEProblem_fe_problem
 

Detailed Description

Definition at line 20 of file PorousFlowBrineCO2Test.h.

Constructor & Destructor Documentation

◆ PorousFlowBrineCO2Test()

PorousFlowBrineCO2Test::PorousFlowBrineCO2Test ( )
inline

Definition at line 23 of file PorousFlowBrineCO2Test.h.

Member Function Documentation

◆ buildObjects()

void PorousFlowBrineCO2Test::buildObjects ( )
inlineprotected

Definition at line 26 of file PorousFlowBrineCO2Test.h.

27 {
28 InputParameters pc_params = _factory.getValidParams("PorousFlowCapillaryPressureVG");
29 pc_params.set<Real>("m") = 0.5;
30 pc_params.set<Real>("alpha") = 1.0e-4;
31 _fe_problem->addUserObject("PorousFlowCapillaryPressureVG", "pc", pc_params);
33
34 InputParameters brine_params = _factory.getValidParams("BrineFluidProperties");
35 _fe_problem->addUserObject("BrineFluidProperties", "brine_fp", brine_params);
37
38 InputParameters water_params = _factory.getValidParams("Water97FluidProperties");
39 _fe_problem->addUserObject("Water97FluidProperties", "water_fp", water_params);
41
42 InputParameters co2_params = _factory.getValidParams("CO2FluidProperties");
43 _fe_problem->addUserObject("CO2FluidProperties", "co2_fp", co2_params);
45
46 InputParameters uo_params = _factory.getValidParams("PorousFlowBrineCO2");
47 uo_params.set<UserObjectName>("brine_fp") = "brine_fp";
48 uo_params.set<UserObjectName>("co2_fp") = "co2_fp";
49 uo_params.set<UserObjectName>("capillary_pressure") = "pc";
50 _fe_problem->addUserObject("PorousFlowBrineCO2", "fs", uo_params);
52
53 // Indices for derivatives
56 _Zidx = _fs->getZIndex();
57 _Xidx = _fs->getXIndex();
58 }
Brine (NaCl in H2O) fluid properties as a function of pressure (Pa), temperature (K) and NaCl mass fr...
InputParameters getValidParams(const std::string &name) const
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
const Water97FluidProperties * _water_fp
const BrineFluidProperties * _brine_fp
const PorousFlowCapillaryPressureVG * _pc
const SinglePhaseFluidProperties * _co2_fp
const PorousFlowBrineCO2 * _fs
Specialized class for brine and CO2 including calculation of mutual solubility of the two fluids usin...
van Genuchten form of capillary pressure.
Common class for single phase fluid properties.
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 PorousFlowBrineCO2Test().

Member Data Documentation

◆ _brine_fp

const BrineFluidProperties* PorousFlowBrineCO2Test::_brine_fp
protected

Definition at line 62 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _co2_fp

const SinglePhaseFluidProperties* PorousFlowBrineCO2Test::_co2_fp
protected

Definition at line 64 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _fs

const PorousFlowBrineCO2* PorousFlowBrineCO2Test::_fs
protected

Definition at line 61 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _pc

const PorousFlowCapillaryPressureVG* PorousFlowBrineCO2Test::_pc
protected

Definition at line 60 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _pidx

unsigned int PorousFlowBrineCO2Test::_pidx
protected

Definition at line 65 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _Tidx

unsigned int PorousFlowBrineCO2Test::_Tidx
protected

Definition at line 66 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _water_fp

const Water97FluidProperties* PorousFlowBrineCO2Test::_water_fp
protected

Definition at line 63 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _Xidx

unsigned int PorousFlowBrineCO2Test::_Xidx
protected

Definition at line 68 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().

◆ _Zidx

unsigned int PorousFlowBrineCO2Test::_Zidx
protected

Definition at line 67 of file PorousFlowBrineCO2Test.h.

Referenced by buildObjects().


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