Hello, if you are reading this you are viewing the repository which contains the code used to study parametric subharmonic instability in the oceanic bottom boundary layer. The important files which made this possible and general organization are described below:\
- To run the full nonlinear simulations, there are two options:
- To run all the simulations in the parameter space, run the shell script
run_all.shwhich will automatically run the simulations usingrun_all.py,full_code_diagnostics_stblty_comp.jl, andaux_pbs_psi.shfor the parameters defined inparameters.jl. - To run a single simulation, modify
full_code_diagnostics.jland run the shell scriptsub.sh.
- To run all the simulations in the parameter space, run the shell script
- The linear stability analysis over the parameter space is contained in the code
stability_analysis_full_run.pywhere submitting the shell scriptstability.shwill execute the code.- Note that the jupyter notebook
stability_analysis_output_reader.ipynballow us to read the stability analysis output
- Note that the jupyter notebook
- The
Result_Calculationsfolder contains the jupyter notebooks used to analyze outputs from the nonlinear simulations. The individual scripts and their functions are listed below:BFLUx_GSP_comp.ipynbis the jupyter notebook where the comparison of integrated BFLUX and GSPtime_series_and_fourier_transform.ipynbhas the code for the quasi-lagrangian time series of velocity along with power spectrumTKE_terms_velocity_comparison.ipynbgenerates figure showing velocities and TKE terms over 2 modified inertial periodsTKE_terms.ipynbgenerates the TKE budget plots that are the basis for other figures and the growth ratevelocity_visualization.ipynbgenerates plots of the instability in the domain