Issues about adding boundary layer mesh

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
lb_yuan
Posts: 16
Joined: Tue Jan 02, 2018 2:02 pm

Issues about adding boundary layer mesh

Post by lb_yuan »

Hello,

I tested the new feature of adding a boundary layer mesh by subroutine CS_user_mesh-modify.c in v5.3. However, the geometry of the domain was modified as well. Does anyone have any idea about this? Thanks
Attachments
after_adding_boundary_layer.png
before_adding_boundary_layer.png
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Issues about adding boundary layer mesh

Post by Yvan Fournier »

Hello,

Yes, this feature is still not quite complete, and does not have a true sliding condition. You can see more details about its limitations on the issue tracker on the GitHub page.

To better constrain the mesh, you can prevent deformation on some faces where no boundary layer is inserted by explicitely adding zero layers to that zone. In your case, adding zero layers to the top, bottom, and right sides might help somewhat, though I am not 100% sure it will be enough. Constraining faces closer to the insertion zone will help, but will leave a smaller sliding section, in which cells might be deformed a bit more.

In version 6.0 beta, an additional option allows blocking movement en selected vertices (useful especially if there is an internal zones whose boundaries should not move, such as a head losses zone). The CDO module now has the operator for sliding conditions, so that should come next, but might be available only in a couple of months.

Best regards,

Yvan
Post Reply