diff --git a/BayesValidRox/tests/PA-A/Benchmark_PAA.py b/BayesValidRox/tests/PA-A/Benchmark_PAA.py index 6697bc361a52fff9090c8a1b28910621461d047c..4d14ec08cf6751d68bc415b98f03c62f46c02133 100644 --- a/BayesValidRox/tests/PA-A/Benchmark_PAA.py +++ b/BayesValidRox/tests/PA-A/Benchmark_PAA.py @@ -262,8 +262,8 @@ if __name__ == "__main__": # # Model stokesdarcy-BJ - PCEModel_BJ, BayesCalib_BJ, BayesValid_BJ = stokesdarcy.run(params, couplingcond='BJ', - PCEEDMethod=PCEExpDesignMethod) + # PCEModel_BJ, BayesCalib_BJ, BayesValid_BJ = stokesdarcy.run(params, couplingcond='BJ', + # PCEEDMethod=PCEExpDesignMethod) # # # Load the objects # # with open('../outputs_ffpm-stokesdarcyBJ/PA_A_Bayesffpm-stokesdarcyBJ.pkl', 'rb') as input: @@ -271,8 +271,8 @@ if __name__ == "__main__": # # BayesValid_BJ = pickle.load(input) # Model stokesdarcy-ER - PCEModel_ER, BayesCalib_ER, BayesValid_ER = stokesdarcy.run(params, couplingcond='ER', - PCEEDMethod=PCEExpDesignMethod) + # PCEModel_ER, BayesCalib_ER, BayesValid_ER = stokesdarcy.run(params, couplingcond='ER', + # PCEEDMethod=PCEExpDesignMethod) # # Load the objects @@ -284,7 +284,7 @@ if __name__ == "__main__": # Model stokesdarcy-pnm PCEModel_PNM, BayesCalib_PNM, BayesValid_PNM = stokespnm.run(params, PCEEDMethod=PCEExpDesignMethod) - + sys.exit() # # Load the objects # with open('../outputs_ffpm-stokesdarcyER/PA_A_Bayesffpm-stokesdarcyER.pkl', 'rb') as input: # BayesCalib_PNM = pickle.load(input) diff --git a/BayesValidRox/tests/PA-A/ffpm_validation_stokespnm.py b/BayesValidRox/tests/PA-A/ffpm_validation_stokespnm.py index ea1f0d7ef1987857c0887853248bb92520eeaf47..01f7b302c45d474250793a693b3fec73294a4e9b 100755 --- a/BayesValidRox/tests/PA-A/ffpm_validation_stokespnm.py +++ b/BayesValidRox/tests/PA-A/ffpm_validation_stokespnm.py @@ -199,9 +199,6 @@ def run(params, PCEEDMethod='normal'): #===================================================== PostPCE = PostProcessing(PCEModel) - # Plot to check validation visually. - PostPCE.validMetamodel(nValidSamples=3) - # Compute the moments and compare with the Monte-Carlo reference PostPCE.plotMoments(xlabel='Point ID', plotType='bar') diff --git a/BayesValidRox/tests/PA-A/ref_stokesdarcy.py b/BayesValidRox/tests/PA-A/ref_stokesdarcy.py index bd1759bb845898e435fbf386b0896a6ab44369f1..21fb2afd86742add35c89efce4ffb55a3a34072e 100755 --- a/BayesValidRox/tests/PA-A/ref_stokesdarcy.py +++ b/BayesValidRox/tests/PA-A/ref_stokesdarcy.py @@ -3,7 +3,8 @@ """ Created on Thu Aug 13 09:53:11 2020 -@author: farid +@author: Farid Mohammadi, M.Sc. + Email: farid.mohammadi@iws.uni-stuttgart.de """ import sys, os import numpy as np