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.
-
StokesWaves.mplMain 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.mplMethods for asymptotically solving systems of equations using the method of multiple scales -
NumericPressureMagChecker.mplVerification of pressure magnitude calculations in section 2.4 of the paper -
Outputs/output_*.mplLogs of Maple runs verifying solutios at each order of asymptotic expansion -
Outputs/maple*.pyMaple-derived solutions in SymPy format -
TexifyScript for generating and viewing latex expressions -
CompileLatex/texoutputHeader file for generating latex output -
Latex/*.tex.exprLatex outputs of expressions -
CheckScripts/StokesWavesChecker.mplUnit tests for validatingStokesWavse.mpl -
CheckScripts/Check*.mplLogs from StokesWavesChecker for different wind strengths (Weak, Int, Strong) and highest-orders (2nd, 3rd, 4th) -
CheckScripts/StokesWavesCalculations.mplScript for calculating the Stokes Waves solutions using the (copy-pasted) generated outputs of the multiple-scales expansion coefficients -
UnitTest.mplRuns unit tests -
LinDamped.mplUnit test ofMultipleScales.mplcode against known solution for damped linear oscillator -
Duffing.mplUnit test ofMultipleScales.mplcode against known solution for Duffing oscillator -
VanDerPol.mplUnit test ofMultipleScales.mplcode against known solution for Van der Pol oscillator -
Graphene.mplUnit tests for verifyingMultipleScales.mplagainst known Van der Pol oscillator solution -
GrapheneComparison.mplUnit tests for verifying calculations against known results from existing literature -
KdVBurgers.mplAttempt to find analytic approximation to decay of solitary wave under KdV-Burgers equation -
ScrapPrior versions of coefficients -
CoeffsStrong4thLog from attempted verification of 4th-order terms with strong win
This repository is licensed under the terms of the GPL v3.0 or later license.