Skip to content

Commit

Permalink
Add requirements.txt to elastic-tube-1d (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH authored Sep 2, 2024
1 parent 3f253cc commit ff04dc4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elastic-tube-1d/fluid-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
matplotlib
numpy >1, <2
pyprecice~=3.0
4 changes: 4 additions & 0 deletions elastic-tube-1d/fluid-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

python3 ./FluidSolver.py ../precice-config.xml

close_log
2 changes: 2 additions & 0 deletions elastic-tube-1d/solid-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy >1, <2
pyprecice~=3.0
4 changes: 4 additions & 0 deletions elastic-tube-1d/solid-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

python3 ./SolidSolver.py ../precice-config.xml

close_log

0 comments on commit ff04dc4

Please sign in to comment.