Skip to content

Commit

Permalink
Suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasVin committed Sep 5, 2024
1 parent e1efdce commit e1c6a36
Show file tree
Hide file tree
Showing 27 changed files with 101 additions and 66 deletions.
10 changes: 7 additions & 3 deletions channel-transport-reaction/chemical-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
numpy >1, <2
pyprecice~=3.0
mpi4py < 4
fenicsprecice
fenicsprecice~=2.0

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0

9 changes: 6 additions & 3 deletions channel-transport-reaction/fluid-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
numpy >1, <2
pyprecice~=3.0
mpi4py <4
fenicsprecice
fenicsprecice~=2.0

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pyprecice~=3.0
numpy
numpy >1, <2
matplotlib
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyprecice~=3.0
numpy
numpy >1, <2
10 changes: 7 additions & 3 deletions elastic-tube-3d/solid-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
pyprecice~=3.0
fenicsprecice
numpy
mpi4py <4
numpy >1, <2

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyprecice~=3.0
numpy
numpy >1, <2
12 changes: 8 additions & 4 deletions flow-over-heated-plate/solid-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
pyprecice~=3.0
fenicsprecice
numpy
mpi4py <4
fenicsprecice~=2.0
numpy >1, <2

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
4 changes: 2 additions & 2 deletions oscillator-overlap/mass-left-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

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

python3 ../solver-python/oscillator.py Mass-Left
Expand Down
4 changes: 2 additions & 2 deletions oscillator-overlap/mass-right-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

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

python3 ../solver-python/oscillator.py Mass-Right
Expand Down
2 changes: 1 addition & 1 deletion oscillator/mass-left-fmi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fmiprecice
fmiprecice
4 changes: 2 additions & 2 deletions oscillator/mass-left-fmi/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ if [ ! -f ../solver-fmi/Oscillator.fmu ]; then
cd ../../../mass-left-fmi
fi

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

fmiprecice fmi-settings.json precice-settings.json
Expand Down
4 changes: 2 additions & 2 deletions oscillator/mass-left-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

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

python3 ../solver-python/oscillator.py Mass-Left
Expand Down
4 changes: 2 additions & 2 deletions oscillator/mass-right-fmi/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ if [ ! -f ../solver-fmi/Oscillator.fmu ]; then
cd ../../../mass-right-fmi
fi

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

fmiprecice fmi-settings.json precice-settings.json
Expand Down
4 changes: 2 additions & 2 deletions oscillator/mass-right-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

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

python3 ../solver-python/oscillator.py Mass-Right
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction-complex/dirichlet-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/heat.py -d -i complex
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction-complex/neumann-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/heat.py -n -i complex
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pyprecice~=3.0
fenicsprecice
numpy
fenicsprecice~=2.0
numpy >1, <2
sympy
mpi4py <4

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
4 changes: 2 additions & 2 deletions partitioned-heat-conduction-overlap/left-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/heat.py Left
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction-overlap/right-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/heat.py Right
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
pyprecice~=3.0
fenicsprecice
numpy
mpi4py <4
fenicsprecice~=2.0
numpy >1, <2

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
4 changes: 2 additions & 2 deletions partitioned-heat-conduction/dirichlet-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/heat.py Dirichlet
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction/neumann-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/heat.py Neumann
Expand Down
12 changes: 8 additions & 4 deletions partitioned-heat-conduction/solver-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pyprecice~=3.0
fenicsprecice
numpy
fenicsprecice~=2.0
numpy >1, <2
sympy
mpi4py <4

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
14 changes: 9 additions & 5 deletions perpendicular-flap/solid-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pyprecice~=3.0
fenicsprecice
mpi4py <4
numpy
matplotlib
fenicsprecice~=2.0
numpy >1, <2
matplotlib

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
4 changes: 2 additions & 2 deletions volume-coupled-diffusion/drain-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/volume-coupled-diffusion.py --drain
Expand Down
12 changes: 8 additions & 4 deletions volume-coupled-diffusion/solver-fenics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
fenicsprecice
pyprecice~=3.0
mpi4py <4
numpy
fenicsprecice~=2.0
numpy >1, <2

fenics-dijitso==2019.2.0.dev0
fenics-dolfin==2019.2.0.13.dev0
fenics-ffc==2019.2.0.dev0
fenics-fiat==2019.2.0.dev0
fenics-ufl-legacy==2022.3.0
4 changes: 2 additions & 2 deletions volume-coupled-diffusion/source-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv --system-site-packages ../solver-fenics/.venv
. ../solver-fenics/.venv/bin/activate
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt

python3 ../solver-fenics/volume-coupled-diffusion.py --source
Expand Down

0 comments on commit e1c6a36

Please sign in to comment.