Problem to merge faces of some defined blocks in OpenFOAM using blockMesh
Hello all,
I have created a domain (shown in the pic) and would like to define boundaries as shown in the pic. My first question is about how to define two separate faces in one boundary e.g. top and bottom faces of the rectangular cube to be specified in boundary named "boundary" (they could be specified separately in two boundary names, but how to specify them together). The following error has been appeared by using code blockMeshDict: https://drive.google.com/file/d/10WB...ew?usp=sharing P: https://drive.google.com/file/d/141c...ew?usp=sharing U: https://drive.google.com/file/d/1Fcp...ew?usp=sharing https://i.stack.imgur.com/bPRWu.jpg HTML Code:
--> FOAM FATAL ERROR: face 0 in patch 2 does not have neighbour cell face: 4(0 4 7 3) HTML Code:
--> FOAM FATAL ERROR: Trying to specify a boundary face 4(8 9 13 12) on the face on cell 10 which is either an internal face or already belongs to some other patch. This is face 0 of patch 2 named outlet_perf_wall. HTML Code:
--> FOAM FATAL ERROR: Face 74168 reduced to less than 3 points. Topological/cutting error A. Old face: 2(27764 27765) new face: 2(27764 27765) blockMeshDict: https://drive.google.com/file/d/1mG5...ew?usp=sharing https://i.stack.imgur.com/5WQK9.jpg The third question is for the checkMesh result of the main codes; "Q3" in the "All Errors". What's the problem? Is this error important? Full text of each aforementioned errors are in the following attached file: All Errors: https://drive.google.com/file/d/1Juy...ew?usp=sharing |
It seems like you may be misunderstanding how to use blockMesh.
Here are some tips I suggest you follow: Tip 1: run the checkMesh utility after creating the mesh After creating the mesh with blockMesh it is important to check the mesh for any errors by running the checkMesh command; blockMesh may not give errors if, for example, a block is incorrectly defined as left-handed; however, checkMesh will indicate that cells are inverted with negative volumes: Code:
Checking geometry... Tip 2: if there are errors in the blocks, check each block one-by-one If after running checkMesh, you receive errors, such as inverted negative volume cells, then often the easiest method to diagnose the problem is to comment out all the blocks (and all boundary patches) except one and then run blockMesh followed by checkMesh to see if that particular block is invalid; for example: Code:
blocks ( one-by-one: Code:
boundary ( Tip 3: interpreting blockMesh errors: blockMesh tells us exactly where to look If you receive errors when running blockMesh, the error message will typically explain the source of the problem; consider the following blockMesh error: Creating block mesh topology Code:
--> FOAM FATAL ERROR: Philip |
All times are GMT -4. The time now is 19:51. |