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

Possible BCs for open channel flow simulation using interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2024, 03:32
Unhappy Possible BCs for open channel flow simulation using interFoam
  #1
New Member
 
Wenhao Dong
Join Date: Feb 2024
Posts: 1
Rep Power: 0
Wenhao Dong is on a distinguished road
Hello CFD community
I am doing some simulation for very classical open channel water flow cases in hydraulic engineering field.
For the past several days, I was struggling to apply suitable boundary conditions to get a good simulation results using interFoam. I would like to impose typical flow rate (discharge) BC for inlet and a fixed water depth BC for outlet. By the way, I think this is the very common BCs in open channel experiments. However, I could not find a direct BC for fixed water depth outlet.
For the inlet, I just adopted variableHeightFlowRateInletVelocity with specific flow rate which is already known through experimental conditions.
As for the outlet, I was first trying to use the outletPhaseMeanVelocity BC and setting the Umean as Q/h (inlet flow rate/outlet water depth). The simulation went well and I got quite good results in terms of the velocity field, however, the water surface elevation seemed to be a problem because this outlet BC adjusted the alpha.water to achieve Umean, resulting in a variable water depth (not same as the experimental outlet water depth).
Then I tried to follow another approach by dividing the whole outlet patch into two parts: air and water. For the water patch, it is exactly same height as the experimental water depth, and I applied the totalPressure BC with specific p0 = rho*g*h, so that I can get a fixed water depth. This approach seems to be fine as it achieved what I want, a fixed water depth outlet BC. But the results show that still the water surface elevation for the whole flow field is quite different with experimental results. (velocity field no big differneces, still suits the expermental results)
So I seek your kind help about how to deal with BCs, and for your information I list all my BCs as following:

alpha.water
inlet-variableHeightFlowRate
walls-zeroGradient
outletWater-zeroGradient
outletAir-zeroGradient
atmosphere-inletOutlet
p_rgh
inlet-fixedFluxPressure
walls-fixedFluxPressure
outletWater-totalPressure with p0=rho*g*h
outletAir-totalPressire with p0=0
atmosphere-totalPressure with p0=0
U
inlet-variableHeightFlowRateInletVelocity with flow rate Q
walls-noSlip
outletWater-fluxCorrectedVelocity with same flow rate Q as inlet
outletAir-pressureInletOutletVelocity
atmosphere-pressureInletOutletVelocity

And I am using the k omega SST turbulence model.

Best regards,
Wenhao Dong 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
Plane Poiseuille Flow (Channel Flow) with cyclic BC's irwin OpenFOAM 1 April 28, 2021 15:48
Open Channel Flow - Interfoam - Max(alpha.water) > 1 WaterHammer1985 OpenFOAM Running, Solving & CFD 5 January 15, 2020 19:08
Open Channel Flow Simulation physicosm OpenFOAM Running, Solving & CFD 0 December 6, 2019 08:06
interFoam, nonuniform alpha for channel flow KTG OpenFOAM Pre-Processing 0 February 23, 2017 23:41
Open channel flow with interFoam sorockin OpenFOAM Running, Solving & CFD 8 October 20, 2013 07:50


All times are GMT -4. The time now is 06:50.