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

open channel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2013, 03:18
Default open channel
  #1
New Member
 
abdollahi
Join Date: Nov 2012
Posts: 16
Rep Power: 13
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, 06:19
Default
  #2
New Member
 
abdollahi
Join Date: Nov 2012
Posts: 16
Rep Power: 13
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, 09:36
Default
  #3
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
i prefer to test with fixedValue for pressure at outlets, and disable k-epsilon model for now
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam 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
Open Channel Flow ElanMorin FLUENT 4 February 25, 2015 16:26
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 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 17:18
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 02:36


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