pmutt.io.chemkin.write_T_flow
- pmutt.io.chemkin.write_T_flow(T=None, P=None, Q=None, abyv=None, conditions=None, filename=None, float_format='.3E', newline='\n', column_delimiter=' ')
Writes the T_flow.inp Chemkin file
- Parameters:
T (list of float) – Temperatures in K
P (list of float) – Pressures in atm
Q (list of float) – Volumetric flow rate in cm3/s
abyv (list of float) – Catalyst area to reactor volume ratio in 1/cm
filename (str, optional) – Name of the file. If not specified, returns file as str
float_format (str, optional) – Format to write floating point numbers. Default is ‘.3E’ (i.e. scientific notation rounded to 3 decimal places)
newline (str, optional) – Newline character. Default is the Linux newline character
column_delimiter (str, optional) – Delimiter for columns. Default is ‘ ‘
- Returns:
lines_out – T_flow lines as a string if
filename
is None- Return type: