Skip to content

Commit

Permalink
Merge pull request #410 from NingRen/master
Browse files Browse the repository at this point in the history
Add FM results for the liquid pool fire case
  • Loading branch information
rmcdermo committed Sep 1, 2023
2 parents e8f0231 + b86f0d9 commit e2c2b97
Show file tree
Hide file tree
Showing 184 changed files with 13,036 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/Liquid_Pool_Fires.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,43 @@ jobs:
gh release upload SCRIPT_FIGURES NIST_Pool_Fires_UGent_Plots.zip --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# FM Global results (NIST pool, methanol) -------------------------------------------
# Step 1: generate the plots
- name: FM NIST_Pool_Fires Results
run: |
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/Liquid_Pool_Fires/NIST_Pool_Fires/Computational_Results/2023/FMGlobal
python FM_NIST_Pool_Fires_plot_cmp.py
# Step 2: push the plots to the releases page
- name: Push FM NIST_Pool_Fires Results to release
if: ( github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && github.repository_owner == 'MaCFP'
run: |
cd $GITHUB_WORKSPACE/Liquid_Pool_Fires/NIST_Pool_Fires/Computational_Results/2023/FMGlobal
cp README.md ./Plots/.
zip Plots.zip -r Plots
mv Plots.zip NIST_Pool_Fires_FMGlobal_Plots.zip
gh release upload SCRIPT_FIGURES NIST_Pool_Fires_FMGlobal_Plots.zip --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# FM Global results (Waterloo pool, methanol) -------------------------------------------
# Step 1: generate the plots
- name: FM Waterloo_Methanol Results
run: |
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/Liquid_Pool_Fires/Waterloo_Methanol/Computational_Results/2023/FMGlobal
python FM_Waterloo_Methanol_plot_results.py
# Step 2: push the plots to the releases page
- name: Push FM Waterloo_Methanol Results to release
if: ( github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && github.repository_owner == 'MaCFP'
run: |
cd $GITHUB_WORKSPACE/Liquid_Pool_Fires/Waterloo_Methanol/Computational_Results/2023/FMGlobal
cp README.md ./Plots/.
zip Plots.zip -r Plots
mv Plots.zip Waterloo_Methanol_FMGlobal_Plots.zip
gh release upload SCRIPT_FIGURES Waterloo_Methanol_FMGlobal_Plots.zip --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/env python3
# McDermott
# Feb 2021

# first, make sure the macfp module directory is in your path
# if not, uncomment the lines below and replace <path to macfp-db>
# with the path (absolute or relative) to your macfp-db repository

import sys
# sys.path.append('<path to macfp-db>/macfp-db/Utilities/')
sys.path.append('../../../../../../macfp-db/Utilities/')

import macfp
import importlib
importlib.reload(macfp) # use for development (while making changes to macfp.py)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='FM_NIST_Pool_Fires_cmp_config.csv',
institute='FMGlobal',
revision='MaCFP-3, Tsukuba, 2023',
expdir='../../../Experimental_Data/',
cmpdir='./Output/',
pltdir='./Plots/',
close_figs=True,
verbose=True,
plot_list=['all'])

# plt.show()
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
r, Q_conv, Q_rad, Q_total
cm, kW/m2, kW/m2, kW/m2
1.0, 0.14, 20.95, 21.09
2.0, 0.13, 21.00, 21.13
3.0, 0.12, 21.09, 21.21
4.0, 0.12, 21.23, 21.34
5.0, 0.11, 21.39, 21.50
6.0, 0.10, 21.60, 21.70
7.0, 0.08, 21.87, 21.95
8.0, 0.07, 22.18, 22.26
9.0, 0.07, 22.50, 22.57
10.0, 0.07, 22.91, 22.98
11.0, 0.07, 23.32, 23.39
12.0, 0.07, 23.80, 23.88
13.0, 0.08, 24.31, 24.39
14.0, 0.08, 24.74, 24.82
15.0, 0.09, 25.30, 25.39
16.0, 0.10, 25.77, 25.87
17.0, 0.12, 26.32, 26.43
18.0, 0.14, 26.79, 26.93
19.0, 0.17, 27.19, 27.36
20.0, 0.21, 27.72, 27.94
21.0, 0.26, 27.99, 28.25
22.0, 0.32, 28.45, 28.77
23.0, 0.39, 28.68, 29.07
24.0, 0.48, 28.91, 29.39
25.0, 0.61, 29.13, 29.75
26.0, 0.77, 29.33, 30.10
27.0, 0.94, 29.44, 30.38
28.0, 1.10, 29.39, 30.50
29.0, 1.29, 29.49, 30.78
30.0, 1.43, 29.32, 30.76
31.0, 1.57, 29.21, 30.78
32.0, 1.67, 28.94, 30.61
33.0, 1.78, 28.65, 30.43
34.0, 1.85, 28.32, 30.17
35.0, 1.95, 27.90, 29.86
36.0, 2.03, 27.46, 29.49
37.0, 2.13, 26.94, 29.06
38.0, 2.22, 26.35, 28.57
39.0, 2.33, 25.73, 28.06
40.0, 2.43, 25.03, 27.46
41.0, 2.55, 24.28, 26.83
42.0, 2.67, 23.43, 26.10
43.0, 2.80, 22.51, 25.32
44.0, 2.92, 21.55, 24.48
45.0, 3.06, 20.49, 23.56
46.0, 3.20, 19.32, 22.51
47.0, 3.31, 17.95, 21.26
48.0, 3.41, 16.38, 19.79
49.0, 3.48, 14.33, 17.81
50.0, 3.39, 15.00, 18.39
51.0, 0.00, 3.43, 3.43
52.0, 0.00, 4.41, 4.41
53.0, 0.00, 4.81, 4.81
54.0, 0.00, 4.67, 4.67
55.0, 0.00, 4.52, 4.52
56.0, 0.00, 4.29, 4.29
57.0, 0.00, 4.13, 4.13
58.0, 0.00, 3.86, 3.86
59.0, 0.00, 3.55, 3.55
60.0, 0.00, 3.43, 3.43
62.0, 0.00, 3.25, 3.25
63.0, 0.00, 3.15, 3.15
64.0, 0.00, 3.04, 3.04
65.0, 0.00, 2.86, 2.86
66.0, 0.00, 2.85, 2.85
67.0, 0.00, 2.71, 2.71
68.0, 0.00, 2.56, 2.56
69.0, 0.00, 2.48, 2.48
70.0, 0.00, 2.54, 2.54
71.0, 0.00, 2.38, 2.38
72.0, 0.00, 2.27, 2.27
73.0, 0.00, 2.19, 2.19
74.0, 0.00, 2.17, 2.17
75.0, 0.00, 2.12, 2.12
76.0, 0.00, 1.99, 1.99
77.0, 0.00, 1.92, 1.92
78.0, 0.00, 1.92, 1.92
79.0, 0.00, 1.88, 1.88
80.0, 0.00, 1.77, 1.77
81.0, 0.00, 1.72, 1.72
82.0, 0.00, 1.70, 1.70
83.0, 0.00, 1.66, 1.66
84.0, 0.00, 1.60, 1.60
85.0, 0.00, 1.52, 1.52
86.0, 0.00, 1.54, 1.54
87.0, 0.00, 1.48, 1.48
88.0, 0.00, 1.41, 1.41
89.0, 0.00, 1.38, 1.38
90.0, 0.00, 1.39, 1.39
91.0, 0.00, 1.33, 1.33
92.0, 0.00, 1.27, 1.27
93.0, 0.00, 1.24, 1.24
94.0, 0.00, 1.23, 1.23
95.0, 0.00, 1.22, 1.22
96.0, 0.00, 1.15, 1.15
97.0, 0.00, 1.12, 1.12
98.0, 0.00, 1.12, 1.12
99.0, 0.00, 1.08, 1.08
100.0, 0.00, 1.05, 1.05
101.0, 0.00, 1.01, 1.01
102.0, 0.00, 1.02, 1.02
103.0, 0.00, 0.98, 0.98
104.0, 0.00, 0.97, 0.97
105.0, 0.00, 0.92, 0.92
106.0, 0.00, 0.94, 0.94
107.0, 0.00, 0.91, 0.91
108.0, 0.00, 0.87, 0.87
109.0, 0.00, 0.85, 0.85
110.0, 0.00, 0.85, 0.85
111.0, 0.00, 0.84, 0.84
112.0, 0.00, 0.81, 0.81
113.0, 0.00, 0.78, 0.78
114.0, 0.00, 0.79, 0.79
115.0, 0.00, 0.78, 0.78
116.0, 0.00, 0.74, 0.74
117.0, 0.00, 0.72, 0.72
118.0, 0.00, 0.74, 0.74
119.0, 0.00, 0.71, 0.71
120.0, 0.00, 0.69, 0.69
121.0, 0.00, 0.68, 0.68
122.0, 0.00, 0.69, 0.69
123.0, 0.00, 0.67, 0.67
124.0, 0.00, 0.64, 0.64
125.0, 0.00, 0.63, 0.63
126.0, 0.00, 0.64, 0.64
127.0, 0.00, 0.63, 0.63
128.0, 0.00, 0.60, 0.60
129.0, 0.00, 0.60, 0.60
130.0, 0.00, 0.59, 0.59
131.0, 0.00, 0.60, 0.60
132.0, 0.00, 0.58, 0.58
133.0, 0.00, 0.56, 0.56
134.0, 0.00, 0.57, 0.57
135.0, 0.00, 0.56, 0.56
136.0, 0.00, 0.54, 0.54
137.0, 0.00, 0.53, 0.53
138.0, 0.00, 0.54, 0.54
139.0, 0.00, 0.53, 0.53
140.0, 0.00, 0.52, 0.52
141.0, 0.00, 0.50, 0.50
142.0, 0.00, 0.50, 0.50
143.0, 0.00, 0.51, 0.51
144.0, 0.00, 0.49, 0.49
145.0, 0.00, 0.48, 0.48
146.0, 0.00, 0.48, 0.48
147.0, 0.00, 0.48, 0.48
148.0, 0.00, 0.47, 0.47
149.0, 0.00, 0.46, 0.46
150.0, 0.00, 0.46, 0.46
151.0, 0.00, 0.46, 0.46
152.0, 0.00, 0.45, 0.45
153.0, 0.00, 0.44, 0.44
154.0, 0.00, 0.44, 0.44
155.0, 0.00, 0.45, 0.45
156.0, 0.00, 0.43, 0.43
157.0, 0.00, 0.42, 0.42
158.0, 0.00, 0.42, 0.42
159.0, 0.00, 0.42, 0.42
160.0, 0.00, 0.42, 0.42
161.0, 0.00, 0.41, 0.41
162.0, 0.00, 0.40, 0.40
163.0, 0.00, 0.42, 0.42
164.0, 0.00, 0.40, 0.40
165.0, 0.00, 0.39, 0.39
166.0, 0.00, 0.39, 0.39
167.0, 0.00, 0.40, 0.40
168.0, 0.00, 0.39, 0.39
169.0, 0.00, 0.38, 0.38
170.0, 0.00, 0.37, 0.37
171.0, 0.00, 0.39, 0.39
172.0, 0.00, 0.38, 0.38
173.0, 0.00, 0.37, 0.37
174.0, 0.00, 0.36, 0.36
175.0, 0.00, 0.38, 0.38
176.0, 0.00, 0.36, 0.36
177.0, 0.00, 0.35, 0.35
178.0, 0.00, 0.35, 0.35
179.0, 0.00, 0.37, 0.37
180.0, 0.00, 0.35, 0.35
181.0, 0.00, 0.35, 0.35
182.0, 0.00, 0.34, 0.34
183.0, 0.00, 0.36, 0.36
184.0, 0.00, 0.34, 0.34
185.0, 0.00, 0.34, 0.34
186.0, 0.00, 0.33, 0.33
187.0, 0.00, 0.35, 0.35
188.0, 0.00, 0.34, 0.34
189.0, 0.00, 0.33, 0.33
190.0, 0.00, 0.32, 0.32
191.0, 0.00, 0.34, 0.34
192.0, 0.00, 0.33, 0.33
193.0, 0.00, 0.32, 0.32
194.0, 0.00, 0.31, 0.31
195.0, 0.00, 0.33, 0.33
196.0, 0.00, 0.32, 0.32
197.0, 0.00, 0.31, 0.31
198.0, 0.00, 0.31, 0.31
199.0, 0.00, 0.33, 0.33
200.0, 0.00, 0.31, 0.31
201.0, 0.00, 0.31, 0.31
202.0, 0.00, 0.30, 0.30
203.0, 0.00, 0.32, 0.32
204.0, 0.00, 0.31, 0.31
205.0, 0.00, 0.30, 0.30
206.0, 0.00, 0.29, 0.29
207.0, 0.00, 0.31, 0.31
208.0, 0.00, 0.30, 0.30
209.0, 0.00, 0.29, 0.29
210.0, 0.00, 0.28, 0.28
211.0, 0.00, 0.30, 0.30
212.0, 0.00, 0.29, 0.29
213.0, 0.00, 0.29, 0.29
214.0, 0.00, 0.28, 0.28
215.0, 0.00, 0.30, 0.30
216.0, 0.00, 0.29, 0.29
217.0, 0.00, 0.28, 0.28
218.0, 0.00, 0.27, 0.27
219.0, 0.00, 0.24, 0.24
Loading

0 comments on commit e2c2b97

Please sign in to comment.