relTol 5% => 6%

This commit is contained in:
Yeongdo Park 2019-01-02 13:10:05 -05:00
parent d3b2bee5a8
commit 0da17683df
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ do
cp -r gri cases/$sp cp -r gri cases/$sp
foamDictionary -entry fractions -set '{}' cases/$sp/constant/initialConditions foamDictionary -entry fractions -set '{}' cases/$sp/constant/initialConditions
foamDictionary -entry fractions.$sp -set 1 cases/$sp/constant/initialConditions foamDictionary -entry fractions.$sp -set 1 cases/$sp/constant/initialConditions
./canteraTest -relTol 0.05 -case cases/$sp ./canteraTest -relTol 0.06 -case cases/$sp
[ $? -ne 0 ] && error_cases[${#error_cases[*]}]=$sp && exit_code=-1 [ $? -ne 0 ] && error_cases[${#error_cases[*]}]=$sp && exit_code=-1
done done

View file

@ -52,7 +52,7 @@ with open(test_set_file, 'rb') as csvfile:
for s in species: for s in species:
sp.check_call(("foamDictionary -entry fractions." + s + " -set ").split() + [record[s] , case_ic], stdout=FNULL) sp.check_call(("foamDictionary -entry fractions." + s + " -set ").split() + [record[s] , case_ic], stdout=FNULL)
error = sp.call(("./canteraTest -relTol 0.05 -case " + case).split()) error = sp.call(("./canteraTest -relTol 0.06 -case " + case).split())
error_cases.append(error) error_cases.append(error)