Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Problems with boundary layer meshing

Please login with a confirmed email address before reporting spam

I am trying to mesh a k-epsilon model and cannot generate a boundary layer mesh. My model has a very narrow region and I expect that that is the problem area. The error I get most often is: Could not shift boundary node at all. The first screen shot attached is a view of the narrow region. The second shot shows the internals.


1 Reply Last Post Jun 6, 2013, 4:18 a.m. EDT
COMSOL Moderator

Hello John McTernan

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 6, 2013, 4:18 a.m. EDT
Hi there
here is the solution for you:

Prelude:
I to have encountered that same error so many times when i modeled 3D geometries yet almost never when modeling 2D geometries. Why?
COMSOL is trying to patch over the sharp corner diagonally in order to better/more smoothly mesh over the geometry in a way that will enable better representation of flow gradients over a corner.
all that is excellent and another reason why i have so much appreciation for COMSOL developers as they are actual Mathematics/Engineering/Physics professionals.
however, the problem is that doing this sort of "patching" is quite simple in 2D but very difficult in 3D, unless the geometry is very specific and of the kind that will not bring the meshing algorithm into collapse upon itself (due to impossible clustering of such elements).

(remainder: the higher the physics-gradient present at geometrical location, the denser the mesh you will need to "capture" and depict that phenomena using FEM, for reasons related to Element order).

Solution:
all you need to do is:
Ver 4.2a ==> uncheck the split boundary layer check box (see pictures attached)
Ver 4.3B==> choose the trimming option from the drop menu /Engineering

works for me every time :)
Hi there here is the solution for you: Prelude: I to have encountered that same error so many times when i modeled 3D geometries yet almost never when modeling 2D geometries. Why? COMSOL is trying to patch over the sharp corner diagonally in order to better/more smoothly mesh over the geometry in a way that will enable better representation of flow gradients over a corner. all that is excellent and another reason why i have so much appreciation for COMSOL developers as they are actual Mathematics/Engineering/Physics professionals. however, the problem is that doing this sort of "patching" is quite simple in 2D but very difficult in 3D, unless the geometry is very specific and of the kind that will not bring the meshing algorithm into collapse upon itself (due to impossible clustering of such elements). (remainder: the higher the physics-gradient present at geometrical location, the denser the mesh you will need to "capture" and depict that phenomena using FEM, for reasons related to Element order). Solution: all you need to do is: Ver 4.2a ==> uncheck the split boundary layer check box (see pictures attached) Ver 4.3B==> choose the trimming option from the drop menu /Engineering works for me every time :)

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.