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

interfoam boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2009, 10:55
Unhappy interfoam boundary condition
  #1
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Hi all,

quite new in Openfoam, I'm working with rasInterfoam to simulate the flow arount a cylinder in a channel.

I have an inlet with a velocity fixedValue and inletOutlet (1,1) for gamma, zeroGradient for pd.
I have walls with slip conditions
My outlet is set as:
- pressureInletOutletVelocity for velocity
- inletOutlet(1,1) for gamma
- zeroGradient for pd

My issue is:
When it comes to long times, I loose my free surface level. I still have the good inlet level but outlet is about 5m below what I want (out of 30m).

I think I don't have the same massflow at inlet and outlet (obvious), but I do not know how to solve it.

Does anyone has any idea?

Thx for reading!
Schag is offline   Reply With Quote

Old   May 30, 2009, 08:48
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hello.

Maybe you can use cyclic boundary conditions for your in- and outlet.
This bc is basically copying the inflow to the outflow and thus quaranteeing, that they are equal ...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   June 2, 2009, 04:07
Default Try
  #3
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17
cliffoi is on a distinguished road
I'm not very familiar with rasInterFoam but I've had similar mass conservation issues with my own solutions using inletOutlet and similar BC's. The inletOutlet BC does no flux correction. It is essentially a zeroGradient outlet which can switch to an inlet. I got around my problems by using fluxCorrectedVelocity BCs at the outlet. This is fine as long as you know the boundary will always act as an outlet.
cliffoi is offline   Reply With Quote

Old   June 2, 2009, 09:44
Default
  #4
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Thanks, I'm going to try these.
Schag is offline   Reply With Quote

Reply

Tags
boundary condition, free surface elevation, interfoam


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
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
Axis Boundary Condition..what is it? CFDtoy FLUENT 6 February 13, 2007 05:51
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 11:44
1 and 2 Order Boundary condition at the same place CFD_Flo Main CFD Forum 4 July 11, 2005 11:57
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 02:19


All times are GMT -4. The time now is 23:12.