Dear all,
I’ve been experimenting with the Viscous Layers API, and I found the example TUI script very inspiring. I was wondering whether this method can also be applied to an external aerodynamics case, for example, a box-shaped computational domain containing an aerodynamic body at the origin.
My goal is to generate viscous layers on the aeroshape and then remesh the surrounding tetrahedral domain. In this setup, the outer box faces (Inlet, Outlet, Bottom, Top, Left, Right) would remain unchanged, while the new “internal” interface would correspond to the outer surface of the viscous layers. In my case, if the viscous layers fully cover the body, this interface would consist entirely of triangles, but it would not be based on an existing geometric surface.
I also tried using GetShrinkGeometry(), but it consistently returns the error:
Incorrect set of faces to remove, the remaining shell is not connected.
Has anyone encountered this issue or found a workaround?