Skip to content

Commit ff04dc4

Browse files
authored
Add requirements.txt to elastic-tube-1d (#564)
1 parent 3f253cc commit ff04dc4

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
matplotlib
2+
numpy >1, <2
3+
pyprecice~=3.0

elastic-tube-1d/fluid-python/run.sh

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -e -u
44
. ../../tools/log.sh
55
exec > >(tee --append "$LOGFILE") 2>&1
66

7+
python3 -m venv .venv
8+
. .venv/bin/activate
9+
pip install -r requirements.txt
10+
711
python3 ./FluidSolver.py ../precice-config.xml
812

913
close_log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
numpy >1, <2
2+
pyprecice~=3.0

elastic-tube-1d/solid-python/run.sh

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -e -u
44
. ../../tools/log.sh
55
exec > >(tee --append "$LOGFILE") 2>&1
66

7+
python3 -m venv .venv
8+
. .venv/bin/activate
9+
pip install -r requirements.txt
10+
711
python3 ./SolidSolver.py ../precice-config.xml
812

913
close_log

0 commit comments

Comments
 (0)