|
[Sponsors] |
[snappyHexMesh] How to have well snapped surfaces and keep reasonable cell size? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 15, 2021, 04:42 |
How to have well snapped surfaces and keep reasonable cell size?
|
#1 |
New Member
Zürich
Join Date: Nov 2021
Posts: 5
Rep Power: 5 |
Hi everybody,
I am trying to mesh an open channel domain for simulation with interFoam. I use an .stl file for the channel geometry. The channel has very smooth walls so I think it should not be too hard to have good snapping to the surface. However, so far I have only achieved, satisfying snapping, when I choose very high refinement levels. This gives me a mesh with small cells close to the surface resulting in extremely slow computation time (see below). My colleague on the other hand created a similar mesh shown in using cfMesh. Apparently it does not require such high cell refinement close to the surface. How can I set sHM parameters to get a mesh that also has reasonably large cells but still gets the surface well? |
|
November 17, 2021, 08:00 |
|
#2 |
Member
Join Date: May 2017
Posts: 31
Rep Power: 9 |
Hello
Try setting nSmoothPatch in snapControls to 0, if it isn't already - it looks like it might be smoothing your surface, which shows up more in the coarse one as the movement allowed when smoothing scales with cell size. Also have a look in the other time directories at the castellated mesh it's generating before snapping, that can often give a hint as to where it's going wrong Hope this helps |
|
Tags |
cell refinement, cfmesh, snappyhexmesh, surface snapping |
|
|