tadd cyclic impermeable experiment, change legend opacity - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit fbf7ff188ee3c9616021d31a1cd3c77915240f39
 (DIR) parent 8e3a56486ad7fc58ab904525e5196ef6dfc7d47e
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 17 Mar 2015 12:58:57 +0100
       
       add cyclic impermeable experiment, change legend opacity
       
       Diffstat:
         M python/halfshear-darcy-combined.py  |       2 +-
         A python/halfshear-imper-cyclic-cont… |      49 +++++++++++++++++++++++++++++++
         A python/halfshear-imper-cyclic.sh    |      50 +++++++++++++++++++++++++++++++
       
       3 files changed, 100 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/python/halfshear-darcy-combined.py b/python/halfshear-darcy-combined.py
       t@@ -19,7 +19,7 @@ outformat = 'pdf'
        fluid = True
        #threshold = 100.0 # [N]
        calculateforcechains = False
       -legend_alpha=0.5
       +legend_alpha=0.7
        linewidth=0.5
        
        rasterized=True # rasterize colored areas (pcolormesh and colorbar)
 (DIR) diff --git a/python/halfshear-imper-cyclic-cont.sh b/python/halfshear-imper-cyclic-cont.sh
       t@@ -0,0 +1,49 @@
       +#!/bin/sh
       +#PBS -N hs-imper-cyc
       +#PBS -l nodes=1:ppn=3
       +#PBS -l walltime=48:00:00
       +#PBS -q qfermi
       +#PBS -M adc@geo.au.dk
       +#PBS -m abe
       +
       +# Grendel CUDA
       +source /com/gcc/4.6.4/load.sh
       +CUDAPATH=/com/cuda/5.5.22
       +export PATH=$HOME/bin:$PATH
       +export PATH=$CUDAPATH/bin:$PATH
       +export LD_LIBRARY_PATH=$CUDAPATH/lib64:$CUDAPATH/lib:$LD_LIBRARY_PATH
       +
       +# Manually installed Python modules
       +export PYTHONPATH=$HOME/.local/lib/python:$PYTHONPATH
       +export PYTHONPATH=$HOME/.local/lib64/python:$PYTHONPATH
       +
       +# Manually installed Python
       +#export PATH=/home/adc/.local/bin:$PATH
       +
       +# Shared Python2.7
       +PYTHON=/com/python/2.7.6
       +export PYTHONPATH=$PYTHON/lib:$PYTHONPATH
       +export PATH=$PYTHON/bin:$PATH
       +
       +echo "`whoami`@`hostname`"
       +echo "Start at `date`"
       +
       +ORIGDIR=/home/adc/code/sphere
       +#WORKDIR=/scratch/$PBS_JOBID
       +WORKDIR=$ORIGDIR
       +
       +#cp -r $ORIGDIR/* $WORKDIR
       +
       +cd $WORKDIR
       +nvidia-smi
       +rm CMakeCache.txt
       +cmake . && make
       +cd python
       +python continue_sim.py halfshear-darcy-sigma0=80000.0-k_c=3.5e-15-mu=1.04e-07-ss=10000.0-A=60000.0-f=0.2 1 0 &
       +python continue_sim.py halfshear-darcy-sigma0=80000.0-k_c=3.5e-15-mu=1.04e-07-ss=10000.0-A=62500.0-f=0.2 1 1 &
       +python continue_sim.py halfshear-darcy-sigma0=80000.0-k_c=3.5e-15-mu=1.04e-07-ss=10000.0-A=65000.0-f=0.2 1 2 &
       +wait
       +
       +#cp $WORKDIR/output/* $ORIGDIR/output/
       +
       +echo "End at `date`"
 (DIR) diff --git a/python/halfshear-imper-cyclic.sh b/python/halfshear-imper-cyclic.sh
       t@@ -0,0 +1,50 @@
       +#!/bin/sh
       +#PBS -N hs-imper-cyc
       +#PBS -l nodes=1:ppn=3
       +#PBS -l walltime=48:00:00
       +#PBS -q qfermi
       +#PBS -M adc@geo.au.dk
       +#PBS -m abe
       +
       +# Grendel CUDA
       +source /com/gcc/4.6.4/load.sh
       +CUDAPATH=/com/cuda/5.5.22
       +export PATH=$HOME/bin:$PATH
       +export PATH=$CUDAPATH/bin:$PATH
       +export LD_LIBRARY_PATH=$CUDAPATH/lib64:$CUDAPATH/lib:$LD_LIBRARY_PATH
       +
       +# Manually installed Python modules
       +export PYTHONPATH=$HOME/.local/lib/python:$PYTHONPATH
       +export PYTHONPATH=$HOME/.local/lib64/python:$PYTHONPATH
       +
       +# Manually installed Python
       +#export PATH=/home/adc/.local/bin:$PATH
       +
       +# Shared Python2.7
       +PYTHON=/com/python/2.7.6
       +export PYTHONPATH=$PYTHON/lib:$PYTHONPATH
       +export PATH=$PYTHON/bin:$PATH
       +
       +echo "`whoami`@`hostname`"
       +echo "Start at `date`"
       +
       +ORIGDIR=/home/adc/code/sphere
       +#WORKDIR=/scratch/$PBS_JOBID
       +WORKDIR=$ORIGDIR
       +
       +#cp -r $ORIGDIR/* $WORKDIR
       +
       +cd $WORKDIR
       +nvidia-smi
       +rm CMakeCache.txt
       +cmake . && make
       +cd python
       +# $ ipython halfshear-darcy-stress-starter.py <device> <fluid> <c_phi> <k_c> <sigma_0> <mu> <shear_stress>
       +python halfshear-darcy-stress-mod-starter.py 0 1 1.0 3.5e-15 80000.0 1.040e-7 10000.0 60000.0 0.2 1.0 &
       +python halfshear-darcy-stress-mod-starter.py 1 1 1.0 3.5e-15 80000.0 1.040e-7 10000.0 62500.0 0.2 1.0 &
       +python halfshear-darcy-stress-mod-starter.py 2 1 1.0 3.5e-15 80000.0 1.040e-7 10000.0 65000.0 0.2 1.0 &
       +wait
       +
       +#cp $WORKDIR/output/* $ORIGDIR/output/
       +
       +echo "End at `date`"