Skip to content

Commit

Permalink
loosen solve tolerances
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Sep 23, 2024
1 parent 7de5980 commit de4d6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestReactors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ using SciMLSensitivity
interfaces = [kLAkHCondensationEvaporationWithReservoir(domain, conds)]
react = Reactor(domain, y0, (0.0, 140000.01), interfaces; p=p)

sol1 = solve(react.ode, react.recommendedsolver, abstol=1e-18, reltol=1e-6)
sol1 = solve(react.ode, react.recommendedsolver, abstol=1e-16, reltol=1e-6)

phaseDict = readinput("../src/testing/TdependentkLAkH.rms")
spcs = phaseDict["phase"]["Species"]
Expand All @@ -91,7 +91,7 @@ using SciMLSensitivity
interfaces = [kLAkHCondensationEvaporationWithReservoir(domain, conds)]
react = Reactor(domain, y0, (0.0, 140000.01), interfaces; p=p) #Create the reactor object

sol2 = solve(react.ode, react.recommendedsolver, abstol=1e-18, reltol=1e-6)
sol2 = solve(react.ode, react.recommendedsolver, abstol=1e-16, reltol=1e-6)

spcnames = getfield.(liq.species, :name)
octaneind = findfirst(isequal("octane"), spcnames)
Expand Down

0 comments on commit de4d6ba

Please sign in to comment.