Publications

Back to Peer-reviewed journal papers

Metagraph-Based Domain-Decomposed Galerkin Reduced-Order Model

Authors
K. Shintate, N. Morita, S. Kaneko, N. Magome, N. Mitsume†
Status
Accepted
Published in
Computational Mechanics
Type
Peer-reviewed journal papers
arXiv
https://arxiv.org/abs/2607.06011
Topics
Large-scale parallel computing Machine learning and data science Structural and solid mechanics
Keywords
Metagraph-based domain-decomposed Galerkin reduced-order model Metagraph Domain-decomposed Galerkin reduced-order model Galerkin reduced-order model Parallel computing Domain decomposition Graph structure Reduced-order modeling Proper orthogonal decomposition Two-level graph-based domain partitioning
グラフィカルアブストラクト
グラフィカルアブストラクト

概要

パラメータを変えて解析を繰り返すパラメトリックスタディでは、フルオーダーモデル(FOM)の高速な代理モデルとして、低次元化モデル(reduced-order model、ROM)が広く研究されています。なかでも、支配方程式を低次元の近似空間に射影して近似解を求める Galerkin 低次元化モデル(G-ROM)は、計算の精度と効率のバランスがよい手法として注目されています。しかし、FOM の自由度数が非常に大きい問題では、学習データや基底が FOM の自由度数に比例する大きさを持つので、オフラインフェーズとオンラインフェーズの両方で、メモリの制約が大きな課題になります。有効な対策は分散メモリ型の並列計算ですが、論文は、著者らの知る限り、POD(proper orthogonal decomposition、固有直交分解)に基づく G-ROM で、低次元化された連立一次方程式の組み立てから線形ソルバによる求解までのオンラインフェーズ全体を分散メモリ型で並列化した枠組みは、まだ報告されていないと述べています。また、領域ごとに局所的な低次元近似空間を作る領域分割型 Galerkin 低次元化モデル(DD-G-ROM)の既存の手法は、局所的な近似空間を作るための領域分割と、並列計算のための領域分割が一致することを前提に設計されていると指摘しています。

本論文は、大規模問題の分散メモリ型並列の低次元化解析のために、メタグラフに基づく領域分割型 Galerkin 低次元化モデル(metagraph-based domain-decomposed Galerkin reduced-order model、MBDD-G-ROM)を提案しています。この手法は、計算点の間の相互作用を表す計算点グラフと、局所近似空間の領域の間の連結を表すメタグラフを用いて、任意の領域分割の上で定義される DD-G-ROM をグラフで表現します。本論文が扱う POD に基づく実装では、局所近似空間の領域は、局所 POD 基底を作る POD 計算領域です。POD 計算領域をメタノードとして扱い、局所 POD 基底関数の台(値が非零になる範囲)の重なりから生じるブロック単位の疎構造を、メタエッジで表します。この表現に基づく 2 段階のグラフ分割によって、POD 計算領域を並列計算領域から切り離します。これにより、2 種類の領域の数や形状に 1 対 1 の対応を課さずに、低次元化された系の組み立てと線形ソルバを含むオフラインフェーズとオンラインフェーズを、分散メモリ型で並列化できます。メタノードに計算コストの見積もりを表す重みを与えることで、静的負荷分散も自然に組み込めます。

検証には、非定常拡散方程式と、3 次元の円柱まわりの流れの非圧縮性 Navier–Stokes 方程式を用い、低次元化による精度の低下と、ストロングスケーリングの挙動を評価しています。論文は、提案手法が解の精度を保ちながら、オンラインフェーズで高い並列効率を達成したと報告しています。静的負荷分散の試験では、計算コストの見積もりに基づくメタノードの重みによって、試した条件で計算効率が向上したとしています。

重要点

1. 計算点グラフとメタグラフで、領域分割型の低次元化モデルを任意の領域分割に対して定式化する

論文は、DD-G-ROM と、その行列の疎構造に対応するグラフの概念を導入して、任意の領域分割に一般化した定式化を示しています。グラフ G=(V,E)G = (V, E) は、ノードの集合 VV と、つながったノード viv_i と vjv_j の組 (vi,vj)(v_i, v_j) を表すエッジの集合 EE からなる無向グラフで、自己エッジ (vi,vi)(v_i, v_i) を含みます。計算点の間の相互作用を表すグラフを計算点グラフと呼びます。計算点グラフは、係数行列やヤコビ行列の非零構造に対応します。本論文では有限要素の節点を計算点とし、同じ要素の上で基底関数の積が非零になる節点の組をエッジとしています。

グラフのノードの集合 VV を、重なりのない NsubN_{\mathrm{sub}} 個のノードの集合 V(i)V^{(i)}(i=1,2,…,Nsubi = 1, 2, \ldots, N_{\mathrm{sub}})に分割します。V(i)V^{(i)} を領域 ii と呼び、領域 ii に属するノードの集合を内部ノード集合と呼びます。領域 ii のオーバーラップ領域 Vovl(i)V_{\mathrm{ovl}}^{(i)} を、次のように定義します。

Vovl(i):={vj ∣ vj∉V(i), ∃vk∈V(i) s.t. (vk,vj)∈E}(18)V_{\mathrm{ovl}}^{(i)} := \left\{ v_j \,|\, v_j \notin V^{(i)},\ \exists v_k \in V^{(i)} \ \text{s.t.}\ (v_k, v_j) \in E \right\} \tag{18}

次の条件が成り立つとき、領域 ii は領域 jj に隣接するといいます。

V(i)∩Vovl(j)≠∅(19)V^{(i)} \cap V_{\mathrm{ovl}}^{(j)} \neq \emptyset \tag{19}

計算点グラフを分割して得た内部ノード集合 V(i)V^{(i)} のそれぞれに、新しくメタノード v~i\tilde{v}_i を定義すると、領域の間の隣接関係を表すメタグラフ G~=(V~,E~)\tilde{G} = (\tilde{V}, \tilde{E}) を定義できます(図 1)。V~\tilde{V} は分割された領域を表すメタノードの集合、E~\tilde{E} は、各領域の自己エッジと、式 (19) の隣接関係を表すエッジの集合です。論文は、グラフ理論の用語では、メタグラフの領域間の連結は、自己エッジの扱いを除いて、計算点グラフの分割が導く商グラフ(quotient graph)の連結に対応すると述べています。

計算点グラフに対応する正方行列 A\boldsymbol{A} は、領域ごとのブロック行列を使って、次のように表されます。

A=∑i=1Nsub∑j=1NsubP(i)A(i,j)P(j)T(24)\boldsymbol{A} = \sum_{i=1}^{N_{\mathrm{sub}}} \sum_{j=1}^{N_{\mathrm{sub}}} \boldsymbol{P}^{(i)} \boldsymbol{A}^{(i,j)} {\boldsymbol{P}^{(j)}}^{\mathrm{T}} \tag{24}

ここで、A(i,j)\boldsymbol{A}^{(i,j)} は、領域 jj の内部ノード集合が領域 ii の内部ノード集合に及ぼす作用を表すブロック行列です。P(i)\boldsymbol{P}^{(i)} は、領域 ii で定義された局所的なベクトルを、全体のベクトルの対応する成分に埋め込むブール行列で、上付きの T\mathrm{T} は転置を表します。領域 ii と jj が隣接するとき、ブロック行列 A(i,j)\boldsymbol{A}^{(i,j)} は非零になります。メタグラフは領域の間の隣接関係を表すので、ブロック行列の非零構造は、メタグラフを参照すれば一意に決まります。

メタグラフとブロック行列の構造の関係
図 1 メタグラフとブロック行列の構造の関係。左は、計算点グラフを 5 つの領域に分割して得たメタグラフです。右は、対応するブロック行列の構造で、色の付いた対角ブロックが個々のメタノードに、灰色の非対角ブロックが隣接するメタノードの間の相互作用に対応し、白いブロックは構造的に零のブロックです。出典:投稿中の原稿の Fig. 3。

2. 局所 POD の低次元化された系は、メタグラフが表すブロック単位の疎構造を持つ

局所 POD(Local POD、L-POD)は、領域ごとのスナップショット行列を別々に特異値分解し、得られた局所基底を、ブロック構造を持つ全体の基底にまとめます。領域 ii のスナップショット行列の左特異ベクトルのうち、最初の nPOD(i)n_{\mathrm{POD}}^{(i)} 本を、領域 ii の POD 基底 Φ(i)\boldsymbol{\Phi}^{(i)} とします。基底は領域ごとに独立に得られるので、領域全体の POD 基底 Φ\boldsymbol{\Phi} は、次のブロック対角行列になります。

Φ=[Φ(1)0⋯00Φ(2)⋯0⋮⋮⋱⋮00⋯Φ(NPOD)](31)\boldsymbol{\Phi} = \begin{bmatrix} \boldsymbol{\Phi}^{(1)} & 0 & \cdots & 0 \\ 0 & \boldsymbol{\Phi}^{(2)} & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \boldsymbol{\Phi}^{(N_{\mathrm{POD}})} \end{bmatrix} \tag{31}

ここで、NPODN_{\mathrm{POD}} は POD 基底を求める領域の数です。論文は、L-POD では領域ごとの小さなスナップショット行列を特異値分解するので、基底を作るオフラインのコストを減らせること、全体の POD より多くの基底を保持できる場合があること、局所基底の次元を領域ごとに独立に選べることを挙げています。一方で、低次元化された次元が増えると、近似の精度が上がり得る反面、オンラインの計算コストは増え得るとも述べています。

低次元化されたヤコビ行列 J~=ΦTJΦ\tilde{\boldsymbol{J}} = \boldsymbol{\Phi}^{\mathrm{T}} \boldsymbol{J} \boldsymbol{\Phi} の各ブロック行列は、対応する領域の POD 基底との積で計算されます。

J~(i,j)=Φ(i)TJ(i,j)Φ(j)(34)\tilde{\boldsymbol{J}}^{(i,j)} = {\boldsymbol{\Phi}^{(i)}}^{\mathrm{T}} \boldsymbol{J}^{(i,j)} \boldsymbol{\Phi}^{(j)} \tag{34}

ここで、J\boldsymbol{J} は FOM のヤコビ行列、J(i,j)\boldsymbol{J}^{(i,j)} は領域 ii と jj の内部ノード集合に対応するヤコビ行列のブロックで、メタノード ii がメタノード jj から受ける作用を表します。J~(i,j)\tilde{\boldsymbol{J}}^{(i,j)} は、低次元化されたヤコビ行列の、領域 ii と jj に対応するブロック行列です。領域 ii と jj が隣接するときにこの積が非零になるので、低次元化されたヤコビ行列は、FOM のヤコビ行列と同様の、ブロック単位の非零構造を持ちます。

L-POD の基底は、その領域の節点に対応する有限要素の基底関数の線形結合です。このため、隣り合う領域の局所 POD 基底がどちらも非零になる、重なりの範囲があります(図 2)。POD 基底を求める領域(POD 計算領域)をメタノードとするメタグラフでは、メタノード aa の POD 基底 Φ(a)(x)\boldsymbol{\Phi}^{(a)}(\boldsymbol{x}) とメタノード bb の POD 基底 Φ(b)(x)\boldsymbol{\Phi}^{(b)}(\boldsymbol{x}) の積が非零になる点 x\boldsymbol{x} があるとき、すなわち次の条件が成り立つときに、メタノード aa はメタノード bb に隣接するとみなします。

∃ x∈R3, Φ(a)(x)TΦ(b)(x)≠0(40)\exists\, \boldsymbol{x} \in \mathbb{R}^3,\ \boldsymbol{\Phi}^{(a)}(\boldsymbol{x})^{\mathrm{T}} \boldsymbol{\Phi}^{(b)}(\boldsymbol{x}) \neq \boldsymbol{0} \tag{40}

ここで、R3\mathbb{R}^3 は 3 次元の実数の空間です。論文は、通常の POD が作る基底関数は領域全体で定義されたモードで、そのグラフ構造は全対全の連結(密行列に対応)になるので、領域分割でデータを分散させるとプロセス間の通信が多くなり、分散メモリ型の計算機で良好なストロングスケーリングを得ることが非常に難しいと説明しています。これに対して L-POD は、領域を分割していて、メタグラフに対応する疎なブロック行列の構造を持つので、低次元化と領域分割型の並列解析を組み合わせられるとしています。

局所 POD 基底関数と、隣り合う領域にまたがる重なり
図 2 1 次元の問題で、1 次の有限要素の基底関数 Ni(x)N_i(x) を用いた場合の、局所 POD 基底関数と、隣り合う領域にまたがる重なりの模式図。緑の POD 基底 Φ(1)\boldsymbol{\Phi}^{(1)} は左の領域に、青の POD 基底 Φ(2)\boldsymbol{\Phi}^{(2)} は右の領域に属し、赤の線は 2 つの和です。出典:投稿中の原稿の Fig. 4。

3. 2 段階のグラフ分割で、POD 計算領域を並列計算領域から切り離す

L-POD を分散メモリ型で並列計算するには、POD 計算領域の間の情報のやり取りと、並列プロセスの間のデータ通信という、2 種類の階層的な領域にわたる情報のやり取りを扱う必要があります。提案手法の MBDD-G-ROM は、POD 基底を求める領域(POD 計算領域)と、領域分割型の並列化に使う領域(並列計算領域)を、次の 2 段階のグラフ分割で独立に定義します(図 3)。

  • 第 1 段階:有限要素の節点に対応するグラフを分割して、POD 計算領域を作ります。論文は、こうして作った POD 計算領域を、L-POD によって低次元の基底関数が割り当てられた粗い有限要素と解釈できるとしています。
  • 第 2 段階:POD 計算領域の集合に対応するメタグラフを、式 (40) の隣接関係で作ります。このメタグラフをもう一度分割して、並列計算領域を定義します。各並列計算領域は、特定の POD 計算領域の集合を含みます。

本論文は、POD 計算領域の数が並列計算領域の数以上である問題を対象としています。第 2 段階の分割は、有限要素の節点の集合や POD 基底を分割し直さないので、POD 基底、低次元化されたヤコビ行列のブロック、低次元化された残差ベクトルの数値は変わりません。論文は、この階層の利点として、第 1 階層のメタグラフが局所的な低次元化された近似空間の間の相互作用を表し、第 2 階層の分割が、これらの空間の MPI プロセスへの割り当てと、それに伴う通信の依存関係を決めることを挙げています。POD 計算領域の MPI プロセスへの割り当ては、局所的な低次元化された作用素を作り直さずに変更できます。

メタグラフを分割した後の行列の構造は、次のように表されます。

J~=∑i=1Npar∑j=1NparP(i)J~(i,j)P(j)T(43)\tilde{\boldsymbol{J}} = \sum_{i=1}^{N_{\mathrm{par}}} \sum_{j=1}^{N_{\mathrm{par}}} \boldsymbol{P}^{(i)} \tilde{\boldsymbol{J}}^{(i,j)} {\boldsymbol{P}^{(j)}}^{\mathrm{T}} \tag{43}

ここで、NparN_{\mathrm{par}} は並列プロセスを割り当てる領域(並列計算領域)の数です。式 (43) の J~(i,j)\tilde{\boldsymbol{J}}^{(i,j)} は、式 (34) と同じ文字ですが、ここでは並列計算領域 jj に属するメタノードの集合が、並列計算領域 ii に属するメタノードの集合に及ぼす作用を表すブロック行列です。P(i)\boldsymbol{P}^{(i)} も、式 (24) と同じ文字ですが、ここでは並列計算領域 ii の中のメタノードの番号と、全体でのメタノードの番号を対応させる行列です。

提案手法の階層的なグラフ構造
図 3 提案する MBDD-G-ROM の枠組みの、階層的なグラフ構造の模式図。メッシュの節点のグラフ(計算点グラフ)を分割して POD 計算領域を定義し(Domain decomposition (1))、POD 計算領域のグラフ(メタグラフ)を分割して並列計算領域を定義します(Domain decomposition (2))。右端のグラフでは、色が並列計算領域の違いを表し、色のないノードは、隣の POD 計算領域の情報を参照するためのオーバーラップのノードです。出典:投稿中の原稿の Fig. 6。

4. 反復法の線形代数演算を、メタグラフに基づいて分散メモリ型で並列化する

低次元化された連立一次方程式の解法には、反復法を採用しています。論文は、POD 計算領域の数や局所 POD 基底の本数が増えると低次元化された系が大きくなり得ること、比較的小さな系では疎行列の直接法が有利な場合がある一方で、大きな疎な系では、収束が十分に速ければ反復法が計算時間とメモリの使用量で有利になり得ることを説明しています。そのうえで、提案する分散メモリ型の枠組みを今後より大きな低次元化された系へ適用することを見据えて反復法を採用しており、計算時間の絶対値で直接法より一般に優れるとは主張しないとしています。

反復法の並列計算は、ベクトルの和、ベクトルの内積、行列ベクトル積の並列計算を実装すれば実現できます。並列計算には MPI(Message Passing Interface)を用いています。ベクトルの和は、領域ごとに、MPI の通信なしで計算できます。ベクトルの内積は、各領域の内部ノード集合の上で局所的な内積を計算し、全プロセスの値を MPI_Allreduce で合計します。行列ベクトル積 z=Ax\boldsymbol{z} = \boldsymbol{A} \boldsymbol{x} は、領域 ii だけに関する計算と、領域 ii とそれに隣接する領域 jj に関する計算に分けて、次のように計算します。

z=∑i=1NparP(i)z(i)=∑i=1NparP(i){A(i,i)x(i)+∑j∈nbhd(v~i,G~)A(i,j)x(j)}(38)\boldsymbol{z} = \sum_{i=1}^{N_{\mathrm{par}}} \boldsymbol{P}^{(i)} \boldsymbol{z}^{(i)} = \sum_{i=1}^{N_{\mathrm{par}}} \boldsymbol{P}^{(i)} \left\{ \boldsymbol{A}^{(i,i)} \boldsymbol{x}^{(i)} + \sum_{j \in \mathrm{nbhd}(\tilde{v}_i, \tilde{G})} \boldsymbol{A}^{(i,j)} \boldsymbol{x}^{(j)} \right\} \tag{38} nbhd(v~i,G~):={j ∣ (v~j,v~i)∈E~, j≠i}(39)\mathrm{nbhd}(\tilde{v}_i, \tilde{G}) := \left\{ j \,|\, (\tilde{v}_j, \tilde{v}_i) \in \tilde{E},\ j \neq i \right\} \tag{39}

ここで、x(i)\boldsymbol{x}^{(i)} と z(i)\boldsymbol{z}^{(i)} は、ベクトル x\boldsymbol{x} と z\boldsymbol{z} のうち、領域 ii の内部ノード集合に対応する部分です。A(i,i)\boldsymbol{A}^{(i,i)} は領域 ii の内部ノード集合に対応するブロック行列、nbhd(v~i,G~)\mathrm{nbhd}(\tilde{v}_i, \tilde{G}) は、メタグラフ G~\tilde{G} でメタノード v~i\tilde{v}_i に隣接するノードの番号をすべて返す関数です。式 (38) と式 (39) では、領域の番号 ii に並列プロセスを割り当て、そのプロセスが部分グラフ、ブロック行列 A(i,j)\boldsymbol{A}^{(i,j)}、ベクトル x(i)\boldsymbol{x}^{(i)} を持ちます。

隣接する領域 jj のベクトル x(j)\boldsymbol{x}^{(j)} は、領域 ii のプロセスが持っていないので、MPI の通信で取得します。必要な通信テーブルは、メタグラフの隣接の情報から作れます。実際には、通信するデータの量を減らすために、ブロック行列 A(i,j)\boldsymbol{A}^{(i,j)} の非零の成分に対応するベクトルの成分だけを通信します。ブロック行列は、オーバーラップ領域が必要なグラフの情報を含んでいるので、MPI の通信なしで、領域ごとに独立に生成できます。論文は、有限要素解析のためのオーバーラップ型の領域分割に基づく並列計算手法を拡張して、局所近似空間の領域の間の相互作用を表す密なブロック行列のための並列計算手法を提案したとしています。提案手法では、各並列計算領域が含む POD 計算領域の集合に、この領域分割型の並列計算を適用します。

5. メタノードの重みで、静的負荷分散を組み込む

POD 計算領域ごとに基底の本数が違うので、並列プロセスの間で計算負荷が偏り、全体の計算効率が下がることがあります。提案手法では、POD 計算領域をノード、その隣接関係をエッジとするメタグラフで、各メタノード v~i\tilde{v}_i に、対応する領域の計算コストの見積もりを表すノードの重み nweight(i)n_{\mathrm{weight}}^{(i)} を与えます。必要であれば、隣接する POD 計算領域の間の通信量の見積もりをエッジの重みにできますが、本論文ではエッジの重みをすべて 1 としています。この重み付きのグラフを、各領域に含まれるノードの重みの和をそろえて計算負荷をつり合わせ、領域をまたぐエッジの重みの和(エッジカット)を最小にするように分割します。分割には、グラフ分割ライブラリ METIS を用い、POD 計算領域の分割と並列計算領域の分割の両方に、同じグラフ分割に基づく方法を使っています。

数値例では、メタノードの重みを、1 か、Hyper-reduction 法が POD 計算領域 ii で選んだ要素の数 nHROM(i)n_{\mathrm{HROM}}^{(i)} のどちらかにしています(式 (C70))。重みを 1 とするのは重みなしのメタグラフの分割に当たります。nHROM(i)n_{\mathrm{HROM}}^{(i)} は、低次元化された系の組み立ての作業量の代わりの指標です。論文は、この重みが、低次元化された行列のブロックの大きさ、ソルバの反復の回数、プロセス間の通信のコストを明示的には考慮していないと述べ、これらを取り入れた、計測に基づくより詳しい負荷のモデルを今後の課題としています。

数値実験の結果

非定常拡散方程式:解析の条件

線形の偏微分方程式である、次の非定常拡散方程式を支配方程式としています。

∂u∂t−∇⋅(k∇u)=Q(45)\frac{\partial u}{\partial t} - \nabla \cdot (k \nabla u) = Q \tag{45}

ここで、uu は拡散する物理量を表す未知変数、tt は時間、kk は拡散係数、QQ は解析領域 Ω\Omega で生成される物理量を表すソース項です。拡散係数は、空間座標 xx、yy、zz に対して k(x,y,z)=1+x3+y3+z3k(x, y, z) = 1 + x^3 + y^3 + z^3 としています。ソース項は 3 個の点熱源の和で、時間の変化は q(t)=1000(1+sin⁡t)q(t) = 1000(1 + \sin t) です。点熱源の位置は、(2.5, 3.75, 3.75)、(2.5, 2.75, 2.5)、(2.5, 1.25, 1.25) です。境界の全体に、Dirichlet 条件 u=sin⁡(0.25x)sin⁡(0.5y)sin⁡zsin⁡tu = \sin(0.25x) \sin(0.5y) \sin z \sin t を課しています。

解析領域は 3 次元の立方体の領域 [0,5]3[0, 5]^3 で、すべての要素が立方体になるようにメッシュを作っています。有限要素の基底関数は 1 次の Lagrange 補間関数、時間の離散化は陰的 Euler 法で、時間刻み幅は 0.01 s です。空間と時間の離散化の設定は、オフラインフェーズで基底を作る数値解法と、オンラインフェーズで低次元化する数値解法で共通です。オンラインフェーズでは、POD-Galerkin 法で ROM を構築して解析しています。行列の計算には MONOLIS(Metagraph-Oriented Network for Linear Iterative Solvers)を、分散メモリ型の並列の特異値分解には ScaLAPACK を用いました。連立一次方程式は CG 法(収束判定のしきい値 1.0×10−91.0 \times 10^{-9}、最大反復回数 10,000 回、対角スケーリング前処理)で解いています。

各 POD 計算領域で使う POD 基底の本数 nPODn_{\mathrm{POD}} は、適切なしきい値 εPOD\varepsilon_{\mathrm{POD}} を使って、次の式を満たすように決めます。

∑i=1nPODσi∑i=1rσi>1−εPOD(12)\frac{\sum_{i=1}^{n_{\mathrm{POD}}} \sigma_i}{\sum_{i=1}^{r} \sigma_i} > 1 - \varepsilon_{\mathrm{POD}} \tag{12}

ここで、σi\sigma_i はスナップショット行列の ii 番目の特異値(大きい順)、rr はスナップショット行列の階数です。拡散方程式の検証では、εPOD=10−6\varepsilon_{\mathrm{POD}} = 10^{-6} としています。

ROM 解析の数値解 uROMu_{\mathrm{ROM}} の誤差は、有限要素解析の数値解 uFEMu_{\mathrm{FEM}} に対する、L2L^2 ノルムに基づく相対誤差 εROM\varepsilon_{\mathrm{ROM}} で評価しています。

εROM=∫Ω∣uROM−uFEM∣2 dΩ∫Ω∣uFEM∣2 dΩ(52)\varepsilon_{\mathrm{ROM}} = \frac{\sqrt{\int_{\Omega} |u_{\mathrm{ROM}} - u_{\mathrm{FEM}}|^2 \, d\Omega}}{\sqrt{\int_{\Omega} |u_{\mathrm{FEM}}|^2 \, d\Omega}} \tag{52}

計算機は、大阪大学のスーパーコンピュータ SQUID です。仕様は次のとおりです(投稿中の原稿の Table 1)。

項目 仕様
CPU Intel Xeon Platinum 8368(Ice Lake、2.4 GHz、38 コア)× 2
メモリ 256 GB
ピーク性能 5.84 TFLOPS
ノード数 1,520

非定常拡散方程式:L-POD の計算精度

逐次計算での精度を評価するために、POD 計算領域の数を変えて計算精度を確かめています。最初の 100 タイムステップを有限要素法で解析し、その解ベクトルからスナップショット行列を作って特異値分解し、POD 基底を作りました。続いて、タイムステップ 101 から 1,000 まで(t=1.01t = 1.01 s から t=10.0t = 10.0 s まで)を ROM で解析しました。有限要素解析の自由度数は 1,030,301 で、POD 計算領域の数を 1、128、256、512、1,024、2,048 とした 6 ケースを調べています。POD 基底の総数は次のとおりです(投稿中の原稿の Table 2)。

POD 計算領域の数 1 128 256 512 1,024 2,048
POD 基底の総数 8 726 1,331 2,455 4,619 8,702
POD 計算領域の数ごとの L-POD の相対誤差
図 4 POD 計算領域の数 NPODN_{\mathrm{POD}} ごとの、L-POD の相対 L2L^2 誤差ノルムの時刻歴。出典:投稿中の原稿の Fig. 8。
  • 論文は、表と図 4 から、領域の数を増やすと基底関数の数が増え、計算精度が向上することが分かり、これらの結果が実装の妥当性を示すとしています。

非定常拡散方程式:ストロングスケーリング

POD 計算領域の数を固定して並列計算領域の数を変える、ストロングスケーリングの試験で、提案手法の並列計算の効率を評価しています。この検証では、負荷分散をしない場合の基準となる並列効率を評価するために、メタグラフのノードの重みをすべて 1 としています。自由度数が 1,030,301 と 10,077,696 の 2 つの有限要素モデルで、POD 計算領域の数を 512、1,024、2,048 とした 3 ケースを調べました。並列プロセスの数は、自由度数 1,030,301 のケースで 1、8、16、32、64、128、256、512、自由度数 10,077,696 のケースで 16、32、64、128、256、512 です。Npar=NPODN_{\mathrm{par}} = N_{\mathrm{POD}} のときは、各 MPI プロセスに POD 計算領域が 1 つ割り当てられます。メモリバンド幅の制約の影響をほぼ一定に保つために、1 ノード当たりの最大のプロセス数を 16 としました。計測は各ケースで 3 回行い、平均の値を評価に使っています。

POD 計算領域と並列計算領域への 2 段階の分割の例
図 5 POD 計算領域と並列計算領域への 2 段階の分割の例(自由度数 1,030,301、NPOD=512N_{\mathrm{POD}} = 512、Npar=128N_{\mathrm{par}} = 128)。(a) は POD 計算領域、(b) は、それらをまとめて作った並列計算領域です。出典:投稿中の原稿の Fig. 9。

自由度数 10,077,696 のケースは、メモリ容量の制限のために逐次計算では実行できませんでした。このため、逐次計算の時間 T1T_1 は、2 ノードと 4 ノードを使った 32 並列と 64 並列の結果をもとに、アムダールの法則で推定しています。論文は、この計算例が、提案する分散メモリ型の並列計算手法がメモリ容量の制約を緩和することを示すとしています。

並列計算の性能は、ROM 効率 RNparR_{N_{\mathrm{par}}} と加速率 SNparS_{N_{\mathrm{par}}} で評価しています。

RNpar=TNparFEMTNparROM(53)R_{N_{\mathrm{par}}} = \frac{T_{N_{\mathrm{par}}}^{\mathrm{FEM}}}{T_{N_{\mathrm{par}}}^{\mathrm{ROM}}} \tag{53} SNpar=T1TNpar(54)S_{N_{\mathrm{par}}} = \frac{T_1}{T_{N_{\mathrm{par}}}} \tag{54}

ここで、TNparFEMT_{N_{\mathrm{par}}}^{\mathrm{FEM}} と TNparROMT_{N_{\mathrm{par}}}^{\mathrm{ROM}} は、NparN_{\mathrm{par}} 個の並列プロセスでの有限要素法と ROM の計算時間、TNparT_{N_{\mathrm{par}}} は NparN_{\mathrm{par}} 個の並列プロセスでの計算時間です。ROM 効率は、ROM 解析の有限要素解析に対する高速化の倍率を表します。全体の計算時間は、各ケースで、タイムステップ 101 から 200 までの 100 タイムステップについて測定しました。ROM 効率(図 6)は、1 タイムステップ当たりの全体の計算時間の平均で評価しています。POD 基底の総数は次のとおりです(投稿中の原稿の Table 3)。

有限要素解析の自由度数 POD 計算領域の数 512 POD 計算領域の数 1,024 POD 計算領域の数 2,048
1,030,301 2,455 4,619 8,702
10,077,696 2,416 4,546 8,586
並列プロセスの数と ROM 効率
図 6 並列プロセスの数と、全体の実行時間に基づく ROM 効率の関係。(a) は自由度数 1,030,301、(b) は自由度数 10,077,696 です。出典:投稿中の原稿の Fig. 10。
  • 有限要素解析の自由度数が大きいケースほど、ROM 効率が高くなる傾向があります。論文は、上の表のとおり、ROM 解析の低次元化された自由度数が有限要素解析の自由度数によらずほぼ一定なので、有限要素解析の自由度数が大きいケースほど、ROM 解析による自由度数の削減の割合が相対的に大きくなるためと解釈しています。
  • 論文は、ROM 効率が、有限要素法と ROM の解析に使う線形ソルバと前処理に依存することに注意を促しています。この数値例では両方に同じ反復法と対角スケーリングを使いましたが、有限要素法により効果的な前処理を使えば、その計算時間が減り、報告した ROM 効率は下がり得ます。このため、これらの値を、十分に最適化した有限要素法のソルバに対する高速化と解釈してはならないとしています。

加速率の評価では、各タイムステップの ROM の実行時間を、(a) 低次元化された系の組み立て(低次元化されたヤコビ行列と残差ベクトルの構築)と、(b) 低次元化された Newton 系の求解の、2 つの成分に分けています。非定常拡散方程式は線形で、低次元化された係数行列は各ケースで 1 回だけ組み立てられ、全体の実行時間に占める割合が小さいので、評価から除いています。このため、拡散の問題の成分 (a) は、タイムステップごとの低次元化された右辺ベクトルの組み立てだけです。

加速率の例
図 7 従来の有限要素法(FEM)と提案手法の加速率の例(自由度数 10,077,696、NPOD=1,024N_{\mathrm{POD}} = 1{,}024)。Ideal line は理想の加速率、Proposed は提案手法で、全体(total)、低次元化された系の組み立て(assembling reduced system)、低次元化された系の求解(solving reduced system)を示しています。出典:投稿中の原稿の Fig. 12(b)。
  • 論文は、提案手法の全体の実行時間が、すべての解析ケースで良好なストロングスケーリングの挙動を示すとしています(図 7 は、そのうちの 1 ケースです)。
  • 低次元化された系の線形ソルバも全体としてよくスケールしますが、プロセスの数が多くなるとスケーラビリティが低下します。論文は、この挙動を、低次元化された連立一次方程式の大きさで説明しています。NPODN_{\mathrm{POD}} が小さいほど、低次元化された次元が小さく、1 プロセス当たりの計算の作業量が小さくなります。プロセスの数が増えると、この作業量では通信と同期のオーバーヘッドを償えなくなり、オーバーヘッドが線形ソルバの実行時間で支配的になります。

非定常拡散方程式:静的負荷分散

メタノードの重みの与え方の例を示して、静的負荷分散の効果を調べています。この検証では、計算効率をさらに高めるために Hyper-reduction 法も導入し、その手法として ECM(empirical cubature method)を使っています。Hyper-reduction 法は、低次元化された残差ベクトルとヤコビ行列の計算を、選ばれた一部の要素と正の重みによる和で近似する手法です。低次元化された連立一次方程式を組み立てる計算コストは、各 POD 計算領域で選ばれた要素の数 nHROM(i)n_{\mathrm{HROM}}^{(i)} に依存するので、ノードの重み nweight(i)n_{\mathrm{weight}}^{(i)} を 1 か nHROM(i)n_{\mathrm{HROM}}^{(i)} のどちらかにして、負荷分散の効果を確かめました。

特に断らない限り、基本的な計算の設定はストロングスケーリングの試験と同じです。最初の 100 タイムステップを有限要素法で解析して POD 基底を作り、次に、最初の 100 タイムステップを ROM で解析して、Hyper-reduction 法で要素の集合と重みを決めました。POD 計算領域の数は 512、並列プロセスの数は 8、16、32、64、128 です。基底の選択のしきい値は εPOD=10−6\varepsilon_{\mathrm{POD}} = 10^{-6}、Hyper-reduction 法の要素の選択のしきい値は εHROM=10−6\varepsilon_{\mathrm{HROM}} = 10^{-6} としました。

静的負荷分散の前後の、POD 計算領域の並列計算領域へのまとめ方
図 8 静的負荷分散の前後の、POD 計算領域の並列計算領域へのまとめ方の例(NPOD=512N_{\mathrm{POD}} = 512、Npar=8N_{\mathrm{par}} = 8)。色は、MPI プロセスに割り当てた並列計算領域を表します。POD 計算領域と局所 POD 基底は変わらず、重み付きのメタグラフの分割によって、プロセスへの割り当てだけが変わります。出典:投稿中の原稿の Fig. 13。
ノードの重みごとの ROM 効率
図 9 ノードの重みを 1 とした場合(実線)と nHROM(i)n_{\mathrm{HROM}}^{(i)} とした場合(破線)の、並列プロセスの数と ROM 効率の関係。出典:投稿中の原稿の Fig. 14。
  • 論文は、重みを nHROM(i)n_{\mathrm{HROM}}^{(i)} にすると計算効率が向上し(図 9)、加速率はすべての計算条件で一貫して向上したとしています。一方で、8 並列と 128 並列では目立った向上は見られなかったとも述べています。
  • 論文は、任意のノードの重みを与えられることが提案手法の利点で、たとえば領域の間の基底の本数の偏りを考慮して重みを最適化すれば、さらに効率が向上すると期待されるとしています。

非圧縮性 Navier–Stokes 方程式:3 次元の円柱まわりの流れ

非線形の偏微分方程式への適用性を確かめるために、拡散の例より複雑な物理現象とメッシュ構造を持つ例として、3 次元の円柱まわりの非定常の流れを解析しています。非圧縮性 Navier–Stokes 方程式は非線形なので、ヤコビ行列は Newton–Raphson 法の反復のたびに更新されます。このため、実行時間の成分 (a) は、低次元化されたヤコビ行列と低次元化された残差ベクトルの両方の組み立てを含みます。

空間の離散化は有限要素法、時間の離散化は陰的 Euler 法で、速度場と圧力場を同時に未知数として扱う一体型の方法を採用しています。移流と非圧縮性に伴う不安定性を抑えるために、Galerkin least-squares 安定化を導入しています。Reynolds 数は 200 です。代表長さは円柱の直径 D=1D = 1 m、密度は ρ=200\rho = 200 kg/m³、粘性係数は μ=1.0\mu = 1.0 Pa·s としました。計算メッシュは 6 面体要素で、要素数 2,488,800、節点数 2,629,200、全自由度数 10,516,800 です。有限要素の基底関数は 1 次の Lagrange 補間関数で、時間刻み幅は 0.005 s です。流入境界に xx 方向の一様な流入速度 U=1U = 1 m/s、円柱の表面に滑りなし条件、上下とスパン方向の境界に滑り条件、流出境界にトラクションフリー条件を課しています。

流れが十分に発達して周期的な渦放出が定常的に現れた後の、t=100t = 100 s の流れ場を初期条件とし、100≤t≤101100 \leq t \leq 101 s の区間で、0.01 s の間隔で 101 個のスナップショットを集めました。ROM の解析も同じ区間で行い、その ROM の解を使って、Hyper-reduction 法で要素の集合と重みを決めています。POD 計算領域の数は 1,024、並列プロセスの数は 32、64、128、256、512 です。しきい値は εPOD=10−6\varepsilon_{\mathrm{POD}} = 10^{-6}、εHROM=10−6\varepsilon_{\mathrm{HROM}} = 10^{-6} としました。連立一次方程式は BiCGSafe 法(収束判定のしきい値 1.0×10−81.0 \times 10^{-8}、最大反復回数 10,000 回、対角スケーリング前処理)で解いています。

局所 POD の計算のための領域分割と Hyper-reduction 法の要素の選択
図 10 局所 POD の計算のための領域分割と、Hyper-reduction 法の要素の選択。(a) は POD 計算領域(NPOD=1024N_{\mathrm{POD}} = 1024)、(b) は各領域に割り当てた基底の本数(オーバーラップの要素を青で示します)、(c) は Hyper-reduction 法が選んだ有限要素(選ばれた要素を灰色で示します)です。出典:投稿中の原稿の Fig. 17。
FOM と ROM の速度の大きさと圧力の分布
図 11 t=101t = 101 s での、zz 軸に垂直な断面の、速度の大きさ(上)と圧力(下)の分布(Reynolds 数 200)。左の列が FOM、右の列が ROM です。出典:投稿中の原稿の Fig. 18。
円柱まわりの流れでの ROM 効率
図 12 円柱まわりの流れでの、並列プロセスの数と、全体の実行時間に基づく ROM 効率の関係。出典:投稿中の原稿の Fig. 20。
  • 論文は、FOM で得られた流れ場が、ROM で定性的に再現されたとしています(図 11)。
  • FOM に対する ROM の相対 L2L^2 誤差ノルムは、速度場でおよそ 10−510^{-5} のオーダー、圧力場でおよそ 10−310^{-3} のオーダーにとどまりました(投稿中の原稿の Fig. 19)。論文は、圧力場の誤差は速度場より大きい傾向があるものの、圧力場でも良好な近似の精度が得られたとしています。
  • ROM 効率(図 12)は、最初の 10 タイムステップの計算時間を、3 回の計測の平均で評価しています。すべての並列プロセスの数で、FOM に対して約 100〜200 倍の高速化が得られました。論文は、提案手法が円柱まわりの流れの解析でも高い並列計算の性能を達成することを示すとしています。
  • 加速率について、論文は、提案手法の全体の計算時間の加速率が高いまま保たれるとしています(投稿中の原稿の Fig. 21)。

今後の展開

論文は、提案するメタグラフに基づく一般化が POD に基づく基底の構築に限られず、領域の間の相互作用をメタグラフの上で表せる、幅広い局所的な低次元化の手法を原理的に扱えると述べています。今後の課題として、次の点を挙げています。

  • 現在の POD に基づく線形部分空間の実装を、非線形多様体に基づく手法を取り入れるように拡張し、強い非線形の解の構造を持つ問題での ROM の精度と効率を高めること。
  • 低次元化された系の演算と通信のコストを考慮した、より包括的なメタノードとメタエッジの重みを開発し、オンラインの計算の途中での動的負荷分散を可能にすること。
  • 固定した基底から生じる近似誤差は負荷分散だけでは扱えないので、適応的な基底の追加、切り替え、時間窓ごとの基底と、それらの計算のオーバーヘッドを検討すること。
  • 大きな低次元化された系のための、より効果的な前処理(第 2 階層の分割に基づくブロック Jacobi 型や Schwarz 型の方法など)が、ソルバの性能と並列効率に与える効果を評価すること。
  • より高度な有限要素法と ROM のソルバを使った、系統的な比較を行うこと。
Graphical abstract
Graphical abstract

Overview

In parametric studies, where analyses are repeated for different parameter values, reduced-order models (ROMs) have been studied extensively as fast surrogates for full-order models (FOMs). Among them, Galerkin reduced-order models (G-ROMs), which compute approximate solutions by projecting the governing equations onto a low-dimensional approximation space, have attracted attention for their favorable balance between computational accuracy and efficiency. However, when the FOM has an extremely large number of degrees of freedom, the training data and the basis have sizes that scale with the number of full-order degrees of freedom, so memory requirements become a major challenge in both the offline and online phases. Distributed-memory parallel computing is an effective remedy, but the paper states that, to the best of the authors' knowledge, a G-ROM framework based on proper orthogonal decomposition (POD) with distributed-memory parallelization of the entire online phase, from the assembly of the reduced system of linear equations to its solution by a linear solver, has not yet been reported. It also points out that existing domain-decomposed Galerkin reduced-order models (DD-G-ROMs), which construct local low-dimensional approximation spaces in individual subdomains, are designed under the assumption that the domain decomposition used to construct the local approximation spaces coincides with that used for parallel computing.

The paper proposes a metagraph-based domain-decomposed Galerkin reduced-order model (MBDD-G-ROM) for distributed-memory parallel reduced-order analysis of large-scale problems. The method gives a graph-based representation of DD-G-ROMs defined over arbitrary domain decompositions, using calculation-point graphs, which describe interactions among calculation points, and metagraphs, which describe connectivity among local approximation-space subdomains. In the POD-based implementation considered in the paper, the local approximation-space subdomains are the POD computation subdomains, where local POD bases are constructed. POD computation subdomains are treated as metanodes, and metaedges encode the block-sparsity pattern induced by overlaps between the supports of local POD basis functions (the regions where they are nonzero). Based on this representation, a two-level graph partitioning decouples the POD computation subdomains from the parallel computation subdomains. This enables distributed-memory parallelization of the offline and online phases, including reduced-system assembly and the linear solver, without imposing a one-to-one correspondence between the two subdomain types in number or geometry. Assigning metanodes weights that represent estimated computational costs also provides a natural way to incorporate static load balancing.

The method is verified using an unsteady diffusion equation and the incompressible Navier–Stokes equations for flow around a three-dimensional cylinder, assessing the accuracy degradation caused by model reduction and the strong-scaling behavior. The paper reports that the proposed method maintains solution accuracy while achieving high parallel efficiency in the online phase. It also reports that, in the static load-balancing test, metanode weights based on estimated computational costs improved computational efficiency in the tested case.

Key points

1. Calculation-point graphs and metagraphs formulate domain-decomposed reduced-order models for arbitrary domain decompositions

The paper introduces graph concepts corresponding to DD-G-ROMs and to the sparsity structures of their matrices, and presents a formulation generalized to arbitrary domain decompositions. A graph G=(V,E)G = (V, E) is an undirected graph consisting of a node set VV and an edge set EE containing the pairs (vi,vj)(v_i, v_j) of connected nodes viv_i and vjv_j, including self-edges (vi,vi)(v_i, v_i). A graph that represents interactions among calculation points is called a calculation-point graph. It corresponds to the nonzero structure of the coefficient or Jacobian matrix. In the paper, finite element nodes are used as calculation points, and a pair of nodes whose basis functions have a nonzero product on the same element is regarded as an edge.

The node set VV of the graph is partitioned without overlap into NsubN_{\mathrm{sub}} node sets V(i)V^{(i)} (i=1,2,…,Nsubi = 1, 2, \ldots, N_{\mathrm{sub}}). V(i)V^{(i)} is called subdomain ii, and the set of nodes belonging to subdomain ii is called the internal node set. The overlap region Vovl(i)V_{\mathrm{ovl}}^{(i)} of subdomain ii is defined as follows.

Vovl(i):={vj ∣ vj∉V(i), ∃vk∈V(i) s.t. (vk,vj)∈E}(18)V_{\mathrm{ovl}}^{(i)} := \left\{ v_j \,|\, v_j \notin V^{(i)},\ \exists v_k \in V^{(i)} \ \text{s.t.}\ (v_k, v_j) \in E \right\} \tag{18}

Subdomain ii is said to be adjacent to subdomain jj when the following condition holds.

V(i)∩Vovl(j)≠∅(19)V^{(i)} \cap V_{\mathrm{ovl}}^{(j)} \neq \emptyset \tag{19}

Defining a new metanode v~i\tilde{v}_i for each internal node set V(i)V^{(i)} obtained by partitioning the calculation-point graph yields a metagraph G~=(V~,E~)\tilde{G} = (\tilde{V}, \tilde{E}) that represents the adjacency relation among the subdomains (Figure 1). V~\tilde{V} is the set of metanodes representing the partitioned subdomains, and E~\tilde{E} is the set of the self-edges of the subdomains and the edges representing the adjacency relation in Eq. (19). The paper notes that, in graph-theoretic terms, the inter-subdomain connectivity of the metagraph corresponds to that of a quotient graph induced by the partition of the calculation-point graph, apart from the treatment of self-edges.

A square matrix A\boldsymbol{A} associated with the calculation-point graph is expressed using subdomain-wise block matrices as follows.

A=∑i=1Nsub∑j=1NsubP(i)A(i,j)P(j)T(24)\boldsymbol{A} = \sum_{i=1}^{N_{\mathrm{sub}}} \sum_{j=1}^{N_{\mathrm{sub}}} \boldsymbol{P}^{(i)} \boldsymbol{A}^{(i,j)} {\boldsymbol{P}^{(j)}}^{\mathrm{T}} \tag{24}

Here, A(i,j)\boldsymbol{A}^{(i,j)} is the block matrix representing the action of the internal node set of subdomain jj on the internal node set of subdomain ii. P(i)\boldsymbol{P}^{(i)} is a Boolean matrix that embeds a local vector defined on subdomain ii into the corresponding entries of the global vector, and the superscript T\mathrm{T} denotes the transpose. When subdomains ii and jj are adjacent, the block matrix A(i,j)\boldsymbol{A}^{(i,j)} is nonzero. Because the metagraph represents the adjacency relation among the subdomains, the nonzero structure of the block matrices is uniquely determined by referring to the metagraph.

Relationship between the metagraph and the block-matrix structure
Figure 1. Relationship between the metagraph and the block-matrix structure. Left: the metagraph obtained by partitioning a calculation-point graph into five subdomains. Right: the corresponding block-matrix structure, in which the colored diagonal blocks correspond to individual metanodes, the gray off-diagonal blocks represent interactions between adjacent metanodes, and the blank blocks are structurally zero. Source: Fig. 3 of the manuscript under review.

2. The reduced system of Local POD has the block-sparsity structure represented by the metagraph

Local POD (L-POD) performs the singular value decomposition separately for the snapshot matrix of each subdomain and assembles the resulting local bases into a global, block-structured basis. Among the left singular vectors of the snapshot matrix of subdomain ii, the first nPOD(i)n_{\mathrm{POD}}^{(i)} are used as the POD basis Φ(i)\boldsymbol{\Phi}^{(i)} of subdomain ii. Because the bases are obtained independently in the individual subdomains, the POD basis Φ\boldsymbol{\Phi} over the entire domain is the following block-diagonal matrix.

Φ=[Φ(1)0⋯00Φ(2)⋯0⋮⋮⋱⋮00⋯Φ(NPOD)](31)\boldsymbol{\Phi} = \begin{bmatrix} \boldsymbol{\Phi}^{(1)} & 0 & \cdots & 0 \\ 0 & \boldsymbol{\Phi}^{(2)} & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \boldsymbol{\Phi}^{(N_{\mathrm{POD}})} \end{bmatrix} \tag{31}

Here, NPODN_{\mathrm{POD}} is the number of subdomains used to obtain POD bases. The paper notes that, because L-POD performs the singular value decompositions on smaller, subdomain-level snapshot matrices, it can reduce the offline cost of basis construction, may permit more basis vectors to be retained than global POD, and allows the local basis dimension to be selected independently for each subdomain. It also notes that an increase in the reduced dimension may increase the online computational cost while potentially improving the approximation accuracy.

Each block matrix of the reduced Jacobian J~=ΦTJΦ\tilde{\boldsymbol{J}} = \boldsymbol{\Phi}^{\mathrm{T}} \boldsymbol{J} \boldsymbol{\Phi} is computed as a product with the POD bases of the corresponding subdomains.

J~(i,j)=Φ(i)TJ(i,j)Φ(j)(34)\tilde{\boldsymbol{J}}^{(i,j)} = {\boldsymbol{\Phi}^{(i)}}^{\mathrm{T}} \boldsymbol{J}^{(i,j)} \boldsymbol{\Phi}^{(j)} \tag{34}

Here, J\boldsymbol{J} is the Jacobian of the FOM, and J(i,j)\boldsymbol{J}^{(i,j)} is the block of the Jacobian corresponding to the internal node sets of subdomains ii and jj, representing the action received by metanode ii from metanode jj. J~(i,j)\tilde{\boldsymbol{J}}^{(i,j)} is the block matrix of the reduced Jacobian corresponding to subdomains ii and jj. Because this product is nonzero when subdomains ii and jj are adjacent, the reduced Jacobian has a block nonzero structure similar to that of the FOM Jacobian.

An L-POD basis is a linear combination of the finite element basis functions associated with the nodes in its subdomain. There is therefore an overlap region in which the local POD bases of neighboring subdomains are both nonzero (Figure 2). In the metagraph whose metanodes are the subdomains used to compute POD bases (POD computation subdomains), metanode aa is regarded as adjacent to metanode bb if there exists a point x\boldsymbol{x} at which the product of the POD basis Φ(a)(x)\boldsymbol{\Phi}^{(a)}(\boldsymbol{x}) of metanode aa and the POD basis Φ(b)(x)\boldsymbol{\Phi}^{(b)}(\boldsymbol{x}) of metanode bb is nonzero, that is, if the following condition holds.

∃ x∈R3, Φ(a)(x)TΦ(b)(x)≠0(40)\exists\, \boldsymbol{x} \in \mathbb{R}^3,\ \boldsymbol{\Phi}^{(a)}(\boldsymbol{x})^{\mathrm{T}} \boldsymbol{\Phi}^{(b)}(\boldsymbol{x}) \neq \boldsymbol{0} \tag{40}

Here, R3\mathbb{R}^3 is the three-dimensional real space. The paper explains that the basis functions generated by ordinary POD are modes defined over the entire domain and their graph structure is all-to-all connected (corresponding to a dense matrix), so that distributing the data by domain decomposition leads to extensive interprocess communication and makes it highly challenging to achieve favorable strong scaling on distributed-memory systems. In contrast, L-POD divides the domain and has a sparse block matrix structure corresponding to the metagraph, which enables model reduction and domain-decomposition-based parallel analysis to be combined.

Local POD basis functions and their overlap across adjacent subdomains
Figure 2. Schematic of local POD basis functions and their overlap across adjacent subdomains, for a one-dimensional problem with linear finite element basis functions Ni(x)N_i(x). The green POD basis Φ(1)\boldsymbol{\Phi}^{(1)} belongs to the left subdomain, the blue POD basis Φ(2)\boldsymbol{\Phi}^{(2)} belongs to the right subdomain, and the red line is their sum. Source: Fig. 4 of the manuscript under review.

3. Two-level graph partitioning decouples the POD computation subdomains from the parallel computation subdomains

Distributed-memory parallel computation of L-POD requires handling information transfer over two types of hierarchical subdomains: information transfer among POD computation subdomains and data communication among parallel processes. The proposed MBDD-G-ROM defines the subdomains used to compute POD bases (POD computation subdomains) and the subdomains used for domain-decomposition-based parallelization (parallel computation subdomains) independently, through the following two stages of graph partitioning (Figure 3).

  • First stage: The graph corresponding to the finite element nodes is partitioned to generate the POD computation subdomains. The paper notes that the POD computation subdomains generated in this way can be interpreted as coarse finite elements to which low-dimensional basis functions are assigned by L-POD.
  • Second stage: The metagraph corresponding to the set of POD computation subdomains is constructed using the adjacency relation in Eq. (40). This metagraph is partitioned again to define the parallel computation subdomains. Each parallel computation subdomain contains a specific set of POD computation subdomains.

The paper focuses on problems in which the number of POD computation subdomains is greater than or equal to the number of parallel computation subdomains. The second-stage partitioning does not repartition the finite element node set or the POD bases, so the numerical values of the POD bases, the blocks of the reduced Jacobian, and the reduced residual vectors remain unchanged. As an advantage of this hierarchy, the paper notes that the first-level metagraph represents interactions among local reduced approximation spaces, while the second-level partitioning determines the assignment of these spaces to MPI processes and the associated communication dependencies. The assignment of POD computation subdomains to MPI processes can be modified without reconstructing the local reduced operators.

The matrix structure after partitioning the metagraph is expressed as follows.

J~=∑i=1Npar∑j=1NparP(i)J~(i,j)P(j)T(43)\tilde{\boldsymbol{J}} = \sum_{i=1}^{N_{\mathrm{par}}} \sum_{j=1}^{N_{\mathrm{par}}} \boldsymbol{P}^{(i)} \tilde{\boldsymbol{J}}^{(i,j)} {\boldsymbol{P}^{(j)}}^{\mathrm{T}} \tag{43}

Here, NparN_{\mathrm{par}} is the number of subdomains to which parallel processes are assigned (parallel computation subdomains). Although J~(i,j)\tilde{\boldsymbol{J}}^{(i,j)} in Eq. (43) uses the same symbol as in Eq. (34), here it is the block matrix representing the action of the set of metanodes belonging to parallel computation subdomain jj on the set of metanodes belonging to parallel computation subdomain ii. P(i)\boldsymbol{P}^{(i)} also uses the same symbol as in Eq. (24), but here it is the matrix that relates the metanode numbers within parallel computation subdomain ii to the global metanode numbers.

Hierarchical graph structure of the proposed method
Figure 3. Schematic of the hierarchical graph structure in the proposed MBDD-G-ROM framework. The graph of mesh nodes (calculation-point graph) is partitioned to define the POD computation subdomains (Domain decomposition (1)), and the graph of POD computation subdomains (metagraph) is partitioned to define the parallel computation subdomains (Domain decomposition (2)). In the rightmost graph, colors distinguish parallel computation subdomains, while uncolored nodes represent overlap nodes used to access information from neighboring POD computation subdomains. Source: Fig. 6 of the manuscript under review.

4. The linear algebra operations of the iterative solver are parallelized in distributed memory based on the metagraph

An iterative method is adopted to solve the reduced system of linear equations. The paper explains that the reduced system may become large as the number of POD computation subdomains or local POD basis vectors increases, and that, although sparse direct solvers may be advantageous for relatively small systems, iterative solvers can offer advantages in computational time and memory usage for large sparse systems when convergence is sufficiently fast. It therefore adopts an iterative solver with a view to accommodating larger reduced systems in future applications of the proposed distributed-memory framework, without claiming its general superiority over direct solvers in terms of absolute computation time.

Parallel computation of iterative methods can be realized by implementing parallel vector sums, vector inner products, and matrix–vector products. Parallel computation is performed using the Message Passing Interface (MPI). The vector sum can be computed in each subdomain without MPI communication. The vector inner product is obtained by computing local inner products over the internal node set of each subdomain and summing the values across all processes using MPI_Allreduce. The matrix–vector product z=Ax\boldsymbol{z} = \boldsymbol{A} \boldsymbol{x} is divided into the computation associated with subdomain ii alone and the computation associated with subdomain ii and its adjacent subdomains jj, and is computed as follows.

z=∑i=1NparP(i)z(i)=∑i=1NparP(i){A(i,i)x(i)+∑j∈nbhd(v~i,G~)A(i,j)x(j)}(38)\boldsymbol{z} = \sum_{i=1}^{N_{\mathrm{par}}} \boldsymbol{P}^{(i)} \boldsymbol{z}^{(i)} = \sum_{i=1}^{N_{\mathrm{par}}} \boldsymbol{P}^{(i)} \left\{ \boldsymbol{A}^{(i,i)} \boldsymbol{x}^{(i)} + \sum_{j \in \mathrm{nbhd}(\tilde{v}_i, \tilde{G})} \boldsymbol{A}^{(i,j)} \boldsymbol{x}^{(j)} \right\} \tag{38} nbhd(v~i,G~):={j ∣ (v~j,v~i)∈E~, j≠i}(39)\mathrm{nbhd}(\tilde{v}_i, \tilde{G}) := \left\{ j \,|\, (\tilde{v}_j, \tilde{v}_i) \in \tilde{E},\ j \neq i \right\} \tag{39}

Here, x(i)\boldsymbol{x}^{(i)} and z(i)\boldsymbol{z}^{(i)} are the parts of the vectors x\boldsymbol{x} and z\boldsymbol{z} corresponding to the internal node set of subdomain ii. A(i,i)\boldsymbol{A}^{(i,i)} is the block matrix corresponding to the internal node set of subdomain ii, and nbhd(v~i,G~)\mathrm{nbhd}(\tilde{v}_i, \tilde{G}) is a function that returns all indices of the nodes adjacent to metanode v~i\tilde{v}_i in the metagraph G~\tilde{G}. In Eqs. (38) and (39), a parallel process is assigned to the subdomain index ii, and that process stores the subgraph, the block matrices A(i,j)\boldsymbol{A}^{(i,j)}, and the vector x(i)\boldsymbol{x}^{(i)}.

The vector x(j)\boldsymbol{x}^{(j)} of an adjacent subdomain jj is not stored by the process assigned to subdomain ii, so it is obtained through MPI communication. The required communication table can be constructed from the adjacency information of the metagraph. In practice, to reduce the amount of data communication, only the vector components corresponding to the nonzero entries of the block matrix A(i,j)\boldsymbol{A}^{(i,j)} are communicated. The block matrices can be generated independently in each subdomain without MPI communication, because the overlap region contains the required graph information. The paper states that, by extending an overlapping domain-decomposition-based parallel computing method for finite element analyses, it proposes a parallel computing method for dense block matrices that represent the interactions among the local approximation-space subdomains. In the proposed method, this domain-decomposition-based parallel computation is applied to the set of POD computation subdomains contained in each parallel computation subdomain.

5. Metanode weights incorporate static load balancing

Because the number of basis vectors differs among POD computation subdomains, the computational load can become imbalanced among parallel processes, reducing the overall computational efficiency. In the proposed method, in the metagraph whose nodes are the POD computation subdomains and whose edges are their adjacency relations, each metanode v~i\tilde{v}_i is assigned a node weight nweight(i)n_{\mathrm{weight}}^{(i)} that represents the estimated computational cost of the corresponding subdomain. If necessary, the estimated communication volume between adjacent POD computation subdomains can be assigned as an edge weight, but all edge weights are set to 1 in the paper. This weighted graph is partitioned so as to balance the computational load by equalizing the sum of the node weights contained in each subdomain, while minimizing the sum of the weights of the edges crossing between subdomains (the edge cut). The graph partitioning library METIS is used, and the same graph-partitioning-based method is adopted for partitioning both the POD computation subdomains and the parallel computation subdomains.

In the numerical examples, the metanode weights are set to either 1 or the number nHROM(i)n_{\mathrm{HROM}}^{(i)} of elements selected by the hyper-reduction method in POD computation subdomain ii (Eq. (C70)). A weight of 1 represents unweighted metagraph partitioning. nHROM(i)n_{\mathrm{HROM}}^{(i)} serves as a proxy for the work of assembling the reduced system. The paper states that this weight does not explicitly account for reduced matrix block sizes, solver iterations, or interprocess communication costs, and leaves a more detailed, measurement-based load model incorporating these factors for future work.

Numerical results

Unsteady diffusion equation: analysis conditions

The following unsteady diffusion equation, a linear partial differential equation, is used as the governing equation.

∂u∂t−∇⋅(k∇u)=Q(45)\frac{\partial u}{\partial t} - \nabla \cdot (k \nabla u) = Q \tag{45}

Here, uu is the unknown variable representing the diffusing physical quantity, tt is time, kk is the diffusion coefficient, and QQ is the source term representing the physical quantity generated in the analysis domain Ω\Omega. The diffusion coefficient is set to k(x,y,z)=1+x3+y3+z3k(x, y, z) = 1 + x^3 + y^3 + z^3 for the spatial coordinates xx, yy, and zz. The source term is the sum of three point heat sources, with the time dependence q(t)=1000(1+sin⁡t)q(t) = 1000(1 + \sin t). The point heat sources are located at (2.5, 3.75, 3.75), (2.5, 2.75, 2.5), and (2.5, 1.25, 1.25). The Dirichlet condition u=sin⁡(0.25x)sin⁡(0.5y)sin⁡zsin⁡tu = \sin(0.25x) \sin(0.5y) \sin z \sin t is imposed on the entire boundary.

The analysis domain is the three-dimensional cubic domain [0,5]3[0, 5]^3, and the mesh is constructed so that all elements are cubic. First-order Lagrange interpolation functions are used as the finite element basis functions, the implicit Euler method is used for the temporal discretization, and the time-step size is 0.01 s. The spatial and temporal discretization settings are common to the numerical method that generates the basis in the offline phase and the numerical method that is reduced in the online phase. In the online phase, ROMs are constructed and analyzed using the POD-Galerkin method. MONOLIS (Metagraph-Oriented Network for Linear Iterative Solvers) is used for matrix computations, and ScaLAPACK is used for the distributed-memory parallel singular value decomposition. The systems of linear equations are solved by the CG method (convergence tolerance 1.0×10−91.0 \times 10^{-9}, at most 10,000 iterations, diagonal scaling preconditioner).

The number nPODn_{\mathrm{POD}} of POD basis vectors used in each POD computation subdomain is determined using an appropriate threshold εPOD\varepsilon_{\mathrm{POD}} so as to satisfy the following.

∑i=1nPODσi∑i=1rσi>1−εPOD(12)\frac{\sum_{i=1}^{n_{\mathrm{POD}}} \sigma_i}{\sum_{i=1}^{r} \sigma_i} > 1 - \varepsilon_{\mathrm{POD}} \tag{12}

Here, σi\sigma_i is the iith singular value of the snapshot matrix (in descending order), and rr is the rank of the snapshot matrix. In the verification with the diffusion equation, εPOD=10−6\varepsilon_{\mathrm{POD}} = 10^{-6}.

The error of the numerical solution uROMu_{\mathrm{ROM}} obtained by ROM analysis is evaluated by the relative error εROM\varepsilon_{\mathrm{ROM}} based on the L2L^2 norm with respect to the numerical solution uFEMu_{\mathrm{FEM}} obtained by finite element analysis.

εROM=∫Ω∣uROM−uFEM∣2 dΩ∫Ω∣uFEM∣2 dΩ(52)\varepsilon_{\mathrm{ROM}} = \frac{\sqrt{\int_{\Omega} |u_{\mathrm{ROM}} - u_{\mathrm{FEM}}|^2 \, d\Omega}}{\sqrt{\int_{\Omega} |u_{\mathrm{FEM}}|^2 \, d\Omega}} \tag{52}

The computer is the SQUID supercomputer at Osaka University. Its specifications are as follows (Table 1 of the manuscript under review).

Component Specification
CPU Intel Xeon Platinum 8368 (Ice Lake, 2.4 GHz, 38 cores) × 2
Memory 256 GB
Peak performance 5.84 TFLOPS
Number of nodes 1,520

Unsteady diffusion equation: computational accuracy of L-POD

To evaluate the accuracy in serial computations, the computational accuracy is verified for different numbers of POD computation subdomains. The initial 100 time steps were analyzed by the finite element method, and the snapshot matrix constructed from the resulting solution vectors was subjected to singular value decomposition to generate the POD basis. ROM analyses were then performed from time step 101 to time step 1,000 (from t=1.01t = 1.01 s to t=10.0t = 10.0 s). The finite element analysis has 1,030,301 degrees of freedom, and six cases with 1, 128, 256, 512, 1,024, and 2,048 POD computation subdomains were examined. The total numbers of POD basis vectors are as follows (Table 2 of the manuscript under review).

Number of POD computation subdomains 1 128 256 512 1,024 2,048
Total number of POD basis vectors 8 726 1,331 2,455 4,619 8,702
Relative error of L-POD for different numbers of POD computation subdomains
Figure 4. Time history of the relative L2L^2 error norm of L-POD for different numbers NPODN_{\mathrm{POD}} of POD computation subdomains. Source: Fig. 8 of the manuscript under review.
  • The paper states that the table and Figure 4 show that increasing the number of subdomains increases the number of basis functions and improves the computational accuracy, and that these results demonstrate the validity of the implementation.

Unsteady diffusion equation: strong scaling

The parallel computational efficiency of the proposed method is evaluated through strong-scaling tests, in which the number of parallel computation subdomains is varied while the number of POD computation subdomains is fixed. In this verification, all node weights of the metagraph are set to 1 to evaluate the baseline parallel efficiency without load balancing. Three cases with 512, 1,024, and 2,048 POD computation subdomains were examined for two finite element models with 1,030,301 and 10,077,696 degrees of freedom. The number of parallel processes was 1, 8, 16, 32, 64, 128, 256, and 512 for the case with 1,030,301 degrees of freedom, and 16, 32, 64, 128, 256, and 512 for the case with 10,077,696 degrees of freedom. When Npar=NPODN_{\mathrm{par}} = N_{\mathrm{POD}}, each MPI process is assigned a single POD computation subdomain. To keep the effect of the memory bandwidth limitation approximately constant, the maximum number of processes per node was set to 16. Each measurement was performed three times for each case, and the average value was used for evaluation.

Example of the two-level decomposition into POD computation subdomains and parallel computation subdomains
Figure 5. Example of the two-level decomposition into POD computation subdomains and parallel computation subdomains (1,030,301 degrees of freedom, NPOD=512N_{\mathrm{POD}} = 512, Npar=128N_{\mathrm{par}} = 128). (a) shows the POD computation subdomains, and (b) shows the parallel computation subdomains formed by grouping them. Source: Fig. 9 of the manuscript under review.

The case with 10,077,696 degrees of freedom could not be executed serially because of memory capacity limitations. The serial computation time T1T_1 was therefore estimated by applying Amdahl's law based on the results obtained with 32 and 64 parallel processes using two and four nodes. The paper states that this computational example demonstrates that the proposed distributed-memory parallel computing method alleviates memory capacity limitations.

The parallel computing performance is evaluated using the ROM efficiency RNparR_{N_{\mathrm{par}}} and the speed-up factor SNparS_{N_{\mathrm{par}}}.

RNpar=TNparFEMTNparROM(53)R_{N_{\mathrm{par}}} = \frac{T_{N_{\mathrm{par}}}^{\mathrm{FEM}}}{T_{N_{\mathrm{par}}}^{\mathrm{ROM}}} \tag{53} SNpar=T1TNpar(54)S_{N_{\mathrm{par}}} = \frac{T_1}{T_{N_{\mathrm{par}}}} \tag{54}

Here, TNparFEMT_{N_{\mathrm{par}}}^{\mathrm{FEM}} and TNparROMT_{N_{\mathrm{par}}}^{\mathrm{ROM}} are the computation times of the finite element method and the ROM with NparN_{\mathrm{par}} parallel processes, and TNparT_{N_{\mathrm{par}}} is the computation time with NparN_{\mathrm{par}} parallel processes. The ROM efficiency represents the acceleration factor of the ROM analysis relative to the finite element analysis. The total computation time was measured for 100 time steps, from time step 101 to time step 200, in each case. The ROM efficiency (Figure 6) is evaluated using the average total computation time per time step. The total numbers of POD basis vectors are as follows (Table 3 of the manuscript under review).

