Added input files for piston displacement at example/Piston

This commit is contained in:
James McClure 2015-06-06 15:03:40 -04:00
parent c93ee0ed0a
commit 2c9a9407c6
3 changed files with 37 additions and 0 deletions

6
example/Piston/Color.in Normal file
View File

@ -0,0 +1,6 @@
0.7
1.0e-2 0.95 -0.7
0.7
0.0 0.0 0.0
0 1 1.01 0.99
50000 20000 1e-5

4
example/Piston/Domain.in Normal file
View File

@ -0,0 +1,4 @@
1 1 4
100 100 100
229
1.0 1.0 1.0

27
example/Piston/Piston.sh Normal file
View File

@ -0,0 +1,27 @@
#!/bin/bash
# This runscript is for the Virginia Tech supercomputer HokieSpeed
#PBS -l walltime=72:00:00
# Set the number of nodes, and the number of processors per node (generally should be 6)
#PBS -l nodes=1:ppn=12
##PBS -l nodes=hs195
#PBS -A arcadm
# Access group, queue, and accounting project
#PBS -W group_list=arcadm
#PBS -q large_q
module purge
module load gcc cuda mvapich2/1.9rc1
cd $PBS_O_WORKDIR
cat $PBS_NODEFILE > hostfile
echo "------------------------------------------"
echo "Running LBM using MPI!"
echo "Number of processors = " $PBS_NP
echo "------------------------------------------"
mpirun -np 4 ~/install-LBPM-WIA/bin/lb2_Color_wia_mpi >
exit;