A real-time wave monitoring application tool for wave agitation in harbors
Full text
Departament de Matem` atica Aplicada III Universitat Polit` ecnica de Catalunya A real-time wave monitoring application tool for wave agitation in harbours Master in Civil Engineering Author: Jon Go˜ni Supervisor: Antonio Huerta External supervisor: David Modesto Barcelona October, 2015
Abstract Numerical simulations of the wave agitation problem in elliptic harbour models are limited by the high computational cost of the actual models requiring a multitude of values of the incoming wave parameters. These simulations often evaluate a single incident wave to obtain the wave height inside the harbour area. This thesis aims to overcome this obstacle by considering several outputs of interest for the practices of coastal engineering and harbour design, and their implementation in an integrated environment capable of real-time wave monitoring. Additional outputs such as protective indexes and wave potential energy are given by any value of the incoming wave parameters (frequency and direction), providing any problem solution can be obtained at a negligible computational cost with a wide range of possibilities for user interaction. The proposed real-time framework is integrated in a graphical user interface, developed in a MATLAB © environment that allows a deep interaction with the wave agitation solution to obtain several outputs of interest for the assessment of harbour operability in real-time. The interface also models the effects of the wave input parameters on a userspecified area, allowing the direct and fast identification of the incoming wave periods and directions that, for instance, compromise port operations, or cause a resonant response on the geometry. Additionally, solutions obtained for individualized sets of queries can be combined with spectral functions to form combinations of interest to the user. The real-time evaluation is made possible by the use of a reduced order model approach with which a generalized solution for any incoming wave parameter is computed. Other techniques used in previous works of finite elements in elliptic harbour models are also used, including the use of perfectly matched layers to truncate the exterior domain, and the spacial discretization using high-order finite elements to accurately describe the obtained solution field in the whole computational domain. Finally, a numerical example is for the real wave agitation in the Mataro harbour is used to demonstrate the capabilities of the proposed tool.
2
Contents List of Figures 5 1 Introduction 7 1.1 Motivation .................................... 7 1.2 The harbour wave agitation problem . . . . . . . . . . . . . . . . . . . . . . 8 1.3 Thesisobjectives ................................. 9 2 Elliptic harbour models 11 2.1 Ellipticharbourmodels ............................. 11 2.1.1 Mild-Slope Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.1.2 Problemstatement............................ 16 2.2 Real-time wave monitoring using reduced order modelling . . . . . . . . . . 18 2.2.1 The generalized solution . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.2 Proper Generalized Decomposition . . . . . . . . . . . . . . . . . . . 19 3 The real-time application tool 23 3.1 Outputs of interest for harbour models aimed towards coastal engineering . 23 3.1.1 Real-time solutions for any particularized mesh node . . . . . . . . . 24 3.1.2 WaveHeight ............................... 24 3.1.3 LimitHeight ............................... 25 3.1.4 Spectral distributions . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.1.5 ProtectiveIndex ............................. 27 3.1.6 WavePotential.............................. 27 3.1.7 Resonancestudies ............................ 28 3.1.8 Spatialsolution.............................. 30 3.2 Implementation and GUI design . . . . . . . . . . . . . . . . . . . . . . . . 31 3.2.1 Description of the file system . . . . . . . . . . . . . . . . . . . . . . 31 3.2.2 Data and handles structures . . . . . . . . . . . . . . . . . . . . . . . 34 3.2.3 Layout and elements description . . . . . . . . . . . . . . . . . . . . 38 3
4 Numerical applications 45 4.1 Geometries, bathymetries and incident wave data . . . . . . . . . . . . . . . 45 4.2 A realistic application: Mataro harbour . . . . . . . . . . . . . . . . . . . . 50 5 Discussion 63 5.1 Summary and conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.2 Futurework.................................... 64 Bibliography 65 4
List of Figures 1.1 Oyster Wave Energy capturing device . . . . . . . . . . . . . . . . . . . . . 8 2.1 Water particle elliptic trajectories on propagating wave . . . . . . . . . . . 12 2.2 Stages of an incoming wave incidence on a perfectly reflective boundary . . 13 2.3 Wavediffraction ................................. 14 2.4 Sketch of the PML regions in the harbour of Mataro . . . . . . . . . . . . . 16 3.1 GUIfolderstructure ............................... 31 3.2 GUItools ..................................... 32 3.3 Graphical User Interface layout . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.4 Port Selection Map: The selected port’s information is shown in the textbox prior to the loading sequence . . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.5 PGDinformationpanel ............................. 39 3.6 Scalar field selection tabs for the main plot axes . . . . . . . . . . . . . . . . 39 3.7 Scalar field data visualization options panel . . . . . . . . . . . . . . . . . . 40 3.8 Coordinatepanel................................. 40 3.9 Outputpanel ................................... 41 3.10Incomingwavepanel............................... 42 3.11 User function selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.12 Example of wave height distribution plots along the incoming frequency and direction parametric coordinates. . . . . . . . . . . . . . . . . . . . . . 43 3.13 Spatial point selector for user-specified region . . . . . . . . . . . . . . . . . 44 4.1 Geometric contour of the Pasaia harbour, with the PML included. . . . . . 46 4.2 High-order Finite Element discretization of the Pasaia harbour. . . . . . . . 47 4.3 Bathymetry drawing for the Pasaia harbour. Plan provided by Pasajes Port Authority ..................................... 48 4.4 Interpolated bottom surface in the Pasaia harbour . . . . . . . . . . . . . . 49 4.5 Input parameters validation results . . . . . . . . . . . . . . . . . . . . . . 50 4.6 Main figure with the Port of Mataro loaded . . . . . . . . . . . . . . . . . . 51 5
4.7 Scalar output variable field surfaces . . . . . . . . . . . . . . . . . . . . . . 52 4.8 Results of 3D surface rotation testing . . . . . . . . . . . . . . . . . . . . . 53 4.9 View Options Panel layer settings . . . . . . . . . . . . . . . . . . . . . . . 54 4.10 Main Plot visibility layer options . . . . . . . . . . . . . . . . . . . . . . . . 55 4.11 Boundary PML region dimensions on background image . . . . . . . . . . . 56 4.12 Examples of plot visualization transparency combinations . . . . . . . . . . 57 4.13 Comparison between Mean and Weighted Average combined solutions . . . 58 4.14 Parametric distribution interactive feature testing results . . . . . . . . . . 59 4.15 Area maximum, average and minimum selections and distributions testing results....................................... 61 4.16 Limit surface test results . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6
Chapter 1 Introduction 1.1 Motivation Numerical simulations of the harbour wave agitation problem have been widely performed in the last decades, see for instance Berkhoff (1972); Bettess (1977); Berkhoff et al. (1982); Kirby (1984); Kofoed-Hansen et al. (2005). Coastal infrastructure design and harbour logistic operations are highly dependant on the wave agitation induced by the incoming sea state, as shown by Gonz´alez-Marco et al. (2008); Demirbilek et al. (1996); Adytia et al. (2012). The resulting wave field inside the port is affected by several factors such as geometry or the marine climate. An adverse wave agitation can compromise naval operations and cause collisions that can damage both vessels and harbour structures. Providing coastal engineers with the capacity to assess the harbour wave agitation for any incoming wave carries a high interest, as these data can also be used to determine several key wave parameters. These parameters, in turn, can be used to forecast and hindcast the long term ocean climate and thus have great significance on the construction and management of offshore infrastructure, development of port and harbour structures, and naval operations, see Muir and El-Shaarawi (1986); Rodriguez et al. (2002); Soares and Carvalho (2003). Previous work on the field of numerical wave monitoring has mainly focused on the measurement of the wave height field. The first prediction models were developed during the Second World War with military applications, see Cox and Cardone (2002). These models were, however, very limited in their approach and accuracy, aiming to predict the propagating wave height. Later advancements relying on the increased computational processing power include many different approaches to the wave height prediction, often including physical effects such as ocean bottom drag, superficial energy dissipation (wave breaking) or the analysis of long waves for resonance studies. These approaches, however, still require an extensive computational power to generate a solution for each query, which makes them unsuitable for several applications of coastal engineering. This thesis aims 7
to provide an environment in which the real-time computation of several outputs of interest for the practices of harbour management and ocean engineering are integrated and obtained at a negligible computational cost. There are several applications for the many parameters that can be obtained from the harbour wave agitation problem, and many of them are very promising in several areas of increased importance. For instance, critical incoming wave frequencies and directions can be identified to determine which port operations are not recommended by current standards for the predicted sea state to reduce economic losses to a minimum, as shown by Srokosz and Challenor (1987); Masson and Chandler (1993). The potential energy of a wave is another example of an easy-to-obtain indicator of the theoretical renewable energetic output that could be extracted from it as seen in Mørk et al. (2010), an important magnitude when considering the ever-increasing interest in alternative energy sources, see Cl´ement et al. (2002); Thomas and Dwarakish (2015). Figure 1.1: Oyster Wave Energy capturing device 1.2 The harbour wave agitation problem The wave agitation problem has been extensively modelled since the 1960s to describe the propagation of water waves along the horizontal plane, see Liu and Losada (2002) for a historical perspective. It is based on the Navier-Stokes equations, and the propagation is shaped by the effects of diffraction, reflection and refraction. Due to the dependence of the first two phenomena on physical obstacles whose properties can be idealized as parameters on the wave field, and the possibility to integrate the depth dependence of refraction in the horizontal domain, the problem can be fully idealized in a 2D domain. As seen in Liu and Losada (2002), several models exist nowadays to model the nearshore transformations produced by these phenomena. Out of them, the most used ones are based either on the Boussinesq or Mild-Slope Equations, with the later one being more 8
Where: ∇·= ( ∂ ∂x,∂ ∂y ), x and yare the spatial coordinates. k(x, y)∈Ris the wavenumber. c=ω/k ∈Ris the phase velocity. ω∈Iω⊂Ris the angular frequency of the monochromatic incident wave. cg=∂ω/∂k ∈Ris the group velocity. The wavenumber k(x, y) is governed by the global dispersion relation derived from the Airy Wave Theory: ω2=gk tanh (kh) (2.2) The Mild-Slope Equation requires a full physical truncation on the boundary of the semi-infinite domain. At the shoreward, the physical obstacles conform the following boundary condition: n·ccg∇·u−ikccgαu = 0 on ΓR(2.3) Where: i=√−1 is the imaginary unit. nis the outer unit normal to the boundary. α∈[0,1] is the absortion/reflection coefficient of the boundary, equal to 0 in perfectly reflecting boundaries and 1 in fully absorbent ones. At the offshore infinite domain, on the other hand, a first-order Sommerfeld radiation condition is required, which imposes that the scattered wave only has geometrical diffusion: lim r→∞ √r(∂ ∂r )(u−u0) = 0 (2.4) Where: ris the radial direction. u0(x, y)∈Cis the imposed incident wave. u−u0is the scattered wave. As it was previously mentioned, (2.1.1) requires a spatial truncation to use a bounded computational domain and reproduce the Sommerfeld radiation effect on the artificial boundary. The use of Perfectly Matched Layers is the method adopted in this thesis to fulfil this requirement. 15
2.1.2 Problem statement Truncation of the offshore infinite domain is mandatory to satisfy the existing Sommerfeld boundary condition in the wave propagation problem. This aspect has often been the source of bottlenecks in the computational models that try to solve the harbour wave agitation problem in an efficient manner, raising the need for a robust algorithm capable of accurate reproduction of the unbounded boundary conditions to reduce the computational requirements of the model to a minimum. The basic principle of the PML is that it completely absorbs any incoming wave from the non-PML domain, allowing to truncate the model without interfering on the interior solution, regardless of the incoming wave direction. The aim of the application of the PML is to truncate the currently unbounded Ω∞ domain to obtain a finite interior area Ωint surrounded by a Perfectly Matched Layer ΩPML. Through the consideration approximations such as in Panchang et al. (2000), the absorbing layer can be divided into four subdomains ΩPML = ΩLx PML ∪ΩRx PML ∪Ωy PML ∪Ωx,y PML in accordance with the bathymetry simplifications adopted in each one: Figure 2.4: Sketch of the PML regions in the harbour of Mataro 16
h(x, y) = hL(y) if (x, y)∈ΩLx PML hR(y) if (x, y)∈ΩRx PML h0if (x, y)∈Ωy PML ∪Ωx,y PML (2.5) The adopted gradient decomposition means that the bathymetry only varies along the ydirection on the ΩLx PML and ΩRx PML domains, while the h0depth is adopted as the far-field bathymetry on the Ωy PML and Ωx,y PML domains. Once all of the hypotheses outlined in (2.1.2) are adopted, the problem statement for the frequential form of the MSE is particularized for the PML as: ∇(c cgP∇·u) + k2c cgsxsyu=f(x, y) in Ω (2.6a) n·(c cgP∇·u)−ikc cgα u = 0 on ΓR(2.6b) n·(c cgP∇·u)−ikc cgu=n·(c cgP∇·u0)−ikc cgu0on ΓPML (2.6c) Where: f= 0 if (x, y)∈Ωint ∇··(c cgP∇·u0) + k2c cgsxsyu0if (x, y)∈ΩPML (2.7) P= sy/sx0 0sx/sy!(2.8) Here, fis the non-homogeneous source term defined in (2.6), with the physical meaning of (2.1.2) being that fonly absorbs scattered waves in the PML region. The diagonal anisotropy matrix (2.8), on the other hand, defines the absorption in the PML, sx= 1 + σx/ω and sy= 1 + σy/ω being the absorption parameters in Cartesian directions. Consequently, the absorbing functions σx(x)≥0 and σy(y)≥0 are zero in Ωint. Equation (2.6c) is the discrete form of the non-reflecting boundary condition introduced in (2.1.1). Special care has to be when designing a PML area, as several conditions have to be met in order to accurately mimic the original semi-infinite domain: ∇·(c cg∇u) + k2c cgu0= 0 in the PML region. Absorption coefficients must be constant along the xdirection in the ΩLx PML∪ΩRx PML∪Ωx,y PML subdomains. Absorption coefficients must be constant along the ydirection in the Ωy PML ∪Ωx,y PML subdomains. 17
These conditions are in accordance with the bathymetry restrictions mentioned in (2.1.2). Additionally, in consistence with the problem definition, continuity requirements thorough the full domain are placed on the solution, its first and second derivatives. Previous studies like the one by Michler et al. (2007) have shown that the thickness of the PML domain has to be at least equal to 1.5 times the maximum wavelength to be modelled in the simulation. 2.2 Real-time wave monitoring using reduced order modelling Real-time assessments of the outputs of interest for the practices of coastal engineering and harbour management require a drastic reduction of the calculation time that is currently needed to obtain the MSE solution. This chapter gives an overview of the existing method to overcome the computational limitation, based on an a priori reduced order model strategy presented by Modesto (2014) to obtain the solutions for multiple queries efficiently. 2.2.1 The generalized solution The first stage aims to obtain a generalized solution of the MSE in (2.6) for a 4D domain made up by the spatial dimensions (x, y) and two additional parametric dimensions, frequency ωand incoming wave direction θ. This would allow to evaluate in real-time any tentative scattering situation from the resulting generalized domain, which is discussed in (2.2.2). Thus, the u(x, y) solution for the problem statement in (2.6) is generalized for a range of incoming wave direction θ∈Iθand angular frequency ω∈Iω, resulting in the u(x, y, ω, θ) surface elevation. The variational problem equivalent to (2.6) requires finding ufor all δu in the selected appropriate functional space such that: A(u, δu) = L(δu) (2.9a) The non-hermitian bilinear form A(·,·) and the linear form L(·) are defined by: A(u, δu) = ZIθZIω a(u, δu;ω)dωdθ and L(δu) = ZIθZIω `(δu;ω, θ)dωdθ (2.9b) With a(·,·;ω) bilinear and continuous form and `(·;ω, θ) linear bounded functional for all parameters (ω, θ)∈Iω×Iθ. They are the classical Helmholtz spatial weak forms with the parameter dependence explicitly indicated, that is: 18
a(u, δu;ω) = k2c cgsxsyu, δuΩ−c cgP∇u, ∇δuΩ +iαkc cgu, δuΓR+ikc cgu, δuΓpml (2.10a) and `(δu;ω, θ) = s, δuΩ+n·(c cgP∇u0)−ikc cgu0, δuΓpml (2.10b) Where: ·,·Ddenotes the L2scalar product (for complex functions) in any domain D. ·,·Bdenotes the L2scalar product of the traces over B. Increasing the number of dimensions on the solution carries an exponential growth in computational cost. The aim of the reduced order method explained next is to reduce the associated costs to a level comparable to a 2D calculation. 2.2.2 Proper Generalized Decomposition The main problem associated with the increase of the wave scattering problem dimensionality is that it causes an exponential increase in the computational capacity required to obtain a solution. When Proper Generalized Decomposition is introduced, the complexity of the problem scales linearly instead. Circumventing the bottleneck that a fully scaled 4D wave propagation model would suppose to the mainstream processing power existing nowadays. This section describes the general principles of the PGD and illustrates the basic methodology to obtain the successively enriched solution by means of a greedy algorithm strategy. The high-dimensional solver used to obtain u(x, y, ω, θ) is based in the offline construction of the n-rank separated form of free surface elevation, namely: u(x, y, ω, θ)≈un(x, y, ω, θ) = n X m=1 Fm 1(x, y)Fm 2(ω)Fm 3(θ) (2.11) The PGD algorithm aims to determine the necessary nterms to obtain the functions Fm 1,Fm 2and Fm 3for m= 1, . . . , n. Once the functions in (2.11) are known, it is possible to quickly determine any value of unby a fast linear combination. The determination of each mterm is carried out by means of the greedy algorithm, adding an additional rank-one element in each step: un(x, y, ω, θ) = un−1(x, y, ω, θ) + F1(x, y)F2(ω)F3(θ),(2.12) Where: 19
un−1is the known value of the previous term. F1, F2and F3are the separated functions of the nunknown term. Introducing the (2.12) progressive solution in the (2.9a) weak form of the problem statement yields the following non-linear expression to be solved: A(F1F2F3, δu) = L(δu)−A(un−1, δu) (2.13) Various approaches exist to solve the weak form of the PGD in (2.13). Previous studies by Modesto (2014) have shown that, due to the non-hermitian nature of the MSE problem, the Petrov-Galerkin PGD approach is the most robust algorithm, even achieving solutions on occasions where the Standard approach would fail. Thus, a general description of the Petrov-Galerkin PGD approach is given next. The test functions δu are considered as a combination of separated functions denoted as: δu =δF1F2F3+F1δF2F3+F1F2δF3.(2.14) The Petrov-Galerkin PGD can be interpreted as an a priori model reduction technique, in which a fixed-point algorithm is used to determine the functions F1,F2and F3with the use of auxiliary functions. In this algorithm, the test functions δu from the Eq. (2.13) are substituted by δ˜u: A(F1F2F3, δ˜u) = L(δ˜u)−A(un−1, δ˜u) (2.15) Where: δ˜u=δe F1e F2e F3+e F1δe F2e F3+e F1e F2δe F3 In order to obtain the e F1(x, y), e F2(ω) and e F3(θ) auxiliary functions, the following problem must be solved for all δu in the form of Eq. (2.14): A(δu, e F1e F2e F3) = δu, F1F2F3Ω×Iω×Iθ(2.16) The substitution of the δu in (2.15) and the auxiliary functions e F1(x, y), e F2(ω) and e F3(θ) in (2.16) form a non-linear system for the function pairs (F1,e F1), (F2,e F2) and (F3,e F3) that can be solved using a fixed-pointed algorithm consisting of three stages. In each of the stages, two of the function pairs outlined above are assumed to be known, and the third one is determined through the non-linear system made up by (2.15) and (2.16): 20
1. Assume that the (F2, δ e F2) and (F3, δ e F3) pairs are known, and compute the two linear bidimensional problems to determine (F1,e F1)∈ H1(Ω), for all (δF1, δ e F1)∈ H1(Ω) satisfying: A(F1F2F3, δ e F1e F2e F3) = L(δe F1e F2e F3)−A(un−1, δ e F1e F2e F3) A(δF1F2F3,e F1e F2e F3)=(δF1, F1)Ω(F2, F2)Iω(F3, F3)Iθ (2.17a) After solving (2.17a) the pair of functions (F1,e F1) are L2normalized. 2. Assume now that the (F1,e F1) and (F3,e F3) pairs, from the previous step, are known. Solve two linear 1D problems to evaluate (F2,e F2)∈ L2(Iω), for all (δF2, δ e F2)∈ L2(Iω) satisfying: A(F1F2F3,e F1δe F2e F3) = L(e F1δe F2e F3)−A(un−1,e F1δe F2e F3) A(F1δF2F3,e F1e F2e F3) = (F1, F1)Ω(δF2, F2)Iω(F3, F3)Iθ (2.17b) After solving (2.17b) the pair of functions (F2,e F2) are L2normalized. 3. Assume now that the (F1,e F1) and (F2,e F2) pairs are known from the two previous steps. The separated functions in the incoming direction domain, (F3,e F3)∈ L2(Iθ), are found for all (δF3, δ e F3)∈ H1(ω) as the solution of: A(F1F2F3,e F1e F2δe F3) = L(e F1e F2δe F3)−A(un−1,e F1e F2δe F3) A(F1F2δF3,e F1e F2e F3)=(F1, F1)Ω(F2, F2)Iω(δF3, F3)Iθ (2.17c) Even if two systems of equations need to be solved at the end of each stage in (2.17), the solutions for e Fiand Fiwhere i= 1,2,3 generate the same matrix, so the computational cost is not duplicated. 21
22
Chapter 3 The real-time application tool This Chapter presents and discusses several applications of interest for the practices of coastal engineering and harbour management that can be obtained with the methodology described in Chapter 2. The resulting outputs are implemented in a Graphical User Interface developed as a demo of the functionalities and capabilities of the software. The source of many of the outputs is a mix of research, thought and information given by several professionals related to the field of application. It is not meant to englobe all the possible inputs and outputs of the harbour agitation problem, as the criteria for their selection and implementation has been conditioned by their perceived usefulness and adequacy to the model adopted in this thesis. The first section gives an overview of the most widely-used outputs in coastal engineering and design, with a discussion on their adequacy and possible adaptation to the wave monitoring tool. Several selected outputs and inputs are presented, with the method used to obtain them and their application to the coastal engineering field. The other section discusses the challenges and the methodology used to implement these applications on an integrated software capable of evaluating these queries in realtime. 3.1 Outputs of interest for harbour models aimed towards coastal engineering While most studies in the field of coastal engineering mainly focus on the wave height as the output with greatest interest for the practices of harbour engineering and design, there is an extensive number of variables or data visualization modes that can be obtained in conjunction or derived from the wave height. The list of possible solutions offers a wide range of applications of interest to the optimization of coastal engineering, design and maintenance. What follows is a list of several key variables that can be easily evaluated as a function of the u(x, y, ω, θ) particularized 23
solution. 3.1.1 Real-time solutions for any particularized mesh node One of the most critical outputs for any large spatial domain is to find singular values on the spatial dimensions. This is specially interesting when a high physical accuracy is required. Examples of this application include small vessel manoeuvres and operations, localized resonant responses or sediment accumulation zones. The solution is a singular point in the spatial (x, y) and parametric (ωand θ) dimensions. Thus, the solution is unique in all dimensions: ui,j,k =uPGD(xi, yi, ωj, θk) (3.1) Where i, j and kare the indexes of the closest mesh node to the user-selected element spatial, frequential and directional coordinates, respectively. When the user selects a spatial point for the current directional and frequential snapshots, the localized solution is displayed on a textbox with the coordinates of the closest node to allow a higher degree of precision with the observation of the results. A vast part of wave resonance studies use this feature to present the results by showing the wave height distribution on a single point for a given set of input parameters, albeit with a much smaller degree of interaction, see Losada et al. (2008); Lee et al. (1998). Due to its accuracy, this output is also often used to compare numerical results to real-life historical data, which is only tracked on control points in most harbours. 3.1.2 Wave Height Defined as the difference of a crest with its neighbouring trough, wave height is the main magnitude studied in the harbour wave propagation problem. This makes it the most relevant parameter to evaluate the validity of the obtained results, and consequently an accurate indicator of the model’s reliability. It defines the sea state, and in linear models it is an accurate indicator of the wave energy. In this thesis, the wave height is the only output that is directly stored in the full generalized solution. The computation for any single value pair of input parameters is carried out through the evaluation of the four dimensional H(x, y, ω, θ) solution matrix in the H(ω, θ) parametrized dimensions to obtain the bidimensional H(x, y) scalar field at a negligible cost. This field is then interpolated between the nodes that compose the mesh following a 4th order element scheme, obtaining accurate results even when dealing with irregular geometries: 24
direction on the point that is selected according to the previous user selection (maximum, minimum or average), allowing, for example, to evaluate the worst-case scenario of the point with maximum current wave surface elevation. 3.2 Implementation and GUI design The main objective of this thesis is to provide an integrated environment in which all these queries are evaluated in real time with a high degree of user interaction. A Graphical User Interface is the most widely used method whereby information systems interact with users. The applications for the tool are many, from being able to predict the immediate incoming wave climate from the port buoy itself to obtaining long term design waves with which to test a proposed new geometric layout or a new dredging operation. Creating a tool with such a high versatility has many challenges, both numerical and functional. What follows is a general description of the inner workings of the interface, with descriptions of the file system in (3.2.1), the data structure in (3.2.2) and finally a general description of the layout and the elements in the GUI in (3.2.3). 3.2.1 Description of the file system The software has been developed in a MATLAB © environment, structured as a combination of a main UI file which uses data and callbacks located in the program folder. The structure of the file system is distributed as follows: Figure 3.1: GUI folder structure The main file has the function of creating the main GUI layout, the variable structure to be used by all the functions, and assigning the specific callbacks for each UI element and function. When it is executed, these tasks are carried out following this sequence: 1. Generation of figure, still invisible. 2. Creation of the axes in which the plots will later be drawn. 31
3. Definition of the rest of user interface elements such as tools, UI Panels, and UI Controls. (a) Tools are singular callback buttons that link to a specific function. They are toggled when the user clicks on them, enabling functionalities that are otherwise disabled. Figure 3.2: GUI tools (b) UI Panels are containers in which other elements are grouped together. (c) UI Controls are user interface control objects. When selected, they perform a specific action determined by the callbacks they are linked to. They can adopt many different styles, i.e. check-box, list-box, radio button, push button, slider, text, toggle button, to name a few, according to their suitability for the function they are linked to. 4. Assign tags to each element. 5. Definition of the data and handle structures. 6. Set user interaction functions. 7. Assign callbacks to each interface element. 8. Initialization tasks, make figure visible. The main GUI file calls upon functions and data located in the sub-folders. The “Callbacks” sub-folder contains functions that are linked to certain UI elements or gestures, and triggered after a certain action has been performed by the user (execute the main file, load a port, click on a single spatial point in the plot, select a region from the plot surface, change the input parameters or move a slider, for instance). They are the source of all the interactive possibilities that the GUI displays, and in many occasions data is shared between several of them. Special care has to be taken with the callbacks that share variables, as conflicting uses of the same data such as deletion or modification of properties can render it useless to other functions, which may cause the software to stop working altogether. A way to avoid creating redundant data while preventing conflicts between callbacks is to define which function should be executed by a very specific set of conditional operators. An example of the decision tree for the function associated with the “mouse button motion” action is given next. This function is triggered whenever the pointer is moved in the figure, and it can perform a different set of actions depending on 32
the previous callbacks that were executed and the presence of certain variables. What follows is a simplified scheme in which the conditions and consequences of each possibility are outlined: function ButtonMotionFunction if Button Functions are enabled (an example has been loaded ) Determine current axes. if Current axes = Arrow axes if The mouse button is pressed if A region was previously selected Delete region selection . end Update arrow drawing and incident wave parameter values. if Spectral distribution graphs exist Update current value of parameters in graphs. end if A single spatial point was previously selected Delete spatial point information . end end elseif Current axes = Main Plot axes if Current coordinate indicators are enabled Update coordinate indicators . if A region selection was started (The user is dragging the pointer in the main plot) if A single point selection exists Delete single point selection textbox. end if Current tab = Tab 1 Set axes 1 as parent object. elseif Current tab = Tab 2 Set axes 2 as parent object. elseif Current tab = Tab 3 Set axes 3 as parent object. elseif Current tab = Tab 4 Set axes 4 as parent object. end if This is the first region selection Draw rectangle for the first time. else (If there is another rectangle present) 33
Change current rectangle coordinates. end end end end end The above function is called upon whenever the pointer is moved, so special care has to be taken with the treatment of shared variables so as to avoid conflict with other callbacks that rely on them. This is specially true for functions that can perform a variety of actions depending on the previous callbacks that were executed, so taking into account all possibilities becomes a crucial condition for the reliability of the program and bug prevention. As a consequence of this condition, the amount of precautions needed to be taken grows exponentially with the complexity of the program and the number of functions. Callbacks that are triggered by the same action (i.e. a mouse double-click) can have completely different functions associated to them depending on the conditions in which the triggering action was performed. Many of these callbacks rely on the functions that are stored on the “PGD Routines” and “Other Routines” folders. The former ones are aimed towards the handling of the PGD data, while the files stored in the later are auxiliary functions necessary to execute several tasks on the interface. The variables that these functions access are extracted from the “PGD Data” folder during the PGD loading callback sequence. A tool with such a high degree of complexity as this one requires a well-defined variable structure in order to effectively share data between functions without conflicts arising. More on that aspect will be explained in the Data structure subsection (3.2.2). The User Functions folder, on the other hand, holds the user-generated spectrum functions. This folder is accessed at startup, and the initialization routine loads all the functions present there to make them available to the user via the relevant interactive dropdown menu. The files contained in this folder are accessed each time a new combination is selected from the GUI to generate a new user-determined wave. In other words, it is a folder in which user-generated functions are stored to be later executed by a single callback. 3.2.2 Data and handles structures In the previous part (3.2.1), the importance of storing all variables on a single wellorganized structure was highlighted. With such an ample range of functionalities as the ones present in this development, the variables to be stored require a great variety of 34
formats. Coefficients, solution matrices, vectors, boundary parameter values, and other existing variables are allocated into the following structure by the associated callback function once the PGD data is loaded: dir_struct = Directory structure to locate PGD files . plotid = Solution plot handles. arrowid = Incident wave input arrow handle . bottomid = Handle to bottom surface plot. arrowdata = Incident wave input arrow data. backgroundid = Handle to background orthophoto . userSelection = Logical operator to determine the next callback function , depending on the previous behaviour of the user . If a buttondown action has been performed previously , userSelection = true . Pointer = Data containing current pointer position . CurrentTab = Variable of currently selected tab. PortNames = Cell string that shows the names of the ports found in the PGD Data folder . PortCoordinates = Vectors that show the coordinates of the ports found in the PGD Data folder . colorbarid = Handle to solution plot colorbars . PortMarkers = Handle to interactive port loading markers . ButtonFunctionsFlag = Logical operator to determine if interactive functions are enabled or disabled . SelectionPoint = Location of the cursor when a buttondown action was performed . bottom = Bathymetry surface variables for each mesh node. meshid = Handle to mesh plots . boundaryid = Handle to boundary plots . graphid = Handle to 2 D parametric distribution plots . lineid = Handle to current parameter value lines in 2D parametric distribution plots. solution = Full PGD solution combination . rectSelection = Coordinates of the user - selected reduced area . rectSelectionid = Plot handle to the user - selected reduced area . rectIniPoint = Initial point of rectangle , necessary for rectangle functionality . surfid = Handle to the 3D parametric distribution surface. rectid = Handle to the rectangles used to show current parametric values in 3D distribution plot. limitid = Handle to the rectangle surface used to highlight the solution above the user - specified limit . locationPlot = Handle to the map in which the port location markers are shown . PlotMarkerCoordinates = Vectors with the coordinates of the loaded port markers in the locationPlot axes. background = Image data from which backgroundid is created . pgd = PGD data . 35
PGDalgorithm = Data on the PGD algorithm that was used to achieve the PGD solution . parameters = A set of useful parameters for the caracterization of the PGD solution . PGDmeshes = PGD solution mesh structure . Gives information on spatial and parametric dimensions . OPTmeshes = Secondary PGD solution mesh structure . Gives information on the parametric dimensions . snapshot = A pair of values representing the current wave frequency and direction . nOfPGDterms = Value showing number of PGD terms used to accomplish current solution . PlotAxesCoordinates = Value pair showing current pointer position on the plot axes coordinates. Additionally, the sequence outlined in (3.2.1) creates a second structure containing handles. These are data types that store associations with functions or objects. In this thesis, each UI element is represented by its handle in the following structure: MainFigure : [1 x1 Figure ] Output_Panel : [1 x1 Panel ] Plot3D_Text : [1 x1 UIControl ] Theta_Text : [1 x1 UIControl ] Omega_Text : [1 x1 UIControl ] UserFcn : [1 x1 UIControl ] UserFcn_Text : [1 x1 UIControl ] Info_Panel : [1 x1 ButtonGroup ] Coord_Panel : [1 x1 Panel ] Input_Panel : [1 x1 Panel ] View_Panel : [1 x1 Panel ] PGD_Panel : [1 x1 Panel ] MainTabs : [1 x1 TabGroup ] axes3D : [1 x1 Axes ] axesTheta2D : [1 x1 Axes ] axesOmega2D : [1 x1 Axes ] axesArrow : [1 x1 Axes ] axesLocation : [1 x1 Axes ] Text_Output : [1 x1 UIControl ] Maximum_Value : [1 x1 UIControl ] Maximum_Text : [1 x1 UIControl ] Minimum_Value : [1 x1 UIControl ] Minimum_Text : [1 x1 UIControl ] Average_Value : [1 x1 UIControl ] Average_Text : [1 x1 UIControl ] YCoord_Value : [1 x1 UIControl ] YCoord_Text : [1 x1 UIControl ] XCoord_Value : [1 x1 UIControl ] XCoord_Text : [1 x1 UIControl ] 36
PGDTerms_Value : [1 x1 UIControl ] PGDTerms_Text : [1 x1 UIControl ] Direction_Value : [1 x1 UIControl ] Direction_Text : [1 x1 UIControl ] Period_Value : [1 x1 UIControl ] Period_Text : [1 x1 UIControl ] Freq_Value : [1 x1 UIControl ] Freq_Text : [1 x1 UIControl ] View_BotTransparency: [1x1 UIControl] View_BGTransparency : [1 x1 UIControl ] View_MeshTransparency : [1 x1 UIControl ] View_PlotTransparency : [1 x1 UIControl ] View_BC : [1 x1 UIControl ] View_Background : [1 x1 UIControl ] View_Plot : [1 x1 UIControl ] View_Bottom : [1 x1 UIControl ] View_Mesh : [1 x1 UIControl ] View_Axes : [1 x1 UIControl ] DirectionRange_Value: [1x1 UIControl] DirectionRange_Text : [1 x1 UIControl ] PeriodRange_Value : [1 x1 UIControl ] PeriodRange_Text : [1 x1 UIControl ] ElemType_Value : [1 x1 UIControl ] ElemType_Text : [1 x1 UIControl ] Rotate : [1 x1 ToggleTool ] PanXY : [1 x1 ToggleTool ] ZoomXY : [1 x1 ToggleTool ] Tab1 : [1 x1 Tab ] Tab2 : [1 x1 Tab ] Tab3 : [1 x1 Tab ] Tab4 : [1 x1 Tab ] axesPlot1 : [1 x1 Axes ] axesPlot2 : [1 x1 Axes ] axesPlot3 : [1 x1 Axes ] axesPlot4 : [1 x1 Axes ] This structure is created at the GUI startup sequence, and it assigns a handle to every UI element through its tag property. The purpose of these handles is to access and modify the properties and information stored in the components they link to. For instance, going back to the “Button Motion Function” example earlier, the determination of the currently active tab is carried out by identifying the value of its “Selected” property. Overall, the purpose of the data and handle structures is to simplify the organization of all the relevant variables and handles present in a complex environment containing a large number of functions and files, providing a clear understanding of the behaviour of conflicting functions on common elements and data. 37
3.2.3 Layout and elements description This section discusses the layout used to present all the functionalities to the end user. Providing a clear platform to facilitate a clear understanding of the results and allowing the maximum degree of interaction for the user is crucial for the appeal of the software developed in this thesis. With that goal in mind, a single layout containing all the necessary elements is presented: Figure 3.3: Graphical User Interface layout As can be seen in figure (3.3), most of the functionalities of the tool are disabled until an example is loaded. The purpose of this measure is to guide the user towards the element from which data corresponding to a port can be loaded. This function can be triggered by double-clicking on a port marker in the port location map, located on the upper right side of the layout presented in (3.3): Figure 3.4: Port Selection Map: The selected port’s information is shown in the textbox prior to the loading sequence 38
When a port is loaded, the solution data that has to be converted into variables is extracted from the PGD Data folder. Here, each port has a sub-folder in which the generalized solutions, port location data, ortophoto and several other parameters of interest (contour nodes, absorption coefficients, finite element type...) are stored to be later loaded by the relevant functions. These folders are accessed on the initialization stage, and the interface loads all the ports that are present in them. When a single click is made on a por marker, the relevant information stored in its folder is displayed in the map by means of a textbox, as shown in (3.4). When all the variables are identified, the PGD loading routine looks into the port data for several useful parameters that give information on the generalized solution. Parameters such as the range of modelled periods and directions give the engineer the necessary information to know which type of waves are being modelled, or allow a quick comparison with any existing histogram to determine the degree of coverage of the usual incoming wave conditions present in the area. These and other parameters are shown in the “PGD File Info” panel, located on the right of the main plot axes: Figure 3.5: PGD information panel Once the variables have been allocated into the GUI structure, the second stage of the loading phase is launched, which involves creating the initial plots for the selected example. These are allocated to the main plot axes contained in the following tabs, to allow the user to easily switch the visualized information while keeping all functionalities intact between different tabs: Figure 3.6: Scalar field selection tabs for the main plot axes Another added advantage of the use of tabs is the reduction on the number of open windows when working with the program. Tabs allow a clear distinction on which scalar variable is active at every moment in the execution of the desired queries while sharing the functionalities provided by the other elements, creating a uniform environment devoid of discontinuities and hassle when transitioning from one variable to another. An extra asset for data visualization is presented in the “View Panel”, located on the right of the main plot axes: 39
Figure 3.7: Scalar field data visualization options panel The figure shown in (3.7) displays the available configurations for the visualization of the scalar data plotted in the tabs shown in figure (3.6). Four layers can be active at the same time: (i) A 3D surface of the scalar field in each tab; (ii) a plot of the mesh used to generate the solution, to allow clear location of nodes; (iii) a background image to aid in the localization and add realism to the results; and (iv) another 3D surface of the bathymetry of the modelled example. All except the first one are identical in every tab, as they describe static parameters that don’t change with the input parameters. At any given tab, any combination of them can be active. To reduce the difficulties caused by overlapping different layers of data on a single set of axes, transparency sliders are provided for each layer, as can be seen on the immediate right-hand side of the main plot axes in the (3.7) figure. This allows several combinations of interest for an intuitive visualization of the desired data, allowing, for example, to observe the effects of the bathymetry on the current solution by adjusting the transparency setting on the top layer to a lower value. Finally, activating the “Axes” option allows to quickly view the coordinates around the plot and obtain the rough position of any given point visually. Nevertheless, with this purpose in mind, the alternative of using the coordinate panel, located on the lower right corner of the main plot axes in (3.3), is recommended over the axes feature, as it shows a greater precision by showing the coordinates of the pointer in the plot at any given time: Figure 3.8: Coordinate panel Another feature of the “View Panel” can be seen on the lower-right corner of the figure in (3.7), in the drop-down menu whose current is value set to “none”. This drop down menu behaves in a similar way to the User Function drop-down menu explained in 40
many other instances of harbour applications, the FEM is applied on the frequential form of the MSE using high-order finite elements (p≥2). One of the main reasons for which these elements are used is the the great reduction on error magnitude when compared to their linear (p= 1) counterparts as showed by Giorgiani et al. (2013). This simple solution allows a great error reduction when modelling short waves with medium to high frequencies, specially when modelling complex geometries. Fourth order finite elements used in this thesis allow an accuracy of two significant digits with a low wave resolution, making them an optimal alternative for modelling harbour wave propagation problems with a high number of reflected waves at minimum computational requirements, see Huerta et al. (2013); Sevilla et al. (2013). For the applications of this thesis, the minimum required resolution is 8 nodes per wavelength, as seen in the thesis by Modesto (2014). The minimum wavelength, according to the dispersion relation (2.1.1), is 137.3m, which requires h < 70 elements. Here, fourth-order elements of size h= 50 are used to construct the following mesh: Figure 4.2: High-order Finite Element discretization of the Pasaia harbour. 4. Obtaining the bathymetry: While the data used in the previous step to approximate the ocean depth on the far-field region is acceptable, the bathymetric profile in 47
the harbour domain is far more irregular, so specific bathymetry is needed in order to create the surface of the ocean bottom. In the numerical example of the Pasaia port, the bathymetry was obtained in a CAD file: Figure 4.3: Bathymetry drawing for the Pasaia harbour. Plan provided by Pasajes Port Authority The obtained bathymetry needs to be readable in the MATLAB © format, and the CAD file did not contain any point data in XML form, so the following procedure was followed to obtain the bathymetry surface: (a) Generate a new script with the Finite Element mesh coordinates as inputs. Generate a zeroes vector with the same amount of nodes as the Finite Element mesh, and merge it with the FEM global coordinates matrix. (b) Collect several depth samples from the provided map, and take note of them in a MATLAB © script file with their respective coordinates from the drawing. (c) Search the closest node to each sample point with a ruled connectivity matrix that establishes that only the samples that are closer than a limit distance to a certain node get accounted for. In this example, this measure didn’t discard any samples as special care was taken to perform the measurements close to 48
existing nodes. (d) Once sufficient samples are collected, generate an interpolant function that takes into account the distances between the elements to assign the missing depths. (e) Evaluate the missing elements through the scattered interpolant to generate a full x, y, z surface. (f) Apply the MSE constraints needed to secure the convergence of the solution, namely that (i) the bathymetry gradiend must not be greater than 1/3 and (ii) the minimum depth of all the nodes needs to be sufficient to assure a positive gradient matrix, in this case established as 3.5m. The modification to the surface when this measures were taken was minimal. (g) Export the obtained h(x, y) surface. In the Pasaia example, the procedure results in the following surface: Figure 4.4: Interpolated bottom surface in the Pasaia harbour 5. Select period and direction ranges for incoming wave parameters: In this example, the latest yearly histograms of the Pasaia harbour were observed to obtain an input parameter range. The ranges mentioned earlier, when combined, conform more than 86% of incoming wave data. 6. Assign boundary conditions to contours: With the geometry and bathymetry 49
generated, the FE mesh and bottom surface are loaded into a Finite Element Solver to assign boundary conditions to the contours. 7. Test realistic queries for convergence: Once all files have been generated, several queries are presented in the FEM solver to test the convergence on the solution and validate the model. Next, an example is shown for a 8 speriod, 290◦and 1 m incoming amplitude wave: (a) Incoming wave computation in PML area (b) Reflected wave computation in PML area (c) Solution in the entire spatial domain (d) Amplification factor in the interior domain Figure 4.5: Input parameters validation results 8. Application of the PGD algorithm to generate a generalized solution: Once the static input parameters (boundary conditions, bottom, geometry) have been validated, the PGD algorithm is applied to obtain the generalized solution. 4.2 A realistic application: Mataro harbour In the later modelling stage, a previously generated PGD solution is loaded into the GUI described in (3.2) in order to test and demonstrate its capabilities in a realistic situation. 50
In this case, the chosen scenario is the harbour located in Mataro, Spain. In this section, the sequences outlined in Chapter 3, aiming to obtain the outputs described in (3.1) are implemented. Once the port is loaded through the location map described in (3.2) and all the variables and functions are assigned, the interactive functionalities are enabled and the data loading algorithm generates the initial plots, showing the following layout: Figure 4.6: Main figure with the Port of Mataro loaded As can be seen in figure (4.6), the main scalar fields are allocated in tabs on the main plot axes. These are plots for the combined user-specified solution, the wave height solution, the protective index field and finally the wave potential assessment: 51
(a) User Function plot (b) Wave Height plot (c) Protective Index plot (d) Wave Potential plot Figure 4.7: Scalar output variable field surfaces As an extra feature aimed towards increasing the ease of data visualization and the realism of the representation, these plots are 3D surfaces, allowing the combined view of all the layers that can be activated by the “View Options” panel: 52
(a) User function surface rotated perspective (b) Wave height rotated perspective (c) Protective Index surface rotated perspective (d) Wave Potential surface rotated perspective Figure 4.8: Results of 3D surface rotation testing It is also worth noting that the viewing angle of all four plots is linked in a way that when one of them is rotated, the rest mimic its movement, making it easier to visually relate and compare the different variable fields. The scalar field plots in (4.7) show the main plots superimposed on the background image extracted from the orthophoto. This feature aids in the visualization of the localized data if, for example, the wave agitation has to be evaluated at the docking point of a certain vessel. Nevertheless, there are several other layers that can be turned on or off via the View Panel: 53
(a) Plot visibility enabled (b) Mesh visibility enabled (c) Background visibility enabled (d) Bottom visibility enabled Figure 4.9: View Options Panel layer settings The corresponding layers are shown next, in the User Function tab from (4.7): 54
(a) Plot layer visibility (b) Mesh layer visibility (c) Background layer visibility (d) Bottom layer visibility Figure 4.10: Main Plot visibility layer options One may observe in (4.10) and (4.6) that the background image appears to be bigger than the generated plots. This feature serves two purposes: (i) It aids in the visualization of plots that would otherwise fill most of the space available in the axes, as would have been the case in this example, and (ii), it gives an idea of the dimensions of the PML region, as the edges of the background image are the same ones as the PML region: 55
Figure 4.11: Boundary PML region dimensions on background image Additionally, each one of these layer’s transparency can be modified, enabling several options of interest for useful data visualization. For instance, by activating the plot and bottom layers and setting the formers transparency to a low value, it would make it easier to see the effects of the bathymetry on the solution. What follows are several combinations obtained by adjusting the transparency sliders of each element: 56
Chapter 5 Discussion 5.1 Summary and conclusions The development of a graphical user interface for a real-time wave monitoring tool in elliptic harbour models was proposed in this thesis. For this, first the numerical techniques used to achieve real-time solutions were discussed, with a general overview of the two-stage strategy used to obtain a generalized solution from which the desired multiple-query results could be obtained at a negligible computational cost. In the second part, most relevant applications were investigated in the initial stage. It was found that most of the outputs of interest that coastal engineers would find useful relied in the capacity to assess wave agitation in real-time through a highly responsive and interactive software. Additional applications found through research included several variables of interest for the practices of coastal engineering and port management. Performing wave propagation models in real-time turned out to be very useful in the quick assessment of the safety of port operations, and the additional output of Protective Index was proposed. Evaluating the options for the energetic output of existing wave currents also has very promising applications in the field of renewable energies, and thus the inclusion of an indicator variable was proposed. Providing expert engineers and users with a way to include their own functions with which solution combinations, or other variables relying on the wave height variable could be obtained promised to greatly increase the applications of the tool. Resonance studies were also considered through the evaluation of the distributions of the wave height variable on the parametric input dimensions. Finally, the applications of the spatially localized solutions were also discussed, as a reduced area or single spatial point selection in which the desired parameters could be evaluated instantly with a high degree of user-friendliness. In the next part of the thesis the MATLAB © GUI development was discussed, with a general overview of the inner workings of the environment in which several files, functions and routines worked together to achieve the best possible implementations of the appli- 63
cations considered previously. In a later stage, the functionalities of each UI component were presented. Finally, the developed interface was tested in a realistic application set in the Mataro harbour. For this, first the preprocessing stages needed to model a realistic example were outlined as a guide for future implementations, using the Pasaia harbour as example. Later, each proposed functionality was demonstrated in the Mataro testing environment, delivering the desired results for all queries, with some additional options proving to be very useful in the visualization of the data and the interaction with the solution. The main goal of this thesis was the development of a real-time wave monitoring tool that included several additional outputs of interest for coastal engineers and port management. This has been accomplished through the fulfilment of the primary and secondary objectives presented in (1.3), following the procedure outlined here. The GUI has been successful in its applications, and further functionalities have been built, with a focus of ease-of-use and intuitive data visualization options. 5.2 Future work This thesis has provided a tool to perform several key evaluations of engineering applications for the harbour wave agitation problem, by analysing and implementing a set of valuable and useful outputs at a negligible computational cost in an intuitive environment. Nevertheless, two research lines suggest promising advancements in the future: 1. Implementations of wave spectral analysis: This thesis provides a tool with which realistic wave spectra can be included as an input on the user interface. However, allowing engineers to test the effects of different spectral configurations on the various outputs presented here may have several applications of interest. A tool to generate and evaluate the wave spectral distribution functions prior to the evaluation of the wave agitation problem in harbours could carry promising advancements in the assessment of port safety and design. 2. Parameter optimization throug the increase in PGD dimensionality: The current form of the PGD adopted in this thesis evaluates the effect of the incoming wave parameters on the solution. Increasing the number of parameters in the PGD to include design variables such as bathymetry configuration or absorbing boundary coefficients could allow to assess the effects of these variables on the solution, and thus enable their optimization or at least have great significance in the design of infrastructure expansion or dredging operations by finding the most favourable parameter values. 64
Bibliography Adytia, D., Ramdhani, M., and van Groesen, E. (2012). Phase resolved and averaged wave simulations in jakarta harbour. Coastal Hydrodynamics, pages 218–223. Bellotti, G. (2007). Transient response of harbours to long waves under resonance conditions. Coast. Eng., 54:680–693. Berkhoff, J. C. W. (1972). Computation of combined refraction-diffraction. In Proc. 13th Coastal Engineering Conference, volume 1, pages 471–490, Vancouver, Canada. Berkhoff, J. C. W., Booy, N., and Radder, A. C. (1982). Verification of numerical wave propagation models for simple harmonic linear water waves. Coast. Eng., 6(3):255–279. Bettess, P. (1977). Infinite Elements. Int. J. Numer. Methods Eng., 11(1):53–64. Chakrabarti, S. K. (1999). Wave interaction with an upright breakwater structure. Ocean engineering, 26(10):1003–1021. Cl´ement, A., McCullen, P., Falc˜ao, A., Fiorentino, A., Gardner, F., Hammarlund, K., Lemonis, G., Lewis, T., Nielsen, K., Petroncini, S., et al. (2002). Wave energy in europe: current status and perspectives. Renewable and sustainable energy reviews, 6(5):405–431. Cox, A. T. and Cardone, V. J. (2002). 20 years of operational forecasting at oceanweather. In 7th International Workshop on Wave Hindcasting and Forecasting October, pages 21– 25. Demirbilek, Z., Xu, B., and Panchang, V. (1996). Uncertainties in the validation of harbor wave models. Coastal Engineering Proceedings, 1(25). Diaz-Hernandez, G., Mendez, F. J., Losada, I. J., Camus, P., and Medina, R. (2015). A nearshore long-term infragravity wave analysis for open harbours. Coastal Engineering, 97:78–90. Giorgiani, G., Modesto, D., Fern´andez-M´endez, S., and Huerta, A. (2013). High-order continuous and discontinuous Galerkin methods for wave problems. Int. J. Numer. Methods Fluids, 73(10):883–903. 65
Gonz´alez-Marco, D., Sierra, J. P., de Ybarra, O. F., and S´anchez-Arcilla, A. (2008). Implications of long waves in harbor management: The gij´on port case study. Ocean & Coastal Management, 51(2):180–201. Guerrini, M., Bellotti, G., Fan, Y., and Franco, L. (2014). Numerical modelling of long waves amplification at marina di carrara harbour. Applied Ocean Research, 48:322–330. Huerta, A., Angeloski, A., Roca, X., and Peraire, J. (2013). Efficiency of high-order elements for continuous and discontinuous Galerkin methods. Int. J. Numer. Methods Eng., 96(9):529–560. Iglesias, G., L´opez, M., Carballo, R., Castro, A., Fraguela, J. A., and Frigaard, P. (2009). Wave energy potential in galicia (nw spain). Renewable Energy, 34(11):2323–2333. Kirby, J. T. (1984). Note on linear surface wave-current interaction over slowly varying topography. J. Geophys. Res., 89(NC1):745–747. Kofoed-Hansen, H., Kerper, D. R., Sørensen, O. R., and Kirkegaard, J. (2005). Simulation of long wave agitation in ports and harbours using a time-domain boussinesq model. In Proceedings of Fifth International Symposium on Ocean Wave Measurement and Analysis-Waves. Madrid, Spain. Lee, J.-J., Lai, C.-P., and Li, Y. (1998). Application of computer modeling for harbor resonance studies of long beach & los angeles harbor basins. Coastal Engineering Proceedings, 1(26). LI, R., ZHANG, S., and ZHANG, Y. (2005). Comparison between characteristics of mild slope equations and boussinesq equations. Acta oceanologica sinica, 24(4):131–137. Liu, P. L.-F. and Losada, I. J. (2002). Wave propagation modeling in coastal engineering. J. Hydraul. Res., 40(3):229–240. Losada, I. J., Gonz´alez-Ondina, J. M., D´ıaz-Hern´andez, G., and Gonz´alez, E. M. (2008). Numerical modeling of nonlinear resonance of semi-enclosed water bodies: Description and experimental validation. Coast. Eng., 55(1):21–34. Massel, S. R. (1993). Extended refraction-diffraction equation for surface waves. Coast. Eng., 19(1-2):97–126. Masson, D. and Chandler, P. (1993). Wave groups: a closer look at spectral methods. Coastal Engineering, 20(3):249–275. Michler, C., Demkowlcz, L., Kurtz, J., and Pardo, D. (2007). Improving the performance of perfectly matched layers by means of hp-adaptivity. Numer. Meth. Part. Differ. Equ., 23(4):832–858. 66
Modesto, D. (2014). Real-time wave monitoring for elliptic harbor models: an a priori reduced order approach. PhD thesis, Technical University of Catalonia, Spain. Mørk, G., Barstow, S., Kabuth, A., and Pontes, M. T. (2010). Assessing the global wave energy potential. In Proc. of 29th International Conference on Ocean, Offshore and Arctic Engineering, ASME, paper, volume 20473. Muir, L. R. and El-Shaarawi, A. (1986). On the calculation of extreme wave heights: a review. Ocean Engineering, 13(1):93–118. Panchang, V., Chen, W., Xu, B., Schlenker, K., Demirbilek, Z., and Okihiro, M. (2000). Exterior bathymetric effects in elliptic harbor wave models. J. Waterw. Port Coast. Ocean Eng., 126(2):71–78. Rodriguez, G., Soares, C. G., Pacheco, M., and P´erez-Martell, E. (2002). Wave height distribution in mixed sea states. Journal of Offshore Mechanics and Arctic Engineering, 124(1):34–40. Sevilla, R., Hassan, O., and Morgan, K. (2013). An analysis of the performance of a high-order stabilised finite element method for simulating compressible flows. Comput. Methods Appl. Mech. Eng., 253(0):15–27. Soares, C. G. and Carvalho, A. (2003). Probability distributions of wave heights and periods in measured combined sea-states from the portuguese coast. Journal of Offshore Mechanics and Arctic Engineering, 125(3):198–204. Srokosz, M. and Challenor, P. (1987). Joint distributions of wave height and period: A critical comparison. Ocean Engineering, 14(4):295–311. Thomas, T. J. and Dwarakish, G. (2015). Numerical wave modelling–a review. Aquatic Procedia, 4:443–448. Tsay, T.-K. and Liu, P. L.-F. (1983). A finite element model for wave refraction and diffraction. Appl. Ocean Res., 5(1):30–37. Vela, J., P´erez, B., Gonz´alez, M., Otero, L., Olabarrieta, M., Canals, M., and Casamor, J. (2014). Tsunami resonance in Palma bay and harbor, Majorca island, as induced by the 2003 Western Mediterranean earthquake. J. Geol., 122(2):165–182. Wood, N. J. and Good, J. W. (2004). Vulnerability of port and harbor communities to earthquake and tsunami hazards: The use of gis in community hazard planning. Coastal Management,, 32(3):243–269. 67