1d_fd_simple_shear_transient

transient-state continuum model for granular flows with pore-pressure dynamics
git clone git://src.adamsgaard.dk/1d_fd_simple_shear_transient
Log | Files | Refs | README | LICENSE

commit dc908a0d9a1f0e89e5886214fb3bcfce8e8d9459
parent 1eecab9a5fd73c345affb20a8453ec101735828d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  7 May 2019 12:30:35 -0700

Add diurnal simulation to default make target

Diffstat:
MMakefile | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -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 --fluid-permeability 2e-17 --fluid-pressure-top 50e3 --fluid-pressure-ampl 50e3 --fluid-pressure-freq $$(( 1.0/(3600*24) )) --time-step 1e-1 --file-interval $$(( 60*10 )) --time-end $$(( 3600*24*4 )) diurnal' +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.gp /bin/bash -c '\ for f in diurnal.output*.txt; do \ gnuplot -e "filename=\"$$f\"; p_min=\"0\"; p_max=\"100e3\"" $<_fluid.gp > $$f.png; \ 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 --fluid-permeability 2e-17 --fluid-pressure-top 50e3 --fluid-pressure-ampl 50e3 --fluid-pressure-freq $$(( 1.0/(3600*24) )) --time-step 1e-1 --file-interval $$(( 60*10 )) --time-end $$(( 3600*24*4 )) diurnal' diurnal.gif: diurnal.mp4 convert diurnal.output*.txt.png \