From 45362b588bee7f1b06693c62ff862b9b232fb570 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Wed, 31 Jan 2024 15:13:20 +0100 Subject: [PATCH] dont curve faces with boundarylayers --- libsrc/meshing/boundarylayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index 8625149e..e54464d5 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -675,6 +675,11 @@ namespace netgen moved_surfaces.SetBit(i); mesh.SetBCName(new_si-1, "mapped_" + name); } + // curving of surfaces with boundary layers will often + // result in pushed through elements, since we do not (yet) + // curvature through layers. + // Therefore we disable curving for these surfaces. + mesh.GetFaceDescriptor(i).SetSurfNr(-1); } }