Skip to content

Commit fcacb9f

Browse files
fangjianfangjian
authored andcommitted
upgrade to 643c and 543c and add a lid-driven cavity flow case
1 parent 91feb9a commit fcacb9f

File tree

36 files changed

+1285
-473
lines changed

36 files changed

+1285
-473
lines changed

examples/Channel/datin/input.chl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ f
2424
273.15d0, 3000.d0, 0.3d0
2525

2626
# conschm,difschm,rkscheme : Numerical scheme
27-
642c, 642c, rk3
27+
643c, 643c, rk3
2828

2929
# recon_schem, lchardecomp,bfacmpld : Parameters for upwind-biased scheme
3030
3, f, 0.3d0, 0.01d0

examples/Channel_SI/datin/input.chdim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ f
2424
273.15d0, 100.d0, 3.981d-4, 1.293d0
2525

2626
# conschm,difschm,rkscheme : Numerical scheme
27-
642c, 642c, rk3
27+
643c, 643c, rk3
2828

2929
# recon_schem, lchardecomp,bfacmpld : Parameters for upwind-biased scheme
3030
3, f, 0.3d0, 0.01d0
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
############################################################
2+
# control file for ASTR code #
3+
############################################################
4+
5+
# lwsequ,lwslic,lavg,lcracon
6+
f, f, f, f
7+
8+
# maxstep,feqchkpt,feqwsequ,feqslice,feqlist,feqavg
9+
500000, 1000, 100, 50, 10, 50
10+
11+
# deltat
12+
1.d-4
13+
14+
15+
# The controller file will be read during a simulation,
16+
# everytime after dumping checkpoint.
17+
18+
#+---------------+-----------------------------------------+
19+
#| lwsequ | to output flowfield sequence |
20+
#| lwslic | to output flowfield at given i/j/k cut |
21+
#| | , slice.dat will be required to define |
22+
#| | i/j/k position |
23+
#| lavg | to calculate statistics and also output |
24+
#| | meanflow, 2order and 3order files. |
25+
#+---------------+-----------------------------------------+
26+
#| maxstep | the max step to run. |
27+
#| feqchkpt | frequency of writing checkpoint |
28+
#| feqwsequ | frequency of writing flowfield sequence |
29+
#| feqslice | frequency of writing slices |
30+
#| feqlist | frequency of listing log |
31+
#| feqavg | frequency of averaging flowfield |
32+
#| feqchkpt | frequency of outputting checkpoint |
33+
#+---------------+-----------------------------------------+
34+
#| deltat | the time step |
35+
#+---------------+-----------------------------------------+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
########################################################################
2+
# input file of ASTR code #
3+
########################################################################
4+
5+
# flowtype : The type of flow problem
6+
ldcavity
7+
8+
# im,jm,km : The size of grid.
9+
64,64,0
10+
11+
# lihomo,ljhomo,lkhomo : The homogeneous directions
12+
f,f,t
13+
14+
# nondimen,diffterm,lfilter,lreadgrid,lfftz,limmbou,ltimrpt,lcomb : Parameters
15+
t,t,t,f,f,f,t,f
16+
17+
# lrestar : start mode
18+
f
19+
20+
# alfa_filter, kcutoff : Filter parameters
21+
0.49d0, 48
22+
23+
# ref_t,reynolds,mach,gamma : Reference variables
24+
273.15d0, 600.d0, 0.1d0, 1.4d0
25+
26+
# conschm,difschm,rkscheme,odetype : Numerical scheme
27+
643c, 643c, rk3, rk3
28+
29+
# recon_schem, lchardecomp,bfacmpld,shkcrt : Parameters for upwind-biased scheme
30+
5, t, 0.3d0, 0.05d0
31+
32+
# num_species : number of species
33+
0
34+
35+
# turbmode,iomode : turbulence model
36+
none,h
37+
38+
# bctype : Boundary condition definition
39+
41, 1.d0
40+
41, 1.d0
41+
41, 1.d0
42+
0
43+
1
44+
1
45+
46+
# ninit : Initial method
47+
0
48+
49+
# spg_imin,spg_imax,spg_jmin,spg_jmax,spg_kmin,spg_kmax : Sponge layer range
50+
0, 0, 0, 0, 0, 0
51+
52+
# gridfile
53+
datin/grid.h5
54+
55+
56+
########################################################################
57+
# bctype #
58+
# 1 : periodic bc, nothing will be done. #
59+
# 41 : isothermal wall, wall temperature input. #
60+
########################################################################
225 KB
Binary file not shown.
440 KB
Binary file not shown.

0 commit comments

Comments
 (0)