https://mooseframework.inl.gov
HenryGasConstant.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "GeneralUserObject.h"
13 
20 {
21 public:
24  virtual ~HenryGasConstant() {}
25 
26  virtual void initialSetup() override {};
27  virtual void initialize() override {};
28  virtual void finalize() override {};
29  virtual void execute() override {};
31  virtual Real henry(Real temperature) const;
32 
34  static constexpr Real _atm_to_Pa = 101325;
35 
37  static constexpr Real _Rgas = 8.31446261815324;
38 
42 
44  static constexpr Real _alpha_FLiBe = -3.3584;
45  static constexpr Real _beta_FLiBe = -0.0215;
46  static constexpr Real _KH0_FLiBe = 7.8622e-1 / _atm_to_Pa;
47  static constexpr Real _gamma_0_FLiBe = 235.5;
48  static constexpr Real _dgamma_dT_FLiBe = -0.09;
49 
51  static constexpr Real _alpha_FLiNaK = -4.6541;
52  static constexpr Real _beta_FLiNaK = 0.0105;
53  static constexpr Real _KH0_FLiNaK = 1.4246 / _atm_to_Pa;
54  static constexpr Real _gamma_0_FLiNaK = 237.0;
55  static constexpr Real _dgamma_dT_FLiNaK = -0.0788;
56 
57 protected:
59  const Real _radius;
60 
62  const enum class Saltlist { FLIBE, FLINAK, CUSTOM } _salt_list;
63 
70 };
const Real _radius
van der Waals radius
HenryGasConstant(const InputParameters &parameters)
virtual void initialSetup() override
static constexpr Real _dgamma_dT_FLiNaK
const InputParameters & parameters() const
static constexpr Real _beta_FLiNaK
static constexpr Real _gamma_0_FLiBe
static const std::string temperature
Definition: NS.h:60
virtual void finalize() override
virtual void execute() override
static InputParameters validParams()
enum HenryGasConstant::Saltlist _salt_list
static constexpr Real _gamma_0_FLiNaK
virtual Real henry(Real temperature) const
Returns the henry constant at the specified temperature.
virtual void initialize() override
static constexpr Real _alpha_FLiNaK
Model constants for FLiNaK.
static constexpr Real _alpha_FLiBe
Model constants obtained from K.
static constexpr Real _atm_to_Pa
multiplier to convert atm to Pa
static constexpr Real _beta_FLiBe
Real _alpha
Fit coefficients for the model.
static constexpr Real _KH0_FLiNaK
This UserObject performs a calculation of the Henry coefficient for noble gases using the model by K...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Saltlist
Enum used to select the salt type.
static constexpr Real _Rgas
Universal gas constant [J/mol/K].
static constexpr Real _dgamma_dT_FLiBe
virtual ~HenryGasConstant()
static constexpr Real _KH0_FLiBe