12#ifndef BELFEM_CL_GM_HelmholtzTransportMETHANE_HPP
13#define BELFEM_CL_GM_HelmholtzTransportMETHANE_HPP
22#define BELFEM_METHANE_T 0
23#define BELFEM_METHANE_P 1
24#define BELFEM_METHANE_V 2
25#define BELFEM_METHANE_TAU 3
26#define BELFEM_METHANE_DELTA 4
27#define BELFEM_METHANE_MU0 5
28#define BELFEM_METHANE_MU 6
29#define BELFEM_METHANE_LAMBDA 7
30#define BELFEM_METHANE_NUMVALS 8
70 const real mEpsilonKb = 174.0;
71 const real mSigma = 0.36652e-9 ;
81 real mConstExpLambdaCr ;
153 lambda_cr(
const real T,
const real p )
const;
187 update_Tp(
const real T,
const real p )
const;
192 test(
const index_t aIndex )
const ;
197 set(
const index_t aIndex,
const real aValue )
const ;
202 get(
const index_t aIndex )
const ;
210 HelmholtzTransport_Methane::update_Tp(
const real T,
const real p )
const
238 HelmholtzTransport_Methane::test(
const index_t aIndex )
const
241 "Invalid Methane transport state index: %u", (
unsigned int ) aIndex );
243 return mBits.
test( aIndex );
249 HelmholtzTransport_Methane::set(
const index_t aIndex,
const real aValue )
const
252 "Invalid Methane transport state index: %u", (
unsigned int ) aIndex );
255 mVals[ aIndex ] = aValue;
264 HelmholtzTransport_Methane::get(
const index_t aIndex )
const
267 "Invalid Helmholtz state index: %u", (
unsigned int ) aIndex );
269 return mVals[ aIndex ];
#define BELFEM_ASSERT(aCheck,...)
Definition assert.hpp:244
#define BELFEM_METHANE_V
Definition cl_GM_HelmholtzTransport_Methane.hpp:24
#define BELFEM_METHANE_TAU
Definition cl_GM_HelmholtzTransport_Methane.hpp:25
#define BELFEM_METHANE_DELTA
Definition cl_GM_HelmholtzTransport_Methane.hpp:26
#define BELFEM_METHANE_NUMVALS
Definition cl_GM_HelmholtzTransport_Methane.hpp:30
#define BELFEM_METHANE_P
Definition cl_GM_HelmholtzTransport_Methane.hpp:23
#define BELFEM_METHANE_T
Definition cl_GM_HelmholtzTransport_Methane.hpp:22
void reset(const index_t aIndex)
set a bit to false
Definition cl_Bitset.hpp:103
void set(const index_t aIndex)
set a bit to true
Definition cl_Bitset.hpp:92
bool test(const index_t aIndex) const
test if a bit is set
Definition cl_Bitset.hpp:138
The gas class that provides the fluid model.
Definition cl_Gas.hpp:81
real v(const real T, const real p) const
specific volume in m^3/kg
Definition cl_GM_Helmholtz.cpp:237
real lambda(const real T, const real p) const
Definition cl_GM_HelmholtzTransport_Methane.cpp:52
real mu(const real T, const real p) const
Definition cl_GM_HelmholtzTransport_Methane.cpp:38
HelmholtzTransport_Methane(Gas &aParent)
Definition cl_GM_HelmholtzTransport_Methane.cpp:22
~HelmholtzTransport_Methane()=default
HelmholtzTransport(Gas &aParent)
Definition cl_GM_HelmholtzTransport.cpp:35
Helmholtz & mEoS
Definition cl_GM_HelmholtzTransport.hpp:47
USER GUIDES:
Definition cl_Capacitor.cpp:16
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36