modeling: openfoam cfd modeling case study of a pool and

17
University of Massachuses Amherst ScholarWorks@UMass Amherst International Conference on Engineering and Ecohydrology for Fish Passage International Conference on Engineering and Ecohydrology for Fish Passage 2016 Jun 21st, 2:15 PM - 2:30 PM Modeling: OpenFOAM CFD Modeling Case Study of a Pool and Weir Fishway with Implications for Free-Surface Flows Jason Duguay Université de Sherbrooke Jay Lacey Université de Sherbrooke Follow this and additional works at: hps://scholarworks.umass.edu/fishpassage_conference is Event is brought to you for free and open access by the Fish Passage Community at UMass Amherst at ScholarWorks@UMass Amherst. It has been accepted for inclusion in International Conference on Engineering and Ecohydrology for Fish Passage by an authorized administrator of ScholarWorks@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 for Free-Surface Flows" (2016). International Conference on Engineering and Ecohydrology for Fish Passage. 44. hps://scholarworks.umass.edu/fishpassage_conference/2016/June21/44

Upload: others

Post on 07-Dec-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

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

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

2

Page 4: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

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

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

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

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

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

Comparison between models

OpenFOAM fishway - Jason Duguay 86/13/2016

Page 10: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

Comparison between models

OpenFOAM fishway - Jason Duguay 96/13/2016

Page 11: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

OpenFOAM fishway - Jason Duguay 106/13/2016

Streamline comparisons

Page 12: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

Comparison ADV: u-component

OpenFOAM fishway - Jason Duguay 116/13/2016

+

-

Page 13: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

Comparison ADV - TKE

OpenFOAM fishway - Jason Duguay 126/13/2016

Page 14: Modeling: OpenFOAM CFD Modeling Case Study of a Pool and

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

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

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

Questions?

17