Mesh refinement
2 posts
• Page 1 of 1
Mesh refinement
I could use some additional help with mesh refinement. I would actually like to smooth the mesh elements that have been refined, or limit the smoothing to the area of the refinement, but it seems that with the smooth function enabled, it smooths the mesh in the entire model. Can smoothing the mesh be limited somehow? I have regions of my mesh that cannot be modified, because of some periodic boundary constraints.
- Cubit User
- Posts: 44
- Joined: Wed May 16, 2012 12:42 pm
Re: Mesh refinement
Correct. The smoother used as part of the refinement command does smooth the entire volume that was refined, not just local to the refined region. However, you can do what you want to do using groups. Here is an example:
reset
bri x 10
mesh vol all
group 'before_elems' add hex all
refine curve 1 no_smooth
group 'after_elems' add hex all
group 'after_elems' remove hex in before_elems
group 'smooth_faces' add face in hex in after_elems smooth face in smooth_faces
smooth hex in after_elems scheme laplacian smooth hex in after_elems scheme mean
reset
bri x 10
mesh vol all
group 'before_elems' add hex all
refine curve 1 no_smooth
group 'after_elems' add hex all
group 'after_elems' remove hex in before_elems
group 'smooth_faces' add face in hex in after_elems smooth face in smooth_faces
smooth hex in after_elems scheme laplacian smooth hex in after_elems scheme mean
csimsoft
- csimsoft Moderator
- Posts: 289
- Joined: Tue Feb 14, 2012 5:59 pm
- Location: American Fork, UT
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests