ChemkinSolutionImporter#
- class ansys.chemkin.core.chemkin_solution_utility.ChemkinSolutionImporter#
Post-process the regular Chemkin simulation solution.
Overview#
Get the solution data using the Chemkin post-processor. |
|
Import the solution data from the CSV file for further analysis. |
|
Process the CSV file containing the solution data. |
|
Get help information from the Chemkin solution utility. |
|
Set the working directory for the Chemkin solution utility. |
|
Generate the preference file to customize solution extraction. |
|
Set the XML data file for the Chemkin solution utility. |
|
Enable the use of the preference file for the Chemkin solution utility. |
|
Disable the use of the preference file for the Chemkin solution utility. |
|
Enable the use of mass fraction for the Chemkin solution utility. |
|
Disable the use of mass fraction for the Chemkin solution utility. |
|
Enable the ‘get everything’ option for the Chemkin solution utility. |
|
Disable the ‘get everything’ option for the Chemkin solution utility. |
|
Enable the sensitivity option for the Chemkin solution utility. |
|
Disable the sensitivity option for the Chemkin solution utility. |
|
Select the rate of progress option for the Chemkin solution utility. |
|
Deselect the rate of progress option for the Chemkin solution utility. |
|
Validate the imported solution data. |
|
Get the list of available solution groups. |
|
Get the list of variable labels for a specific solution group. |
|
Get the data for a specific solution group. |
|
Get the solution group object for a specific solution group. |
|
Get the array of data for a specific variable within a solution group. |
|
Get the number of solution points in the solution data. |
|
Get the number of gas species in the solution data. |
|
Get the list of gas species symbols in the solution data. |
Import detail#
from ansys.chemkin.core.chemkin_solution_utility import ChemkinSolutionImporter
Attribute detail#
- ChemkinSolutionImporter.ckbin#
- ChemkinSolutionImporter.get_soln = ''#
- ChemkinSolutionImporter.soln_transpose = ''#
- ChemkinSolutionImporter.env_file = ''#
- ChemkinSolutionImporter.get_soln_path = ''#
- ChemkinSolutionImporter.soln_transpose_path = ''#
- ChemkinSolutionImporter.get_soln_args: list[str] = []#
- ChemkinSolutionImporter.work_dir_path#
- ChemkinSolutionImporter.xml_data_file = 'XMLdata.zip'#
- ChemkinSolutionImporter.use_mass_fraction = False#
Method detail#
- ChemkinSolutionImporter.import_solution(soln_file: str | None = None)#
Get the solution data using the Chemkin post-processor.
- ChemkinSolutionImporter.process_solution_data()#
Import the solution data from the CSV file for further analysis.
- ChemkinSolutionImporter.process_ckcsv(ckcsv_file: str | None = None)#
Process the CSV file containing the solution data.
- ChemkinSolutionImporter.get_help()#
Get help information from the Chemkin solution utility.
- ChemkinSolutionImporter.set_working_dir(work_dir: str)#
Set the working directory for the Chemkin solution utility.
- ChemkinSolutionImporter.generate_preference_file(soln_file: str | None = None)#
Generate the preference file to customize solution extraction.
- ChemkinSolutionImporter.set_xml_data_file(xml_file: str)#
Set the XML data file for the Chemkin solution utility.
- ChemkinSolutionImporter.use_preference_file(pref_file: str)#
Enable the use of the preference file for the Chemkin solution utility.
- ChemkinSolutionImporter.disable_preference_file()#
Disable the use of the preference file for the Chemkin solution utility.
- ChemkinSolutionImporter.enable_mass_fraction()#
Enable the use of mass fraction for the Chemkin solution utility.
- ChemkinSolutionImporter.disable_mass_fraction()#
Disable the use of mass fraction for the Chemkin solution utility.
- ChemkinSolutionImporter.enable_get_everything()#
Enable the ‘get everything’ option for the Chemkin solution utility.
- ChemkinSolutionImporter.disable_get_everything()#
Disable the ‘get everything’ option for the Chemkin solution utility.
- ChemkinSolutionImporter.enable_sensitivity()#
Enable the sensitivity option for the Chemkin solution utility.
- ChemkinSolutionImporter.disable_sensitivity()#
Disable the sensitivity option for the Chemkin solution utility.
- ChemkinSolutionImporter.enable_rop()#
Select the rate of progress option for the Chemkin solution utility.
- ChemkinSolutionImporter.disable_rop()#
Deselect the rate of progress option for the Chemkin solution utility.
- ChemkinSolutionImporter.validate_solution_data() bool#
Validate the imported solution data.
- ChemkinSolutionImporter.get_solution_groups() list[str]#
Get the list of available solution groups.
- ChemkinSolutionImporter.get_variable_labels(solution_group: str) list[str]#
Get the list of variable labels for a specific solution group.
- ChemkinSolutionImporter.get_group_data(solution_group: str) pandas.DataFrame | None#
Get the data for a specific solution group.
- ChemkinSolutionImporter.get_group_object(solution_group: str) SolutionGroup | None#
Get the solution group object for a specific solution group.
- ChemkinSolutionImporter.get_solution_variable_array(solution_group: str, variable_label: str) pandas.Series[float] | None#
Get the array of data for a specific variable within a solution group.
- ChemkinSolutionImporter.get_number_of_points() int#
Get the number of solution points in the solution data.
- ChemkinSolutionImporter.get_number_of_gas_species() int#
Get the number of gas species in the solution data.
- ChemkinSolutionImporter.get_gas_species_symbols() list[str]#
Get the list of gas species symbols in the solution data.