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

FunkySetFields for cyclic bc

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 18, 2007, 07:01
Default Dear all, I want to run a s
  #1
New Member
 
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 8
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: 8
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
FunkySetFields for OF 141 mer OpenFOAM Pre-Processing 71 June 11, 2014 11:34
FunkySetFields Boundary conditions listmg OpenFOAM Pre-Processing 13 November 22, 2013 14:00
Running funkySetFields sara OpenFOAM Running, Solving & CFD 10 October 3, 2012 10:08
FunkySetFields dictionary gschaider OpenFOAM Running, Solving & CFD 14 December 3, 2008 22:13


All times are GMT -4. The time now is 03:37.