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

open channel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 25, 2013, 04:18
Default open channel
  #1
New Member
 
abdollahi
Join Date: Nov 2012
Posts: 5
Rep Power: 4
abdollahi is on a distinguished road
hi
there is an open channel with 8*0.6*0.4 m dimentions.which has two outle, one of them at the end of channel and another is at the side wall in 4.5 meter from entrance of channel., inlet flow is assumed 35 lit/s,but outlet flow from end of channel is 30 lit/s and outlet from side wall is near 3 lit/s and continuity principal can not supported this model. 35 ? 30+3
I want to guide me .
U

inlet air
type fixedValue;
value uniform(0.0004 0 0);

inlet water
type flowRateInletVelocity;
flowRate 0.035;

outlet
type zeroGradient;

outlet side wall
type inletOutletVelocity;
inletValue uniform (0 0 0);
value uniform(0 0 0);

atmosphere
type pressureInletoutletVelocity;
value uniform (0 0 0);

walls
type fixedValue;
value uniform(0 0 0);

-----------------------------------------------------
P-rgh


inlet air
type zeroGradient;



inlet water
type zeroGradient;;



outlet
type totalPressure;
p0 uniform 1e05;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

outlet side wall
type totalPressure;
p0 uniform 1e05;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;


atmosphere
type totalPressure;
p0 uniform 1e05;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;



walls
type buoyantPressure;
value uniform 0;

--------------------------------------------------------------
alpha1

inlet air
type fixedValue;
value uniform 0;


inlet water
type fixedValue;
value uniform 1;


outlet
type zeroGradient;


outlet side wall
type zeroGradient;


atmosphere
type inletOutlet;
inletValue uniform 0;
value uniform 0;


walls
type zeroGradient;
abdollahi is offline   Reply With Quote

Old   March 25, 2013, 07:19
Default
  #2
New Member
 
abdollahi
Join Date: Nov 2012
Posts: 5
Rep Power: 4
abdollahi is on a distinguished road
of course , I used interfoam and K-epsilon model
abdollahi is offline   Reply With Quote

Old   March 25, 2013, 10:36
Default
  #3
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
i prefer to test with fixedValue for pressure at outlets, and disable k-epsilon model for now
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam 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
Open Channel Flow ElanMorin FLUENT 4 February 25, 2015 17:26
Error bulding swak4Foam sfigato OpenFOAM Installation 18 August 22, 2013 12:41
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 03:36


All times are GMT -4. The time now is 13:57.