Skip to content

Julia support for Cantera #81

Description

@RSuryaNarayan

Motivation
With Julia being increasingly turned towards by the scientific computing community, Cantera's support to Julia shall be a valuable feature addition. Two such paths exist to extend Cantera's support to Julia:
Possible solutions

  • A complete re-implementation based on the Cantera interpreter like Arrhenius.jl
  • Some additions to the source code to make the existing version of Cantera "callable" in Julia.
    A possible example of the second method would be to use the PyCall feature of Julia to make the Python implementation of Cantera available in the Julia environment:
    using PyCall; pyimport('cantera')
    Note that before this can take action, one needs PyCall added using Pkg.add("PyCall") and configure the working environment to include python using ENV["PYTHON"] = "location of the python.exe". Some skepticism exists that such an implementation would be unstable. A better implementation of such a feature would be to use the C++ implementation of cantera directly using Julia ccall()and create an executable.

References-Cantera user's group discussions

  1. https://groups.google.com/g/cantera-users/c/AkjunMzAkJs
  2. https://groups.google.com/g/cantera-users/c/WGi-PTq9Wgg/m/M5LTO-1HAwAJ

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions