Skip to content

TZdyrski/WindWaveShape-DeepWater-Code

Repository files navigation

Wind-Induced Changes to Surface Gravity Wave Shape in Deep to Intermediate Water: Code

The repository contains the source code for the "Wind-Induced Changes to Surface Gravity Wave Shape in Deep to Intermediate Water" paper by Thomas Zdyrski and Falk Feddersen, doi:10.1017/jfm.2020.628. For the corresponding LaTeX paper, see the WindWaveShape-DeepWater-Paper repo.

Layout

  • StokesWaves.mpl Main function for generating terms and attempting to validate hand-coded solutions at each order of $\epsilon$ in the multiple-scales expansion of the wind-forced Euler equations
  • MultipleScales.mpl Methods for asymptotically solving systems of equations using the method of multiple scales
  • NumericPressureMagChecker.mpl Verification of pressure magnitude calculations in section 2.4 of the paper
  • Outputs/output_*.mpl Logs of Maple runs verifying solutios at each order of asymptotic expansion
  • Outputs/maple*.py Maple-derived solutions in SymPy format
  • Texify Script for generating and viewing latex expressions
  • CompileLatex/texoutput Header file for generating latex output
  • Latex/*.tex.expr Latex outputs of expressions
  • CheckScripts/StokesWavesChecker.mpl Unit tests for validating StokesWavse.mpl
  • CheckScripts/Check*.mpl Logs from StokesWavesChecker for different wind strengths (Weak, Int, Strong) and highest-orders (2nd, 3rd, 4th)
  • CheckScripts/StokesWavesCalculations.mpl Script for calculating the Stokes Waves solutions using the (copy-pasted) generated outputs of the multiple-scales expansion coefficients
  • UnitTest.mpl Runs unit tests
  • LinDamped.mpl Unit test of MultipleScales.mpl code against known solution for damped linear oscillator
  • Duffing.mpl Unit test of MultipleScales.mpl code against known solution for Duffing oscillator
  • VanDerPol.mpl Unit test of MultipleScales.mpl code against known solution for Van der Pol oscillator
  • Graphene.mpl Unit tests for verifying MultipleScales.mpl against known Van der Pol oscillator solution
  • GrapheneComparison.mpl Unit tests for verifying calculations against known results from existing literature
  • KdVBurgers.mpl Attempt to find analytic approximation to decay of solitary wave under KdV-Burgers equation
  • Scrap Prior versions of coefficients
  • CoeffsStrong4th Log from attempted verification of 4th-order terms with strong win

License

This repository is licensed under the terms of the GPL v3.0 or later license.

About

Code for deep-water wind/wave-shape paper

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors