2steprichtpyer
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 (3.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: 0xBachmann
- License: mit
- Language: Python
- Default Branch: main
- Size: 66.6 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
2stepRichtPyer
Bachelor Thesis Structure preserving Lax-Wendroff schemes for low Mach number flows from Jonas Bachmann.
Setup
Simply execute pip install -e . to set up the project.
For storing trajectories instead of keeping them in memory, FFmpeg is required.
Usage
Example usage of evolving the Euler equations in 2D with the linearized solutions from 1D (Euler.waves).
```python from src.PDETypes import Euler from src.plotter import Plotter from src.richtmyertwostepscheme import Richtmyer2step from src.twosteprichtmyer_util import Dimension import numpy as np
DIM = Dimension.twoD PDE = Euler(gamma=5. / 3, dim=DIM)
resolution = np.array([100, 100])
Lx = 1 Ly = 1 stepper = Richtmyer2step(PDE, np.array([Lx, Ly]), resolution)
initialcondition = PDE.waves(0, np.array([1, 1, 1]), amp=1e-3) stepper.initialcond(initial_condition)
plotter = Plotter(PDE, action="show", writeout=10, dim=stepper.dim)
stepper.stepfor(1., callback=lambda S: plotter.write(stepper.gridno_ghost))
plotter.finalize() ```
License
Owner
- Login: 0xBachmann
- Kind: user
- Repositories: 1
- Profile: https://github.com/0xBachmann
GitHub Events
Total
Last Year
Dependencies
- dask >=2023.7.1
- matplotlib >=3.6.2
- numpy >=1.24.1
- scipy >=1.10.1
- dask >=2023.7.1
- matplotlib >=3.6.2
- numpy >=1.24.1
- scipy >=1.10.1