code-saturne / code_saturne

code_saturne public mirror
https://www.code-saturne.org
GNU General Public License v2.0
223 stars 82 forks source link

Potential domain deformation when creating wall layers with user coding #8

Open nicolastonello opened 6 years ago

nicolastonello commented 6 years ago

Depending on the choice of surfaces on which to create wall layers, the integrity of the geometry may not be maintained. Surfaces on which wall layers have not been prescribed may be deformed by the wall layer algorithm.

YvanFournier commented 6 years ago

This is a known issue (easy to observe on a halp-pipe using a symmetry and adding layers only on the walls).

When the appropriate boundary condition type for CDO vector variables becomes available (allowing points to move only in the tangential plane), switching to a vector Laplacian using this BC from the current scalar Laplacians for separate x, y, z variables should solve this.