CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

OF11: how to map values at cyclic patch?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2023, 03:13
Default OF11: how to map values at cyclic patch?
  #1
STK
New Member
 
Seungtae Kim
Join Date: Jun 2023
Posts: 7
Rep Power: 3
STK is on a distinguished road
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
  1. Get values at cyclic boundary at certain time in nonunifom List
  2. Assign these nonuniform value through changeDictionary or foamDictionary
Does anybody have an idea how I can do these things?
STK is offline   Reply With Quote

Reply

Tags
changedictionary, foamdictionary


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Wedge patch '*' is not planar LilumDaru OpenFOAM Meshing & Mesh Conversion 7 September 18, 2024 06:52
[OLAFLOW] The OLAFLOW Thread Phicau OpenFOAM Community Contributions 459 September 12, 2024 12:47
cyclic patch error cesarjets OpenFOAM Pre-Processing 0 July 25, 2023 21:14
using chemkin JMDag2004 OpenFOAM Pre-Processing 2 March 8, 2016 23:38
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38


All times are GMT -4. The time now is 19:28.