-
Notifications
You must be signed in to change notification settings - Fork 2
/
input.i3d
113 lines (88 loc) · 2.91 KB
/
input.i3d
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
! -*- mode: f90 -*-
!===================
&BasicParam
!===================
! Flow type (1=Lock-exchange, 2=TGV, 3=Channel, 4=Periodic hill, 5=Cylinder, 6=dbg-schemes)
itype = 2
! Domain decomposition
p_row=0 ! Row partition
p_col=0 ! Column partition
! Mesh
nx=513 ! X-direction nodes
ny=513 ! Y-direction nodes
nz=513 ! Z-direction nodes
istret = 0 ! y mesh refinement (0:no, 1:center, 2:both sides, 3:bottom)
beta = 0.259065151 ! Refinement parameter (beta)
! Domain
xlx = 3.14159265358979 ! Lx (Size of the box in x-direction)
yly = 3.14159265358979 ! Ly (Size of the boy in y-direction)
zlz = 3.14159265358979 ! Lz (Size of the boz in z-direction)
! Boundary conditions
nclx1 = 1
nclxn = 1
ncly1 = 1
nclyn = 1
nclz1 = 1
nclzn = 1
! Flow parameters
iin = 1 ! Inflow conditions (1: classic, 2: turbinit)
re = 1600. ! nu=1/re (Kinematic Viscosity)
u1 = 8. ! u1 (max velocity) (for inflow condition)
u2 = 8. ! u2 (min velocity) (for inflow condition)
init_noise = 0.0 ! Turbulence intensity (1=100%) !! Initial condition
inflow_noise = 0.0 ! Turbulence intensity (1=100%) !! Inflow condition
! Time stepping
dt = 0.00005 ! Time step
ifirst = 1 ! First iteration
ilast = 100 ! Last iteration
! Enable modelling tools
ilesmod=0 ! if 0 then DNS
iscalar=0 ! If iscalar=0 (no scalar), if iscalar=1 (scalar)
iibm=0 ! Flag for immersed boundary method
! Enable io
ivisu=1 ! Store snapshots
ipost=1 ! Do online postprocessing
/End
!====================
&NumOptions
!====================
! Spatial derivatives
ifirstder = 4 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact)
isecondder = 4 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact, 5->hyperviscous 6th)
! Time scheme
itimescheme = 2 ! Time integration scheme (1->Euler,2->AB2, 3->AB3, 4->AB4,5->RK3,6->RK4)
! Dissipation control
nu0nu = 4.0 ! Ratio between hyperviscosity/viscosity at nu
cnu = 0.44 ! Ratio between hypervisvosity at k_m=2/3pi and k_c= pi
/End
!=================
&InOutParam
!=================
! Basic I/O
irestart = 0 ! Read initial flow field ?
icheckpoint = 500 ! Frequency for writing backup file
ioutput = 1000 ! Frequency for visualization
nvisu = 1 ! Size for visualisation collection
/End
!=================
&Statistics
!=================
spinup_time = 0 ! Time after which statistics are collected (in seconds)
nstat = 1 ! Size arrays for statistic collection
/End
!#######################
! OPTIONAL PARAMETERS
!#######################
!=================
&LESModel
!=================
jles=1
smagcst=0.1
walecst=0.5
iwall=0
/End
!=================
&CASE
!=================
tgv_twod = .FALSE.
/End