code-saturne / code-saturne/code_saturne
Incorrect wall distance using axisymmetric mesh
- Langage dominant
- C++
- Étoiles
- 307
- Forks
- 102
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
On "axysymmetric" cases (where the mesh uses a radially extruded slice, with symmetry on the sides), the wall distance approximated by a diffusion equation (in ``distpr``) can be imprecise, with a difference up to 40% having been observed.
This issue also occurs using the CDO operators, so seems due to the the choice of equation or boundary conditions rather than linear operator.
In any case, this can induce an error on turbulence variables.
More works needs to be done on this, but replacing the approximate wall distance with a
geometrically computed wall distance for the boundary cells might at least mitigate the effects.
Attached is a small case allowing to test this.
[test_pipe_axi.tar.gz](https://github.com/code-saturne/code_saturne/files/3135105/test_pipe_axi.tar.gz)
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the attached test_pipe_axi.tar.gz case and the distpr wall-distance calculation; compare its axisymmetric result with the CDO-operator behavior. Investigate whether the equation or boundary conditions cause the reported 40% difference, and assess the proposed geometrically computed distance for boundary cells. Done means the test case no longer shows the problematic wall distance or its turbulence-variable error.
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é
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100