Problems meshing a half of a cylinder with blockMesh
2 Attachment(s)
Hi FOAMers!
I'm trying to mesh a geometry formed by a half of a cylinder and a cube (the way you can see in the attached file). Although I've done the mesh, as you can see in the pic attached, I have had a little problem and I don't know what to do about that. The thing is that it forces me to divide the blocks 1 and 2 in the same amount of cells in the angular direction that block 0 is. Otherwise I get the following error message: Code:
--> FOAM FATAL ERROR: Another curious fact I have found is that the internal faces between blocks 0 and 1, 2 and betwen block 3 and 1,2 are considered as default faces (empty) after executing blockMesh (as you can see in the attached pic). I don't know if it can cause some trouble when computing with laplacianFoam or not. If so, I would like to know how to solve that. This is my blockMeshDict file: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Thanks in advance! ;) |
3 Attachment(s)
Well, I've been trying other ways to define that mesh and I finally found the way you can see in the attached picture and in the blockMeshDict file pasted here:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ The issue mentioned above I found out that it isolates the blocks that the faces belong to when applying laplacianFoam, as it can be seen in the other attached pic. Therefore I need to get rid of those default faces auto defined when I apply blockMesh. I would be really grateful if someone could give me any advice to solve that problem, because I've been trying many tricks the latest days but I still haven't found out the proper way to solve it. Regards. |
Hi,
default faces usually arise if you have not defined those faces in your boundary definition (in the blockMesh file). In your blockmesh file, you have not defined the top and bottom surfaces and some surfaces within the geometry. I guess you have include these surfaces in the boundary section of your blockMesh file and define them according to your physical problem suitably as patches or walls.I think once you have defined all the surfaces in the geometry and got rid of the default faces, you should be able to process it. Hope this helps. |
All times are GMT -4. The time now is 11:01. |