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

Inlet Boundary Condition for Open Channel type flow

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By Akshay_11235
  • 1 Post By J.H.59
  • 1 Post By gkarlsen
  • 1 Post By Pellet_time

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 6, 2018, 07:21
Unhappy Inlet Boundary Condition for Open Channel type flow
  #1
Member
 
Akshay Patil
Join Date: Nov 2015
Location: Pune, India
Posts: 35
Rep Power: 10
Akshay_11235 is on a distinguished road
Hello everyone,


I have been stuck with a problem for a while now. The problem involves free surface flow under the influence of gravity. As described in the picture (see attachment), the water level difference should drive the flow downstream. I am using interFoam to investigate such flows.



I cannot figure out what inlet boundary conditions should be used for


1. p_rgh
2. U
3. alpha.air and alpha.water


The way I would like to setup the problem is as follows:


Specify an initial water level (using setFields). I do not know the mass flow rate or the velocity at the inlet. I would like OpenFOAM to compute the velocity or/and mass flow rate at the inlet. This should be possible as the flow is pressure driven. The only information I provide at the inlet is the initial water level (pressure). At the downstream I would like to set either zeroGradient (outflow) or a specified water level (using setFields).



I have tried a few combinations for the inlet boundary conditions. However, nothing seems to be working. The deltaT simply keeps on decreasing. I am aware that this is due to ill-defined boundary conditions. However, Using this setup as described above, I have no idea which boundary condition to employ as the inlet face.



I know that this is fundamentally possible as Ansys-Fluent has an option of Open Channel Flow where you can provide the water surface elevation, bottom reference, and inlet velocity (as 0) and it initiates the solution. I would like to know if this is possible in OpenFOAM. If yes, what boundary conditions should be used at the inlet.



I am quite sure that its the inlet boundary condition that is causing the problem.



Any help will be appreaciated.
Attached Images
File Type: jpg openChannelFlowDrawing.jpg (28.2 KB, 367 views)
ahparvin likes this.
Akshay_11235 is offline   Reply With Quote

 

Tags
boundary conditions, inlet, interfoam, open channel flow, pressure driven flow


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
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 5 February 22, 2018 19:50
Error during initialization of "rhoSimpleFoam" kornickel OpenFOAM Running, Solving & CFD 8 September 17, 2013 05:37
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 14:16


All times are GMT -4. The time now is 18:32.