code-saturne / code-saturne/code_saturne

Compressible module: boundary faces emit a spurious wave in 9.2.0

Đang mở
#170 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ả

With an identical setup.xml and no user routine, the compressible module (constant gamma) gives a correct Sod shock tube in 9.1.0 and a corrupted one in 9.2.0. Both runs are pure first order upwind, all six boundaries are symmetry, and the time step is fixed and identical, so nothing on the input side differs between the two runs.

The corruption is entirely localised at the boundaries. The rarefaction, the contact discontinuity and the shock are unchanged, and agree with the exact Riemann solution in both versions. What 9.2.0 adds is a spurious wave emitted by each wall at the first time step, which then travels into the domain at the local speed of sound (see figure below).

The case is here, if you want to run it as is: [Sod tube](https://github.com/simvia-tech/tutorials-code_saturne/tree/main/30_compressible/Comp_Sod_Tube)

Image

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

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

Hướng nghiên cứu

Chạy trường hợp ống Sod được liên kết trong tutorials-code_saturne/30_compressible/Comp_Sod_Tube với setup.xml giống hệt trên 9.1.0 và 9.2.0, sau đó so sánh hành vi tại biên ở bước đầu tiên. Truy vết cách mô-đun compressible xử lý biên đối xứng; hoàn thành khi lần chạy trên 9.2.0 không còn phát ra các sóng tường giả và vẫn giữ nghiệm Sod chính xác.

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
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/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.