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

[swak4Foam] FunkySetFields for cyclic bc

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2007, 07:01
Default FunkySetFields for cyclic bc
  #1
New Member
 
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17
zakifoam is on a distinguished road
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
zakifoam is offline   Reply With Quote

Old   December 18, 2007, 08:24
Default solved the problem. Cyclic
  #2
New Member
 
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17
zakifoam is on a distinguished road
solved the problem.

Cyclic boundaries should've been set as a single patch in blockMeshDict. So my problem had nothing to do with funkySetFields.
zakifoam is offline   Reply With Quote

Reply


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
[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


All times are GMT -4. The time now is 09:26.