CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

modify cyclic b.c.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 8, 2012, 09:08
Default modify cyclic b.c.
  #1
New Member
 
Adrian Zenklusen
Join Date: May 2012
Posts: 2
Rep Power: 0
Adrian83 is on a distinguished road
I'm simulating the spreading of a contaminant from a point source in a fully developed duct flow. So I would like to apply the cyclic boundary conditions (with the channelFoam solver) for velocities and pressure but not for the concentration of the contaminant (once the contaminant is at the outlet, it should not be feed in at the inlet)

So far I used directMapped (map velocities and pressure of the cross section in the middle to the inlet) at the inlet and zeroGradient at the outlet for pressure and velocities. For the contaminant concentration I used zeroGradient at the outlet and fixedValue (=0) at the inlet. So my duct is actually longer than I need (the influence of the zeroGradient boundary condition at the outlet requires that the duct is long enough).

I'm wondering, if it's possible to use cyclic boundary conditions for pressure and velocities but not for the contaminants concetration. Acutally I want to set the concentration to 0 at the inlet.

Could someone tell me which files I have to modify?
Adrian83 is offline   Reply With Quote

Old   June 4, 2012, 12:44
Default
  #2
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 108
Rep Power: 5
zxj160 is on a distinguished road
I also met the same problem. Did you solve it? If so, could you please tell me how to do that?

Quote:
Originally Posted by Adrian83 View Post
I'm simulating the spreading of a contaminant from a point source in a fully developed duct flow. So I would like to apply the cyclic boundary conditions (with the channelFoam solver) for velocities and pressure but not for the concentration of the contaminant (once the contaminant is at the outlet, it should not be feed in at the inlet)

So far I used directMapped (map velocities and pressure of the cross section in the middle to the inlet) at the inlet and zeroGradient at the outlet for pressure and velocities. For the contaminant concentration I used zeroGradient at the outlet and fixedValue (=0) at the inlet. So my duct is actually longer than I need (the influence of the zeroGradient boundary condition at the outlet requires that the duct is long enough).

I'm wondering, if it's possible to use cyclic boundary conditions for pressure and velocities but not for the contaminants concetration. Acutally I want to set the concentration to 0 at the inlet.

Could someone tell me which files I have to modify?
zxj160 is offline   Reply With Quote

Old   June 6, 2012, 06:33
Default
  #3
New Member
 
Adrian Zenklusen
Join Date: May 2012
Posts: 2
Rep Power: 0
Adrian83 is on a distinguished road
Unfortunately not. I tried to modify fvScalarMatrix, but with no success.
Adrian83 is offline   Reply With Quote

Old   July 2, 2012, 11:39
Default
  #4
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 108
Rep Power: 5
zxj160 is on a distinguished road
Quote:
Originally Posted by Adrian83 View Post

So far I used directMapped (map velocities and pressure of the cross section in the middle to the inlet) at the inlet and zeroGradient at the outlet for pressure and velocities.

Could someone tell me which files I have to modify?
Hi, can you use 'directMaped' BC for cyclic inlet and outlet patches?

My best regards,
Jian
zxj160 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
Cyclic B.C -interDyMFOAM-Gambit Mesh-Parallel farhagim OpenFOAM 3 March 13, 2011 00:29
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
mass flux and temperature b.c with cyclic conditions David_010 OpenFOAM 0 March 5, 2010 06:14
cyclic B.C. in Star-LT hank CD-adapco 2 September 22, 2006 10:02
question on cyclic B.C. for temperature Jiaying Xu CD-adapco 1 February 27, 2003 07:13


All times are GMT -4. The time now is 04:20.