|
[Sponsors] |
December 18, 2007, 07:01 |
FunkySetFields for cyclic bc
|
#1 |
New Member
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Dear all,
I want to run a simulation of a 2-D rayleigh-taylor instability case using interFoam. I have a heavy liquid (gamma=1) lying on the top of light liquid (gamma=0). In blockMeshDict, I set the left and right boundaries as cyclic. I set the initial gamma field using funkySetFields utility. The command is: funkySetFields . RH1-cyclic -time 0 -field gamma -expression "1.0" -condition "pos().y>=0" -keepPatches so the interface of both fluids is at y = 0 (at bottom boundary y = -0.1, at top y = 0.1) However, I ended up having gamma=0.5 at left & right boundaries, as shown below. Any idea how I can make the boundary values similar to the internal values? Thanks a lot zaki |
|
December 18, 2007, 08:24 |
solved the problem.
Cyclic
|
#2 |
New Member
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
solved the problem.
Cyclic boundaries should've been set as a single patch in blockMeshDict. So my problem had nothing to do with funkySetFields. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC and funkySetFields married and got a kid named swak4Foam | gschaider | OpenFOAM Community Contributions | 169 | August 10, 2023 10:01 |
[swak4Foam] how to use funkySetFields function in muliregion case | bryant_k | OpenFOAM Community Contributions | 15 | October 15, 2021 03:50 |
[swak4Foam] funkySetFields and funkySetBoundaryFields | zxj160 | OpenFOAM Community Contributions | 19 | February 14, 2018 20:07 |
[swak4Foam] funkySetFields: problem with processor boundary | nmikhailov | OpenFOAM Community Contributions | 4 | May 26, 2015 10:48 |
[swak4Foam] funkySetFields | Chrisi1984 | OpenFOAM Community Contributions | 10 | June 17, 2010 04:26 |