-
Notifications
You must be signed in to change notification settings - Fork 1
/
exec.sh
42 lines (35 loc) · 973 Bytes
/
exec.sh
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
## directory name containing flow fields to restart
# export dirname_restart="output/save/stepxxxxxxxxxx"
## durations
# maximum duration (in free-fall time)
export timemax=1.0e+3
# maximum duration (in wall time [s])
export wtimemax=6.0e+2
# logging rate (in free-fall time)
export log_rate=1.0e+0
# logging after (in free-fall time)
export log_after=0.0e+0
# save rate (in free-fall time)
export save_rate=1.0e+3
# save after (in free-fall time)
export save_after=0.0e+0
# statistics collection rate (in free-fall time)
export stat_rate=1.0e-1
# statistics collection after (in free-fall time)
export stat_after=2.0e+3
## domain
# domain lengths
export ly=1.0e+0
# number of grids
export itot=32
export jtot=32
## dt safe factors, adv and dif
export safefactor_adv=0.75
export safefactor_dif=0.75
## physical parameters
export Re=2.334e+3
# export Fr=1.e+0
## external forcing in y direction
export extfrcy=2.337e-4
mpirun -n 1 --oversubscribe ./a.out