CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

MergeMesh and stitchMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2015, 11:07
Default
  #41
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17
balkrishna is on a distinguished road
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.
balkrishna is offline   Reply With Quote

Old   May 16, 2020, 08:58
Post Union of two cylinders with BlockMesh
  #42
New Member
 
Andres Aguirre
Join Date: Apr 2020
Location: Colombia
Posts: 2
Rep Power: 0
Andres_Aguirre3 is on a distinguished road
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

error.PNG

blockMesh_tuberia_ventosa.zip
Andres_Aguirre3 is offline   Reply With Quote

Old   September 10, 2020, 08:31
Default
  #43
Senior Member
 
Lasse Brams Vinther
Join Date: Oct 2015
Posts: 118
Rep Power: 11
Swagga5aur is on a distinguished road
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.
Swagga5aur is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] StitchMesh on two patches anita OpenFOAM Meshing & Mesh Conversion 31 April 4, 2013 12:51
[mesh manipulation] MergeMeshes and stitchMesh problem flo OpenFOAM Meshing & Mesh Conversion 6 May 10, 2010 11:40
StitchMesh on OF15 error any fix flo OpenFOAM Bugs 0 August 20, 2008 11:27
[mesh manipulation] Using stitchMesh for two pairs of patches kati OpenFOAM Meshing & Mesh Conversion 4 May 24, 2006 03:04


All times are GMT -4. The time now is 01:39.