Collecting faces with setSet
Dear All,
I am trying to create some baffles in my mesh. I've seen the tutorials and I believe I have a fairly good idea how to do it. The problem is that I can't find the way to create the faceSetZone. Most of the tutorials just use boxToFaces which will not work in my. My baffle is supposed to lie on the faces that are aligned with 4 vertices in blockMeshDict. Is there any way to identify the points or the faces that are located on a boundary of a block in blockMeshDict after blockMesh has been run? I've realised now that I could rotate my mesh and then use boxToFaces to collect the right faces and then rotate back... but is there any easier way? I would be grateful for any hints or comments. Robert |
Quote:
To identify cells you can insert a name (for instance "block1" into the blocks-definitions in blockMeshDict): Code:
hex (0 1 2 3 4 5 6 7) block1 (60 20 1) simpleGrading (1 1 1) |
That's brilliant! This is exactly what I wanted and it will work nicely in my case.
By the way of block identification can I do something similar within blockMeshDict for vertices? I posted this question in this post: http://www.cfd-online.com/Forums/ope...kmeshdict.html But generally this solves the problem. I admit though that I did the the trick with rotation meanwhile and it worked as well, but I'll update it to include this identification method. Thanks! |
If anybody was looking for a solution to a similar problem. The right set of commands that extract the faces from neighbouring block cells is
Code:
faceSet baffleFaces new cellToFace B4 all |
All times are GMT -4. The time now is 02:54. |