|
[Sponsors] |
January 30, 2015, 14:56 |
Internal faces between blocks
|
#1 |
New Member
Javier Cortabarra Sánchez
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
Hi everybody,
Im working in a mesh that is supossed to be a beach with an "obstacle" at the bottom to study the breaking of the waves. I got it in 2D, but now im getting a problem trying to make it 3D. The problem is that some internal faces come out around the "obstacle". The solution, I think, is the face merging, but after reading the manual and making some tests... I am not sure I understood it correctly Could somebody give me a lead about how to do it? Thank you in advance PS: Here is my bMD and an image of the resulting mesh attached /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( //cara 1 (0 -1 0) // 0 (0 1 0) // 1 (6 1 0) // 2 (15 1 0) // 3 (15 0 0) // 4 (6 -1 0) // 5 //cara 2 (0 -1 5) // 6 (0 1 5) // 7 (6 1 5) // 8 (15 1 5) // 9 (15 0 5) // 10 (6 -1 5) // 11 //cara 3 (0 -1 10) // 12 (0 1 10) // 13 (6 1 10) // 14 (15 1 10) // 15 (15 0 10) // 16 (6 -1 10) // 17 //cara 4 (0 -1 15) // 18 (0 1 15) // 19 (6 1 15) // 20 (15 1 15) // 21 (15 0 15) // 22 (6 -1 15) // 23 //plataforma (10 -0.25 5) //24 (12.75 -0.25 5) //25 (10 -0.25 10) //26 (12.75 -0.25 10) //27 //auxiliares (10 1 5) //28 (12.75 1 5) //29 (10 1 10) //30 (12.75 1 10) //31 ); blocks ( hex (0 5 2 1 6 11 8 7) (10 10 10) simpleGrading (1 1 1) hex (5 4 3 2 11 10 9 8) (10 10 10) simpleGrading (1 1 1) hex (6 11 8 7 12 17 14 13) (10 10 10) simpleGrading (1 1 1) hex (11 24 28 8 17 26 30 14) (10 10 10) simpleGrading (1 1 1) hex (24 25 29 28 26 27 31 30) (10 10 10) simpleGrading (1 1 1) hex (25 10 9 29 27 16 15 31) (10 10 10) simpleGrading (1 1 1) hex (12 17 14 13 18 23 20 19) (10 10 10) simpleGrading (1 1 1) hex (17 16 15 14 23 22 21 20) (10 10 10) simpleGrading (1 1 1) ); edges ( ); patches ( patch inlet ((0 1 7 6) (6 7 13 12) (12 13 19 18)) patch outlet ((3 4 10 9) (9 10 16 15) (15 16 22 21)) wall bottom ((0 6 11 5) (6 12 17 11) (12 18 23 17) (5 11 10 4) (11 17 26 24) (24 26 27 25) (25 27 16 10) (17 23 22 16)) patch atmosphere ((1 2 8 7) (2 3 9 8) (7 8 14 13) (8 28 30 14) (28 29 31 30) (29 9 15 31) (13 14 20 19) (14 15 21 20)) ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
February 3, 2015, 11:25 |
|
#2 |
New Member
Javier Cortabarra Sánchez
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
I solved it by adding more auxiliar blocks beside the obstacle, making the vertex coincide in order to get the "face matching".
Its not the more brilliant solution but its the one I got |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 09:23 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 10:58 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 08:14 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 15:03 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |