|
[Sponsors] |
OpenFOAM open channel flow downsteam boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2012, 09:34 |
OpenFOAM open channel flow downsteam boundary condition
|
#1 |
New Member
Jeremy Bricker
Join Date: Jan 2012
Location: Tokyo
Posts: 2
Rep Power: 0 |
Hi folks,
I'm using Interfoam to solve a simple subcritical open channel flow problem. My grid is regular, rectangular. Boundary conditions are: Upstream boundary (inlet) alpha1: timeVaryingMappedFixedValue (constant in time, for now) p_rgh: buoyantPressure U: fixedValue Downstream boundary (outlet) alpha1: timeVaryingMappedFixedValue (constant in time, for now) p_rgh: buoyantPressure U: zeroGradient The upstream BC is basically a prescribed flow rate, while the downstream BC is a prescribed water level. For the alpha1 BC's, I specify points below the free surface as alpha1=1, and above the free surface as alpah1=0 (this is how I specify the water level). Since the flow is subcritical, I expect it to be controlled by the downstream boundary condition, and to cause water to back-up upstream. However, instead of this happening, a small lump with a large alpha1 develops just 1 cell upstream of my downstream boundary, as shown in the attached plot. Can anyone tell me if I'm going about setting my boundaries incorrectly? Should I be specifying my water level and flow rate in another way? In the end, I'm trying to run the problem this way in order to simulate a time-varying water level in the correct way (with downstream control). Previously, I got the problem to run only with upstream control (all downstream boundary variables zeroGradient), but this is not really the correct way to run the problem of subcritical flow. Any guidance would be appreciated. Thanks, Jeremy |
|
November 5, 2012, 21:14 |
Outlet BC
|
#3 |
New Member
Jeremy Bricker
Join Date: Jan 2012
Location: Tokyo
Posts: 2
Rep Power: 0 |
Hi Kevin,
Thank you very much for pointing me to your post. I understand your method. I reckon I could use that (fixed value velocity on the outlet boundary) to make a time-varying downstream water level by making a time-varying outflow speed. For now, I've been trying the problem of a specified downstream water level by getting rid of the boundaries all together. I've got my domain set up like a flume now, with solid walls and a well at either end, upwelling into the flume on the upstream side, and downwelling out of the flume on the other (so the BC is fixed value velocity in both cases). Then I control the inflow and outflow flow rates in order to control the water level and flow speed in the test section. Thanks again for your reply and help. Jeremy |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Open Channel Flow | ElanMorin | FLUENT | 4 | February 25, 2015 17:26 |
Open channel flow | motaba | Main CFD Forum | 4 | March 26, 2011 04:22 |
Wave generation using open channel wave boundary condition | krishnaprasad | Main CFD Forum | 0 | March 3, 2011 22:28 |
Yacht in Open Channel Flow | andreimour | FLUENT | 1 | October 15, 2010 00:54 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |