hw-projectiv
Code repository for Harry Wiffen's Project IV, for MMath at Durham University.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.4%) to scientific vocabulary
Repository
Code repository for Harry Wiffen's Project IV, for MMath at Durham University.
Basic Info
- Host: GitHub
- Owner: hwiffen
- License: mit
- Language: HTML
- Default Branch: main
- Size: 343 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
HW-ProjectIV
Repository by Harry Wiffen for Project IV: Stokes and the Brinkmanlets, submitted for the degree of Master of Mathematics at Durham University.
This repository contains all code used in Stokes and the Brinkmanlets. Code is written in Python and R.
The complete dissertation report can be found at Stokes_and_the_Brinkmanlets.pdf
Consistent colour maps are used throughout to distinguish simulation types (from matplotlib):
- Stokes flows:
'cool' - Brinkman flows:
'winter' - Magnetised flows:
'autumn'
Folder Structure
HTML_interactive_plots/
3D interactive simulation results, saved as .HTML files. Files were written using write_html from the plotly package.
Note: Only one plot of each simulation type is included, due to GitHub file size limits. Any other plots can be produced directly using
interactive_online_plots.py.
npy_output_files/
Raw simulation results from all models, saved as .npy files. Can be imported into visualisation scripts.
Note: Many longer simulations are excluded, due to GitHub file size limits.
Simulation_scripts/
Scripts for running simulations and saving outputs as .npy files. Simulation parameters must be specified:
optimised_stokes_save_to_npy.pySimulates a falling particle cloud in Stokes flow.optimised_brinkman_save_to_npy.pySimulates a falling cloud in Brinkman flow.optimised_magnetised_save_to_npy.pySimulates a falling cloud in a magnetised Brinkman flow.articulated_body_save_to_npy.pySimulates a falling 3D articulated body in Brinkman flow.
Main_visualisation_scripts/
Scripts for visualising simulation results. Simulation parameters must be specified, and the corresponding .npy file is then imported:
interactive_online_plots.pyProduces an online, interactive 3D plot withplotlyand saves it as an.HTMLfile.multi_frame_graphs.pyCreates holistic multi-frame visualisations. Option to also return separate zoomed-in frames.
Spread_analysis/
Scripts for analysing and visualising particle dispersion. Raw data is calculated using Python and saved as a .csv file, to be imported into R for visualisation:
spread_analysis_save_to_csv.pyProcesses simulation data and saves particle spread data as.csv.Raw_spread_data_vs_LLRE.RPlots raw dispersion data with the local linear regression estimator (LLRE), for visual comparison.Stokes_spread_analysis.RLLRE spread plots for Stokes flow simulations.Brinkman_spread_analysis.RLLRE spread plots for Brinkman flow simulations.Magnetised_spread_analysis.RLLRE spread plots for magnetised flow simulations.
Misc_visualisation_scripts/
Additional visualisation scripts:
scalar_blobs_visualisation.RPlots multiple Gaussian scalar blob functions, with the Dirac delta measure for comparison.regularised_soln_blob_heatmaps.RHeatmaps of regularised Brinkman blob solutions for different width parameters.streamlines_fundamental_vs_regularised_brinkman.pyCompares streamlines of fundamental and regularised Brinkman solutions, with a visual representation of the force concentrations.
License
This project is licensed under the MIT License.
Owner
- Name: Harry Wiffen
- Login: hwiffen
- Kind: user
- Repositories: 1
- Profile: https://github.com/hwiffen
GitHub Events
Total
- Push event: 113
- Public event: 1
Last Year
- Push event: 113
- Public event: 1