yuninw commited on
Commit
f63d7aa
·
verified ·
1 Parent(s): c22ca2e

Small Wing case in NEK5000

Browse files
.gitattributes CHANGED
@@ -227,3 +227,14 @@ TCFmini_3D_Re180/restart_files/init_6/rs6phill0.f00002 filter=lfs diff=lfs merge
227
  TCFmini_3D_Re180/restart_files/init_6/rs6phill0.f00003 filter=lfs diff=lfs merge=lfs -text
228
  DRA2303Jet_3D_Re400000_Ma02/grid.hdf5 filter=lfs diff=lfs merge=lfs -text
229
  DRA2303Jet_3D_Re400000_Ma02/restart_.hdf5 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
227
  TCFmini_3D_Re180/restart_files/init_6/rs6phill0.f00003 filter=lfs diff=lfs merge=lfs -text
228
  DRA2303Jet_3D_Re400000_Ma02/grid.hdf5 filter=lfs diff=lfs merge=lfs -text
229
  DRA2303Jet_3D_Re400000_Ma02/restart_.hdf5 filter=lfs diff=lfs merge=lfs -text
230
+ NACA4412_3D_Re75000_AOA5/mask_small_wing0.f00002 filter=lfs diff=lfs merge=lfs -text
231
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00001 filter=lfs diff=lfs merge=lfs -text
232
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00002 filter=lfs diff=lfs merge=lfs -text
233
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00003 filter=lfs diff=lfs merge=lfs -text
234
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00004 filter=lfs diff=lfs merge=lfs -text
235
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00005 filter=lfs diff=lfs merge=lfs -text
236
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00006 filter=lfs diff=lfs merge=lfs -text
237
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00007 filter=lfs diff=lfs merge=lfs -text
238
+ NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00008 filter=lfs diff=lfs merge=lfs -text
239
+ NACA4412_3D_Re75000_AOA5/small_wing.ma2 filter=lfs diff=lfs merge=lfs -text
240
+ NACA4412_3D_Re75000_AOA5/small_wing.re2 filter=lfs diff=lfs merge=lfs -text
NACA4412_3D_Re75000_AOA5/forparam.i ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 0.1
2
+ 0.0665
3
+ 0.1
4
+ -0.0288
5
+ 0.008
6
+ 0.002
7
+ 0.008
8
+ 10.0
9
+ 20.0
10
+
NACA4412_3D_Re75000_AOA5/makefile_usr.inc ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ INC_SRC := ./inc_src
2
+ STAT_SRC := ./stats
3
+ DRL_SRC := ./drl
4
+ $(OBJDIR)/statistics_2D.o :$(STAT_SRC)/statistics_2D.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
5
+ $(OBJDIR)/statistics_2DIO.o :$(STAT_SRC)/statistics_2DIO.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
6
+ $(OBJDIR)/statistics_2D_usr.o :$(STAT_SRC)/statistics_2D_usr.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
7
+ $(OBJDIR)/statistics_2D_debug.o :$(STAT_SRC)/statistics_2D_debug.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
8
+ $(OBJDIR)/time_series.o :$(STAT_SRC)/time_series.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
9
+ $(OBJDIR)/time_seriesIO.o :$(STAT_SRC)/time_seriesIO.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
10
+ $(OBJDIR)/pts_redistribute.o :$(STAT_SRC)/pts_redistribute.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
11
+
12
+
13
+ $(OBJDIR)/err_est.o :./err_est.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
14
+ $(OBJDIR)/rt_filter.o :./rt_filter.f; $(F77) -c $(FL2) -I$(INC_SRC)/ $< -o $@
15
+ $(OBJDIR)/uparam.o :./uparam.f; $(F77) -c $(FL2) -I$(INC_SRC)/ $< -o $@
16
+ $(OBJDIR)/chkpoint.o :./chkpoint.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
17
+ $(OBJDIR)/IO_tools.o :./IO_tools.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
18
+ $(OBJDIR)/tripf.o :./tripf.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
19
+ $(OBJDIR)/misc.o :./misc.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
20
+
21
+ $(OBJDIR)/drl_main.o :$(DRL_SRC)/drl_main.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
22
+ $(OBJDIR)/drl_init.o :$(DRL_SRC)/drl_init.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
23
+ $(OBJDIR)/drl_reward.o :$(DRL_SRC)/drl_reward.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
24
+ $(OBJDIR)/drl_state.o :$(DRL_SRC)/drl_state.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
25
+ $(OBJDIR)/drl_action.o :$(DRL_SRC)/drl_action.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
26
+ $(OBJDIR)/drl_IO.o :$(DRL_SRC)/drl_IO.f; $(F77) -c $(FL2) -I$(INC_SRC) $< -o $@
NACA4412_3D_Re75000_AOA5/mask_small_wing0.f00002 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba367ed4fcce2dbbc1ff69f24e8cde9980d48eed17addf310b31608d39f67326
3
+ size 43722136
NACA4412_3D_Re75000_AOA5/readme.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Simulation complie on a small wing coarse mesh
2
+
3
+
4
+ ## File Notation
5
+ ### From SmallWing
6
+ + *small_wing.ma2*
7
+ + *small_wing.re2*
8
+ + *small_wing.rea*
9
+ + *small_wing.restart*
10
+ + *SIZE*
11
+ + *rs8small_wing0.f00001*
12
+ + *rs8small_wing0.f00002*
13
+ + *rs8small_wing0.f00003*
14
+ + *rs8small_wing0.f00004*
15
+
16
+ ### From NACA
17
+ + *naca_wing.map*
18
+ + *naca_wing.usr*
19
+ + *naca_wing.wall*
20
+ + *naca_wing.f*
21
+ + Everything else
22
+
23
+ ## Process of running a simulation
24
+
25
+ 1. Check the parameter definiation
26
+
27
+ + *SIZE*: The basic dimension and run-time paramters
28
+ + *.rea*: The NEK parameters in Physics and for simulation setup
29
+ + *.usr*: Set the boundary and initial condition in function
30
+ + *.re2*: Geometry file of geometry
31
+ + *.map*: Geometry file: The No.nodes
32
+ + *.ma2*: Geometry file of mesh
33
+ + *.wall*: Wall definiation and global elements
34
+ + *.restart*: A flag file to have the restart file
35
+
36
+ 2. Comilpe:
37
+
38
+ ./makenek clean
39
+
40
+ Then:
41
+
42
+ ./makenek small_wing
43
+
44
+ 3. Run simulation:
45
+
46
+ bash lcRun.sh
47
+
48
+
49
+ 4. To visualize the results, modify the *.nek5000* file, then run:
50
+
51
+ cd la2_data
52
+
53
+ then open in ParaView
54
+
55
+ paraview --data=small_wing.nek5000
56
+
57
+
58
+
59
+ ## Logs
60
+
61
+ ### Oct 5
62
+ Solved:
63
+ 1. In *makenek* file, for genertic compiler flags, use the commands:
64
+
65
+ G="-I./inc_src -mcmodel=large -std=legacy"
66
+
67
+ 2.
68
+
69
+
70
+ ### Oct 6
71
+
72
+ Solved:
73
+ 1. Correct the restart issue, please use *small_wing* for the name when compiling.
74
+
75
+ To DO:
76
+ 1. Debugging the error of statistics showing the layer
77
+
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:affd8c775247d8a83419e45f206549d3e4e8faa0380493cf32ce4b262204c75b
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00002 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dad29fdf92e149691b9e947e569c496f41fd447765b112c6befd3772a1bc38c8
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00003 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dbdc6c162c6e4f3c68b5cf31b2d193cd3d01b4f71c002fd7178d77d7c8068b1
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00004 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76bd98fb597f2fc6b8df1691dd9f1b3e40a80af48c3901e0627b0bea111fabfd
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00005 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:997eee9ab8c1ed7a91696f12dd20d0b006f8a30e9789d13eb5ac648a83132d20
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00006 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d4aef4b71b989afa83509b99476a1de353abbbf1b4cbc4f478ef8430b073026
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00007 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:870adb207881a2a4dd034652be3968a2193e435ffc7c532cf9edf86a518941c3
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/restart_files/init_1/rs8small_wing0.f00008 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6fd6437a749dfdf079ff7d211d8abb96e79654f289135bde540ce1beb810dc6
3
+ size 38262136
NACA4412_3D_Re75000_AOA5/small_wing.ma2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c359da0f3f19ed502ccce23cd4b4f25d409f284a6eaf7624f722fe3628e65a2
3
+ size 378136
NACA4412_3D_Re75000_AOA5/small_wing.map ADDED
The diff for this file is too large to render. See raw diff
 
NACA4412_3D_Re75000_AOA5/small_wing.re2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6895ed5bbbaf660651975326555b844d995c8fdc3615aa86b4f249a0af2ab8
3
+ size 2637572
NACA4412_3D_Re75000_AOA5/small_wing.rea ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ****** PARAMETERS *****
2
+ 2.610000 NEKTON VERSION
3
+ 3 DIMENSIONAL RUN
4
+ 118 PARAMETERS FOLLOW
5
+ 1.000000E+00 p001 DENSITY
6
+ -0.750000E+05 p002 ==> Re=75k
7
+ 0.000000E+00 p003
8
+ 0.000000E+00 p004
9
+ 0.000000E+00 p005
10
+ 0.000000E+00 p006 FREE
11
+ 1.00000 p007 RHOCP
12
+ 1.00000 p008 CONDUCT
13
+ 0.000000E+00 p009
14
+ 00.000 p010 FINTIME
15
+ 5.000000E+06 p011 NSTEPS
16
+ -1.500000E-05 p012 DT
17
+ 20.0000 p013 IOCOMM
18
+ 0.000000 p014 IOTIME
19
+ 5.000000E+00 p015 IOSTEP
20
+ 0.000000E+00 p016
21
+ 0.000000E+00 p017
22
+ 0.500000E-01 p018 GRID < 0 --> # cells on screen
23
+ -1.00000 p019 INTYPE
24
+ 3.00000 p020 (default N, for postnek only)
25
+ 1.000000E-06 p021 DIVERGENCE
26
+ 1.000000E-08 p022 HELMHOLTZ
27
+ 0.000000E+00 p023 NPSCAL
28
+ 1.000000E-02 p024 TOLREL
29
+ 1.000000E-01 p025 TOLABS
30
+ 2.000000E+00 p026 COURANT/NTAU
31
+ 3.00000 p027 TORDER
32
+ 0.000000E+00 p028 TORDER: mesh velocity (0: p28=p27)
33
+ 0.000000E+00 p029 = magnetic visc if > 0, = -1/Rm if < 0
34
+ 0.000000E+00 p030 > 0 ==> properties set in uservp()
35
+ 0.000000E+00 p031 NPERT: #perturbation modes
36
+ 0.000000E+00 p032 #BCs in re2 file, if > 0
37
+ 0.000000E+00 p033 FREE
38
+ 0.000000E+00 p034 FREE
39
+ 0.000000E+00 p035 FREE
40
+ 0.000000E+00 p036 XMAGNET
41
+ 0.000000E+00 p037 NGRIDS
42
+ 0.000000E+00 p038 NORDER2
43
+ 0.000000E+00 p039 NORDER3
44
+ 0.000000E+00 p040 FREE
45
+ 0.000000E+00 p041 1-->multiplicative SEMG
46
+ 0.000000E+00 p042 0=gmres/1=pcg
47
+ 0.000000E+00 p043 0=semg/1=schwarz
48
+ 0.000000E+00 p044 0=E-based/1=A-based prec.
49
+ 0.000000E+00 p045 Relaxation factor for DTFS
50
+ 0.000000E+00 p046 reserved
51
+ 0.000000E+00 p047 vnu: mesh matieral prop.
52
+ 0.000000E+00 p048 FREE
53
+ 0.000000E+00 p049 ?
54
+ 0.000000E+00 p050 FREE
55
+ 5.000000E+01 p051 YW: occupied by istount
56
+ 0.000000E+00 p052 IOHIS
57
+ 0.000000E+00 p053 FREE
58
+ 0.000000E+00 p054 fixed flow rate dir: |p54|=1,2,3=x,y,z
59
+ 0.000000E+00 p055 vol.flow rate (p54>0) or Ubar (p54<0)
60
+ 0.000000E+00 p056 FREE
61
+ 0.000000E+00 p057 FREE
62
+ 0.000000E+00 p058 FREE
63
+ 0.000000E+00 p059 !=0 --> full Jac. eval. for each el.
64
+ 0.000000E+00 p060 !=0 --> init. velocity to small nonzero
65
+ 0.000000E+00 p061 FREE
66
+ 0.000000E+00 p062 >0 --> force byte_swap for output
67
+ 8.000000E+00 p063 =8 --> force 8-byte output
68
+ 0.000000E+00 p064 =1 --> perturbation restart
69
+ 0.000000E+00 p065 #iofiles (eg, 0 or 64); <0 --> sep. dirs
70
+ 6.000000E+00 p066 output : <0=ascii, else binary
71
+ 6.000000E+00 p067 restart: <0=ascii, else binary
72
+ 0.000000E+00 p068
73
+ 100.0000E+00 p069 UPRM_PRB
74
+ 5.000000E+00 p070 L2FREQ Write the La2file
75
+ 0.000000E+00 p071 FIXGEOM
76
+ 0.000000E-05 p072 NEW_DT
77
+ 0.000000E+00 p073 FREE
78
+ 0.000000E+00 p074 verbose Helmholtz
79
+ 2.500000E+03 p075 CHKPTSTEP pts file
80
+ 1.000000E+00 p076 IFCHKPTRST
81
+ 0.00000E+00 p077 FREE
82
+ 2.000000E+00 p078 RT_KUT
83
+ -2000.000E+00 p079 RT_CHI
84
+ 1.000000E+00 p080 RT_WGHT
85
+ 0.000000E+00 p081 RT_IFBOYD
86
+ 0.000000E+00 p082 ?
87
+ 0.000000E+00 p083 FREE
88
+ 0.000000E+00 p084 !=0 --> sets initial timestep if p12>0
89
+ 0.000000E+00 p085 dt ratio if p84 !=0, for timesteps>0
90
+ 0.000000E+00 p086 reserved
91
+ 1.000000E+01 p087 STAT_COMP Time-series frequency
92
+ 5.000000E+00 p088 STAT_OUTP Save statistics frequency
93
+ 3.000000E+00 p089 YW: DRL_STEPS
94
+ 0.000000E+00 p090 YW: If ZNMF (<=0 <==> OFF)
95
+ 0.000000E+00 p091 Free
96
+ 0.000000E+00 p092 Free
97
+ 40.00000E+00 p093 Number of previous pressure solns saved
98
+ 20.00000E+00 p094 start projecting velocity after p94 step
99
+ 20.00000E+00 p095 start projecting pressure after p95 step
100
+ 0.000000E+00 p096 FREE
101
+ 0.000000E+00 p097 FREE
102
+ 0.000000E+00 p098 FREE
103
+ 4.000000E+00 p099 dealiasing: <0--> off/3--> old/4--> new
104
+ 0.000000E+00 p100 RESERVED?
105
+ 0.000000E+00 p101 Number of additional modes to filter
106
+ 0.000000E+00 p102 Dump out divergence at each time step
107
+ 0.000000E-00 p103 weight of stabilizing filter (.01)
108
+ 0.000000E+00 p104 NOT MENTIONED
109
+ 0.000000E+00 p105 NOT MENTIONED
110
+ 0.000000E+00 p106 NOT MENTIONED
111
+ 0.000000E+00 p107 if !=0, add to h2 in sethlm
112
+ 0.000000E+00 p108 NOT MENTIONED
113
+ 0.000000E+00 p109 NOT MENTIONED
114
+ 0.000000E+00 p110 NOT MENTIONED
115
+ 0.000000E+00 p111 NOT MENTIONED
116
+ 0.000000E+00 p112 NOT MENTIONED
117
+ 0.000000E+00 p113 NOT MENTIONED
118
+ 0.000000E+00 p114 NOT MENTIONED
119
+ 0.000000E+00 p115 NOT MENTIONED
120
+ 0.000000E+00 p116 =nelx for gtp solver
121
+ 0.000000E+00 p117 =nely for gtp solver
122
+ 0.000000E+00 p118 =nelz for gtp solver
123
+ 4 Lines of passive scalar data follows2 CONDUCT; 2RHOCP
124
+ 1.00000 1.00000 1.00000 1.00000 1.00000
125
+ 1.00000 1.00000 1.00000 1.00000
126
+ 1.00000 1.00000 1.00000 1.00000 1.00000
127
+ 1.00000 1.00000 1.00000 1.00000
128
+ 13 LOGICAL SWITCHES FOLLOW
129
+ T IFFLOW
130
+ F IFHEAT
131
+ T IFTRAN
132
+ T F F F F F F F F F F IFNAV & IFADVC (convection in P.S. fields)
133
+ F F T T T T T T T T T T IFTMSH (IF mesh for this field is T mesh)
134
+ F IFAXIS
135
+ F IFSTRS
136
+ F IFSPLIT
137
+ F IFMGRID
138
+ F IFMODEL
139
+ F IFKEPS
140
+ F IFMVBD
141
+ F IFCHAR
142
+ 5.00000 5.00000 -2.75000 -2.75000 XFAC,YFAC,XZERO,YZERO
143
+ **MESH DATA** 6 lines are X,Y,Z;X,Y,Z. Columns corners 1-4;5-8
144
+ -10500 3 10500 NEL,NDIM,NELV
145
+ 0 PRESOLVE/RESTART OPTIONS *****
146
+ 7 INITIAL CONDITIONS *****
147
+ C Default
148
+ C Default
149
+ C Default
150
+ C Default
151
+ C Default
152
+ C Default
153
+ C Default
154
+ ***** DRIVE FORCE DATA ***** BODY FORCE, FLOW, Q
155
+ 4 Lines of Drive force data follow
156
+ C
157
+ C
158
+ C
159
+ C
160
+ ***** Variable Property Data ***** Overrrides Parameter data.
161
+ 1 Lines follow.
162
+ 0 PACKETS OF DATA FOLLOW
163
+ ***** HISTORY AND INTEGRAL DATA *****
164
+ 0 POINTS. Hcode, I,J,H,IEL
165
+ ***** OUTPUT FIELD SPECIFICATION *****
166
+ 6 SPECIFICATIONS FOLLOW
167
+ T COORDINATES
168
+ T VELOCITY
169
+ T PRESSURE
170
+ F TEMPERATURE
171
+ F TEMPERATURE GRADIENT
172
+ 0 PASSIVE SCALARS
173
+ ***** OBJECT SPECIFICATION *****
174
+ 0 Surface Objects
175
+ 0 Volume Objects
176
+ 0 Edge Objects
177
+ 0 Point Objects
NACA4412_3D_Re75000_AOA5/small_wing.restart ADDED
@@ -0,0 +1 @@
 
 
1
+ 1
NACA4412_3D_Re75000_AOA5/small_wing.usr ADDED
@@ -0,0 +1,544 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ C-----------------------------------------------------------------------
2
+ C nek5000 user-file template
3
+ C
4
+ C user specified routines:
5
+ C - userbc : boundary conditions
6
+ C - useric : initial conditions
7
+ C - uservp : variable properties
8
+ C - userf : local acceleration term for fluid
9
+ C - userq : local source term for scalars
10
+ C - userchk: general purpose routine for checking errors etc.
11
+ C
12
+ C-----------------------------------------------------------------------
13
+
14
+ subroutine uservp(ix,iy,iz,eg) ! set variable properties
15
+ include 'SIZE'
16
+ include 'TOTAL'
17
+ include 'NEKUSE'
18
+
19
+ integer e,f,eg
20
+ c e = gllel(eg)
21
+
22
+ udiff = 0.0
23
+ utrans = 0.0
24
+
25
+ return
26
+ end
27
+
28
+ c-----------------------------------------------------------------------
29
+
30
+ subroutine userf(ix,iy,iz,ieg) ! set acceleration term
31
+ c
32
+ c Note: this is an acceleration term, NOT a force!
33
+ c Thus, ffx will subsequently be multiplied by rho(x,t).
34
+ c
35
+ implicit none
36
+
37
+ cc MA: include 'SIZE_DEF'
38
+ include 'SIZE'
39
+ cc MA: include 'NEKUSE_DEF'
40
+ include 'NEKUSE'
41
+ cc MA: include 'PARALLEL_DEF'
42
+ include 'PARALLEL'
43
+ include 'TRIPF'
44
+ include 'RTFILTER'
45
+ cc MA: include 'INPUT_DEF'
46
+ include 'INPUT' ! if3d
47
+
48
+ integer ix,iy,iz,ieg
49
+
50
+ integer iel,iii
51
+
52
+ real*8 lmbda,s1start,s1end,s1rise,s1max,xi1,xi2
53
+ real*8 s1fall,pi,elipse_up,alpha_rot
54
+
55
+ real*8 usponge(lx1,ly1,lz1,lelv),
56
+ & vsponge(lx1,ly1,lz1,lelv), wsponge(lx1,ly1,lz1,lelv)
57
+
58
+ real*8 uss(lx1,ly1,lz1,lelv),
59
+ & vss(lx1,ly1,lz1,lelv), wss(lx1,ly1,lz1,lelv)
60
+
61
+
62
+ COMMON / SPONGE / usponge, vsponge, wsponge, uss,vss,wss
63
+ real*8 fzt_u,fzt_d
64
+
65
+ real step ! function
66
+
67
+ c----------------------------------------
68
+
69
+ iel = gllel(ieg)
70
+ iii = (ieg-1)/(nnelx1x2(1))
71
+ fzt_u = fzt1(iz+iii*lz1,1)
72
+ fzt_d = fzt1(iz+iii*lz1,2)
73
+
74
+ ! RT filter
75
+
76
+ ffx = 0.0
77
+ ffy = 0.0
78
+ ffz = 0.0
79
+
80
+ ! Tripping and sponge
81
+ pi = 4.*atan(1.)
82
+ alpha_rot = alpha_elipse*pi/180.0
83
+
84
+ if (x.ge.6.) then ! Sponge
85
+
86
+ s1start = 4.;
87
+ s1end = 10.0;
88
+ s1rise = 0.6;
89
+ s1fall = 0.5;
90
+ s1max = 1.;
91
+
92
+ xi1 = (x-s1start)/s1rise;
93
+ xi2 = (x-s1end)/s1fall + 1;
94
+
95
+ lmbda = s1max*(step(xi1)-step(xi2))
96
+
97
+ ! ffx = lmbda*(usponge(ix,iy,iz,iel)-vx(ix,iy,iz,iel))
98
+ ! ffy = lmbda*(vsponge(ix,iy,iz,iel)-vy(ix,iy,iz,iel))
99
+ ffx = lmbda*(usponge(ix,iy,iz,iel)-ux)
100
+ ffy = lmbda*(vsponge(ix,iy,iz,iel)-uy)
101
+ if (if3d) ffz = lmbda*(0. - uz)
102
+
103
+ else ! Tripping
104
+
105
+ c elipse_up = -(((x-xup)*cos(alpha_rot) + (y-yup)*sin(alpha_rot))
106
+ c $ /radiusx)**2 - (((x-xup)*sin(alpha_rot) - (y-yup)
107
+ c $ *cos(alpha_rot)) /radiusy)**2
108
+
109
+ c ffx = 0.0
110
+ c ffy = exp(elipse_up)*fzt_u+ exp(-((x-xlo)/(2.0*radiusx))**2.0
111
+ c $ -((y-ylo)/(2.0*radiusy))**2.0)*fzt_d
112
+ c ffz = 0.0
113
+
114
+ ffx = 0.0
115
+
116
+ ffy=exp(-((x-xup)/(radiusx))**2.0
117
+ $ -((y-yup)/(radiusy))**2.0)*fzt_u
118
+ $ +exp(-((x-xlo)/(radiusx))**2.0
119
+ $ -((y-ylo)/(radiusy))**2.0)*fzt_d
120
+
121
+ ffz=0.0
122
+
123
+ c uss(ix,iy,iz,iel) = ffy
124
+
125
+ ! wsponge(ix,iy,iz,iel) = ffy
126
+ end if
127
+
128
+ c ffx = ffx + rtfx(ix,iy,iz,iel)
129
+ c ffy = ffx + rtfy(ix,iy,iz,iel)
130
+ c ffz = ffz + rtfz(ix,iy,iz,iel)
131
+
132
+
133
+ c vss(ix,iy,iz,iel)=rtfy(ix,iy,iz,iel)
134
+
135
+ if((ffy .LE. -1.0e-10) .OR. (ffy .GE. 1.0e-10)) then
136
+ ffy=ffy
137
+ else
138
+ ffy=rtfy(ix,iy,iz,iel)
139
+ endif
140
+
141
+ ffx=rtfx(ix,iy,iz,iel)
142
+ ffz=rtfz(ix,iy,iz,iel)
143
+
144
+ c wss(ix,iy,iz,iel)=ffy
145
+
146
+ return
147
+ end
148
+
149
+ c-----------------------------------------------------------------------
150
+
151
+ subroutine userq(ix,iy,iz,eg) ! set source term
152
+ include 'SIZE'
153
+ include 'TOTAL'
154
+ include 'NEKUSE'
155
+
156
+ integer e,f,eg
157
+ c e = gllel(eg)
158
+
159
+ qvol = 0.0
160
+ source = 0.0
161
+
162
+ return
163
+ end
164
+
165
+ c-----------------------------------------------------------------------
166
+
167
+
168
+ c-----------------------------------------------------------------------
169
+
170
+ subroutine userbc(ix,iy,iz,iside,ieg)
171
+ c set up user-defined boundary conditions
172
+
173
+ implicit none
174
+
175
+ include 'SIZE'
176
+ include 'NEKUSE' ! ux, uy, uz, pa, x, y, z
177
+ include 'PARALLEL'
178
+ include 'INPUT'
179
+ include 'GEOM' !unx, uny, unz
180
+ include 'TOPOL'
181
+ include 'TSTEP'
182
+
183
+ #ifdef DRL
184
+ include 'DRL'
185
+ real Vb
186
+ parameter(Vb=-0.002) ! 0.2% of uniform suction
187
+ #endif
188
+
189
+ integer ix,iy,iz,iside,ieg
190
+ real*8 usponge(lx1,ly1,lz1,lelv),
191
+ & vsponge(lx1,ly1,lz1,lelv),wsponge(lx1,ly1,lz1,lelv)
192
+ COMMON / SPONGE / usponge, vsponge,wsponge
193
+
194
+ integer iel
195
+ real U0delta,S0 ! Dong parameters
196
+ real snx,sny,snz
197
+ real vnorm, costh,sinth,delta2
198
+ real vf ! Wall-normal fluctuation velocity
199
+ real amp ! A constant amplitude
200
+ integer f
201
+ logical isfind ! IF apply the oppsition control
202
+ character*3 cbi ! BC Type
203
+ cc YW: For test
204
+ ! character*2 str
205
+ integer il ! For iteration
206
+
207
+ c======================================================
208
+ c Dong boundary condition
209
+ pa =0
210
+ U0delta = 1.
211
+
212
+ iel = gllel(ieg) ! Convert the global points order into local
213
+ f = eface1(iside)
214
+ ux = usponge(ix,iy,iz,iel) !bocoarray(index,1)
215
+ uy = vsponge(ix,iy,iz,iel) !bocoarray(index,2)
216
+ uz = wsponge(ix,iy,iz,iel)
217
+
218
+ if (cbu.eq.'o ') then
219
+ c The current definition assumes that the normal velocity
220
+ c is ux, i.e. the boundary is orthogonal to x, and the outflow
221
+ c direction is in postive x.
222
+ S0 = 0.5*(1-tanh(ux/U0delta))
223
+ if (IF3D) then
224
+ pa = -0.5*(ux*ux+uy*uy+uz*uz)*S0
225
+ else
226
+ pa = -0.5*(ux*ux+uy*uy)*S0
227
+ endif
228
+ endif
229
+ c====================================================
230
+ ! #---------- DRL Policy --------------
231
+ c====================================================
232
+ #ifdef DRL
233
+ ! Used for 2-sides oppo control
234
+ if (x.ge.(ctrlxs-0.1).and.x.le.(ctrlxe+0.1).and.
235
+ $ y.ge.ctrlys.and.y.le.ctrlye) then
236
+ c------------------------------------------------------------
237
+ ! Note that this region is a bit wider than the defined control region,
238
+ ! just ensuring we are not missing any grids.
239
+ vf = 0.0
240
+ isfind=.FALSE.
241
+ ! print *, "Amp=",amp
242
+ c------------------------------------------------
243
+ cc STEP 1: Get Wall-normal velocity fluctuations @y+=15, with a flag isfind
244
+ c------------------------------------------------
245
+ call ACTUATE_JET(vf,isfind,ix,iy,iz,iside,ieg)
246
+ c-------------------------------------------------
247
+ c-------------------------------------------------
248
+ cc STEP 2: Actuation based on the flag
249
+ c-------------------------------------------------
250
+ if (isfind) then ! IF actuate
251
+
252
+ ! find the normal projection angle
253
+ snx = body_cos(ix,iy,iz,iel)
254
+ sny = body_sin(ix,iy,iz,iel)
255
+ ! Project onto Cartesia
256
+ ! Positive <=> Blow; Negative <=> Suction n Coordinates
257
+ ux = vf*snx + Vb*snx ! Add uniform suction
258
+ uy = vf*sny + Vb*sny ! Add uniform suction
259
+ uz = 0.0
260
+ ! print *, "[NEK] FIND CTRL, ux=",ux,"uy=",uy,x,y,z
261
+ ! call record_actuate(ix,iy,iz,iel,iside,x,y,z,vf)
262
+ endif ! if isfind.eq.TRUE
263
+ c------------------------------------------------------------
264
+ endif ! (if x, y in region)
265
+ #endif
266
+ !##########################################################
267
+ ! End here
268
+
269
+
270
+ return
271
+ end subroutine userbc
272
+ c--------------------------------------------------
273
+
274
+
275
+
276
+
277
+ c-----------------------------------------------------------------------
278
+
279
+ subroutine useric(ix,iy,iz,ieg) ! set up initial conditions
280
+
281
+ implicit none
282
+
283
+ cc MA: include 'SIZE_DEF'
284
+ include 'SIZE'
285
+ cc MA: include 'NEKUSE_DEF'
286
+ include 'NEKUSE'
287
+ cc MA: include 'PARALLEL_DEF'
288
+ include 'PARALLEL'
289
+
290
+ integer ix,iy,iz,ieg
291
+
292
+ real*8 usponge(lx1,ly1,lz1,lelv),
293
+ & vsponge(lx1,ly1,lz1,lelv),wsponge(lx1,ly1,lz1,lelv)
294
+ COMMON / SPONGE / usponge, vsponge,wsponge
295
+
296
+ integer iel
297
+
298
+ iel = gllel(ieg)
299
+
300
+ ux = usponge(ix,iy,iz,iel) !bocoarray(index,1)
301
+ uy = vsponge(ix,iy,iz,iel) !bocoarray(index,2)
302
+ uz = wsponge(ix,iy,iz,iel)
303
+
304
+ ! ux = 1.0
305
+ ! uy = 0.0
306
+ ! uz = 0.0
307
+ ! temp = 1.0
308
+
309
+ return
310
+ end
311
+
312
+ c-----------------------------------------------------------------------
313
+
314
+ subroutine userchk()
315
+
316
+ implicit none
317
+
318
+ cc MA: include 'SIZE_DEF'
319
+ include 'SIZE'
320
+ cc MA: include 'GEOM_DEF'
321
+ include 'GEOM' ! xm1, ym1, zm1
322
+ cc MA: include 'SOLN_DEF'
323
+ include 'SOLN' ! T
324
+ cc MA: include 'MASS_DEF'
325
+ include 'MASS' !BM1 for lambda2
326
+ cc MA: include 'TSTEP_DEF'
327
+ include 'TSTEP' ! ISTEP
328
+ cc MA: include 'INPUT_DEF'
329
+ include 'INPUT' ! PARAM(12) (DT)
330
+ include 'USERPAR' ! l2freq, FIXGEOM, NEW_DT
331
+ ! include 'RTFILTER' ! Diagnostic spectra only. Can be removed later.
332
+
333
+ integer lt
334
+ parameter (lt=lx1*ly1*lz1*lelv)
335
+
336
+ real*8 usponge(lx1,ly1,lz1,lelv),
337
+ $ vsponge(lx1,ly1,lz1,lelv),wsponge(lx1,ly1,lz1,lelv)
338
+
339
+ real*8 uss(lx1,ly1,lz1,lelv),
340
+ $ vss(lx1,ly1,lz1,lelv),wss(lx1,ly1,lz1,lelv)
341
+
342
+ real*8 work1(1),work2(1)
343
+
344
+ COMMON / SPONGE / usponge, vsponge,wsponge,uss,vss,wss
345
+
346
+ logical exist_rst
347
+
348
+ ! real vort, w1, w2 ! Diagnostic spectra
349
+ ! COMMON /scrns/ vort(lt,3), w1(lt), w2(lt)
350
+ !--------------------------------------------------
351
+
352
+ ! Initialize spectral coeffs.
353
+ ! Only for diagnosis. Should be removed later.
354
+ !--------------------------------------------------
355
+ ! if (ISTEP.eq.0) call err_est_init
356
+
357
+ cc MA:
358
+ call uprm_read_MA ! New user parameter read function
359
+
360
+ ! Read initial/BC COMMENT IF NOT THE FIRST RUN
361
+ !--------------------------------------------------
362
+ cc if (istep .eq. 0) then
363
+ cc ! call opcopy(u1tmp,v1tmp,w1tmp,xm1,ym1,zm1) ! Backup xyz coordinates
364
+ cc ! check for IC to set up the fringe
365
+ cc inquire(file='naca_wing.IC',exist=exist_rst)
366
+ cc if (exist_rst) then
367
+ cc if(nid.eq.0)then
368
+ cc write(*,*) '------------------------------------'
369
+ cc write(*,*) 'READ IC as the Fringe input'
370
+ cc write(*,*) '------------------------------------'
371
+ cc end if
372
+ cc initc(1) = 'naca_wing.IC'
373
+ cc call setics
374
+ cc call opcopy(usponge,vsponge,wsponge,vx,vy,vz)
375
+ cc end if
376
+ cc end if
377
+ !--------------------------------------------------
378
+
379
+ call checkpoint ! Restart check
380
+
381
+ if (istep .eq. 0) then
382
+ call opcopy(usponge,vsponge,wsponge,vx,vy,vz)
383
+ end if
384
+
385
+ call make_RTF ! filter forcing
386
+
387
+ ! Calculate and output Lambda2
388
+ !--------------------------------------------------
389
+ IFTO = .TRUE.
390
+ if (mod(ISTEP,L2FREQ).eq.0) then
391
+ if (NID.eq.0) write(6,*) ISTEP,IOSTEP,TIME,' compute lambda2'
392
+ call lambda2(T(1,1,1,1,1))
393
+ call col2 (T(1,1,1,1,1),bm1,lt)
394
+ call dssum (T(1,1,1,1,1),nx1,ny1,nz1)
395
+ call col2 (T(1,1,1,1,1),binvm1,lt)
396
+
397
+ ! Diagnostic Spectra for filtering. Can be removed later.
398
+ ! Outpost with la2
399
+ ! if (rt_wght.ne.0) then
400
+ ! call get_spectra(vort(1,1),rtfx)
401
+ ! call get_spectra(vort(1,2),rtfy)
402
+ ! call get_spectra(vort(1,3),rtfz)
403
+ ! call outpost(vort(1,1),vort(1,2),vort(1,3),pr,t,'la2')
404
+ ! else
405
+ call outpost(vx,vy,vz,pr,t,'la2')
406
+ c call outpost(vx,vy,vz,pr,uss,'tr1')
407
+ c call outpost(vx,vy,vz,pr,vss,'tr2')
408
+ c call outpost(vx,vy,vz,pr,wss,'tr3')
409
+
410
+ ! endif
411
+ !--------------------------------------------------
412
+
413
+ endif
414
+
415
+
416
+ !! Fix wing surface GLL points. Moved to usrdat2
417
+ !!--------------------------------------------------
418
+ ! if ((FIXGEOM.eq.1).and.(ISTEP.eq.0)) then
419
+ ! call opcopy(xm1,ym1,zm1,u1tmp,v1tmp,w1tmp) ! copy old x,y,z back.
420
+ ! call fix_mygll() ! fix them
421
+ ! endif
422
+
423
+ !! Change Time step
424
+ !--------------------------------------------------
425
+ if ((ISTEP.eq.5).and.(NEW_DT.ne.0.0)) then
426
+ PARAM(12) = NEW_DT
427
+ endif
428
+
429
+ call readtrip_par ! read forparam.i file. Very inelegant
430
+ ! Should be called from within tripf anyway
431
+
432
+ call tripf ! Tripping
433
+
434
+ call stat_avg_all ! new one
435
+
436
+ #ifdef DRL
437
+ c#################################
438
+ c Deep Reinforcement learning
439
+ call DRL_main
440
+ c##################################
441
+ #endif
442
+
443
+
444
+ return
445
+ end
446
+
447
+ c-----------------------------------------------------------------------
448
+
449
+ subroutine usrdat()
450
+ c Read user-defined boundary conditions into a common array bocoarray
451
+ c Read input data for fringe region
452
+
453
+ include 'SIZE'
454
+
455
+ c variables used for user-defined boundary conditions
456
+
457
+ real dum(3)
458
+
459
+ ! call user_param
460
+ cc MA: call uprm_read ! New user parameter read function
461
+
462
+ return
463
+ end
464
+
465
+ c-----------------------------------------------------------------------
466
+
467
+ subroutine usrdat2()
468
+ c Set the GLL points as defined in the CASENAME.grid file
469
+
470
+ implicit none
471
+
472
+ cc MA: include 'SIZE_DEF'
473
+ include 'SIZE'
474
+ include 'USERPAR'
475
+ cc MA: include 'SOLN_DEF'
476
+ include 'SOLN'
477
+ cc MA:
478
+ include 'INPUT' !! cc MA: PARAM(71) FIXGEOM
479
+
480
+ #ifdef DRL
481
+ include "DRL"
482
+ #endif
483
+
484
+ ! Fix wing surface GLL points.
485
+ !--------------------------------------------------
486
+ cc MA: load here:
487
+ FIXGEOM = INT(PARAM(71))
488
+ if (FIXGEOM.eq.1) then
489
+ ! call opcopy(xm1,ym1,zm1,u1tmp,v1tmp,w1tmp) ! copy old x,y,z back.
490
+ call fix_mygll() ! fix them
491
+ endif
492
+ call fix_geom
493
+ ! call outpost(vx,vy,vz,pr,t,'gri')
494
+ return
495
+ end
496
+
497
+ c-----------------------------------------------------------------------
498
+
499
+ subroutine usrdat3()
500
+
501
+ implicit none
502
+
503
+ cc MA: include 'SIZE_DEF'
504
+ include 'SIZE'
505
+ include 'TRIPF'
506
+ real bb
507
+ real ran2 ! function
508
+
509
+ integer i
510
+
511
+ if (nid.eq.0) write(*,*) 'INITIALIZATION OF TRIP FORCING'
512
+
513
+ c initialize ran2
514
+ c
515
+ seed = -32
516
+ bb=ran2(seed)
517
+
518
+ call readwallfile
519
+ do i=1,nwalls
520
+ call znekgen(i)
521
+ enddo
522
+
523
+ #ifdef DRL
524
+ c----------------------------
525
+ c INITIALISATION for OPPOSITION CONTROL
526
+ call calculate_norm_angle
527
+ c------------------------------
528
+ #endif
529
+ ! Call this to multiply num_modes depending on the aspect ratio
530
+ ! (x-y)
531
+ c call ARnumnodes
532
+
533
+ return
534
+ end
535
+ c----------------------------------------------------------------------
536
+ c
537
+ c automatically added by makenek
538
+ subroutine usrsetvert(glo_num,nel,nx,ny,nz) ! to modify glo_num
539
+ integer*8 glo_num(1)
540
+ return
541
+ end
542
+
543
+ C=======================================================================
544
+
NACA4412_3D_Re75000_AOA5/small_wing.wall ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *** Wall definitions ***
2
+ 2 Number of walls 'nwalls'; .le. maxwalls
3
+ 5 Number of global parameters 'nwallpar'; .le. maxwallpar
4
+ 1 Number of parameters row for each wall 'npwallpar'; .le. maxpwallpar
5
+ *** Global parameters 'wallpar(i)'***
6
+ 0.0 time independent amplitude (subroutine tripf)
7
+ 10.0 time dependent amplitude (subroutine tripf)
8
+ 0.008 tdt (subroutine tripf)
9
+ 60 num_nodes (subroutine tripf -> rand_gen)
10
+ 0.002 dstar (subroutine userf)
11
+ *** Wall definitions: direction // x y z // p1x p1y p1z // p2x p2y p2z // ... ***
12
+ *** Parameters per wall : 'pwallpar(coord,i,wall)' ***
13
+ z direction
14
+ 0.1 0.0665 0. coordinates of the line (the direction coordinate is unused)
15
+ 0.008 0.002 0. user parameters for this wall (npwallpar lines of 3 numbers)
16
+ z next wall
17
+ 0.1 -0.0288 0.
18
+ 0.008 0.002 0.
NACA4412_3D_Re75000_AOA5/stat_pts.in ADDED
The diff for this file is too large to render. See raw diff
 
