We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3deec9f commit 8d15987Copy full SHA for 8d15987
Source/Utility/PMF/cantera_pmf_generator.py
@@ -102,7 +102,11 @@
102
103
# Print information
104
label_pre = "pmf-" + mechanism
105
-label = fuel_species.split(":")[0] + "_PHI" + str(phi) + "_T" + str(tin) + "_P" + str(p)
+if Y_species is not None:
106
+ num_input_species = len([item for item in Y_species.split(',') if ':' in item])
107
+ label = "Y" + str(num_input_species) + "_T" + str(tin) + "_P" + str(p)
108
+else:
109
+ label = fuel_species.split(":")[0] + "_PHI" + str(phi) + "_T" + str(tin) + "_P" + str(p)
110
111
#################
112
# Find mechanism in PelePhysics
0 commit comments