オープンcaeを活用した 大規模高速演算及び...this information is the exclusive...

27
This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties. オープンCAEを活用した 大規模高速演算及び 大規模モデルの取扱 株式会社デンソー 技術管理部 CAE開発設計・促進室 野村悦治、今川洋造 2011/12/2 オープンCAEシンポジウム2011

Upload: others

Post on 11-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

オープンCAEを活用した大規模高速演算及び大規模モデルの取扱

株式会社デンソー技術管理部

CAE開発設計・促進室野村悦治、今川洋造

2011/12/2 オープンCAEシンポジウム2011

Page 2: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

2 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

背景

http://top500.org/

http://www.j-focus.or.jp/spacon/pricelist_spacon.pdfFOCUSスパコン利用料金表

1ノード当り、1か月 60,480 円

http://aws.amazon.com/jp/ec2/

数千コア

705,024コア

100コア級の計算環境約500万円/年

(12コア)

(8コア)

Page 3: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

3 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

大規模計算の実用例(その1)

http://www.ajk2011-fed.org/index.html

メッシュ(ボクセル) 約1500万セル現象0.5s(25回転)計算時間:

32h@96コア

Page 4: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

4 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

大規模計算実用例(その2)

http://ckatolab.iis.u-tokyo.ac.jp/propeller.htm

Page 5: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

5 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

計算対象と計算目的

• 自動車用の回転送風機器カーエアコン送風機、ラジエータファンなど

試作前段階で性能(流体騒音、ファン性能・効率)評価

• 流体騒音(広帯域騒音を含む)を計算で予測

• 製品CADデータを使用→自動メッシュ作成

Page 6: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

6 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

大規模計算の企業内実務適用に際しての課題

• 汎用ソフトの利用 → コスト

• オープンCAEの利用 → ソフトの性能、ノウハウ不明

Page 7: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

7 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

オープンCAEの利用経験

2006 第20回数値流体力学シンポジウム

ダクト(静止体)の騒音解析 ファン(回転体)の騒音解析

02 03 04 05 06 07 08 09 10 11

Page 8: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

8 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

目的とゴール

• 研究の目的

  オープンCAEで実用可能性を見出す

• 発表の目的

  活用ノウハウ、ソフト性能評価結果の公開

• ゴール(計画)

既存技術・公開情報の活用、自助努力(独自解釈)、自己責任 ⇒ 活用ノウハウの構築

オープンCAE開発・利用者からのFB利用者の拡大⇒新たな視点・ノウハウ

‘11/1 3 5 7 9 11 ‘12/1 3

発表依頼 PCクラスタ入荷 機械学会WSで発表

精度検証技術確立

PCクラスタ導入申請 テスト運用 本番

本日発表

Page 9: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

9 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

使用した計算環境

ファイルサーバ+ログインノード

計算ノード(14台)

計算ノード:14台

ファイルサーバ+ログインノード

Gigabit Ethernet

InfiniBandCPU Xeon X5650 × 2

コア数 12メモリ 24GBHDD 72GB

InfiniBand(QDR)GB Ethernet

ネットワーク

流体騒音 FrontFlow/Blue熱流体 OpenFOAM可視化 ParaView

CAEソフト

OS CentOS (x64) 5.5ミドルウェア Rocks(x64) ver 5.4ジョブ管理 GridEngine ver 6.2u5状態表示 Ganglia ver 3.1

PCクラスタミドルウェア

CPU Xeon 5650(6コア)× 2メモリ 48GBHDD 12TB

10GB EthernetGB Ethernet

ネットワーク

社内ネットワークへ

総コア数:168総メモリ:336GB

Page 10: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

10 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

回転場流れのLES計算用オープン系ソルバー

• FrontFlow/Blue(FFB)– 有限要素法ソルバー

– メッシュは独自(GF)形式、gridgen形式は変換OK

– メッシュタイプは、全テトラまたは全HEX

