From 29e6c374a27a8cc9bad0dc436ff3db5683f5ef91 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 28 Jun 2013 21:24:35 +0000 Subject: [PATCH] [Test] Fix failure of VCS-LiSi test when debug_verbose=y Partially addresses Issue 69. --- .../VCSnonideal/LatticeSolid_LiSi/latsol.cpp | 2 +- .../LatticeSolid_LiSi/output_blessed.txt | 74 ------------------- 2 files changed, 1 insertion(+), 75 deletions(-) diff --git a/test_problems/VCSnonideal/LatticeSolid_LiSi/latsol.cpp b/test_problems/VCSnonideal/LatticeSolid_LiSi/latsol.cpp index fd4063977..5abc7caca 100644 --- a/test_problems/VCSnonideal/LatticeSolid_LiSi/latsol.cpp +++ b/test_problems/VCSnonideal/LatticeSolid_LiSi/latsol.cpp @@ -55,7 +55,7 @@ void testProblem() mmm.addPhase(&LiFixed, 100.); int solver = 2; - int printLvl = 10; + int printLvl = 3; int estimateEquil = 0; vcs_equilibrate(mmm, "TP", estimateEquil, printLvl, solver); diff --git a/test_problems/VCSnonideal/LatticeSolid_LiSi/output_blessed.txt b/test_problems/VCSnonideal/LatticeSolid_LiSi/output_blessed.txt index 896bf760e..31731a0ee 100644 --- a/test_problems/VCSnonideal/LatticeSolid_LiSi/output_blessed.txt +++ b/test_problems/VCSnonideal/LatticeSolid_LiSi/output_blessed.txt @@ -3,12 +3,7 @@ Number of elements = 3 dg_corr = -1.57754e+08 um_li_chempot = -1.65555e+08 Unknown Cantera EOS to VCSnonideal: 0 -vcs_Cantera_convert: Species Type 8 not known -vcs_Cantera_convert: Species Type 8 not known Unknown Cantera EOS to VCSnonideal: 20 -vcs_Cantera_convert: Species Type 8 not known -vcs_Cantera_convert: Species Type 1 not known -vcs_Cantera_convert: Species Type 1 not known Unknown Cantera EOS to VCSnonideal: 70 ================================================================================ @@ -139,75 +134,6 @@ VCS CALCULATION METHOD V(i) 0 0 0 0 1 1 8.98000E+04 4.95000E-01 Mol_Num Li(i) 1 0 0 0 1 1 -1.52202E+07 5.00000E-03 Mol_Num -============================================================================================================== - Iteration = 0, Iterations since last evaluation of optimal basis = 0 (all species) - --- Total Old Dimensionless Gibbs Free Energy = -4.1205648238769E+03 - --- Total tentative Dimensionless Gibbs Free Energy = -4.1206708518557E+03 - ------------------------------------------------------------------------------------------------------- - --- Summary of the Update (all species): - --- Species Status Initial_KMoles Final_KMoles Initial_Mu/RT Mu/RT Init_Del_G/RT Delta_G/RT - --- LiFixed 1.000000E+02 1.000045E+02 -3.185106E+01 -3.185106E+01 - --- LiCl(L) 7.000000E+00 7.000000E+00 -8.660120E+01 -8.660120E+01 - --- KCl(L) 3.000000E+00 3.000000E+00 -9.603612E+01 -9.603612E+01 - --- Li7Si3(S) 5.000000E-01 5.000000E-01 -8.152370E+01 -8.152370E+01 - --- V(i) 4.950000E-01 4.995000E-01 -6.859210E-01 -6.768711E-01 - --- Li(i) 1 5.000000E-03 5.000000E-04 -8.226514E+00 -1.052910E+01 2.431046E+01 2.199883E+01 - --- Norms of Delta G(): 2.431046E+01 2.199883E+01 - --- Phase_Name KMoles(after update) - --- -------------------------------------------------- - --- MoltenSalt_electrolyte = 1.0000000E+01 - --- Li7Si3_and_Interstitials(S) = 1.0000000E+00 - --- LiFixed = 1.0000450E+02 - ------------------------------------------------------------------------------------------------------- - --- Total Old Dimensionless Gibbs Free Energy = -4.1205648238769E+03 - --- Total New Dimensionless Gibbs Free Energy = -4.1206708518557E+03 - -============================================================================================================== - Iteration = 1, Iterations since last evaluation of optimal basis = 1 (all species) - --- Total Old Dimensionless Gibbs Free Energy = -4.1206708518557E+03 - --- Total tentative Dimensionless Gibbs Free Energy = -4.1206813510191E+03 - ------------------------------------------------------------------------------------------------------- - --- Summary of the Update (all species): - --- Species Status Initial_KMoles Final_KMoles Initial_Mu/RT Mu/RT Init_Del_G/RT Delta_G/RT - --- LiFixed 1.000045E+02 1.000050E+02 -3.185106E+01 -3.185106E+01 - --- LiCl(L) 7.000000E+00 7.000000E+00 -8.660120E+01 -8.660120E+01 - --- KCl(L) 3.000000E+00 3.000000E+00 -9.603612E+01 -9.603612E+01 - --- Li7Si3(S) 5.000000E-01 5.000000E-01 -8.152370E+01 -8.152370E+01 - --- V(i) 4.995000E-01 5.000000E-01 -6.768711E-01 -6.758706E-01 - --- Li(i) 0 5.000000E-04 1.396324E-13 -1.052910E+01 -3.252796E+01 2.199886E+01 -1.000381E-03 - --- Norms of Delta G(): 2.199886E+01 1.000381E-03 - --- Phase_Name KMoles(after update) - --- -------------------------------------------------- - --- MoltenSalt_electrolyte = 1.0000000E+01 - --- Li7Si3_and_Interstitials(S) = 1.0000000E+00 - --- LiFixed = 1.0000500E+02 - ------------------------------------------------------------------------------------------------------- - --- Total Old Dimensionless Gibbs Free Energy = -4.1206708518557E+03 - --- Total New Dimensionless Gibbs Free Energy = -4.1206813510191E+03 - -============================================================================================================== - Iteration = 2, Iterations since last evaluation of optimal basis = 2 (all species) - --- Total Old Dimensionless Gibbs Free Energy = -4.1206813510191E+03 - --- Total tentative Dimensionless Gibbs Free Energy = -4.1206813510191E+03 - ------------------------------------------------------------------------------------------------------- - --- Summary of the Update (all species): - --- Species Status Initial_KMoles Final_KMoles Initial_Mu/RT Mu/RT Init_Del_G/RT Delta_G/RT - --- LiFixed 1.000050E+02 1.000050E+02 -3.185106E+01 -3.185106E+01 - --- LiCl(L) 7.000000E+00 7.000000E+00 -8.660120E+01 -8.660120E+01 - --- KCl(L) 3.000000E+00 3.000000E+00 -9.603612E+01 -9.603612E+01 - --- Li7Si3(S) 5.000000E-01 5.000000E-01 -8.152370E+01 -8.152370E+01 - --- V(i) 5.000000E-01 5.000000E-01 -6.758706E-01 -6.758706E-01 - --- Li(i) 0 1.396324E-13 1.397722E-13 -3.252796E+01 -3.252696E+01 -1.000381E-03 0.000000E+00 - --- Norms of Delta G(): 1.000381E-03 0.000000E+00 - --- Phase_Name KMoles(after update) - --- -------------------------------------------------- - --- MoltenSalt_electrolyte = 1.0000000E+01 - --- Li7Si3_and_Interstitials(S) = 1.0000000E+00 - --- LiFixed = 1.0000500E+02 - ------------------------------------------------------------------------------------------------------- - --- Total Old Dimensionless Gibbs Free Energy = -4.1206813510191E+03 - --- Total New Dimensionless Gibbs Free Energy = -4.1206813510191E+03 -