Difference between revisions of "Integral Equation for the Finite Depth Green Function at Surface"
From WikiWaves
Jump to navigationJump to searchLine 10: | Line 10: | ||
the water surface. We break the surface into <math>N</math>evenly spaced point | the water surface. We break the surface into <math>N</math>evenly spaced point | ||
<math>x_n = -L = hn</math> where <math>h=2L/N</math> and <math>n=0,1,\dots,N</math> | <math>x_n = -L = hn</math> where <math>h=2L/N</math> and <math>n=0,1,\dots,N</math> | ||
+ | |||
+ | |||
+ | == Matlab Code == | ||
+ | |||
+ | A program to calculate the coefficients for the semi-infinite dock problems can be found here | ||
+ | [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/matrix_G_surface.m matrix_G_surface.m] | ||
+ | |||
+ | === Additional code === | ||
+ | |||
+ | This program requires | ||
+ | * {{free surface dispersion equation code}} |
Revision as of 03:39, 7 November 2008
We want to solve
where G(x,\xi) is the Free-Surface Green Function for two-dimensional waves, with singularity at the water surface. We break the surface into [math]\displaystyle{ N }[/math]evenly spaced point [math]\displaystyle{ x_n = -L = hn }[/math] where [math]\displaystyle{ h=2L/N }[/math] and [math]\displaystyle{ n=0,1,\dots,N }[/math]
Matlab Code
A program to calculate the coefficients for the semi-infinite dock problems can be found here matrix_G_surface.m
Additional code
This program requires