tAdd diurnal simulation to default make target - cngf-pf - continuum model for … | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit dc908a0d9a1f0e89e5886214fb3bcfce8e8d9459 | |
parent 1eecab9a5fd73c345affb20a8453ec101735828d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 7 May 2019 12:30:35 -0700 | |
Add diurnal simulation to default make target | |
Diffstat: | |
M Makefile | 15 ++++++++++----- | |
1 file changed, 10 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -12,16 +12,21 @@ plots: 1d_fd_simple_shear.png \ | |
1d_fd_simple_shear_rheology.png \ | |
1d_fd_simple_shear_rheology_kamb.png \ | |
1d_fd_simple_shear_rheology_iverson.png \ | |
- 1d_fd_simple_shear_rheology_tulaczyk.png | |
+ 1d_fd_simple_shear_rheology_tulaczyk.png \ | |
+ diurnal.output00000.txt | |
-diurnal.mp4: 1d_fd_simple_shear 1d_fd_simple_shear_fluid.gp | |
- /usr/bin/env zsh -c '\ | |
- ./$< --resolution 50 --length 2.0 --normal-stress 150e3 --fluid --flui… | |
+diurnal.mp4: diurnal.output00000.txt.png | |
+ ffmpeg -i diurnal.output%05d.txt.png -y diurnal.mp4 | |
+ | |
+diurnal.output00000.txt.png: diurnal.output00000.txt 1d_fd_simple_shear_fluid.… | |
/bin/bash -c '\ | |
for f in diurnal.output*.txt; do \ | |
gnuplot -e "filename=\"$$f\"; p_min=\"0\"; p_max=\"100e3\"" $<… | |
done' | |
- ffmpeg -i diurnal.output%05d.txt.png -y diurnal.mp4 | |
+ | |
+diurnal.output00000.txt: 1d_fd_simple_shear | |
+ /usr/bin/env zsh -c '\ | |
+ ./$< --resolution 50 --length 2.0 --normal-stress 150e3 --fluid --flui… | |
diurnal.gif: diurnal.mp4 | |
convert diurnal.output*.txt.png \ |