-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameterData.py
75 lines (65 loc) · 1.7 KB
/
parameterData.py
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
'''
Information of different nozzles are stored in a dictionary called 'nozzle'.
An item in this dictionary is also a dictionary which stores the information
of a particular nozzle.
The template of a dictionary of a particular nozzle is as follows:
- name (string)
- orificeWidth (unit: mm)
- orificeHeight (unit: mm)
- sprayAngle (unit: degrees)
- flowRate (unit: 0.2 gpm)
- sprayPressure (unit: psig)
- sprayParameter (unit: m sq)
'''
nozzle = {
'Teejet8002' : {
'name' : 'Teejet8002',
'orificeWidth' : 0.6,
'orificeHeight' : 1.3,
'sprayAngle' : 95,
'flowrate' : 0.2,
'sprayParameter' : 1e-7
}
}
'''
Information of different fluids are stored in a dictionary called 'fluid'.
An item in this dictionary is also a dictionary which stores the information
of a particular fluid.
The template of a dictionary of a particular fluid is as follows:
- name (string)
- density (unit: kg per m cb)
- viscosity (unit: cp)
- surfaceTension (unit: mN per m)
'''
fluid = {
'water' : {
'name' : 'water',
'density' : 1000,
'viscosity' : 1,
'surfaceTension' : 72
},
'emulsion' : {
'name' : 'emulsion',
'density' : 1000,
'viscosity' : 1,
'surfaceTension' : 70
}
}
'''
Different sheet settings are stored in a dictionary called 'sheetSettings'.
An item in this dictionary is also a dictionary which stores the information
of a sheet setting.
The template of a dictionary of a particular sheet setting is as follows:
- name (string)
- section1 (unit: mm)
- section2 (unit: mm)
- section3 (unit: mm)
'''
sheetSettings = {
'default' : {
'name' : 'default',
'section1' : 5,
'section2' : 10,
'section3' : 15
}
}