|
[Sponsors] |
June 16, 2010, 03:26 |
cyclic multiedge BC
|
#1 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
Hi guys,
I have a 2D mesh made with gambit and I have to set periodicity between inlet and outlet but both of them have more then one edge (in gambit). Using fluentMeshToFoam works if inlet and outlet have only one edge but if there is more than one it does not : in particular runnning checkMesh I receive the "possible face ordering problem" message. Any one has already solved this problem? Thanks |
|
June 30, 2010, 11:24 |
|
#2 |
Member
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17 |
Ok, it worked and this is what I have done. I had a domain like this
L3 |-------| R3 L2 |-------| R2 L1 |-------| R1 With createPatch utility, I merged edge L1 and L2 obtaining a single generic patch called L1L2, after this I merged edge L1L2 and L3 obtaining a single patch called L1L2L3; the same on the other hand, obtaining a single patch called R1R2R3. After this, I used createPatch utility to make L1L2L3 periodic with R1R2R3. This is createPatchDict file for merging L1 and L2: FoamFile { version 2.0; format ascii; class dictionary; location "system"; object createPatchDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // matchTolerance 1E-7; pointSync true; patches ( { name L1L2; type patch; dictionary { type patch; } constructFrom patches; patches (L1 L2); } ); This is my final createPatchDict file: FoamFile { version 2.0; format ascii; class dictionary; location "system"; object createPatchDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // matchTolerance 1E-7; pointSync true; patches ( { name period; type cyclic; dictionary { type cyclic; } constructFrom patches; patches (L1L2L3 R1R2R3); } ); Hope this can help. Bye |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cyclic boundary condition in foam-extend 4.0 | rellumeister | OpenFOAM Pre-Processing | 2 | March 3, 2020 08:03 |
LES in OF 3.0.1, no Output for nuSgs | Mirage | OpenFOAM Programming & Development | 1 | October 4, 2016 18:00 |
Cyclic Boundary Condition Errors? | nyflyer | OpenFOAM Running, Solving & CFD | 2 | April 26, 2016 14:14 |
Possible createPatch/createBaffles bug? | simpomann | OpenFOAM Bugs | 2 | July 15, 2014 07:07 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 17:08 |