Material#
- class ansys.chemkin.core.chemistry.Material(mat_index: int, chem: Chemistry, label: str = '')#
Surface Chemkin material object.
Overview#
List the size information of the material. |
|
Get the local and the global indices of a site species. |
|
Get the local and the global indices of a bulk species. |
|
Get the local and the global indices and type of a surface species. |
|
Get the site phase densities. |
|
Get bulk species densities. |
|
Get the site species molecular weights. |
|
Get the bulk species molecular weights. |
|
Get site species occupancy. |
|
Get site species enthalpy. |
|
Get bulk species enthalpy. |
|
Get bulk species specific heat capacity. |
|
Get elemental composition of a species. |
|
Get the Arrhenius reaction rate parameters. |
|
Set the Arrhenius A-Factor of the given surface reaction. |
|
Get the Arrhenius A-Factor of the given surface reaction. |
|
Set the Arrhenius activation energy of the given surface reaction. |
|
Get the Arrhenius activation energy. |
|
Get the reaction string of the surface reaction. |
Get the surface material index. |
|
Get the number of phases. |
|
Get the number of site phases. |
|
Get the number of bulk phases. |
|
Get the number of species in all phases. |
|
Get the total number of site species. |
|
Get the total number of bulk species. |
|
Get phase index of the first site phase. |
|
Get phase index of the last site phase. |
|
Get phase index of the first bulk phase. |
|
Get phase index of the last bulk phase. |
|
Get the number of surface reactions. |
|
Get the number of all reactions. |
|
Get list of phase names. |
|
Set list of site species names. |
|
Set list of bulk species names. |
|
Get the global species index of the first site species. |
|
Get the global species index of the first bulk species. |
|
Get the global species index of the last site species. |
|
Get the global species index of the last bulk species. |
|
Get surface material temperature. |
|
Get surface material area. |
Import detail#
from ansys.chemkin.core.chemistry import Material
Property detail#
- property Material.material_index: int#
Get the surface material index.
- property Material.number_phases: int#
Get the number of phases.
- property Material.number_site_phases: int#
Get the number of site phases.
- property Material.number_bulk_phases: int#
Get the number of bulk phases.
- property Material.number_total_species: int#
Get the number of species in all phases.
- property Material.number_site_species: int#
Get the total number of site species.
- property Material.number_bulk_species: int#
Get the total number of bulk species.
- property Material.first_site_phase_index: int#
Get phase index of the first site phase.
- property Material.last_site_phase_index: int#
Get phase index of the last site phase.
- property Material.first_bulk_phase_index: int#
Get phase index of the first bulk phase.
- property Material.last_bulk_phase_index: int#
Get phase index of the last bulk phase.
- property Material.number_surface_reactions: int#
Get the number of surface reactions.
- property Material.number_total_reactions: int#
Get the number of all reactions.
- property Material.phase_names#
Get list of phase names.
- property Material.site_species_names#
Set list of site species names.
- property Material.bulk_species_names#
Set list of bulk species names.
- property Material.first_site_species_index: int#
Get the global species index of the first site species.
- property Material.first_bulk_species_index: int#
Get the global species index of the first bulk species.
- property Material.last_site_species_index: int#
Get the global species index of the last site species.
- property Material.last_bulk_species_index: int#
Get the global species index of the last bulk species.
- property Material.surface_temperature: float#
Get surface material temperature.
- property Material.surface_area: float#
Get surface material area.
Attribute detail#
- Material.num_element#
- Material.num_gas_species#
- Material.num_gas_reactions#
- Material.site_species_map: dict[str, int]#
- Material.bulk_species_map: dict[str, int]#
- Material.ESymbols#
- Material.num_site_phase#
- Material.num_bulk_phase#
- Material.first_site_phase = 0#
- Material.last_site_phase = 0#
- Material.first_bulk_phase = 0#
- Material.last_bulk_phase = 0#
- Material.nspecies_of_phase#
- Material.first_species_id_of_phase#
- Material.last_species_id_of_phase#
- Material.PhaseSymbol: list[str] = []#
- Material.phase_map: dict[str, int]#
- Material.phases: dict[str, SurfacePhase]#
- Material.site_symbols: list[str] = []#
- Material.bulk_symbols: list[str] = []#
- Material.ncf_done = 0#
- Material.sitewt_done = 0#
- Material.bulkwt_done = 0#
- Material.site_wt#
- Material.bulk_wt#
- Material.surftemp = 300.0#
- Material.activearea = 0.0#
Method detail#
- Material.information()#
List the size information of the material.
- Material.get_site_specindex(symbol: str = '') tuple[int, int]#
Get the local and the global indices of a site species.
- Material.get_bulk_specindex(symbol: str = '') tuple[int, int]#
Get the local and the global indices of a bulk species.
- Material.get_surf_specindex(symbol: str = '', mode: str = 'normal') tuple[int, int, str]#
Get the local and the global indices and type of a surface species.
- Material.get_site_density() numpy.typing.NDArray[numpy.double]#
Get the site phase densities.
- Material.get_bulk_density() numpy.typing.NDArray[numpy.double]#
Get bulk species densities.
- Material.get_site_molar_weights() numpy.typing.NDArray[numpy.double]#
Get the site species molecular weights.
- Material.get_bulk_molar_weights() numpy.typing.NDArray[numpy.double]#
Get the bulk species molecular weights.
- Material.get_site_occupancy() numpy.typing.NDArray[numpy.int32]#
Get site species occupancy.
- Material.get_site_species_h(temp: float | None = None) numpy.typing.NDArray[numpy.double]#
Get site species enthalpy.
- Material.get_bulk_species_h(temp: float | None = None, pres: float | None = None) numpy.typing.NDArray[numpy.double]#
Get bulk species enthalpy.
- Material.get_bulk_species_cp(temp: float | None = None, pres: float | None = None) numpy.typing.NDArray[numpy.double]#
Get bulk species specific heat capacity.
- Material.material_species_composition(elemindex: int = -1, specindex: int = -1) int#
Get elemental composition of a species.
- Material.get_surface_reaction_parameters() tuple[numpy.typing.NDArray[numpy.double], numpy.typing.NDArray[numpy.double], numpy.typing.NDArray[numpy.double]]#
Get the Arrhenius reaction rate parameters.
- Material.set_surface_reaction_afactor(reaction_index: int, a_factor: float)#
Set the Arrhenius A-Factor of the given surface reaction.
- Material.get_surface_reaction_afactor(reaction_index: int) float#
Get the Arrhenius A-Factor of the given surface reaction.
- Material.set_surface_reaction_act_energy(reaction_index: int, act_energy: float)#
Set the Arrhenius activation energy of the given surface reaction.
- Material.get_surface_reaction_act_energy(reaction_index: int) float#
Get the Arrhenius activation energy.
- Material.get_surface_reaction_string(reaction_index: int) str#
Get the reaction string of the surface reaction.