2. 2
Disclaimer
“This offering is not approved or endorsed by
OpenCFD Limited, the producer of the
OpenFOAM software and owner of the
OPENFOAM® and OpenCFD® trade marks.”
33. 33
作業4:確認計算
まず,mylaplacianFoam をコンパイルします.
計算を実行してみましょう!
$ sol
$ cd basic/mylaplacianFoam
$ wmake
ケースフォルダに移動します.
$ cd testCase1
計算格子を作成します.
$ blockMesh
作成したソルバーを実行します.
$ mylaplacianFoam
34. 34
作業4:確認計算
Create time
Create mesh for time = 0
Reading field T
Reading transportProperties
Reading diffusivity k
Calculating temperature distribution
DICPCG: Solving for T, Initial residual = 1, Final residual = 1.21266e-16, No Iterations 1
X = 0.05, T = 140
X = 0.15, T = 220
X = 0.25, T = 300
X = 0.35, T = 380
X = 0.45, T = 460
End
計算はすぐに終了し,ターミナル画面に次のような出力があります.
セル中心の X 座標とそこでの温度 T の計算結果です.
ターミナル画面への出力
46. 46
作業1,2
作業1:mylaplacianFoam をデバッグオプションでコンパイルし直します.
作業2:ケースフォルダに移動し,GDB を起動します.
$ cd testCase1
$ gdb mylaplacianFoam
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from ~/platforms/linux64GccDPDebug/bin/mylaplacianFoam...done.
(gdb)
GDB が起動します.
48. 48
作業4
作業4:ソルバーを実行します.
Breakpoint 1 (fvScalarMatrix.C:170) pending.
(gdb) run
・・・
Reading diffusivity k
Calculating temperature distribution
Breakpoint 1, Foam::fvMatrix<double>::solveSegregated (this=0x7fffffffcaf0,
solverControls=...) at fvMatrices/fvScalarMatrix/fvScalarMatrix.C:171
171 if (solverPerformance::debug)
(gdb)
作業3で指定したブレークポイントでソルバーが停止します.
130. pUCoupledFoam は,foam のバージョン3.1に実装されています.
foam のインストール方法はこちら
ソースコードのヘッダー部の説明を見てみましょう.
支配方程式は,simpleFoam の場合と同じですが,この解法が異なります.
130
pUCoupledFoam の概要
Application
pUCoupledFoam
Description
Steady-state solver for incompressible, turbulent flow, with implicit
coupling between pressure and velocity achieved by BlockLduMatrix
Turbulence is in this version solved using the existing turbulence
structure.
Authors
Klas Jareteg, Chalmers University of Technology,
Vuko Vukcevic, FMENA Zagreb.
138. 138
解析的なアプローチ:最近の動向
Navier-Stokes 方程式の解の存在の証明に関しては,2014年に入ってから
多くのニュースがあります [5].
• カザフスタンの Mukhtarbay Otelbaev 教授が,1月に解の存在証明に成
功したと宣言した論文 [6] については現在世界中の数学者による検証中で
すが,既に証明に問題があることが判明し,教授がその解決に取り組んで
いるそうです.
The most recent attempt to garner serious attention, by
Mukhtarbay Otelbaev of the Eurasian National University in Astana,
Kazakhstan, is still under review, but mathematicians have already
uncovered significant problems with the proof, which Otelbaev is
trying to solve [5].
• カリフォルニア大学の Terence Tao 教授が2月に論文 [7] を発表しました.
139. 139
This work is licensed under the Creative Commons
Attribution-ShareAlike 4.0 International License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by-sa/4.0/