{"id":19757118,"url":"https://github.com/dynamicslab/dominant-balance","last_synced_at":"2025-04-30T12:31:22.360Z","repository":{"id":49747402,"uuid":"238084191","full_name":"dynamicslab/dominant-balance","owner":"dynamicslab","description":"Methods and code for J. L. Callaham, J. N. Kutz, B. W. Brunton, and S. L. Brunton (2020)","archived":false,"fork":false,"pushed_at":"2021-01-08T16:26:09.000Z","size":17693,"stargazers_count":53,"open_issues_count":0,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-04T00:24:47.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://arxiv.org/abs/2001.10019","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynamicslab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-03T23:34:00.000Z","updated_at":"2024-04-02T07:41:50.000Z","dependencies_parsed_at":"2022-09-21T01:00:44.345Z","dependency_job_id":null,"html_url":"https://github.com/dynamicslab/dominant-balance","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamicslab%2Fdominant-balance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamicslab%2Fdominant-balance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamicslab%2Fdominant-balance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamicslab%2Fdominant-balance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamicslab","download_url":"https://codeload.github.com/dynamicslab/dominant-balance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224208114,"owners_count":17273714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T03:18:08.846Z","updated_at":"2024-11-12T03:18:09.690Z","avatar_url":"https://github.com/dynamicslab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/238084191.svg)](https://zenodo.org/badge/latestdoi/238084191)\n\n# Learning dominant physical processes with data-driven balance models\n\nCode and details for the [manuscript](https://arxiv.org/abs/2001.10019) on data-driven dominant balance analysis.  The repository should have everything needed to reproduce the results of the paper and get started exploring dominant balance in other systems.\n\nThe method essentially uses out of the box `scikit-learn` algorithms, so this repository doesn't have a separate library for import.  All the Jupyter notebooks should basically be self-contained, provided the dependencies (below) are met. See Appendix A of the paper for detailed information on data provenance, but there are notebooks for the following examples:\n\n### 1. Burgers equation\n\nSimple PDE model for shock formation.  This notebook is the most heavily annotated and is the easiest to understand and visualize, since the equation only has three terms.  Data was generated with second-order finite difference solver\n\n### 2. $\\mathrm{Re}=100$ cylinder wake\n\nVortex shedding past a circular cylinder at moderate Reynolds number. This notebook also includes a demonstration of uncertainty analysis for the dominant balance procedure.  Data was generated with a direct numerical simulation using the [Nek5000](https://nek5000.mcs.anl.gov/) spectral element solver.  The case files necessary to re-run the DNS are in the data folder.\n\n### 3. Turbulent boundary layer\n\nMain example from the paper.  In addition to the results in the paper, the notebook shows that the identified balance regions are consistent with two kinds of scaling collapse: the Blasius profile in the laminar inflow region, and wall coordinates in the viscous sublayer.  Data available from the [Johns Hopkins Turbulence Database](http://turbulence.pha.jhu.edu/Transition_bl.aspx). We only make use of the mean profile, which is available as an HDF5 file.\n\n### 4. Supercontinuum generation\n\nOptical pulse propagation with the Generalized Nonlinear Schrodinger Equation.  MATLAB spectral solver code originally obtained [here](www.scgbook.info), but modified scripts to run the solver, nondimensionalize the results, and extract the various terms from the solver are in the data folder.\n\n### 5. Geostrophic balance\n\nSurface currents in the Gulf of Mexico.  Data was downloaded from the [HYCOM](https://www.hycom.org/) group, but a MATLAB script to do the same is in the data folder.\n\n### 6. Neuron model\n\nGeneralized Hodgkin-Huxley model of an intrinsically bursting neuron.  Again, MATLAB scripts implementing the full model are in the data folder.\n\n### 7. Rotating detonation engine analogue\n\nModified Majda-Burgers model of 1D combustion in a rotating detonation engine\n\n__Dependencies:__\n\n* `scikit-learn`: all machine learning methods are implemented as off-the-shelf models\n* `pymech`: python [package](https://github.com/jcanton/pymech) helpful for reading/writing Nek5000 data files (only needed for cylinder example)\n* `pyclaw`: python interface to the [Clawpack](https://www.clawpack.org/) finite volume solver (only needed to generate data for the RDE model)\n* Standard libraries:`seaborn`, `scipy`, `numpy`, `matplotlib`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamicslab%2Fdominant-balance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamicslab%2Fdominant-balance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamicslab%2Fdominant-balance/lists"}