– v6.1('11/6)以降、マルチ要素にも対応

• OpenFOAM-1.6-ext / pimpleDyMFoam– 有限体積法ソルバー

– メッシュタイプは多面体なら何でもOK

– 独自形式、様々な形式(fluent,ccm+,..)の変換も可能

– 独自のメッシュ作成ツール(blockMesh,snappyHexMesh)

Page 11: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

11 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

オープンCAEを活用した回転機器の非定常LES解析

製品CADデータ

自動メッシュ作成 非定常流れ計算(メッシュ回転)

ポスト処理可視化

全テトラ

全テトラ+プリズム

全HEXベース多面体

メッシュ形式

igesstp

STL

pch Tetmesh

netgen

enGrid

SnappyHexMesh

FFB

OpenFOAM-1.6-ext

ParaView

I/F既存

自作

Page 12: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

12 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

オープンCAEを活用した回転機器の非定常LES解析

製品CADデータ

自動メッシュ作成 非定常流れ計算(メッシュ回転)

ポスト処理可視化

全テトラ

全テトラ+プリズム

全HEXベース多面体

メッシュ形式

igesstp

STL

pch Tetmesh

netgen

enGrid

SnappyHexMesh

FFB

OpenFOAM-1.6-ext

ParaView

I/F既存

自作

Page 13: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

13 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

オープンCAEを活用した回転機器の非定常LES解析

製品CADデータ

自動メッシュ作成 非定常流れ計算(メッシュ回転)

ポスト処理可視化

全テトラ

全テトラ+プリズム

全HEXベース多面体

メッシュ形式

igesstp

STL

pch Tetmesh

netgen

enGrid

SnappyHexMesh

FFB

OpenFOAM-1.6-ext

ParaView

I/F既存

自作

Page 14: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

14 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

FFBの調査状況サマリー

• オールテトラ:数100万セルでの計算は実施済('09/12)計算速度はOK、計算精度に難(境界層の分解能)

• マルチ要素(レイヤーメッシュ)対応版の調査('10/6~)– 製品CADデータを使ったメッシュ自動作成は目処がついたも

のの、FFBでの計算は発散

• 上記自動メッシュ作成ツールは並列計算対応困難で、 1000万超メッシュは、FFBのリファイナー機能に期待→ リファイナー機能がオーバーセット計算で不具合

Page 15: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

15 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

OpenFOAMの調査状況サマリー

• 製品CADデータを使ったsnappyHexMeshによる自動メッシュ作成は実用化の可能性大

• 定常計算であれば、1000万超規模の計算も並列高速化可能

• メッシュを回転させる非定常LES計算は、OpenFOAMのext版のGGI機能を利用可能

• 回転領域のメッシュ作成に工夫が必要であったが動作確認は出来た

• 並列演算による高速化性能はやや物足りない

Page 16: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

16 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

OpenFOAM - snappyHexMeshによるメッシュ自動作成

基礎メッシュ(六面体構造格子、blockMeshで作成)

STLデータ(CADからエクスポート)

形状細分化

領域細分化

非計算領域除去

形状適合(snapping)

レイヤー

Page 17: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

17 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

snappyHexMeshの課題

回転領域STLで定義

snappyHexMesh

回転領域を抽出定義

Page 18: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

18 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

snappyHexMesh での工夫点

回転領域と合致したblockMesh作成

snappyHexMesh

Page 19: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

19 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

連続/不連続(GGI)メッシュ

基礎メッシュ

snappyHexMesh snappyHexMesh snappyHexMesh

分割一体

mergeMesh

連続メッシュ 不連続メッシュ

Page 20: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

20 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

メッシュ作成例

( 2 2 )

( 3 4 )

Page 21: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

21 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

大規模定常計算の並列性能

0 20 40 60 80 100 120

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

4,944,50214,415,74229,082,052

0 20,000,000 40,000,000

0

5

10

15

20

25

30

12244896

ソルバー:MRFSimpleFOAM(OpenFOAM-1.7.x)

Titer

:イタレーション(1回)

に要する時間(sec)

残差

イタレーション計算時間

計算速度

(Titer

) (1/Titer

セル数 コア数

コア数セル数

Page 22: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

22 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

0 10,000,000 20,000,000

0

5

10

15

20

25

30

35

0 20 40 60 80 100 120 140

0

0.05

0.1

0.15

0.2

0.25

0.3

0.35

GGIソルバーの課題

ソルバー:MRFSimpleFOAM

Titer

:イタレーション(1回)

に要する時間(sec)

OpenFOAM-1.7.x

OpenFOAM-1.6-ext

連続メッシュでの計算

不連続メッシュでの計算

計算時間

(Titer

計算速度

(1/Titer

コア数=12

セル数

セル数 コア数

14,170,005

14,415,742

Page 23: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

23 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

OpenFOAM-1.6-ext のGGIソルバー

icoDyMFoam

pimpleDyMFoam

transSimpleDyMFoam

OpenFOAM

http://openfoamwiki.net/index.php/Sig_Turbomachinery_/_Timisoara_Swirl_Generator

‘04/12~GPL

OpenCFD Ltd. Wikki Ltd.

v1.3

v1.4

v1.6

v1.7

v1.5

v2.0

v1.5-dev

v1.6-ext

‘10

‘09

‘08

‘11

メッシュ:約270万セル現象1.0s(15回転/920rpm)計算時間:20h@32コア

Page 24: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

24 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

pimpleDyMFoam

メッシュ:約1400万セル現象0.03s(1回転/2000rpm)計算時間:17h@80コア

メッシュ:約1900万セル現象0.01s(0.5回転/3000rpm)計算時間:50h@64コア

Page 25: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

25 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

大規模計算に際してのプリポスト処理の課題

• メッシュ自動作成ツール

 snappyHexMesh 以外は並列計算非対応、または不明

• FFBの前処理(リファイナ、オーバーセットデータ作成)

• OpenFOAMの後処理(reconstructPar)

• paraview

Page 26: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

26 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

メッシュ作成ツールとメッシュ品質

◎:デフォルトパラメタにて安定計算可能○:パラメタチューニングにて安定計算可能△:同上だが、結果が不合理×:発散

MRFSimpleFoam:定常RANS計算(マルチフレーム)pimpleDyMFoam:非定常LES計算(スライディングメッシュ)transientSimpleDyMFoam:非定常RANS計算(同上)

Page 27: オープンCAEを活用した 大規模高速演算及び...This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given

27 / 27

This information is the exclusive property of DENSO CORPORATION. Without their consent, it may not be reproduced or given to third parties.

まとめ

• 自動車用回転送風機器の流体騒音計算を製品の試作前段階で評価できるべく、オープンソースのLES計算ソフト(FFB,OpenFOAM)につき調査した。

• FFBは計算速度面で有望という感触を得たが、メッシュ品質に対するロバスト性に難があり保留中。

• OpenFAOM-1.6-extのGGIソルバーは、計算速度面で劣る面はあったものの、自動作成したメッシュにて計算可能であった(但し、計算精度検証は未実施)

• 1000万メッシュ超のデータの取扱いに際しては、 ソルバー面での問題は少ないが、プリポスト処理に要する時間が計算時間以上に必要であった。