Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel...

Post on 02-Oct-2020

0 views 0 download

Transcript of Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez · 2019. 10. 11. · Gabriel...

Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez

applied to Coastal Engineering

Regular waves interaction with a rubble-mound breakwater

(IHFOAM GUI)

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

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

Regular waves interaction with a rubble-mound breakwater

Load case

Regular waves interaction with a rubble-mound breakwater

Set OpenFoam folder

and Paraview binary

Regular waves interaction with a rubble-mound breakwater

Press F9 to display the

message output window

Regular waves interaction with a rubble-mound breakwater

Save single pannel modified

or save all pannels modified.

Define geometric domain

and mesh discretization

Regular waves interaction with a rubble-mound breakwater

IHFOAM dialog box

blockMesh button

Regular waves interaction with a rubble-mound breakwater

Set patches names

according to IHFOAM-GUI

Regular waves interaction with a rubble-mound breakwater

Define a boudary condition

variable for each patch of the mesh

(1/2)

Regular waves interaction with a rubble-mound breakwater

Define a boudary condition

variable for each patch of the mesh

(2/2)

Regular waves interaction with a rubble-mound breakwater

IHFOAM dialog box

checkMesh button

Regular waves interaction with a rubble-mound breakwater

Paraview button

inlet outlet

top

ground

330 m.

60 m.

Regular waves interaction with a rubble-mound breakwater

Definition of new boundaries

(through .stl files)

Regular waves interaction with a rubble-mound breakwater

Definition of refinement zones

Regular waves interaction with a rubble-mound breakwater

Meshing parameters

Regular waves interaction with a rubble-mound breakwater

IHFOAM dialog box

snappyHexMesh button

Regular waves interaction with a rubble-mound breakwater

Regular waves interaction with a rubble-mound breakwater

IHFOAM dialog box

extrudeMesh button

Define a boudary condition variable

for each new patch of the mesh

Regular waves interaction with a rubble-mound breakwater

Regular waves interaction with a rubble-mound breakwater

IHFOAM dialog box

checkMesh button

Regular waves interaction with a rubble-mound breakwater

Define fluids properties

Regular waves interaction with a rubble-mound breakwater

Define gravity

Regular waves interaction with a rubble-mound breakwater

Define wave properties

(generation and absorption)

Define turbulence model

and boundary conditions (1/2)

Regular waves interaction with a rubble-mound breakwater

Regular waves interaction with a rubble-mound breakwater

Define turbulence model

and boundary conditions (2/2)

Regular waves interaction with a rubble-mound breakwater

• Define, create and name the rubble mound elements (using Autocad,

Rhino, etc.).

Regular waves interaction with a rubble-mound breakwater

Define porous layers (1/2)

Regular waves interaction with a rubble-mound breakwater

Define porous layers (2/2)

Regular waves interaction with a rubble-mound breakwater

Set inital water depth

Regular waves interaction with a rubble-mound breakwater

IHFOAM dialog box

setFields button

Regular waves interaction with a rubble-mound breakwater

Paraview button

Regular waves interaction with a rubble-mound breakwater

Regular waves interaction with a rubble-mound breakwater

Set fvSchemes (numerical

schemes for different terms)

Regular waves interaction with a rubble-mound breakwater

Set fvSolution (equations solvers,

tolerances and algorithms) (1/2)

Regular waves interaction with a rubble-mound breakwater

Set fvSolution (equations solvers,

tolerances and algorithms) (1/2)

Regular waves interaction with a rubble-mound breakwater

Save the free-surface as

a .stl file for each time step

Regular waves interaction with a rubble-mound breakwater

Set free-surface gauges

Regular waves interaction with a rubble-mound breakwater

Define simulation parameters

Regular waves interaction with a rubble-mound breakwaterRun/Execute button

Run OpenFOAM case

decomposePar button

cleanCase button

Regular waves interaction with a rubble-mound breakwater

Case decomposed correctly

decomposePar button

Regular waves interaction with a rubble-mound breakwater

Case correctly executed!!

Run/Execute button

Regular waves interaction with a rubble-mound breakwater

plot dt during the simulation

plot residuals during the

simulation

Regular waves interaction with a rubble-mound breakwater

Regular waves interaction with a rubble-mound breakwater

Post-process free

surface sensors

plot free surface sensors

Regular waves interaction with a rubble-mound breakwater

Paraview button

Regular waves interaction with a rubble-mound breakwater

Gabriel Barajas, Javier L. Lara, María Maza, Alejandro Gonzalez

(barajasg@unican.es)