OGS
ProcessLib::TES::FluidHeatConductivityN2 Struct Reference

Detailed Description

Definition at line 212 of file TESOGS5MaterialModels.h.

#include <TESOGS5MaterialModels.h>

Static Public Member Functions

static double get (double rho, double T)
 

Static Private Member Functions

template<int i>
static double loop1_term (const double T)
 
template<int i>
static double loop2_term (const double log_T_star)
 
template<int i>
static double loop3_term (const double rho)
 

Static Private Attributes

static const double A [5]
 
static const double f [9]
 
static const double C [4]
 

Member Function Documentation

◆ get()

static double ProcessLib::TES::FluidHeatConductivityN2::get ( double rho,
double T )
inlinestatic

Definition at line 214 of file TESOGS5MaterialModels.h.

215 {
216 const double X1 = 0.95185202;
217 const double X2 = 1.0205422;
218
219 const double rho_c = 314; // [kg/m3]
220 const double M = 28.013;
221 const double k = 1.38062e-23;
222 const double eps = 138.08483e-23;
223 const double N_A = 6.02213E26;
224 const double R = 8.31434;
225 // const double R = MaterialLib::PhysicalConstant::IdealGasConstant;
226 const double CCF = 4.173; // mW/m/K
227
228 const double c1 = 0.3125;
229 const double c2 = 2.0442e-49;
230 const double sigma = 0.36502496e-09;
231
232 rho /= rho_c;
233
234 // dilute heat conductivity
235 const double sum1 = loop1_term<0>(T) + loop1_term<1>(T) +
238 loop1_term<6>(T);
239 const double temp = std::expm1(f[8] / T);
240 const double c_v0 =
241 R *
242 (sum1 + ((f[7] * (f[8] / T) * (f[8] / T) * (std::exp((f[8] / T)))) /
243 (temp * temp) -
244 1));
245
246 double cvint;
247 cvint = c_v0 * 1000 / N_A;
248
249 // dilute gas viscosity
250 const double log_T_star = std::log(T * k / eps);
251
252 const double Omega =
253 std::exp(loop2_term<0>(log_T_star) + loop2_term<1>(log_T_star) +
254 loop2_term<2>(log_T_star) + loop2_term<3>(log_T_star) +
255 loop2_term<4>(log_T_star));
256
257 // eta in [Pa*s]
258 const double eta_0 =
259 1e6 * (c1 * std::sqrt(c2 * T) / (sigma * sigma * Omega));
260
261 const double F = eta_0 * k * N_A / (M * 1000);
262
263 const double lambda_tr = 2.5 * (1.5 - X1);
264 const double lambda_in = X2 * (cvint / k + X1);
265
266 const double lambda_0 = F * (lambda_tr + lambda_in);
267
268 const double sum2 = loop3_term<0>(rho) + loop3_term<1>(rho) +
269 loop3_term<2>(rho) + loop3_term<3>(rho);
270 const double lambda_r = sum2 * CCF;
271
272 return (lambda_0 + lambda_r) / 1000; // lambda in [W/m/K]
273 }
@ rho
density. For some models, rho substitutes p
static double loop2_term(const double log_T_star)
static double loop3_term(const double rho)

References f, loop1_term(), loop2_term(), and loop3_term().

Referenced by ProcessLib::TES::fluid_heat_conductivity().

◆ loop1_term()

template<int i>
static double ProcessLib::TES::FluidHeatConductivityN2::loop1_term ( const double T)
inlinestaticprivate

Definition at line 277 of file TESOGS5MaterialModels.h.

278 {
279 return f[i] * mypow<i - 3>(T);
280 }
double mypow(const double x)

References f, and ProcessLib::TES::mypow().

Referenced by get().

◆ loop2_term()

template<int i>
static double ProcessLib::TES::FluidHeatConductivityN2::loop2_term ( const double log_T_star)
inlinestaticprivate

Definition at line 283 of file TESOGS5MaterialModels.h.

284 {
285 return A[i] * mypow<i>(log_T_star);
286 }

References A, and ProcessLib::TES::mypow().

Referenced by get().

◆ loop3_term()

template<int i>
static double ProcessLib::TES::FluidHeatConductivityN2::loop3_term ( const double rho)
inlinestaticprivate

Definition at line 289 of file TESOGS5MaterialModels.h.

290 {
291 return C[i] * mypow<i + 1>(rho);
292 }

References C, and ProcessLib::TES::mypow().

Referenced by get().

Member Data Documentation

◆ A

const double ProcessLib::TES::FluidHeatConductivityN2::A
staticprivate
Initial value:
= {0.46649, -0.57015, 0.19164,
-0.03708, 0.00241}

Definition at line 294 of file TESOGS5MaterialModels.h.

Referenced by loop2_term().

◆ C

const double ProcessLib::TES::FluidHeatConductivityN2::C
staticprivate
Initial value:
= {3.3373542, 0.37098251, 0.89913456,
0.16972505}

Definition at line 296 of file TESOGS5MaterialModels.h.

Referenced by loop3_term().

◆ f

const double ProcessLib::TES::FluidHeatConductivityN2::f
staticprivate
Initial value:
= {
-0.837079888737e3, 0.37914711487e2, -0.601737844275,
0.350418363823e1, -0.874955653028e-5, 0.148968607239e-7,
-0.256370354277e-11, 0.100773735767e1, 0.335340610e4}

Definition at line 295 of file TESOGS5MaterialModels.h.

Referenced by get(), and loop1_term().


The documentation for this struct was generated from the following files: