code-saturne / code-saturne/code_saturne
Particles statistics fail with local time step
- 主要言語
- C++
- スター
- 307
- フォーク
- 102
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Particle statistics works fine with constant time step, but, in most cases, it leads to excessive calculation time. In lots of cases (cyclones, other separators, erosion) static and frozen flow approach is enough. In such a case using Steady (Local time step) option + frozen flow gives a huge performance advantage, but Saturne crashes instantly with memory violation error trying to calculate particle statistics in mesh cells. It's important that if you need gas-particles coupling (drying, combustion) your static case will not work at all with local timestep and particle statistics. This bug forces constant timestep for such conditions (flow + particles enabled) that rises calculation time incredibly. With frozen flow, workartound is a constant timestep (much slower but usable).
Steps to reproduce:
1. Use Saturne 8.0...8.3 versions (I think, any recent version).
2. Create or use ready case with gas and particles (no matter if the flow is frozen or not).
3. Set time stepping option to Steady + Local time step.
4. Enable particles statistics collection in particle tracking settings.
5. Run the case, Saturne will dump the core in the beginning of iteration.
コントリビューションガイド
調査の方向性
Steady + Local time step を使用し、粒子統計を有効にした Saturne 8.0–8.3 の気体・粒子ケースで再現する。まず反復の開始時点からコアダンプを調べ、次に粒子統計がメモリ違反を引き起こさなくなったこと、およびケースがローカルタイムステッピングで実行されることを確認する。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- hpc
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100