code-saturne / code-saturne/code_saturne

Particles statistics fail with local time step

Offen
#152 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
307
Forks
102
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Mit einem Gas-und-Partikel-Fall in Saturne 8.0–8.3 unter Verwendung von Steady + Local time step und aktivierter Partikelstatistik reproduzieren. Beginnen Sie mit der Untersuchung des Core-Dumps vom Beginn der Iteration und überprüfen Sie anschließend, dass die Partikelstatistik nicht mehr die Speicherverletzung auslöst und dass der Fall mit lokalen Zeitschritten läuft.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
hpc
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
32/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.