cantera/interfaces/matlab/toolbox/@FlowDevice/massFlowRate.m

12 lines
394 B
Matlab

function mdot = massFlowRate(f, time)
% MASSFLOWRATE Get the mass flow rate at a given time.
% mdot = massFlowRate(f, time)
% :param f:
% Instance of class :mat:func:`MassFlowController`
% :param time:
% Time at which the mass flow rate is desired
% :return:
% The mass flow rate through the :mat:func:`FlowDevice` at the given time
%
mdot = flowdevicemethods(21, f.index, time);