code-saturne / code-saturne/code_saturne

Particles statistics fail with local time step

Đang mở
#152 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
307
Fork
102
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện với một trường hợp khí và hạt của Saturne 8.0–8.3 sử dụng Steady + Local time step và bật thống kê hạt. Bắt đầu bằng cách kiểm tra core dump từ đầu của vòng lặp, sau đó xác minh rằng thống kê hạt không còn gây ra lỗi vi phạm bộ nhớ và trường hợp này chạy với bước thời gian cục bộ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
hpc
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
32/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.