|
| 1 | +! -*- mode: f90 -*- |
| 2 | +!=================== |
| 3 | +&BasicParam |
| 4 | +!=================== |
| 5 | +! Flow type (1=Lock-exchange, 2=TGV, 3=Channel, 4=Periodic hill, 5=Cylinder, 6=dbg-schemes, 9=Turbulent-Boundary-Layer) |
| 6 | +itype = 15 |
| 7 | + |
| 8 | +! Domain decomposition |
| 9 | +p_row = 0 ! Row partition |
| 10 | +p_col = 0 ! Column partition |
| 11 | + |
| 12 | +! Mesh |
| 13 | +nx = 96 ! X-direction nodes |
| 14 | +ny = 129 ! Y-direction nodes |
| 15 | +nz = 32 ! Z-direction nodes |
| 16 | +istret = 3 ! y mesh refinement (0:no, 1:center, 2:both sides, 3:bottom) |
| 17 | +beta = 0.889579572304913 ! Refinement parameter (beta) |
| 18 | + |
| 19 | +! Domain |
| 20 | +xlx = 30.0 ! Lx (Size of the box in x-direction) |
| 21 | +yly = 30.0 ! Ly (Size of the box in y-direction) |
| 22 | +zlz = 10.0 ! Lz (Size of the box in z-direction) |
| 23 | + |
| 24 | +! Boundary conditions |
| 25 | +nclx1 = 0 |
| 26 | +nclxn = 0 |
| 27 | +ncly1 = 2 |
| 28 | +nclyn = 2 |
| 29 | +nclz1 = 0 |
| 30 | +nclzn = 0 |
| 31 | +FreeStream = 0 ! 0 FreeStream off 1 FreeStream on |
| 32 | + |
| 33 | +! Flow parameters |
| 34 | +re = 1000 ! nu=1/re (Kinematic Viscosity) |
| 35 | +iin = 2 ! Inflow conditions (1: classic, 2: turbinit) |
| 36 | +u1 = 1.0 ! u1 (max velocity) (for inflow condition) |
| 37 | +u2 = 1.0 ! u2 (min velocity) (for inflow condition) |
| 38 | +init_noise = 0.02 ! Turbulence intensity (1=100%) !! Initial condition |
| 39 | +inflow_noise = 0.0 ! Turbulence intensity (1=100%) !! Inflow condition |
| 40 | + |
| 41 | +! Time stepping |
| 42 | +dt = 0.004 ! Time step |
| 43 | +ifirst = 1 ! First iteration |
| 44 | +ilast = 100 ! Last iteration |
| 45 | + |
| 46 | +! Enable modelling tools |
| 47 | +ilesmod = 0 ! if 0 then DNS |
| 48 | + |
| 49 | +/End |
| 50 | + |
| 51 | +!==================== |
| 52 | +&NumOptions |
| 53 | +!==================== |
| 54 | +! Spatial derivatives |
| 55 | +ifirstder = 4 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact) |
| 56 | +isecondder = 5 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact, 5->hyperviscous 6th) |
| 57 | +ipinter = 2 ! interpolation scheme (1: classic, 2: optimized, 3: optimized agressive) |
| 58 | + |
| 59 | +! Time scheme |
| 60 | +iimplicit = 2 ! Implicit scheme for y-diffusive term |
| 61 | +itimescheme = 3 ! Time integration scheme |
| 62 | + |
| 63 | +! Dissipation control |
| 64 | +nu0nu = 4.0 ! Ratio between hyperviscosity/viscosity at nu |
| 65 | +cnu = 0.44 ! Ratio between hypervisvosity at k_m=2/3pi and k_c= pi |
| 66 | + |
| 67 | +/End |
| 68 | + |
| 69 | +!================= |
| 70 | +&InOutParam |
| 71 | +!================= |
| 72 | +! Basic I/O |
| 73 | +irestart = 0 ! Read initial flow field ? |
| 74 | +icheckpoint = 100 ! Frequency for writing backup file |
| 75 | +ioutput = 50 ! Frequency for visualization |
| 76 | +ilist = 25 ! Frequency for writing to screen |
| 77 | +nvisu = 1 ! Size for visualisation collection |
| 78 | + |
| 79 | +/End |
| 80 | + |
| 81 | +!================= |
| 82 | +&Statistics |
| 83 | +!================= |
| 84 | +nstat = 1 ! Size arrays for statistic collection |
| 85 | +initstat = 100000 ! Time steps after which statistics are collected |
| 86 | + |
| 87 | +/End |
| 88 | + |
| 89 | +!############################# |
| 90 | +! OPTIONAL PARAMETERS |
| 91 | +!############################# |
| 92 | +!================ |
| 93 | +&LESModel |
| 94 | +!================ |
| 95 | +jles = 0 ! LES Model (1: Phys Smag, 2: Phys WALE, 3: Phys dyn. Smag, 4: iSVV, 5: dyn SEV) |
| 96 | + |
| 97 | +/End |
| 98 | + |
| 99 | +!############################# |
| 100 | +! Theta dot Computation |
| 101 | +!############################# |
| 102 | +!================ |
| 103 | +&ThetaDotModel |
| 104 | +!================ |
| 105 | +jtheta_dot = 0 ! Theta dot Model (0: Biau, 1: Andy) |
| 106 | +jthickness = 0 ! Model based on (0: Momentum Thickness, 1: Displacement Thickness) |
| 107 | +Method_FT = 1 ! (0: old, 1: New) |
| 108 | +K_theta = 1.0 ! K coefficient for e(theta) |
| 109 | +H_12 = 2.4144 ! The ratio of displacement thickness to momentum thickness (laminar flow) |
| 110 | + |
| 111 | +/End |
| 112 | + |
| 113 | +!############################# |
| 114 | +! Blowing |
| 115 | +!############################# |
| 116 | +!================ |
| 117 | +&BlowingModel |
| 118 | +!================ |
| 119 | +Blowing = 0 ! Blowing (0: Off, 1: On) |
| 120 | +A_Blowing = 0.0 ! Blowing Power |
| 121 | +Xst_Blowing = 17.5 ! Start Control Region |
| 122 | +Xen_Blowing = 22.5 ! End Control Region |
| 123 | +Range_Smooth = 0.5 ! Adjust this value to control the smoothness of the transition |
| 124 | + |
| 125 | +/End |
| 126 | + |
| 127 | +!############################# |
| 128 | +! Adverse Pressure Gradient |
| 129 | +!############################# |
| 130 | +!================ |
| 131 | +&AdversePresGrad |
| 132 | +!================ |
| 133 | +APG = 0 ! Adverse Pressure Gradient (0: Off, 1: V1 (APG_DpDX), 2:V2 (Beta) (not working at the moment) ) |
| 134 | +APG_DpDX = 2.e-3 ! Pressure gradient |
| 135 | +APG_Beta = 0.01 ! Beta |
| 136 | + |
| 137 | +/End |
| 138 | + |
| 139 | +!############################# |
| 140 | +! Probe for Spectra |
| 141 | +!############################# |
| 142 | +!================ |
| 143 | +&ProbeSpectra |
| 144 | +!================ |
| 145 | +Pro_Spectra = 0 ! Probe (0: Off, 1: On) |
| 146 | +X_Pro_Spectra = 20 ! X Location |
| 147 | +Z_Pro_Spectra = 7.5 ! Z Location |
| 148 | + |
| 149 | +/End |
| 150 | + |
| 151 | +&CASE |
| 152 | +/End |
0 commit comments