Examples#

https://github.com/codespaces/badge.svg

You will find below a series of runnable examples using Rizer.

All examples can be run directly from Codespace.

See also

To find examples covering a specific topic, see the index of example tags.

1D plasma#

One-dimensional radial plasma models: the transient two-temperature reacting plasma channel (PlasmaChannel / ChannelReactor1D) and the steady LTE arc column (ThermalPlasmaColumn1D), together with 0D-vs-1D comparisons (matched, prescribed, and self-consistent NRP circuit) and the monolithic-CVODE vs operator-split solvers.

1D plasma channel vs 0D reactor on a matched NRP discharge (current & energy)

1D plasma channel vs 0D reactor on a matched NRP discharge (current & energy)

1D vs 0D on a self-consistent NRP circuit (each closes its own loop)

1D vs 0D on a self-consistent NRP circuit (each closes its own loop)

CH4 plasma channel: field pulse on a pre-ionized channel, then relaxation (n_e video)

CH4 plasma channel: field pulse on a pre-ionized channel, then relaxation (n_e video)

Transient radial conduction vs. the analytical infinite-cylinder solution

Transient radial conduction vs. the analytical infinite-cylinder solution

Channel diameter expansion: 1D model vs engineering law vs experiment

Channel diameter expansion: 1D model vs engineering law vs experiment

Field-driven ionization then relaxation of a 1D plasma channel (n_e video)

Field-driven ionization then relaxation of a 1D plasma channel (n_e video)

Energy-equation effect of species diffusion (compressibility + enthalpy diffusion)

Energy-equation effect of species diffusion (compressibility + enthalpy diffusion)

Transient two-temperature reacting plasma channel

Transient two-temperature reacting plasma channel

1D plasma channel: operator-split vs monolithic CVODE (same physics)

1D plasma channel: operator-split vs monolithic CVODE (same physics)

Steady LTE arc column: Cantera 1D solver vs analytical Elenbaas-Heller

Steady LTE arc column: Cantera 1D solver vs analytical Elenbaas-Heller

Cantera#

[Cantera] related examples.

Plot the chemical equilibrium of a given initial solution.

Plot the chemical equilibrium of a given initial solution.

Interactive Reaction Path Diagrams for CH₄ plasma chemistry.

Interactive Reaction Path Diagrams for CH₄ plasma chemistry.

Electric circuit#

A tutorial series on characterizing the pulsed-discharge electrical circuit: electrical length and the lumped-vs-distributed decision (1), then how to calibrate the model parameters from what you measure — cable delay and impedance by TDR (2), loop inductance from the current rise into a dummy load (3), cable capacitance from the open-end charging transient (4) — and the LC-ladder picture that ties the calibrations together (5). Companion class: notebooks/transmission_line_vs_inductance.ipynb.

Tutorial 1 — Electrical length: which circuit model does your setup need?

Tutorial 1 — Electrical length: which circuit model does your setup need?

Tutorial 2 — TDR: calibrate the cable delay and impedance from echoes.

Tutorial 2 — TDR: calibrate the cable delay and impedance from echoes.

Tutorial 3 — Loop inductance from the current rise into a dummy load.

Tutorial 3 — Loop inductance from the current rise into a dummy load.

Tutorial 4 — Cable capacitance from the charging transient (no load).

Tutorial 4 — Cable capacitance from the charging transient (no load).

Tutorial 5 — The LC-ladder view: why the calibrations are consistent.

Tutorial 5 — The LC-ladder view: why the calibrations are consistent.

Input/Output#

Examples related to input and output operations, like how to read and write chemical kinetic data in various formats.

Computing and comparing the properties of an CH_4 plasma.

Computing and comparing the properties of an CH_4 plasma.

Generates Janev cross section in LXCat format (understandable by Bolsig+).

Generates Janev cross section in LXCat format (understandable by Bolsig+).

Generates Janev hydrogen cross section in LXCat format (understandable by Bolsig+).

Generates Janev hydrogen cross section in LXCat format (understandable by Bolsig+).

Example: Calculating the properties of an CH_4 plasma.

Example: Calculating the properties of an CH_4 plasma.

Generates minplascalc JSON files for monatomic, diatomic and polyatomic species.

Generates minplascalc JSON files for monatomic, diatomic and polyatomic species.

Generate NASA9 coefficients for the electronic excited states of an atom.

Generate NASA9 coefficients for the electronic excited states of an atom.

Kinetics#

Kinetics related examples, like how to build a chemical mechanism with electrons and visualizing reaction path diagrams.

Add CHEMKIN transport data to a Cantera YAML file.

Add CHEMKIN transport data to a Cantera YAML file.

Plot electron-impact cross sections for atomic hydrogen.

Plot electron-impact cross sections for atomic hydrogen.

Plot Arrhenius and Druyvesteyn rates for a given cross section.

Plot Arrhenius and Druyvesteyn rates for a given cross section.

Boltzmann plot of the first electronic excited states of carbon.

Boltzmann plot of the first electronic excited states of carbon.

