|
[Sponsors] |
[cfMesh] How to use renameBoundary for cyclic boundary conditions? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 ![]() |
Hi Foamers,
How can I assign neighboring patches in the meshDict when I want to use cyclic boundary conditions? If I have to apply cyclicAMI I would also like to know how to set the transform and separation vector in the meshDict. Here are my steps: I created the geometry (.stl) file with ICEM. The renameBoundary dictionary in the meshDict looks like this: Code:
renameBoundary { newPatchNames { "OUTLET" { newName OUTLET; type cyclic; neighbourPatch INLET; } "INLET" { newName INLET; type cyclic; neighbourPatch OUTLET; } "WALL" { newName WALL; type wall; } } } Code:
renameBoundary { newPatchNames { "OUTLET" { newName OUTLET; type cyclicAMI; neighbourPatch INLET; transform translational; separationVector (0 0 -0.032); } "INLET" { newName INLET; type cyclicAMI; neighbourPatch OUTLET; transform translational; separationVector (0 0 0.032); } "WALL" { newName WALL; type wall; } } } I am noticing that cfMesh ignores the neighbourPatches and the other parameters if cyclicAMI is used. The boundary file in constant/polyMesh/boundary does not contain the other parameters of the dictionary. Hence, it would have to be manually added. Code:
location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 3 ( OUTLET { type cyclicAMI; nFaces 2502; startFace 1567898; } INLET { type cyclicAMI; nFaces 2502; startFace 1570400; } WALL { type wall; nFaces 47088; startFace 1572902; } ) Lukas Last edited by lukasf; September 28, 2018 at 03:59. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 8 ![]() |
Hi Lukas,
Old thread, I hope you have found a way. The best way is to leave these cyclic as patch and later you can use createPatchDict to define them. This would be more elegant than manually editing. Krao |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 07:30 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 01:27 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 06:28 |