14. 14
モデル定数の確認
設定ファイル RASProperties において,printCoeffs の設定を on にする
ことで,ソルバー実行時にモデル定数値を標準出力できます.
Create time
Create mesh for time = 0
Reading field p
Reading field U
Reading/calculating face flux field phi
Selecting incompressible transport model Newtonian
Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
sigmaEps 1.4;
}
No finite volume options present
34. 34
モデルに関して
通常のエネルギー散逸率 𝜀 の代わりに,𝜀 についての方程式を解きます.
𝐷 の壁面での値が,𝜀 の壁面での値に等しいので,変数 𝜀 = 𝜀 − 𝐷 の壁面で
の値は,𝜀 = 0 となり,壁面上の境界条件が取り扱いやすくなります.
高 Re 型のモデルには無い項 𝐸 が追加されている理由
Its inclusion is simply due to the fact that without it the peak level of
turbulence kinetic energy at y+ ≈ 20 did not accord with experiment.
Several other forms were tried including choosing f1 to be a function
of Reynolds number. The form quoted is however, the only one which
generated the desired profile of k near the wall.
これによると,
壁近傍での乱流エネルギー k の分布が実験と合うように,導入されている項
のようです.
文献 [4]
48. 43 ページの図は,下記の gnuplot 設定ファイルを使用して作成しています.
この設定ファイルを,Uprofile.gp 等の名前で保存して,𝑦+
と𝑢+
の
計算結果ファイル data.txt を用意して,次のコマンドを実行します.
gnuplot> load “Uprofile.gp"
48
付録|gnuplot の設定ファイル
set terminal pngcairo enhanced size 800,600
set output "Uprofile.png"
set title "Turbulent Flat Plate - Velocity Profile"
set logscale x
set mxtics 10
set format x "10^{%T}"
set grid xtics mxtics ytics
set xlabel "y+"
set ylabel "u+"
set key top left
set parametric
# u+ range
set trange [0:25]
# Spaldings law
k=0.41
E=9.8
f(t) = t + (exp(k*t) - 1 - k*t*(1 + 0.5*k*t) - 1/6*(k*t)**3)/E
set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # red
set style line 2 lc rgb '#0072bd' pt 6 ps 1.5 lt 1 lw 2 # blue
plot f(t),t title "Spalding" with lines ls 1,¥
"data.txt" title "OpenFOAM" with points ls 2