Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
OpenFOAMの時間変化かつ分布を持つ 流入条件について(timeVaringMappedF...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
matsubaraDaisuke
October 29, 2017
Science
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OpenFOAMの時間変化かつ分布を持つ 流入条件について(timeVaringMappedFixedValue)
matsubaraDaisuke
October 29, 2017
More Decks by matsubaraDaisuke
See All by matsubaraDaisuke
Elmerに関する情報提供@オープンCAE勉強会@関東
matsubaradaisuke
1
1.3k
桜の花の落ちるスピードは秒速5センチメートルか? 〜OpenFOAM編〜
matsubaradaisuke
0
980
最適化計算/パラメータスタディーと FreeCADの連携についての調査
matsubaradaisuke
0
560
OpenFOAMの圧縮性流体ソルバー解説
matsubaradaisuke
0
2.5k
Other Decks in Science
See All in Science
データベース02: データベースの概念
trycycle
PRO
2
1.2k
Van Dare naar Durf
voginip
0
240
医療 LLM ベンチマークの現在地:多面的評価 と日本ローカライズ
analokmaus
1
530
「遂行理論の未来」(松島斉教授最終講義記念セッションの発表資料)
shunyanoda
0
930
Rashomon at the Sound: Reconstructing all possible paleoearthquake histories in the Puget Lowland through topological search
cossatot
0
1.1k
Non-Gaussian, nonlinear causal discovery with hidden variables and application
sshimizu2006
0
140
Conversation is the New Dashboard: 属人性を排除する第4世代BIツールの勢力図
shomaekawa
1
600
(2025) Balade en cyclotomie
mansuy
0
630
[NLP2026 参加報告会] AI for Science まとめ / NLP2026
lychee1223
0
1.9k
20260410_SystemsThinking
takusamar
1
110
見上公一.pdf
genomethica
0
150
白金鉱業Vol.21【初学者向け発表枠】身近な例から学ぶ数理最適化の基礎 / Learning the Basics of Mathematical Optimization Through Everyday Examples
brainpadpr
1
750
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
190
Code Review Best Practice
trishagee
74
20k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Become a Pro
speakerdeck
PRO
31
6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
450
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
300
Making Projects Easy
brettharned
120
6.7k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
440
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Transcript
第61回OpenCAE勉強会@関⻄ OpenFOAM v4.0 時間変化かつ分布を持つ 流⼊条件について 2017/10/29 1 第61回OpenCAE勉強会@関⻄ 松原 ⼤輔
2017年10⽉29⽇
2 目的 ・他社(他者)の計算結果を境界に与えて計算したい。 ・計算領域を分けて、別々に計算したい場合。 timeVaringMappedFixedValue機能 第61回OpenCAE勉強会@関⻄ 2017/10/29
3 解析例 出典:http://www.cradle.co.jp/tec/column08/005.html 計算1 計算2 この領域の計算を事前にしておく. 後からこの領域だけで計算 LESの場合、サンプリング周波数 に注意 計算2の領域での検討が多くなる
ほど計算1の分だけ計算時間が削 減されるので効率的 第61回OpenCAE勉強会@関⻄ 2017/10/29
4 timeVaryingFixedValueの設定 ケースデータ 0 inlet { type timeVaryingFixedValue; offset (0
0 0); setAverage off; } U(例inlet) 最低限の3セット 例えば(10 0 0)とすると x方向の速度が設定値分 加算される よくわかりません 個人的に足し算より掛 け算が欲しかった 第61回OpenCAE勉強会@関⻄ 2017/10/29
5 ファイル構成 (timeVaringMappedFixedValue) ケースデータ constant transportProperties polyMesh boundaryData 境界名(例:inlet) points
0 1 U nut 第61回OpenCAE勉強会@関⻄ 2017/10/29
6 Pointsについて FoamFile { version 2.0; format ascii; class vectorField;
object points; } 26 ( // x y z ( 0 0 0 ) ( 0 0 0.025 ) ( 0 0 0.05 ) ( 0 0 0.1 ) ( 0 0 0.2 ) ( 0 0 0.3 ) ( 0 0 0.4 ) ( 0 0 0.5 ) ( 0 0 0.6 ) ( 0 0 0.7 ) ( 0 0 0.8 ) ( 0 0 0.9 ) ( 0 0 1 ) ) … … 補間用データ 点数 各点の座標を 羅列 第61回OpenCAE勉強会@関⻄ 2017/10/29
7 U,nut等の変数について FoamFile { version 4.0; format ascii; class vectorAverageField;
object points; } (0 0 0) 26( // u v w (0 0 0) (5.903836028 0 0 ) (6.518363449 0 0 ) (7.19685673 0 0 ) (7.945974047 0 0 ) (8.419824443 0 0 ) (8.773066621 0 0 ) (9.057236643 0 0 ) (9.296239875 0 0 ) (9.503227992 0 0 ) (9.686250859 0 0 ) (9.850612054 0 0 ) (10 0 0 ) ) … … Averageにしな いとエラー 各点に対応する 物理量を入力 (順番が大切) 平均機能を使う ときに使用 (未検証) 第61回OpenCAE勉強会@関⻄ 2017/10/29
8 例:大気境界層(時間変化(変動)なし) = $%& ' '()* +/- , $%& =
1[m], $%& =10[m /s] 5[m](100分割) 1[m](40分割) 1[m](20分割) yMin yMax outlet inlet noSlip その他はSlip 第61回OpenCAE勉強会@関⻄ 2017/10/29
9 例:大気境界層(時間変化(変動)なし) FoamFile { version 2.0; format ascii; class vectorField;
object points; } 26 ( // x y z //yMin ( 0 0 0 ) ( 0 0 0.025 ) ( 0 0 0.05 ) ( 0 0 0.1 ) ( 0 0 0.2 ) ( 0 0 0.3 ) ( 0 0 0.4 ) ( 0 0 0.5 ) ( 0 0 0.6 ) ( 0 0 0.7 ) ( 0 0 0.8 ) ( 0 0 0.9 ) ( 0 0 1 ) //yMax ( 0 1 0 ) ( 0 1 0.025 ) ( 0 1 0.05 ) ( 0 1 0.1 ) ( 0 1 0.2 ) ( 0 1 0.3 ) ( 0 1 0.4 ) ( 0 1 0.5 ) ( 0 1 0.6 ) ( 0 1 0.7 ) ( 0 1 0.8 ) ( 0 1 0.9 ) ( 0 1 1 ) ) … … boundaryData /inlet /points = $%& ' '()* +/- , $%& = 1[m], $%& =10[m /s] 第61回OpenCAE勉強会@関⻄ 2017/10/29
10 例:大気境界層(時間変化(変動)なし) FoamFile { version 4.0; format ascii; class vectorAverageField;
object points; } (0 0 0) 26( // u v w //yMin (0 0 0) (5.903836028 0 0 ) (6.518363449 0 0 ) (7.19685673 0 0 ) (7.945974047 0 0 ) (8.419824443 0 0 ) (8.773066621 0 0 ) (9.057236643 0 0 ) (9.296239875 0 0 ) (9.503227992 0 0 ) (9.686250859 0 0 ) (9.850612054 0 0 ) (10 0 0 ) //yMax (0 1 0 ) (5.903836028 1 0 ) (6.518363449 1 0 ) (7.19685673 1 0 ) (7.945974047 1 0 ) (8.419824443 1 0 ) (8.773066621 1 0 ) (9.057236643 1 0 ) (9.296239875 1 0 ) (9.503227992 1 0 ) (9.686250859 1 0 ) (9.850612054 1 0 ) (10 1 0 ) ) … … boundaryData /inlet /0/U = $%& ' '()* +/- , $%& = 1[m], $%& =10[m /s] 第61回OpenCAE勉強会@関⻄ 2017/10/29
11 例:大気境界層(時間変化(変動)なし) = $%& ' '()* +/- , $%& =
1[m], $%& =10[m /s] 第61回OpenCAE勉強会@関⻄ 2017/10/29
12 空間のデータ補間について(検証) yMin yMax 5[m /s] 10[m /s] 第61回OpenCAE勉強会@関⻄ 2017/10/29
13 空間のデータ補間について(検証) 4 5 6 7 8 9 10 11
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 U [m/s] y [m] OpenFOAM デフォルトでは線形補間 境界付近でズレ Uを中央でLineプローブ (paraFoam) 第61回OpenCAE勉強会@関⻄ 2017/10/29
14 未設定時間のデータ補間について(検証) yMin yMax 5[m /s] yMin yMax 10[m /s]
t=0[s] t=1[s] t=0.5[s]の時は 7.5[m /s]❓ (設定) (設定) (未設定) 第61回OpenCAE勉強会@関⻄ 2017/10/29
15 ケースデータ constant transportProperties polyMesh boundaryData 境界名(例:inlet) points 0 1
U←5m /s 未設定時間のデータ補間について(検証) U←10m /s ←この間、どうなるの❓ 第61回OpenCAE勉強会@関⻄ 2017/10/29
16 未設定時間のデータ補間について(検証) Uをプローブ (paraFoam) 設定していない時間では線形補間させる 4 5 6 7 8
9 10 11 -0.1 0.1 0.3 0.5 0.7 0.9 1.1 U [m/s] t [s] OpenFOAM 第61回OpenCAE勉強会@関⻄ 2017/10/29
17 cuttingPlane or Sampling 計算結果を境界条件に与えるには? cuttingPlane{ type surfaces; libs ("libsampling.so");
writeControl writeTime; surfaceFormat foamFile; fields ( p U nut ); interpolationScheme cellPoint; surfaces ( xNormal { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (5 0 0); normalVector (1 0 0); } interpolate true; } );} system /controlDict 第61回OpenCAE勉強会@関⻄ 2017/10/29 ←重要
18 計算結果を境界条件に与えるには? boundaryData /postProcessing postProcessing cuttingPlane 0.1 0.2 xNormal scalarField
vectorField points U ⾃分はpythonで⾃動化したが、 pyFormや標準であるかも ⾚字の所を BoundaryDataの⽅に コピってくる。 Foam{..}も追記 第61回OpenCAE勉強会@関⻄ 2017/10/29
19 終わり 第61回OpenCAE勉強会@関⻄ 2017/10/29