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

Function mdot

samples/python/reactors/combustor.py:58–59  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

56# can access variables defined in the calling scope, including state variables
57# of the `Reactor` object (combustor) itself.
58def mdot(t):
59 return combustor.mass / residence_time
60
61inlet_mfc = ct.MassFlowController(inlet, combustor, mdot=mdot)
62

Callers 4

test_valve3Method · 0.85
test_valve_timingMethod · 0.85

Calls

no outgoing calls

Tested by 4

test_valve3Method · 0.68
test_valve_timingMethod · 0.68