|
[Sponsors] |
May 13, 2016, 08:32 |
MergePatchPairs
|
#1 |
Senior Member
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12 |
I would like to merge the following example.
But I get an error when trying to merge the small box with the huge one (that consist of two blocks). Anyone knows how to solve that problem image.jpg Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (10 10 0)//0 (0 10 0) (-10 10 0) //2 (-10 -10 0) //3 (0 -10 0) (10 -10 0) (10 10 5) (0 10 5) (-10 10 5) (-10 -10 5) (0 -10 5) (10 -10 5) //11 (5 5 -5) (-5 5 -5) (-5 -5 -5) (5 -5 -5) (5 5 0) (-5 5 0) (-5 -5 0) (5 -5 0) ); blocks ( hex (0 1 4 5 6 7 10 11) (10 30 20) simpleGrading (1 1 1) hex (1 2 3 4 7 8 9 10) (50 30 20) simpleGrading (1 1 1) hex (12 13 14 15 16 17 18 19) (50 30 20) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (12 13 14 15) ); } outlet { type patch; faces ( (11 10 7 6) (10 9 8 7) ); } isolation { type wall; faces ( (15 19 16 12) (15 14 18 19) (14 13 17 18) (12 16 17 13) (5 11 6 0) (0 6 7 1) (1 7 8 2) (3 2 8 9) (3 9 10 4) (4 10 11 5) ); } /* master1 { type patch; faces ( (19 18 17 16) ); } slave1 { type wall; faces ( (4 5 0 1) ); } slave2 { type wall; faces ( (4 1 2 3) ); }*/ ); mergePatchPairs ( //(master1 slave1) //(master1 slave2) ); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] mergePatchPairs problem when migrating from OFext1.6 to OFext3.1 | ma-tri-x | OpenFOAM Meshing & Mesh Conversion | 2 | January 12, 2021 04:23 |
[blockMesh] mergePatchPairs reducing a face to less than 3 points | aow | OpenFOAM Meshing & Mesh Conversion | 2 | June 1, 2018 17:37 |
[mesh manipulation] mergePatchPairs with multiple areas | bjoern1 | OpenFOAM Meshing & Mesh Conversion | 1 | October 1, 2015 07:07 |
[blockMesh] 2:1 refined 2D blockMeshDict with mergePatchPairs? | chrisb2244 | OpenFOAM Meshing & Mesh Conversion | 0 | December 1, 2014 23:52 |
[blockMesh] mergePatchPairs Misbehaving | dancfd | OpenFOAM Meshing & Mesh Conversion | 2 | July 20, 2011 00:08 |