NACA4412_3D_Re75000_AOA5/wall_glob.in ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026
2
+ 4107
3
+ 6188
4
+ 8269
5
+ 2027
6
+ 4108
7
+ 6189
8
+ 8270
9
+ 2028
10
+ 4109
11
+ 6190
12
+ 8271
13
+ 2029
14
+ 4110
15
+ 6191
16
+ 8272
17
+ 2030
18
+ 4111
19
+ 6192
20
+ 8273
21
+ 2031
22
+ 4112
23
+ 6193
24
+ 8274
25
+ 2032
26
+ 4113
27
+ 6194
28
+ 8275
29
+ 2033
30
+ 4114
31
+ 6195
32
+ 8276
33
+ 2034
34
+ 4115
35
+ 6196
36
+ 8277
37
+ 2035
38
+ 4116
39
+ 6197
40
+ 8278
41
+ 2036
42
+ 4117
43
+ 6198
44
+ 8279
45
+ 2037
46
+ 4118
47
+ 6199
48
+ 8280
49
+ 2038
50
+ 4119
51
+ 6200
52
+ 8281
53
+ 2039
54
+ 4120
55
+ 6201
56
+ 8282
57
+ 2040
58
+ 4121
59
+ 6202
60
+ 8283
61
+ 2041
62
+ 4122
63
+ 6203
64
+ 8284
65
+ 2042
66
+ 4123
67
+ 6204
68
+ 8285
69
+ 2043
70
+ 4124
71
+ 6205
72
+ 8286
73
+ 2044
74
+ 4125
75
+ 6206
76
+ 8287
77
+ 2045
78
+ 4126
79
+ 6207
80
+ 8288
81
+ 2046
82
+ 4127
83
+ 6208
84
+ 8289
85
+ 2047
86
+ 4128
87
+ 6209
88
+ 8290
89
+ 2048
90
+ 4129
91
+ 6210
92
+ 8291
93
+ 2049
94
+ 4130
95
+ 6211
96
+ 8292
97
+ 2050
98
+ 4131
99
+ 6212
100
+ 8293
101
+ 2051
102
+ 4132
103
+ 6213
104
+ 8294
105
+ 2052
106
+ 4133
107
+ 6214
108
+ 8295
109
+ 2053
110
+ 4134
111
+ 6215
112
+ 8296
113
+ 2054
114
+ 4135
115
+ 6216
116
+ 8297
117
+ 2055
118
+ 4136
119
+ 6217
120
+ 8298
121
+ 2056
122
+ 4137
123
+ 6218
124
+ 8299
125
+ 2057
126
+ 4138
127
+ 6219
128
+ 8300
129
+ 2058
130
+ 4139
131
+ 6220
132
+ 8301
133
+ 2059
134
+ 4140
135
+ 6221
136
+ 8302
137
+ 2060
138
+ 4141
139
+ 6222
140
+ 8303
141
+ 2061
142
+ 4142
143
+ 6223
144
+ 8304
145
+ 2062
146
+ 4143
147
+ 6224
148
+ 8305
149
+ 2063
150
+ 4144
151
+ 6225
152
+ 8306
153
+ 2064
154
+ 4145
155
+ 6226
156
+ 8307
157
+ 2065
158
+ 4146
159
+ 6227
160
+ 8308
161
+ 2066
162
+ 4147
163
+ 6228
164
+ 8309
165
+ 2067
166
+ 4148
167
+ 6229
168
+ 8310
169
+ 2068
170
+ 4149
171
+ 6230
172
+ 8311
173
+ 2069
174
+ 4150
175
+ 6231
176
+ 8312
177
+ 2070
178
+ 4151
179
+ 6232
180
+ 8313
181
+ 2071
182
+ 4152
183
+ 6233
184
+ 8314
185
+ 2072
186
+ 4153
187
+ 6234
188
+ 8315
189
+ 2073
190
+ 4154
191
+ 6235
192
+ 8316
193
+ 2074
194
+ 4155
195
+ 6236
196
+ 8317
197
+ 2075
198
+ 4156
199
+ 6237
200
+ 8318
201
+ 2076
202
+ 4157
203
+ 6238
204
+ 8319
205
+ 2077
206
+ 4158
207
+ 6239
208
+ 8320
209
+ 2078
210
+ 4159
211
+ 6240
212
+ 8321
213
+ 2079
214
+ 4160
215
+ 6241
216
+ 8322
217
+ 2080
218
+ 4161
219
+ 6242
220
+ 8323
221
+ 2081
222
+ 4162
223
+ 6243
224
+ 8324