https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
21public:
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
57protected:
59 const Real _radius;
60
62 const enum class Saltlist { FLIBE, FLINAK, CUSTOM } _salt_list;
63
65 Real _alpha;
66 Real _beta;
69 Real _KH0;
70};
This UserObject performs a calculation of the Henry coefficient for noble gases using the model by K.
virtual void initialize() override
static constexpr Real _KH0_FLiBe
static constexpr Real _dgamma_dT_FLiNaK
static InputParameters validParams()
static constexpr Real _Rgas
Universal gas constant [J/mol/K].
static constexpr Real _gamma_0_FLiBe
Saltlist
Enum used to select the salt type.
static constexpr Real _atm_to_Pa
multiplier to convert atm to Pa
static constexpr Real _alpha_FLiBe
Model constants obtained from K.
enum HenryGasConstant::Saltlist _salt_list
virtual void finalize() override
virtual Real henry(Real temperature) const
Returns the henry constant at the specified temperature.
static constexpr Real _alpha_FLiNaK
Model constants for FLiNaK.
static constexpr Real _KH0_FLiNaK
static constexpr Real _beta_FLiBe
static constexpr Real _beta_FLiNaK
static constexpr Real _dgamma_dT_FLiBe
virtual void execute() override
const Real _radius
van der Waals radius
static constexpr Real _gamma_0_FLiNaK
Real _alpha
Fit coefficients for the model.
virtual void initialSetup() override
virtual ~HenryGasConstant()
const InputParameters & parameters() const