relTol 10% => 5%
This commit is contained in:
parent
3e0619ac2e
commit
3747eccf09
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ do
|
|||
cp -r gri cases/$sp
|
||||
foamDictionary -entry fractions -set '{}' cases/$sp/constant/initialConditions
|
||||
foamDictionary -entry fractions.$sp -set 1 cases/$sp/constant/initialConditions
|
||||
./canteraTest -case cases/$sp
|
||||
./canteraTest -relTol 0.05 -case cases/$sp
|
||||
[ $? -ne 0 ] && error_cases[${#error_cases[*]}]=$sp && exit_code=-1
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ with open('./c2h6_diffusion.csv', 'rb') as csvfile:
|
|||
for s in species:
|
||||
sp.check_call(("foamDictionary -entry fractions." + s + " -set ").split() + [record[s] , case_ic], stdout=FNULL)
|
||||
|
||||
error = sp.call(("./canteraTest -case " + case).split())
|
||||
error = sp.call(("./canteraTest -relTol 0.05 -case " + case).split())
|
||||
|
||||
error_cases.append(error)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue