コード例 #1
0
#!/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='UMD_FM_Burner_dataplot_config.csv',
               institute='UMD',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/',
               close_figs=True,
               verbose=True,
               plot_list=['all'])

# plt.show()
コード例 #2
0
ファイル: UGent_plot_results.py プロジェクト: oluwi/macfp-db
#!/usr/bin/env python3
# McDermott
# March 2020

# 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)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='UGent_macfp_config.csv',
               institute='UGent',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/',
               verbose=True,
               close_figs=True)

# plt.show()
コード例 #3
0
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='NIST_Waterloo_Methanol_dataplot_config_base.csv',
    institute='NIST FDS6.7.5-1004-g197c82469-master',
    expdir='../../../../../Liquid_Pool_Fires/',
    cmpdir='',
    pltdir='./Baseline/Plots/',
    close_figs=True,
    verbose=True,
    plot_range=range(1000))

macfp.dataplot(
    config_filename='NIST_Waterloo_Methanol_dataplot_config_dev.csv',
    institute='NIST FDS6.7.5-1004-g197c82469-master',
    expdir='../../../../../Liquid_Pool_Fires/',
    cmpdir='',
    pltdir='./Development/Plots/',
    close_figs=True,
    verbose=True,
    plot_range=range(1000))
コード例 #4
0
#!/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='Sandia_Helium_Plume_exp_config.csv',
               institute='',
               expdir='../Experimental_Data/',
               cmpdir='../Experimental_Data/',
               pltdir='../Plots/')

plt.show()
コード例 #5
0
ファイル: NIST_plot_results.py プロジェクト: oluwi/macfp-db
#!/usr/bin/env python3
# McDermott
# March 2020

# 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)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='NIST_Sandia_Helium_Plume_dataplot_config.csv',
               institute='NIST Cartesian Geometry',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/',
               verbose=True,
               close_figs=True,
               plot_list=['all'])

# plt.show()
コード例 #6
0
#!/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='Waterloo_Methanol_exp_config.csv',
               institute='',
               expdir='../Experimental_Data/',
               cmpdir='../Experimental_Data/',
               pltdir='../Plots/',
               close_figs=True,
               verbose=True)

# This case create almost 300 figures!  Better to just look at them in the ../Plots/ directory.
# plt.show()
コード例 #7
0
#!/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='MaCFP-2_NIST_Pool_Fires_dataplot_config.csv',
               institute='Case 3: Methanol 30 cm',
               expdir='../../../../../Liquid_Pool_Fires/',
               cmpdir='',
               pltdir='./Plots/',
               close_figs=True,
               verbose=True,
               plot_range=range(1000))

# plt.show()
コード例 #8
0
#!/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='NIST_Pool_Fires_exp_config.csv',
               institute='',
               expdir='../Experimental_Data/',
               cmpdir='../Experimental_Data/',
               pltdir='../Plots/',
               close_figs=True,
               verbose=True,
               plot_list=['all'])

# plt.show()
コード例 #9
0
#!/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='NIST_FM_Burner_dataplot_config.csv',
               institute='NIST',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/',
               close_figs=True,
               verbose=True,
               plot_range=range(1000))

# plt.show()
コード例 #10
0
importlib.reload(
    macfp)  # use for development (while making changes to macfp.py)
import matplotlib.pyplot as plt

#--------------------------------------------------------------------------------
plotFile_01 = "01_very_coarse_v0a_v0b_v0f_UoWu_FM_Burner_dataplot_config.csv"
plotFile_02 = "02_coarse_RadImpact_UoWu_FM_Burner_dataplot_config.csv"
plotFile_03 = "03_allMesh_v0f_v2f_v3f_UoWu_FM_Burner_dataplot_config.csv"
plotFile_04 = "04_averaging_15s_vs_40s_v2e_v3i_UoWu_FM_Burner_dataplot_config.csv"
plotFile_all = "UoW_FM_Burner_dataplot_config.csv"

macfp.dataplot(config_filename=plotFile_01,
               institute='UWuppertal',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots_01/',
               close_figs=True,
               verbose=True,
               plot_list=['all'])
macfp.dataplot(config_filename=plotFile_02,
               institute='UWuppertal',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots_02/',
               close_figs=True,
               verbose=True,
               plot_list=['all'])
macfp.dataplot(config_filename=plotFile_03,
               institute='UWuppertal',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots_03/',
               close_figs=True,
コード例 #11
0
#!/usr/bin/env python3
# McDermott
# March 2020

# 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)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='helium_mixture_demo_config.csv',
               institute='',
               expdir='../../../Experimental_Data/',
               cmpdir='../NIST/',
               pltdir='./Plots/',
               verbose=True,
               close_figs=True,
               plot_list=['all'])

# plt.show()
コード例 #12
0
ファイル: SNL_plot_results.py プロジェクト: oluwi/macfp-db
#!/usr/bin/env python3
# McDermott
# March 2020

# 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)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='SNL_dataplot_config.csv',
               institute='Sandia National Laboratories',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/',
               verbose=True,
               close_figs=True
               )

# plt.show()
コード例 #13
0
#!/usr/bin/env python3
# McDermott
# March 2020

# 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)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='MaCFP-2_Sandia_Helium_Plume_dataplot_config.csv',
               institute='Case 1: Sandia Helium Plume',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/',
               verbose=True,
               close_figs=True,
               plot_range=range(1000))

# plt.show()
コード例 #14
0
#!/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='EDFAMU_Waterloo_Methanol_dataplot_config.csv',
               institute='EDFAMU',
               expdir='../../../../../Liquid_Pool_Fires/',
               pltdir='./Plots/',
               close_figs=True,
               verbose=True,
               plot_range=range(1000))

# plt.show()
コード例 #15
0
#!/usr/bin/env python3
# McDermott
# March 2020

# 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)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='NIST_macfp_config.csv',
               institute='NIST test',
               expdir='../../../Experimental_Data/',
               pltdir='./Plots/')

plt.show()
コード例 #16
0
#!/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_Waterloo_Methanol_dataplot_config.csv',
               institute='FM Global',
               expdir='../../../../../Liquid_Pool_Fires/',
               pltdir='./Plots/',
               close_figs=True,
               verbose=True,
               plot_list=['all'])

# plt.show()
コード例 #17
0
#!/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='UNSW_NIST_Pool_Fires_dataplot_config.csv',
               institute='UNSW',
               expdir='../../../../../Liquid_Pool_Fires/',
               pltdir='./Plots/',
               close_figs=True,
               verbose=True,
               plot_list=['all'])

# plt.show()
コード例 #18
0
# 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='NIST_NIST_Pool_Fires_dataplot_config_base.csv',
               institute='NIST FDS6.7.5-1092-g94ad5b6a4-master',
               expdir='../../../../../Liquid_Pool_Fires/',
               pltdir='./Baseline/Plots/',
               close_figs=True,
               verbose=True,
               plot_range=range(1000))

macfp.dataplot(config_filename='NIST_NIST_Pool_Fires_dataplot_config_dev.csv',
               institute='NIST FDS6.7.5-1373-g26b258878-master',
               expdir='../../../../../Liquid_Pool_Fires/',
               pltdir='./Development/Plots/',
               close_figs=True,
               verbose=True,
               plot_range=range(1000))

# plt.show()