CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   MergeMesh and stitchMesh (https://www.cfd-online.com/Forums/openfoam-solving/57917-mergemesh-stitchmesh.html)

balkrishna June 1, 2015 10:07

This is after a long time. Have you found any solution for this ? I have the same issue of generation of internal faces with mergeMesh and have not found a solution to stitch them.

Andres_Aguirre3 May 16, 2020 07:58

Union of two cylinders with BlockMesh
 
2 Attachment(s)
Good morning to everybody.
after trying various tools to generate an optimal mesh to correctly represent my model scenario (Salome, snappy), I have come to the conclusion that the most convenient and efficient way is to use just blockMesh.

I have followed the pipe tutorial in the / tutorials / mesh / blockMesh / pipe in great detail, where a pipe is generated by following a .obj curve. After adapting the tutorial to my geometry I execute the command "blockMesh" to generate my mesh and I find the error that I attach in the image.

Do you have any idea why this is happening?
How could I solve my problem?
Thank you.

PS: I have attached the following information
1- .zip that contains the case folder
2- inside the case folder there is another folder called salome, where every geometry involved in the case is presented

Attachment 77702

Attachment 77703

Swagga5aur September 10, 2020 07:31

Hello Andres,

The issue is that when using blockMesh and defining different hexes the interfacing blocks have to be equal. The error code state that you have inconsistent number of faces between block pair 0 and 1, meaning that the following doesn't connect correctly as the the block in the connecting plane fx xy plane is not equal (cells in x and y directions must be equal.

From you blockmesh code block pair 0 and 1 is defined as:

Code:

        hex (v30 v42 v43 v31 v49 v51 v52 v50) (8  10  8) simpleGrading (1  1  1) // caja ventosa
        hex (v6  v18 v19 v7  v30 v42 v43 v31) (10  100 10) simpleGrading (1  0.1  1) // Caja bajo la ventosa

And i believe that hex0 is on top of hex1 therefore the block (8 10 8) must be the same as (10 100 10), by changing it to fx the following:

Code:

        hex (v30 v42 v43 v31 v49 v51 v52 v50) (8  10  8) simpleGrading (1  1  1) // caja ventosa
        hex (v6  v18 v19 v7  v30 v42 v43 v31) (8  10 10) simpleGrading (1  1  1) // Caja bajo la ventosa

The same counts for the simpleGrading.


All times are GMT -4. The time now is 15:40.