modeling: openfoam cfd modeling case study of a pool and
TRANSCRIPT
![Page 1: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/1.jpg)
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
![Page 2: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/2.jpg)
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
![Page 3: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/3.jpg)
2
![Page 4: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/4.jpg)
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
![Page 5: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/5.jpg)
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
![Page 6: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/6.jpg)
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
![Page 7: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/7.jpg)
Study basin
Flow direction
Modeled geometry
OpenFOAM fishway - Jason Duguay 66/13/2016
![Page 8: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/8.jpg)
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
![Page 9: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/9.jpg)
Comparison between models
OpenFOAM fishway - Jason Duguay 86/13/2016
![Page 10: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/10.jpg)
Comparison between models
OpenFOAM fishway - Jason Duguay 96/13/2016
![Page 11: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/11.jpg)
OpenFOAM fishway - Jason Duguay 106/13/2016
Streamline comparisons
![Page 12: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/12.jpg)
Comparison ADV: u-component
OpenFOAM fishway - Jason Duguay 116/13/2016
+
-
![Page 13: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/13.jpg)
Comparison ADV - TKE
OpenFOAM fishway - Jason Duguay 126/13/2016
![Page 14: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/14.jpg)
Free surface position
OpenFOAM fishway - Jason Duguay 13
South wall North wall
S
N
6/13/2016
![Page 15: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/15.jpg)
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
![Page 16: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/16.jpg)
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
![Page 17: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and](https://reader030.vdocuments.site/reader030/viewer/2022012716/61aeb21f83661d289b4144c4/html5/thumbnails/17.jpg)
Questions?
17