code-saturne / code-saturne/code_saturne

Bug with the Lagrangian module and restart on a different Mesh - CS 7.2-alpha revision fb85c8cdc

オープン
#94 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug enhancement
主要言語
C++
スター
307
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

I have a problem when I try to do a restart with the Lagrangian module (and Vof) with a different mesh. I am using CS 7.2-alpha revision fb85c8cdc.
With the VoF module only, the restart on a different mesh works properly but when I add the Lagrangian module CS crashes.
During my tests, I tried to do a restart (iso mesh) by specifying a "different mesh" in the GUI while I keep the same mesh in MESH and I get the same bug:

** Information on the lagrangian computation
-------------------------------------
Read restart file for particle values
Start read

/home/yohann-ws2/Development/CS_MASTER/code_saturne/src/lagr/cs_lagr_restart.c:466: Fatal error.

Error reading main particle restart data.

Call stack:
1: 0x7fdfff83359d (libsaturne-7.2.so)
2: 0x7fdfff88304a (libsaturne-7.2.so)
3: 0x7fdfff81f68d (libsaturne-7.2.so)
4: 0x7fdffef2ff20 (libsaturne-7.2.so)
5: 0x7fdfffff2b81 (libcs_solver-7.2.so)
6: 0x7fdffeb450b3 <__libc_start_main+0xf3> (libc.so.6)
7: 0x557a23f4c12e <_start+0x2e> (cs_solver)
End of stack

and if I deactivate in the GUI the choice for "different mesh", it works fine.

Let me know if you need more info.

Cheers,

Yohann EUDE

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Lagrangian と VoF を有効にした状態で再起動を再現し、異なるメッシュの場合と、同じメッシュで正常に動作する場合を比較します。src/lagr/cs_lagr_restart.c の 466 行付近から始め、cs_lagr_restart_read_particle_data からの粒子再起動データの読み込みを追跡してください。異なるメッシュでの再起動が致命的なエラーなしに完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c
領域
hpc
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。