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

#include <GasLiquidMassTransferTest.h>

Inheritance diagram for GasLiquidMassTransferTest:
[legend]

Public Member Functions

 GasLiquidMassTransferTest ()
 

Protected Member Functions

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

Protected Attributes

const GasLiquidMassTransfer_mtc_stokes
 
const GasLiquidMassTransfer_mtc_wilkes
 
std::unique_ptr< MooseMesh_mesh
 
std::shared_ptr< MooseApp_app
 
Factory_factory
 
std::shared_ptr< FEProblem_fe_problem
 

Detailed Description

Definition at line 16 of file GasLiquidMassTransferTest.h.

Constructor & Destructor Documentation

◆ GasLiquidMassTransferTest()

GasLiquidMassTransferTest::GasLiquidMassTransferTest ( )
inline

Member Function Documentation

◆ buildObjects()

void GasLiquidMassTransferTest::buildObjects ( )
inlineprotected

Definition at line 22 of file GasLiquidMassTransferTest.h.

23 {
24 {
25 InputParameters eos_pars = _factory.getValidParams("IdealGasFluidProperties");
26 eos_pars.set<Real>("molar_mass") = 30e-3;
27 eos_pars.set<Real>("mu") = 20e-6;
28 _fe_problem->addUserObject("IdealGasFluidProperties", "fp", eos_pars);
29 }
30
31 // Set up object for Stokes-Einstein
32 {
33 InputParameters params = _factory.getValidParams("GasLiquidMassTransfer");
34 params.set<MooseEnum>("equation") = "StokesEinstein";
35 params.set<Real>("d") = 10e-3;
36 params.set<UserObjectName>("fp") = "fp";
37 params.set<Real>("radius") = 1e-3;
38 _fe_problem->addUserObject("GasLiquidMassTransfer", "mtc_stokes", params);
40 }
41
42 // Set up object for Wilke-Chang
43 {
44 InputParameters params = _factory.getValidParams("GasLiquidMassTransfer");
45 params.set<MooseEnum>("equation") = "WilkeChang";
46 params.set<Real>("d") = 10e-3;
47 params.set<UserObjectName>("fp") = "fp";
48 params.set<Real>("molar_weight") = 30e-3;
49 _fe_problem->addUserObject("GasLiquidMassTransfer", "mtc_wilkes", params);
51 }
52 }
InputParameters getValidParams(const std::string &name) const
const GasLiquidMassTransfer * _mtc_stokes
const GasLiquidMassTransfer * _mtc_wilkes
Computes the mass transfer coefficient of a gas/liquid interface.
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 GasLiquidMassTransferTest().

Member Data Documentation

◆ _mtc_stokes

const GasLiquidMassTransfer* GasLiquidMassTransferTest::_mtc_stokes
protected

Definition at line 54 of file GasLiquidMassTransferTest.h.

Referenced by buildObjects().

◆ _mtc_wilkes

const GasLiquidMassTransfer* GasLiquidMassTransferTest::_mtc_wilkes
protected

Definition at line 55 of file GasLiquidMassTransferTest.h.

Referenced by buildObjects().


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