code-saturne / code-saturne/code_saturne

Compressible module: boundary faces emit a spurious wave in 9.2.0

Ouverte
#170 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
307
Forks
102
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Exécuter le cas lié du tube de Sod de tutorials-code_saturne/30_compressible/Comp_Sod_Tube avec le même setup.xml sous 9.1.0 et 9.2.0, puis comparer le comportement aux limites à la première étape. Suivre la gestion des limites de symétrie du module compressible ; le travail est terminé lorsque l’exécution sous 9.2.0 n’émet plus d’ondes parasites sur la paroi tout en conservant la solution correcte de Sod.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp
Domaine
hpc
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.