-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAllrun
More file actions
27 lines (20 loc) · 686 Bytes
/
Allrun
File metadata and controls
27 lines (20 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# generate mesh
runApplication blockMesh -region fluid
restore0Dir
# map temperature profile
runApplication setFieldfromTable -region fluid
#cp 0/fluid/T.gz 0/fluid/T.water.gz
#cp 0/fluid/T.gz 0/fluid/T.air.gz
mv 0 0.00032
#runApplication setFields -region fluid
runApplication initAlphaField -region fluid
touch scrivenWedge.foam
runApplication decomposePar -allRegions
#sbatch --exclude=cnib4 ./Allrun.slurm
sbatch ./Allrun.slurm
#runApplication $(getApplication)
#------------------------------------------------------------------------------