Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

1d animation included in Readme #46

Merged
merged 1 commit into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ dmypy.json
.idea/

# gifs
1d_blobs.gif
example.gif

# png files
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
# 2d_propagating_blobs
Two dimensional model of advecting and dissipating blobs.

The code has been deveoped originally to model profiles in the scrape-off layer of fusion experiments but it can be used to model any 2d system consisting of advecting pulses. An example is shown below:
![Density evolution](readme_gifs/2d_blobs.gif )
The code has been developed originally to model profiles in the scrape-off layer of fusion experiments but it can be used to model any 1d or 2d system consisting of advecting pulses. Examples for one and two dimensions are shown below:
![Density evolution](readme_gifs/2d_blobs.gif)

![Density evolution](readme_gifs/1d_blobs.gif)
## Installation
The package is published to PyPI and can be installed with
```sh
Expand Down
2 changes: 1 addition & 1 deletion blobmodel/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def show_model(
variable: str = "n",
interval: int = 100,
save: bool = False,
gif_name: str = "2d_blobs.gif",
gif_name: str = "blobs.gif",
fps: int = 10,
) -> None:
"""Show animation of Model output.
Expand Down
Binary file added readme_gifs/1d_blobs.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.