modeling: openfoam cfd modeling case study of a pool and
TRANSCRIPT
University of Massachusetts AmherstScholarWorks@UMass AmherstInternational Conference on Engineering andEcohydrology for Fish Passage
International Conference on Engineering andEcohydrology for Fish Passage 2016
Jun 21st, 2:15 PM - 2:30 PM
Modeling: OpenFOAM CFD Modeling CaseStudy of a Pool and Weir Fishway with Implicationsfor Free-Surface FlowsJason DuguayUniversité de Sherbrooke
Jay LaceyUniversité de Sherbrooke
Follow this and additional works at: https://scholarworks.umass.edu/fishpassage_conference
This Event is brought to you for free and open access by the Fish Passage Community at UMass Amherst at ScholarWorks@UMass Amherst. It hasbeen accepted for inclusion in International Conference on Engineering and Ecohydrology for Fish Passage by an authorized administrator ofScholarWorks@UMass Amherst. For more information, please contact [email protected].
Duguay, Jason and Lacey, Jay, "Modeling: OpenFOAM CFD Modeling Case Study of a Pool and Weir Fishway with Implications forFree-Surface Flows" (2016). International Conference on Engineering and Ecohydrology for Fish Passage. 44.https://scholarworks.umass.edu/fishpassage_conference/2016/June21/44
OpenFOAM CFD modeling case study of a pool and weir fishway with implications for free-surface flows
OpenFOAM fishway - Jason Duguay
1
Jason Duguay, PhD candidate
Jay Lacey, professor
Department of Civil EngineeringUniversité de SherbrookeSherbrooke, Québec
6/13/2016
2
Project and Objectives
• Verify interFoam solver with experimental data within a large pool and weir fishway
• Compare OpenFOAM to FLOW-3D
• Improve boundary conditions in OpenFOAM for free surface applications
OpenFOAM fishway - Jason Duguay 36/13/2016
Why OpenFOAM?
OpenFOAM fishway - Jason Duguay 4
Blog.castsoftware.comOpen-sourced
No limits
FreeSuitelife.com
En.wikipedia.org
Fees
linkedin.com
Black box
Restrictions
psicoativo.com
6/13/2016
Commercial CFD
versus
The pool and weir fishway under study
OpenFOAM fishway - Jason Duguay 5
www.google.ca/maps/
The fishway in numbers
• 100 meters long• 3 meters wide• 9.2% slope• 31 pools• 8.2 m elevation drop• 1-1.5 m3/s of flow through the fishway
6/13/2016
Study basin
Flow direction
Modeled geometry
OpenFOAM fishway - Jason Duguay 66/13/2016
Free surface modeling with OpenFOAM and FLOW-3D
OpenFOAM fishway - Jason Duguay 7
OpenFOAM’s interFoam solver
• Finite Volume Method
• Model’s two immiscible, incompressible,isothermal fluids
• Volume of fluid (VOF) free surface tracking
•Turbulence modeled using uRANS equations
FLOW-3D
• Similar modelling approach to interFOAM
• However, models only structured cartesian meshes
• Applies boundary at free surface instead ofmodelling both fluids (can model both optionally)
Flow3d.com
En.wikipedia.org
6/13/2016
Comparison between models
OpenFOAM fishway - Jason Duguay 86/13/2016
Comparison between models
OpenFOAM fishway - Jason Duguay 96/13/2016
OpenFOAM fishway - Jason Duguay 106/13/2016
Streamline comparisons
Comparison ADV: u-component
OpenFOAM fishway - Jason Duguay 116/13/2016
+
-
Comparison ADV - TKE
OpenFOAM fishway - Jason Duguay 126/13/2016
Free surface position
OpenFOAM fishway - Jason Duguay 13
South wall North wall
S
N
6/13/2016
OpenFOAM fishway - Jason Duguay 14
Specify w.s. as p_rgh=totalPressureU = zeroGradientAlpha = inletOutlet (lets only water in, but air out)
U = fixedValue(0 0 0)p_rgh= fixedFluxPressureAlpha=zeroGradient
Top patch
Bottom patch Uses: dams, weirs, rivers, sluice gates, fishway
Pros and cons of new method:
• Allows water surface levels to be adjusted with ease without complicating your blockMesh dict
• Permits water to “naturally” enter and leave tedomain
• Permits waves to naturally cross boundaries?
• Slightly influences natural entry and exit of flow near boundaries
Nevertheless, SHOULD WORK VERY WELL IF BOUNDARIES ARE FAR FROM ZONES OF INTEREST (most cases thankfully)
6/13/2016
Suggested set of boundary conditions
OpenFOAM fishway - Jason Duguay 16
Conclusions
OpenFOAM’s interFoam solver:
• accurately predicts Umax, reasonably predicts velocity components and TKE
• accurately predicts w.s. level in pool
• compares well to widely used commercial software
• boundary condition set was found for application to many common problems
6/13/2016
Questions?
17