Skip to content

Commit

Permalink
Update repropacks setup following ownership transfer (#3)
Browse files Browse the repository at this point in the history
* Add figure of modified sections to repropacks/process-all utils

* Change owner to barbagroup

* Fix typo

* Create repropack from main

* Add repropacks instructions

* Update zipped archive size
  • Loading branch information
mesnardo authored Dec 3, 2022
1 parent 68001a5 commit efa36bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,21 @@ az storage file download-batch --source fileshare/snake2d/Re2000/both_lips/2k35
| ![cl_re1000](runs/Re1000/figures/avg_lift_coefficients_vs_aoa.png) | ![cl_re2000](runs/Re2000/figures/avg_lift_coefficients_vs_aoa.png) |
| ![cd_re1000](runs/Re1000/figures/avg_drag_coefficients_vs_aoa.png) | ![cd_re2000](runs/Re2000/figures/avg_drag_coefficients_vs_aoa.png) |

**Figure:** Time-averaged drag (top) and lift (bottom) coefficients at Reynolds numbers $1000$ and $2000$ versus the angle of attack on all four sections. All averages are computed between $50$ and $80$ non-dimensional time units of flow simulation.
**Figure:** Time-averaged lift (top) and drag (bottom) coefficients at Reynolds numbers $1000$ and $2000$ versus the angle of attack on all four sections. All averages are computed between $50$ and $80$ non-dimensional time units of flow simulation.

| | |
|:-:|:-:|
| ![ld_re1000](runs/Re1000/figures/avg_lift_drag_ratio_vs_aoa.png) | ![ld_re2000](runs/Re2000/figures/avg_lift_drag_ratio_vs_aoa.png) |

**Figure:** Time-averaged lift-to-drag ratio at Reynolds numbers $1000$ and $2000$ versus the angle of attack on all four sections. All averages are computed between $50$ and $80$ non-dimensional time units of flow simulation.

## Reproducibility packages

To reproduce the figures, download the Zenodo archive (3.6 GB), create a conda environment, and execute the `misc/process_all.py` script located in the `snake-lips-2d-repropacks` folder.

```shell
cd snake-lips-2d-repropacks
conda env create --name=py37-snakelips-2d --file=environment.yml
conda activate py37-snakelips-2d
python misc/process_all.py
```
4 changes: 2 additions & 2 deletions misc/repropacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
'Accept': 'application/vnd.github.v3+json',
'Authorization': f'Bearer {os.environ.get("GH_TOKEN")}'
}
GH_OWNER = 'mesnardo'
GH_OWNER = 'barbagroup'
GH_REPO = 'snake-lips-2d'
GH_BRANCH = 'dev'
GH_BRANCH = 'main'
REPROPACKS_NAME = f'{GH_REPO}-repropacks'


Expand Down

0 comments on commit efa36bc

Please sign in to comment.