Run Bolsig to compute energy fraction loss in CH₄.

Run Bolsig to compute energy fraction loss in CH₄.

Do we get the same equilibrium with and without inverse reactions?

Do we get the same equilibrium with and without inverse reactions?

Extend NASA9 Temperature Limits for Kinetics

Extend NASA9 Temperature Limits for Kinetics

Cross sections and reaction rate constant for the ionisation of CH₄ by electrons.

Cross sections and reaction rate constant for the ionisation of CH₄ by electrons.

Time evolution of the formation of solid carbon in a hydrocarbon mixture.

Time evolution of the formation of solid carbon in a hydrocarbon mixture.

Rempart Mechanism Validation.

Rempart Mechanism Validation.

Mechanism#

Mechanism related examples, like building Goutier2025.yaml

Compute and write dissociative recombination of hydrocarbons.

Compute and write dissociative recombination of hydrocarbons.

Cross sections and reaction rate constants for the electron impact of hydrocarbon.

Cross sections and reaction rate constants for the electron impact of hydrocarbon.

Build ion-neutral reactions from UMIST into a Cantera YAML file.

Build ion-neutral reactions from UMIST into a Cantera YAML file.

Build reverse electronic reaction into a Cantera YAML file.

Build reverse electronic reaction into a Cantera YAML file.

Plasma#

Could be NRP plasma, DC plasma, hybrid plasma, or discharge plasma examples.

0D reactor: native C++ vs Python (and the 1D channel collapsed to a single cell).

0D reactor: native C++ vs Python (and the 1D channel collapsed to a single cell).

Analysis of Philippe Castera’s circuit.

Analysis of Philippe Castera's circuit.

Elenbaas-Heller model for H₂ DC plasma — Cantera numerical solver.

Elenbaas-Heller model for H₂ DC plasma — Cantera numerical solver.

Elenbaas-Heller model for H₂ DC plasma.

Elenbaas-Heller model for H₂ DC plasma.

Plot CH₄ average momentum transfer collision frequency.

Plot CH₄ average momentum transfer collision frequency.

Plot CH₄ average and elastic momentum transfer cross sections.

Plot CH₄ average and elastic momentum transfer cross sections.

Use Stine-Watson model for a DC thermal plasma in H₂.

Use Stine-Watson model for a DC thermal plasma in H₂.

Analysis of Thor4 generator data.

Analysis of Thor4 generator data.

Paschen curve for a Townsend discharge.

Paschen curve for a Townsend discharge.

Radiation properties#

Methane and hydrogen radiation properties in Local Thermal Equilibrium (LTE), using the Net Emission Coefficient (NEC) method for now.

Plot radiation data vs. temperature for CH4, H2 and N2.

Plot radiation data vs. temperature for CH4, H2 and N2.

Thermodynamic properties#

Methane and hydrogen thermodynamic properties in Local Thermal Equilibrium (LTE) for now, as well as composition at equilibrium for methane and hydrogen.

Plot the energy cost of producing H₂ from CH₄ as a function of temperature.

Plot the energy cost of producing H₂ from CH₄ as a function of temperature.

Plot thermodynamic properties of H₂ vs. temperatures.

Plot thermodynamic properties of H₂ vs. temperatures.

Plot CH₄ chemical equilibrium vs temperature for various pressures (including solid carbon).

Plot CH₄ chemical equilibrium vs temperature for various pressures (including solid carbon).

Plot CH₄ chemical equilibrium vs temperature for various pressures (at high temperatures).

Plot CH₄ chemical equilibrium vs temperature for various pressures (at high temperatures).

Plot thermodynamic properties of CH₄ vs. temperatures.

Plot thermodynamic properties of CH₄ vs. temperatures.

Plot molar heat capacity of N₂, CH₄, H₂ and Ar vs. temperature.

Plot molar heat capacity of N₂, CH₄, H₂ and Ar vs. temperature.

Plot specific heat vs. temperature for different species and thermo data.

Plot specific heat vs. temperature for different species and thermo data.

Transport properties#

Methane and hydrogen transport properties in Local Thermal Equilibrium (LTE) for now.

Plot thermodynamic and transport data vs. temperature for a plasma of Air, O2 or N2 in LTE.

Plot thermodynamic and transport data vs. temperature for a plasma of Air, O2 or N2 in LTE.

Plot thermodynamic and transport data vs. temperature for a plasma of H2, O2, N2, Ar, He in LTE.

Plot thermodynamic and transport data vs. temperature for a plasma of H2, O2, N2, Ar, He in LTE.

Compare thermal conductivity vs. temperature for a plasma of methane.

Compare thermal conductivity vs. temperature for a plasma of methane.

Plot electrical conductivity vs. temperature for a plasma of methane.

Plot electrical conductivity vs. temperature for a plasma of methane.

Plot transport data vs. temperature for a plasma of hydrogen.

Plot transport data vs. temperature for a plasma of hydrogen.

Plot transport data vs. temperature for a plasma of methane.

Plot transport data vs. temperature for a plasma of methane.