diff --git a/pyrms/rmsTest.py b/pyrms/rmsTest.py index ebd32e3..2812760 100644 --- a/pyrms/rmsTest.py +++ b/pyrms/rmsTest.py @@ -12,7 +12,7 @@ def test_simulate(self): ig = rms.IdealGas(spcs,rxns,name="gas") initialconds = {"T":1000.0,"P":10.0e5,"H2":2.0,"O2":1.0} domain,y0,p = rms.ConstantTPDomain(phase=ig,initialconds=jl.convert(jl.Dict,initialconds)) - react = rms.Reactor(domain,y0,(0.0,10.001)) + react = rms.Reactor(domain,y0,(0.0,10.001),p=p) sol = rms.solve(react.ode,rms.CVODE_BDF(),abstol=1e-20,reltol=1e-8) sim = rms.Simulation(sol,domain) self.assertAlmostEqual(rms.molefractions(sim,"H2",3.0),0.34445669,places=3)