-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexec.sh
31 lines (26 loc) · 816 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
#!/bin/bash
## durations
# maximum duration (in free-fall time)
export timemax=5.0e+2
# maximum duration (in wall time [s])
export wtimemax=6.0e+2
# logging rate (in free-fall time)
export log_rate=1.0e+0
# save rate (in free-fall time)
export save_rate=5.0e+1
# save after (in free-fall time)
export save_after=0.0e+0
# statistics collection rate (in free-fall time)
export stat_rate=1.0e+0
# statistics collection after (in free-fall time)
export stat_after=4.0e+2
## safety factors to decide time step size
## for advective and diffusive terms
export coef_dt_adv=1.
export coef_dt_dif=1.
## physical parameters
export Re=80.
export Pr=1.
# name of directory in which initial conditions (incl. domain size etc.) are stored
dirname_ic=initial_condition/output
mpirun -n 2 --oversubscribe ./a.out ${dirname_ic}