MCPcopy Create free account
hub / github.com/Cantera/cantera / make_reactors

Method make_reactors

test/python/test_reactor.py:1780–1787  ·  view source on GitHub ↗
(self, gas, surf)

Source from the content-addressed store, hash-verified

1778 return surf, surf.adjacent['gas']
1779
1780 def make_reactors(self, gas, surf):
1781 r = ct.FlowReactor(gas)
1782 r.area = 1e-4
1783 r.surface_area_to_volume_ratio = 5000
1784 r.mass_flow_rate = 0.02
1785 rsurf = ct.ReactorSurface(surf, r)
1786 sim = ct.ReactorNet([r])
1787 return r, rsurf, sim
1788
1789 def test_advance_reverse(self):
1790 surf, gas = self.import_phases()

Calls 2

ReactorSurfaceMethod · 0.80
ReactorNetMethod · 0.45

Tested by

no test coverage detected