|
[Sponsors] |
October 23, 2017, 10:41 |
Mesh refinement
|
#1 |
Member
Join Date: Jun 2017
Posts: 73
Rep Power: 8 |
Hello,
I would like to refine a mesh next to a wall with several layers with a structured mesh. The problem is that my body is not a cuboid, so the refinement box doesnt fitt well. My first try to solve the problem: I have created a faceSet and then added all cells which are in contact with the faces to cellSet and then refined my layer. But this method works only with one layer. Code:
{ name cells_wall; type faceSet; action new; source patchToFace; sourceInfo { name "Front|Back|Top|Bottom|p1|Left|Right"; } } { name cells_wall; type faceSet; action subset; source boxToFace; sourceInfo { box (-100 -100 0) (100 100 100); } } { name box; type cellSet; action new; source faceToCell; sourceInfo { set cells_wall; option any; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh sticking point | natty_king | OpenFOAM Meshing & Mesh Conversion | 11 | February 20, 2024 09:12 |
y+ = 1 boundary layer mesh with snappyHexMesh | Arzed23 | OpenFOAM Running, Solving & CFD | 6 | November 23, 2022 15:15 |
[snappyHexMesh] Edge Refinement | fracasce | OpenFOAM Meshing & Mesh Conversion | 3 | December 2, 2017 13:30 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
[snappyHexMesh] problems using snappyHexMesh 2.1.0 on a supercomputer | Sunxing | OpenFOAM Meshing & Mesh Conversion | 9 | September 20, 2014 09:30 |