|
[Sponsors] |
August 24, 2023, 02:13 |
OF11: how to map values at cyclic patch?
|
#1 |
New Member
Seungtae Kim
Join Date: Jun 2023
Posts: 7
Rep Power: 2 |
Hello foamer.
I'm trying to simulate internal face act like closed wall at certain time while act like open channel (cyclic) at different time. First, I tried activeBaffleVelocity boundary condition, following Marpole's method(modifying boundary files to introduce baffle and wall shared identical faces.). However 1e-6 hard-cap in both closeness and openness cannot gives air-tight baffle, which is required in my case. Since activeBaffleVelocity boundary condition works as reducing superficial area Sf in calculation, removing hard cap might be not a good idea (which can introduce div by 0 err). Then, I follow the method miotto did in 2020, where boundary types and conditions are changed between simulation, using utilities changeDictionary and foamDictionary. From wall to cyclic is OK, but when I tried to comeback wall from cyclic, I faced with problem. Since cyclic BC doesn't require value entry at all. However, when I comeback from cyclic to wall, I have no values to assign in new wall boundary condition. Thus I assign arbitrary uniform values in attached file. Of course, these values are different from values at baffles thus it introduce unwanted disturbs in domain. Now I need 2 things to do
|
|
Tags |
changedictionary, foamdictionary |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OLAFLOW] The OLAFLOW Thread | Phicau | OpenFOAM Community Contributions | 457 | March 27, 2024 00:59 |
cyclic patch error | cesarjets | OpenFOAM Pre-Processing | 0 | July 25, 2023 20:14 |
[Other] Wedge patch '*' is not planar | LilumDaru | OpenFOAM Meshing & Mesh Conversion | 6 | January 12, 2021 05:55 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 22:38 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 04:38 |