;
Home  Contact 

NearCoM: B2DWAVE Program Authors: Mark Orzech, T.H.C. Herbers, Contact information: Mark Orzech, (831)6561012 Documentation: Herbers et al., "Shoaling transformation of wave frequencydirectional spectra", J. Geophysical Research, 108(C1), 3013, 2003. A README file can be found here (doc) Overview: The 2d Boussinesq equations for a gently sloping beach with straight and parallel depth contours are solved for a continuous spectrum of waves. Evolution equations for the frequency/alongshore wavenumber spectrum and bispectrum (Eq's 5a & 5b in Herbers et al.) are integrated using a fourthorder RungeKutta scheme. The user provides the bottom profile and initial offshore surface elevation spectrum, while the initial bispectrum is generated based on the steady flat bottom solution (Eq 14). NOTE THAT B2DWAVE IS STANDALONE CODE AND NOT PRESENTLY INTEGRATED INTO THE NEARCOM MODEL. Use and initialization of the program: Bottom profile depths and spacing must be provided by user in an ASCII text file. This file should contain a singlecolumn list of nx+2 singleprecision real numbers, of which the first two must be (1) number of crossshore steps on the profile (nx) and (2) uniform crossshore spacing (dx, meters). The remaining nx values in the list should be positive depths h(1) to h(nx), in meters, with h(1) furthest offshore and h(nx) nearest to shore. Offshore input frequencywavenumber spectrum must also be provided by user in a second text file. For a spectrum with nf frequencies and nd wavenumbers, the spectral input text file must contain a singlecolumn list of 4+(nf*nd) singleprecision real numbers, of which the first four must be (1) number of frequency bins (nf), (2) number of positive wavenumbers ((nd1)/2), (3) frequency spacing (df, rad/s), and (4) wavenumber spacing (dd, rad/m). The remaining values in the file should be the surface elevation spectrum values (S(freq,wavenum), cubic metersseconds per radian squared). The first values should be S(1, 1:nd), then S(2, 1:nd), and so on; the final values in the file should be S(nf,1:nd). There must be an odd number of wavenumbers (nd), evenly spaced around zero. Output provided by the program: Infragravity variance (sq m), significant wave height (m), skewness, and asymmetry at every other step on the profile. Complete frequencywavenumber spectra (cubic metersseconds per radian squared) returned at locations specified by the user. See the README for further details. Variables required by the program: Input bathymetry file and spectral file, with the format described above. Upon startup, the program prompts the user for several additional parameters (see the README for further information). 
fyshiATudel.edu, AT to @ for a human email
latest update:
2 /
28 /
2012