T-MATS: Flow Add, Cantera Library Block
Add secondary flow to primary flow, conserving enthalpy and mass (output pressure remains equal to primary flow pressure). To utilize this block a Cantera object must exist in the workspace as a global variable named fs, which may be created with the Cantera importPhase command. The fs variable must include all Species defined in the file canteraload.m.

Duct Inputs:
Duct InputDescription
Flow primaryPrimary Flow, 25x1 vector consisting of:
-1- W - gas path flow [pps]
-2- s - entropy [BTU/(lbm*degR)]
-3- Tt - total temperature [degR]
-4- Pt - total pressure [psia]
-5- ht - total enthlapy [BTU/lbm]
-6- rhot - total density [lbm/ft3]
-7- gamt - total specific heat ratio
-8- Ts - static temperature [degR]
-9- Ps - static pressure [psia]
-10- hs - static enthalpy [BTU/lbm]
-11- rhos - static density [lbm/ft3]
-12- gams - static specific heat ratio
-13- Vflow - flow velocity [ft/sec]
-14- MN - Mach number
-15- A - flow area [in2]
-16to21- species array values, defined in canteraload.m
-22to25- future use
Flow secondarySecondary Flow, 25x1 vector consisting of:
-1- W - gas path flow [pps]
-2- s - entropy [BTU/(lbm*degR)]
-3- Tt - total temperature [degR]
-4- Pt - total pressure [psia]
-5- ht - total enthlapy [BTU/lbm]
-6- rhot - total density [lbm/ft3]
-7- gamt - total specific heat ratio
-8- Ts - static temperature [degR]
-9- Ps - static pressure [psia]
-10- hs - static enthalpy [BTU/lbm]
-11- rhos - static density [lbm/ft3]
-12- gams - static specific heat ratio
-13- Vflow - flow velocity [ft/sec]
-14- MN - Mach number
-15- A - flow area [in2]
-16to21- species array values, defined in canteraload.m
-22to25- future use

Duct Outputs:
Duct OutputDescription
Flow OutFlow Data Output, 25x1 vector consisting of:
-1- W - gas path flow [pps]
-2- s - entropy [BTU/(lbm*degR)]
-3- Tt - total temperature [degR]
-4- Pt - total pressure [psia]
-5- ht - total enthlapy [BTU/lbm]
-6- rhot - total density [lbm/ft3]
-7- gamt - total specific heat ratio
-8- Ts - static temperature [degR]
-9- Ps - static pressure [psia]
-10- hs - static enthalpy [BTU/lbm]
-11- rhos - static density [lbm/ft3]
-12- gams - static specific heat ratio
-13- Vflow - flow velocity [ft/sec]
-14- MN - Mach number
-15- A - flow area [in2]
-16to21- species array values, defined in canteraload.m
-22to25- future use
FA_DataBlock additional calculation Data, 1x1 vector including:
- 0 - future use