Degrees of freedom of the finite element analysis 512 POD computation subdomains 1,024 POD computation subdomains 2,048 POD computation subdomains
1,030,301 2,455 4,619 8,702
10,077,696 2,416 4,546 8,586
ROM efficiency versus the number of parallel processes
Figure 6. ROM efficiency based on the total runtime versus the number of parallel processes. (a) 1,030,301 degrees of freedom; (b) 10,077,696 degrees of freedom. Source: Fig. 10 of the manuscript under review.
  • The ROM efficiency tends to be higher for the case with more finite element degrees of freedom. The paper interprets this as follows: as the table above shows, the number of reduced degrees of freedom in the ROM analysis is almost constant regardless of the number of degrees of freedom in the finite element analysis, so the reduction ratio in the number of degrees of freedom achieved by the ROM analysis becomes relatively larger for cases with more finite element degrees of freedom.
  • The paper cautions that the ROM efficiency depends on the linear solvers and preconditioners employed in the finite element and ROM analyses. Although the same iterative solver with diagonal scaling was used for both in this numerical example, applying more effective preconditioners to the finite element method could reduce its computational time and consequently decrease the reported ROM efficiency. The paper therefore states that these values should not be interpreted as speed-ups relative to a fully optimized finite element solver.

In the assessment of the speed-up factor, the ROM runtime at each time step is divided into two components: (a) reduced-system assembly (the construction of the reduced Jacobian and residual vector), and (b) the solution of the reduced Newton system. The unsteady diffusion equation is linear, and the reduced coefficient matrix is assembled only once for each case and accounts for only a small fraction of the overall runtime, so it is excluded from the assessment. Component (a) for the diffusion problem therefore includes only the per-time-step assembly of the reduced right-hand-side vector.

Example of speed-up factors
Figure 7. Example of the speed-up factors of the conventional finite element method (FEM) and the proposed method (10,077,696 degrees of freedom, NPOD=1,024N_{\mathrm{POD}} = 1{,}024). "Ideal line" is the ideal speed-up, and "Proposed" is the proposed method, shown for the total runtime (total), the assembly of the reduced system (assembling reduced system), and the solution of the reduced system (solving reduced system). Source: Fig. 12(b) of the manuscript under review.
  • The paper states that the total runtime of the proposed method exhibits favorable strong-scaling behavior in all analysis cases (Figure 7 shows one of these cases).
  • The linear solver for the reduced system also scales well overall, although its scalability deteriorates at larger process counts. The paper attributes this behavior to the size of the reduced linear system. A smaller NPODN_{\mathrm{POD}} results in a smaller reduced dimension and hence a lower computational workload per process. As the process count increases, this workload becomes insufficient to amortize the communication and synchronization overheads, which then dominate the linear-solver runtime.

Unsteady diffusion equation: static load balancing

An example of metanode weight assignment is presented to examine the effect of static load balancing. In this verification, hyper-reduction is also introduced to further improve the computational efficiency, using the empirical cubature method (ECM). Hyper-reduction approximates the computation of the reduced residual vector and Jacobian by a sum over a selected subset of elements with positive weights. Because the computational cost of assembling the reduced system of linear equations depends on the number nHROM(i)n_{\mathrm{HROM}}^{(i)} of elements selected in each POD computation subdomain, the node weight nweight(i)n_{\mathrm{weight}}^{(i)} was set to either 1 or nHROM(i)n_{\mathrm{HROM}}^{(i)}, and the effect of load balancing was verified.

Unless otherwise stated, the basic computational settings are identical to those of the strong-scaling tests. The initial 100 time steps were analyzed by the finite element method to generate the POD basis, and then the initial 100 time steps were analyzed using the ROM to determine the element set and weights by the hyper-reduction method. The number of POD computation subdomains is 512, and the number of parallel processes is 8, 16, 32, 64, and 128. The threshold for basis selection was set to εPOD=10−6\varepsilon_{\mathrm{POD}} = 10^{-6}, and the threshold for element selection in the hyper-reduction method was set to εHROM=10−6\varepsilon_{\mathrm{HROM}} = 10^{-6}.

Grouping of POD computation subdomains into parallel computation subdomains before and after static load balancing
Figure 8. Example of the grouping of POD computation subdomains into parallel computation subdomains before and after static load balancing (NPOD=512N_{\mathrm{POD}} = 512, Npar=8N_{\mathrm{par}} = 8). The colors represent the parallel computation subdomains assigned to MPI processes. The POD computation subdomains and local POD bases remain unchanged, while only their process assignments are modified by weighted metagraph partitioning. Source: Fig. 13 of the manuscript under review.
ROM efficiency for the two node weights
Figure 9. ROM efficiency versus the number of parallel processes when the node weight is set to 1 (solid line) and to nHROM(i)n_{\mathrm{HROM}}^{(i)} (dashed line). Source: Fig. 14 of the manuscript under review.
  • The paper states that setting the weight to nHROM(i)n_{\mathrm{HROM}}^{(i)} improved the computational efficiency (Figure 9) and that the speed-up factor was consistently improved under all computational conditions. It also notes that no marked improvement was observed for 8 and 128 parallel processes.
  • The paper states that an advantage of the proposed method is that arbitrary node weights can be assigned, and that further efficiency improvements are expected, for example, by optimizing the weights while accounting for the imbalance in the number of basis vectors among subdomains.

Incompressible Navier–Stokes equations: flow around a three-dimensional cylinder

To verify the applicability to nonlinear partial differential equations, unsteady flow around a three-dimensional cylinder is analyzed as an example involving more complex physical phenomena and mesh structures than the diffusion example. Because the incompressible Navier–Stokes equations are nonlinear, the Jacobian is updated at every Newton–Raphson iteration. Runtime component (a) therefore includes the assembly of both the reduced Jacobian and the reduced residual vector.

The finite element method is used for the spatial discretization and the implicit Euler method for the temporal discretization, with a monolithic approach in which the velocity and pressure fields are treated as simultaneous unknowns. Galerkin least-squares stabilization is introduced to suppress instabilities associated with advection and incompressibility. The Reynolds number is 200. The representative length is the cylinder diameter D=1D = 1 m, the density is ρ=200\rho = 200 kg/m³, and the viscosity coefficient is μ=1.0\mu = 1.0 Pa·s. The computational mesh consists of hexahedral elements, with 2,488,800 elements, 2,629,200 nodes, and 10,516,800 total degrees of freedom. First-order Lagrange interpolation functions are used as the finite element basis functions, and the time-step size is 0.005 s. A uniform inflow velocity U=1U = 1 m/s in the xx direction is imposed on the inflow boundary, a no-slip condition on the cylinder surface, slip conditions on the upper, lower, and spanwise boundaries, and a traction-free condition on the outflow boundary.

The flow field at t=100t = 100 s, after the flow had sufficiently developed and periodic vortex shedding appeared steadily, was used as the initial condition, and 101 snapshots were collected at intervals of 0.01 s over the interval 100≤t≤101100 \leq t \leq 101 s. The ROM analysis was performed over the same interval, and its solution was used to determine the element set and weights by the hyper-reduction method. The number of POD computation subdomains is 1,024, and the number of parallel processes is 32, 64, 128, 256, and 512. The thresholds were set to εPOD=10−6\varepsilon_{\mathrm{POD}} = 10^{-6} and εHROM=10−6\varepsilon_{\mathrm{HROM}} = 10^{-6}. The systems of linear equations are solved by the BiCGSafe method (convergence tolerance 1.0×10−81.0 \times 10^{-8}, at most 10,000 iterations, diagonal scaling preconditioner).

Domain decomposition for local POD computations and element selection by hyper-reduction
Figure 10. Domain decomposition for local POD computations and element selection by hyper-reduction. (a) POD computation subdomains (NPOD=1024N_{\mathrm{POD}} = 1024); (b) number of basis vectors assigned to each subdomain (overlapping elements are shown in blue); (c) finite elements selected by hyper-reduction (selected elements are shown in gray). Source: Fig. 17 of the manuscript under review.
Velocity magnitude and pressure of the FOM and the ROM
Figure 11. Contours of velocity magnitude (top) and pressure (bottom) at t=101t = 101 s on a cross-section normal to the zz-axis (Reynolds number 200). The left column is the FOM and the right column is the ROM. Source: Fig. 18 of the manuscript under review.
ROM efficiency for the flow around a cylinder
Figure 12. ROM efficiency based on the total runtime versus the number of parallel processes for the flow around a cylinder. Source: Fig. 20 of the manuscript under review.
  • The paper states that the flow field obtained by the FOM is qualitatively reproduced by the ROM (Figure 11).
  • The relative L2L^2 error norm of the ROM with respect to the FOM remained approximately on the order of 10−510^{-5} for the velocity field and approximately on the order of 10−310^{-3} for the pressure field (Fig. 19 of the manuscript under review). The paper states that, although the error in the pressure field tended to be larger than that in the velocity field, good approximation accuracy was achieved for the pressure field as well.
  • The ROM efficiency (Figure 12) was evaluated from the computation time over the first 10 time steps, using the average of three measurements. A speed-up of approximately 100–200 times relative to the FOM was obtained for all numbers of parallel processes. The paper states that this demonstrates that the proposed method also achieves high parallel computing performance in the analysis of flow around a cylinder.
  • Regarding the speed-up factor, the paper states that the speed-up factor of the total computation time of the proposed method remains high (Fig. 21 of the manuscript under review).

Outlook

The paper states that the proposed metagraph-based generalization is not restricted to POD-based basis construction and can, in principle, accommodate a broad class of local model-reduction techniques whose inter-subdomain interactions can be represented on the metagraph. It lists the following topics for future work.

  • Extending the present POD-based linear-subspace implementation to incorporate nonlinear-manifold-based approaches, to improve ROM accuracy and efficiency for problems with strongly nonlinear solution structures.
  • Developing more comprehensive metanode and metaedge weights that account for reduced-system operations and communication costs, to enable dynamic load balancing during online computation.
  • Because load balancing alone cannot address approximation errors arising from fixed bases, investigating adaptive basis enrichment, basis switching, and time-windowed bases, together with their computational overhead.
  • Evaluating the effects of more effective preconditioners for large reduced systems (such as block-Jacobi and Schwarz-type methods based on the second-level decomposition) on solver performance and parallel efficiency.
  • Carrying out a systematic comparison using more advanced finite element and ROM solvers.