Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel...
Transcript of Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel...
![Page 1: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/1.jpg)
![Page 2: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/2.jpg)
Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez
applied to Coastal Engineering
Regular waves interaction with a rubble-mound breakwater
(IHFOAM GUI)
![Page 3: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/3.jpg)
Geometric Domain
Numeric Domain
Numerical Setup
Post-processing
Mesh generation
Execute serial or parallel
Wave gauges, run-up, etc.
Boundary conditions, Initial conditions, Numericalparameters, Pre-processing
Solver
Op
en
FOA
Mw
ork
flo
w
Regular waves interaction with a rubble-mound breakwater
![Page 4: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/4.jpg)
OpenFOAM case
0
constant
system
- alpha.water- p_rgh- U- porosityIndex
- g- transportProperties- turbulenceProperties- porosityDict
- blockMeshDict- setFieldsDict- snappyHexMeshDict- extrudeMeshDict
- k - epislon- nut
- fvSchemes- fvSolution- decomposeParDict- controlDict
- waveProperties
Regular waves interaction with a rubble-mound breakwater
IHFOAM GUI
![Page 5: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/5.jpg)
Regular waves interaction with a rubble-mound breakwater
Load case
![Page 6: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/6.jpg)
Regular waves interaction with a rubble-mound breakwater
Set OpenFoam folder
and Paraview binary
![Page 7: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/7.jpg)
Regular waves interaction with a rubble-mound breakwater
Press F9 to display the
message output window
![Page 8: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/8.jpg)
Regular waves interaction with a rubble-mound breakwater
Save single pannel modified
or save all pannels modified.
Define geometric domain
and mesh discretization
![Page 9: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/9.jpg)
Regular waves interaction with a rubble-mound breakwater
IHFOAM dialog box
blockMesh button
![Page 10: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/10.jpg)
Regular waves interaction with a rubble-mound breakwater
Set patches names
according to IHFOAM-GUI
![Page 11: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/11.jpg)
Regular waves interaction with a rubble-mound breakwater
Define a boudary condition
variable for each patch of the mesh
(1/2)
![Page 12: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/12.jpg)
Regular waves interaction with a rubble-mound breakwater
Define a boudary condition
variable for each patch of the mesh
(2/2)
![Page 13: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/13.jpg)
Regular waves interaction with a rubble-mound breakwater
IHFOAM dialog box
checkMesh button
![Page 14: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/14.jpg)
Regular waves interaction with a rubble-mound breakwater
Paraview button
![Page 15: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/15.jpg)
inlet outlet
top
ground
330 m.
60 m.
Regular waves interaction with a rubble-mound breakwater
![Page 16: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/16.jpg)
Definition of new boundaries
(through .stl files)
Regular waves interaction with a rubble-mound breakwater
![Page 17: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/17.jpg)
Definition of refinement zones
Regular waves interaction with a rubble-mound breakwater
![Page 18: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/18.jpg)
Meshing parameters
Regular waves interaction with a rubble-mound breakwater
![Page 19: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/19.jpg)
IHFOAM dialog box
snappyHexMesh button
Regular waves interaction with a rubble-mound breakwater
![Page 20: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/20.jpg)
Regular waves interaction with a rubble-mound breakwater
IHFOAM dialog box
extrudeMesh button
![Page 21: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/21.jpg)
Define a boudary condition variable
for each new patch of the mesh
Regular waves interaction with a rubble-mound breakwater
![Page 22: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/22.jpg)
Regular waves interaction with a rubble-mound breakwater
IHFOAM dialog box
checkMesh button
![Page 23: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/23.jpg)
Regular waves interaction with a rubble-mound breakwater
Define fluids properties
![Page 24: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/24.jpg)
Regular waves interaction with a rubble-mound breakwater
Define gravity
![Page 25: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/25.jpg)
Regular waves interaction with a rubble-mound breakwater
Define wave properties
(generation and absorption)
![Page 26: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/26.jpg)
Define turbulence model
and boundary conditions (1/2)
Regular waves interaction with a rubble-mound breakwater
![Page 27: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/27.jpg)
Regular waves interaction with a rubble-mound breakwater
Define turbulence model
and boundary conditions (2/2)
![Page 28: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/28.jpg)
Regular waves interaction with a rubble-mound breakwater
• Define, create and name the rubble mound elements (using Autocad,
Rhino, etc.).
![Page 29: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/29.jpg)
Regular waves interaction with a rubble-mound breakwater
Define porous layers (1/2)
![Page 30: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/30.jpg)
Regular waves interaction with a rubble-mound breakwater
Define porous layers (2/2)
![Page 31: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/31.jpg)
Regular waves interaction with a rubble-mound breakwater
Set inital water depth
![Page 32: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/32.jpg)
Regular waves interaction with a rubble-mound breakwater
IHFOAM dialog box
setFields button
![Page 33: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/33.jpg)
Regular waves interaction with a rubble-mound breakwater
Paraview button
![Page 34: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/34.jpg)
Regular waves interaction with a rubble-mound breakwater
![Page 35: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/35.jpg)
Regular waves interaction with a rubble-mound breakwater
Set fvSchemes (numerical
schemes for different terms)
![Page 36: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/36.jpg)
Regular waves interaction with a rubble-mound breakwater
Set fvSolution (equations solvers,
tolerances and algorithms) (1/2)
![Page 37: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/37.jpg)
Regular waves interaction with a rubble-mound breakwater
Set fvSolution (equations solvers,
tolerances and algorithms) (1/2)
![Page 38: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/38.jpg)
Regular waves interaction with a rubble-mound breakwater
Save the free-surface as
a .stl file for each time step
![Page 39: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/39.jpg)
Regular waves interaction with a rubble-mound breakwater
Set free-surface gauges
![Page 40: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/40.jpg)
Regular waves interaction with a rubble-mound breakwater
Define simulation parameters
![Page 41: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/41.jpg)
Regular waves interaction with a rubble-mound breakwaterRun/Execute button
Run OpenFOAM case
decomposePar button
cleanCase button
![Page 42: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/42.jpg)
Regular waves interaction with a rubble-mound breakwater
Case decomposed correctly
decomposePar button
![Page 43: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/43.jpg)
Regular waves interaction with a rubble-mound breakwater
Case correctly executed!!
Run/Execute button
![Page 44: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/44.jpg)
Regular waves interaction with a rubble-mound breakwater
plot dt during the simulation
![Page 45: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/45.jpg)
plot residuals during the
simulation
Regular waves interaction with a rubble-mound breakwater
![Page 46: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/46.jpg)
Regular waves interaction with a rubble-mound breakwater
Post-process free
surface sensors
plot free surface sensors
![Page 47: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/47.jpg)
Regular waves interaction with a rubble-mound breakwater
Paraview button
![Page 48: Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez applied to Coastal Engineering](https://reader036.fdocuments.in/reader036/viewer/2022071211/602370c462151475724f0e20/html5/thumbnails/48.jpg)
Regular waves interaction with a rubble-mound breakwater