Datasets:

Modalities:
Text
License:
T0NGXU commited on
Commit
1bb1ed4
·
verified ·
1 Parent(s): d692e08

Upload CylinderKnMa\Kn1p00\simulation2355_Kn1p00Ma2p4\config.txt with huggingface_hub

Browse files
CylinderKnMa//Kn1p00//simulation2355_Kn1p00Ma2p4//config.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ variable BZ equal 1.380649E-23
2
+ variable PI equal 3.1415926536
3
+ variable molecular_mass equal 6.63E-26
4
+ variable molecular_diameter equal 4.17E-10
5
+ variable gamma equal 1.666666667
6
+ variable R equal ${BZ}/${molecular_mass}
7
+ variable L equal 1.0
8
+ variable xmin equal -5.0
9
+ variable xmax equal 6.0
10
+ variable ymin equal -5.0
11
+ variable ymax equal 5.0
12
+ variable Kn equal 1.0
13
+ variable Ma equal 2.4
14
+ variable To equal 273.0
15
+ variable Tb equal 273.0
16
+ variable theta equal 0.0
17
+ variable mfp equal ${Kn}*${L}
18
+ variable cpmfp equal 4
19
+ variable nden equal 1.0/sqrt(2.0)/${PI}/${molecular_diameter}/${molecular_diameter}/(${mfp}/${cpmfp}*${Kn})
20
+ variable sos equal sqrt(${gamma}*${R}*${To})
21
+ variable vo equal ${Ma}*${sos}
22
+ variable vx equal ${vo}*cos(${theta}*2*PI/360)
23
+ variable vy equal ${vo}*sin(${theta}*2*PI/360)
24
+ variable ppc equal 30
25
+ variable xncells equal (${xmax}-${xmin})/${mfp}*${cpmfp}
26
+ variable yncells equal (${ymax}-${ymin})/${mfp}*${cpmfp}
27
+ variable Fnum equal ${nden}*(${xmax}-${xmin})*(${ymax}-${ymin})/${ppc}/${xncells}/${yncells}
28
+ variable tstep equal (-${xmin}+${xmax})/${vx}/${xncells}/10/4
29
+ variable nave equal 10000
30
+ variable noutput equal 300000
31
+ clear
32
+ shell mkdir output
33
+ shell mkdir grid
34
+ shell mkdir surf
35
+ seed 7
36
+ dimension 2
37
+ global nrho ${nden}
38
+ global fnum ${Fnum}
39
+ timestep ${tstep}
40
+ global gridcut 1.0 particle/reorder 100 comm/sort yes
41
+ region 1 cylinder z 0.0 0.0 3.50 -0.5 0.5
42
+ region 2 cylinder z 0.0 0.0 2.00 -0.5 0.5
43
+ region 3 cylinder z 0.0 0.0 0.80 -0.5 0.5
44
+ boundary o o p
45
+ create_box ${xmin} ${xmax} ${ymin} ${ymax} -0.5 0.5
46
+ create_grid ${xncells} ${yncells} 1 levels 4 region 2 1 2 2 1 region 3 2 2 2 1 region 4 3 2 2 1 clump xyz
47
+ balance_grid rcb cell
48
+ species gas.species Ar
49
+ mixture air Ar frac 1.0
50
+ mixture air Ar vstream ${vx} ${vy} 0.0 temp ${To}
51
+ collide vss air gas.vhs
52
+ collide_modify vremax 100 yes remain no nearcp yes 10
53
+ read_surf cylinder.surf
54
+ surf_collide 1 diffuse 273.0 1.0
55
+ surf_modify all collide 1
56
+ fix in emit/face air xlo ylo yhi
57
+ balance_grid rcb cell
58
+ create_particles air n 0
59
+ stats 10000
60
+ stats_style step cpu np nattempt ncoll nscoll npave nscollave
61
+ run 200000
62
+ compute 1 grid all air n nrho massrho u v w
63
+ compute 2 grid all air trot
64
+ compute 3 tvib/grid all air
65
+ compute 4 thermal/grid all air press temp
66
+ fix 1 ave/grid all 1 ${nave} ${nave} c_1[*] c_4[*] c_2[*] c_3[*] ave running
67
+ dump 1 grid all ${noutput} output/grid.*.dat id xc yc f_1[*]
68
+ dump_modify 1 format float %12.5g
69
+ compute 5 surf all air n press px py shx shy fx fy etot erot evib
70
+ fix 2 ave/surf all 1 ${nave} ${nave} c_5[*] ave running
71
+ dump 2 surf all ${noutput} output/surf.*.dat id v1x v1y v2x v2y f_2[*]
72
+ dump_modify 2 format float %12.5g
73
+ compute 6 lambda/grid f_1[2] f_1[8] Ar kx
74
+ dump 3 grid all ${noutput} output/lambdakn.*.dat id xc yc c_6[*]
75
+ dump_modify 3 format float %12.5g
76
+ run 100000
77
+ write_grid grid/final-grid.dat
78
+ write_surf surf/geom.surf