basset-history-term-influence
This repository contains the code used in the paper we publish in Chaos.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.9%) to scientific vocabulary
Repository
This repository contains the code used in the paper we publish in Chaos.
Basic Info
- Host: GitHub
- Owner: JulioUri
- License: bsd-2-clause
- Language: Python
- Default Branch: main
- Size: 113 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
Code repository for the paper Relevance of the Basset history term for Lagrangian particle dynamics
This repository contains the Python scripts that can regenerate all figures reported in the following publication:
Urizarna-Carasa, L., Ruprecht, D., von Kameke, A., Padberg-Gehle, K., Relevance of the Basset history term for Lagrangian particle dynamics Free, Chaos (35), 073122, 2025.
The paper can be found here while the preprint can be found here.
For questions, contact either M. Sc. Julio Urizarna or Prof. Dr. Daniel RUPRECHT, or Prof. Dr. Alexandra von Kameke or Prof. Dr. Kathrin Padberg-Gehle.
How to run the code
Wihtin this repository you will find 6 folders:
- 01-Trajectory_data : This folder contains the scripts needed to generate the trajectory data.
- 02-FTLE_data : This folder contains the scripts needed to generate the FTLE data.
- 03-FTLE_plots : Contains the plots and the necessary script to obtain the FTLE plots.
- 04-Clustering_plots : Contains the plots and script to obtain final position (clustering) particle plots
- 05-Diversion_data : Contains the script needed to obtain the difference between the with and without BHT solution
- 06-Checkups : Compares the IMEX (with BHT) and solve_ivp (no BHT) solver data with the Daitche (with BHT) and Leap-frog data (no BHT).
Folders 02, 03, 04, 05 and 06 are pretty straightforward, they contain a script and folders where the data and plots are saved. These folders are named after the value of the effective density ratio, R, and the velocity fields.
Folder 01-Trajectory_data works differently, since it contains several Python scripts.
- 002mmFaraday50Hz40ms16g.mat has all the field data (positions and velocities) used for the definition of the Faraday flow.
- a00PMTERSINPUT.py allows the User to define the parameters (densities, time scale, kinematic viscosity, particle radius, order of the methods used, etc.)
- a00PMTERSCONST.py calculates the constants of the MRE (R, S, alpha, etc.) with the parameters given in the previous script. PLEASE DO NOT MODIFY!,
- a01SOLVER runs the given solver: DTCHE stands for Daitche's method, IMEX4 stands for the Finite difference methods that we described in another paper, STOKS stands for the Leap-frog method applied on the MRE without BHT and STOKSSVIVP stands for the solveivp solver applied again on the MRE without BHT.
- a03FIELD0 files define the velocity fields and their derivatives (everything needed for the MRE),
- a09PRTCLE files hold the numerical or analytical solver (in case an analytical solution is available).
Generating the data is a long process and depends on the time-steps, the grid used and the field. It could range from less than an hour for the Double Gyre to 10 hours for the Faraday Flow. The times are considering the given grid and time-step run in parallel in a computer with 32 cores.
The toolbox currently depends on classical Python packages such as Numpy, SciPy and Matplotlib.
Additional libraries like progressbar2 may also require installation.
Script naming convenction (in 01-Trajectory_data folder)
Each .py file is made up of a code with the following structure z99AAAAAABBBBB.py. Prefix z99 is linked to the code AAAAAA, but enables an appropiate sorting within the folder different from Alphabetical sorting. Code AAAAAA summarizes what the code does:
- either defines parameters (PMTERS),
- plots trajectories (PLOTTR),
- defines the velocity fields (FIELD0) or
- the particle classes associated to each solver (PRTCLE)
The second part of the code, i.e. BBBBB, provides more specific information about the file, such as the type of solver or type of velocity field:
- CONST stands for the fact that the file defines Constant parameters,
- BICKL stands for Bickley Jet,
- DATA1 stands for the Faraday flow, obtained from experimental Data,
- 00000 stands for the abstract particle class,
- DTCHE holds Daitche's 1st, 2nd, 3rd order schemes,
- STOKS holds solvers appliied on the Maxey-Riley equation with History term,
- IMEX4 holds the solver with either the 1st, 2nd, 3rd and 4th order IMEX.
More info in the following link.
Acknowledgements
This repository is a result of the work carried out by M. Sc. Julio URIZARNA-CARASA, Prof. Dr. Daniel RUPRECHT, from Hamburg University of Technology as well as Prof. Dr. Alexandra von Kameke from the Hamburg University of Applied Sciences and Prof. Dr. Kathrin Padberg-Gehle from the Leuphana Universität Lüneburg.
This project is funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - SFB 1615 - 503850735.
Owner
- Login: JulioUri
- Kind: user
- Repositories: 1
- Profile: https://github.com/JulioUri
Citation (CITATION.cff)
cff-version: 1.2.0
message: If you use this software, please cite both the article from preferred-citation and the software itself.
authors:
- family-names: Urizarna-Carasa
given-names: Julio
title: Basset-History-Term-Influence
version: 2.0
url: https://doi.org/10.5281/zenodo.14252124
doi: 10.5281/zenodo.14252124
date-released: '2024-11-30'
preferred-citation:
type: article
authors:
- family-names: Urizarna-Carasa
given-names: Julio
- family-names: Ruprecht
given-names: Daniel
orcid: 0000-0003-1904-2473
- family-names: von Kameke
given-names: Alexandra
- family-names: Padberg-Gehle
given-names: Kathrin
title: Relevance of the Basset history term for Lagrangian particle dynamics
url: https://doi.org/10.1063/5.0225926
doi: 10.1063/5.0225926
journal: "Chaos"
volume: 35
pages: 073122
year: '2025'
conference: {}
publisher: {}
GitHub Events
Total
- Release event: 1
- Member event: 1
- Push event: 34
- Create event: 1
Last Year
- Release event: 1
- Member event: 1
- Push event: 34
- Create event: 1