Slide 13
Slide 13 text
7
4
ୈ 2 ষ OpenFOAM Ͱͷ blockMesh Λ༻͍ͨྲྀղੳ 2.8 ݁Ռॲཧ
if i >= 2:
plt.legend(loc="upper center",bbox_to_anchor=(1.0, 1.2)›
›, fontsize=16)
# άϥϑλΠτϧͷઃఆ
axes[i].set_title(f"z={zCase.split('_')[1]}", fontsize=20)
# άϦου
axes[i].grid("-")
# άϥϑΛPDFϑΝΠϧͱͯ͠อଘ
plt.savefig("python_plot/result/multiplot_py.pdf", bbox_inches=›
›'tight')
ͰɺPython εΫϦϓτΛ࣮ߦ͠·͠ΐ͏ɻ
˝ Python εΫϦϓτ plot.py Λ࣮ߦ
$ python3 python_plot/plot.py
ύεʹҙ
Ϧετ 2.27 ͷ࣮ߦɺCylinder_blockMesh ϑΥϧμʹ͍Δঢ়ଶͰਖ਼ৗʹಈ
࡞͢ΔϓϩάϥϜʹͳ͍ͬͯ·͢ɻ
Ҏ্ͷεΫϦϓτΛ࣮ߦ͢Δͱ python_plot/result/multiplot.pdf ͕ग़ྗ͞Εਤ
2.41 ͷΑ͏ʹཧࣜͱ OpenFOAM ʹΑΔ݁Ռͷάϥϑ͕࡞͞Ε͍ͯ·͢ɻ
0.00
0.02
0.04
0.06
0.08
0.10
0.12
0.14
0.16
0.18
0.20
Uz[m/s]
0.010
0.008
0.006
0.004
0.002
0.000
0.002
0.004
0.006
0.008
0.010
y[m]
z=0.001m
0.00
0.02
0.04
0.06
0.08
0.10
0.12
0.14
0.16
0.18
0.20
Uz[m/s]
0.010
0.008
0.006
0.004
0.002
0.000
0.002
0.004
0.006
0.008
0.010
y[m]
z=0.4m
0.00
0.02
0.04
0.06
0.08
0.10
0.12
0.14
0.16
0.18
0.20
Uz[m/s]
0.010
0.008
0.006
0.004
0.002
0.000
0.002
0.004
0.006
0.008
0.010
y[m]
z=0.6m
OpenFOAM
Theory
˛ ਤ 2.41: Python ʹΑΔάϥϑԽ
– 68 –