snappyHexMesh meshing two close objects gap
2 Attachment(s)
Hi everybody,
I'm new to OpenFoam and I'm facing some problems with the snappyHexMesh utility. I want to mesh the domain around two objects which are very close (panel and tronco_cono). The problem is that some surface elements are connecting the gap between the two objects (see picture), and they must not be connected. I have tried to increase the feature edge refinement from 6 to 7 but I'm running out of memory. Refinement for the surfaces is level (6 7). I attach the snappyHexMeshDict. Anyone can help me to avoid the connecting elements between the two bodies? Any help will be really appreciated. Thanks a lot! |
Hi Francisco,
You can try gapLevelIncrement that increments the refinement of patches due to proximity. You need to set how much refinement is going to be incremented in each patch. In the example below the refinement level is going incremented by 2 if the mesh between the facing patches has two or less cells: refinementSurfaces { panel { // Surface-wise min and max refinement level level (6 7); //- Optional increment (on top of max level) in small gaps gapLevelIncrement 2; // Optional specification of patch type (default is wall). No // constraint types (cyclic, symmetry) etc. are allowed. patchInfo { type wall; } } tronco_cono { // Surface-wise min and max refinement level level (6 7); //- Optional increment (on top of max level) in small gaps gapLevelIncrement 2; // Optional specification of patch type (default is wall). No // constraint types (cyclic, symmetry) etc. are allowed. patchInfo { type wall; } } } |
All times are GMT -4. The time now is 18:42. |