|
[Sponsors] |
[snappyHexMesh] Layered cell refinement by region? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 24, 2016, 09:13 |
Layered cell refinement by region?
|
#1 |
Member
Join Date: Nov 2010
Posts: 62
Rep Power: 15 |
Looking at the attached picture, this is a cross section through a mesh.
To achieve this I ran the SHM twice on the mesh with different geometry settings and refinementRegions settings as per below: geometry // refinementBox01 // { // type searchableBox; // min (2 -2 0); // max (10 2 2); // } refinementBox02 { type searchableBox; min (4 -1 0); max (8 1 1); } refinementRegions { refinementBox02 { mode inside; levels ((0.1 4)); } // refinementBox01 // { // mode inside; // levels ((0.1 2)); // } First with the bigger region and then the smaller internal region (the setting shown are from the second run). I think I should be able to achieve the same effect in 1 run of SHM, but I've failed to get that to work so far. Any advice on how to do it? |
|
February 25, 2016, 02:47 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
You can try the distance option instead of inside option in your refinement region. More information can be found at (http://cfd.direct/openfoam/user-guide/snappyhexmesh/) under the "Cell splitting in specified regions" heading Hope this helps. Cheers, Antimony |
|
February 26, 2016, 00:00 |
|
#3 |
Member
Join Date: Nov 2010
Posts: 62
Rep Power: 15 |
Thanks Antimony, good to know I'll put that to use somehow for sure.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
[snappyHexMesh] sHM refinement away from surface | nholt | OpenFOAM Meshing & Mesh Conversion | 1 | June 14, 2016 14:36 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 04:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 04:38 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |