Page 1 of 1
About adding boundary layer to the mesh
Posted: Wed Oct 24, 2018 4:31 pm
by Jundi He
Hi Code Saturne team:
I've got an issue about my mesh, in the red circle position, the division of the mesh changed by using triangles. But the y plus value in this location has a step change, the best way to avoid this is to add a boundary layer in this location, do Code Saturne 5 has this function, to add a few layers of mesh at the wall, to make sure there is no step change of y plus values at the wall.
Regards!
Jundi
Re: About adding boundary layer to the mesh
Posted: Wed Oct 24, 2018 7:35 pm
by Luciano Garelli
Hello,
I think that this feature is available at the master branch or the 5.2.0 version of the code as I read in the NEWS file. Why not to do it in Salome with the same strategy as the left boundary of the mesh?
Regards,
Luciano
Re: About adding boundary layer to the mesh
Posted: Thu Oct 25, 2018 10:07 am
by Jundi He
Hi Luciano Garelli:
For the left part, it's the ribs, this is a top view of the channel, so the ribs are not shown. If I use Code Saturne 5.2.0, can the code generate a boundary layer near the wall? Thanks!
Regards!
Jundi
Re: About adding boundary layer to the mesh
Posted: Thu Oct 25, 2018 1:09 pm
by Luciano Garelli
Hello,
I just read in the NEWS file of the master branch this
"Added boundary layer insertion at selected faces, using a mesh deformation (CDO vertex-based), followed by boundary layer extrusion.". I have no test this feature. You can download CS from the master branch and test it.
Why not use Salome?
Regards,
Luciano
Re: About adding boundary layer to the mesh
Posted: Fri Oct 26, 2018 11:40 am
by Jundi He
Hi Luciano Garelli:
We have install Code Saturne 5.2.1, but we can't see any option to add a additional boundary layer to the wall, could you simply show us how to do it? Many thanks!
Regards!
Jundi
Re: About adding boundary layer to the mesh
Posted: Fri Oct 26, 2018 2:05 pm
by Luciano Garelli
Hello,
I have not used this feature, but searching in the source code I found the file cs_user_mesh-modify.c file inside of the example directory.
Inside of this file there is an example "Insert boundary layers on selected zones.", I think that this example can help you.
Regards,
Luciano