GithubHelp home page GithubHelp logo

tdinelli / opensmokepp_interfaces Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 146 KB

This repository contains interfaces for python to the OpenSMOKE++ framework

Home Page: https://www.opensmokepp.polimi.it/

License: GNU General Public License v3.0

CMake 16.56% C++ 72.63% Shell 0.92% Python 9.90%
chemical-engineering chemical-kinetics chemical-reactions combustion combustion-models

opensmokepp_interfaces's Introduction

OpenSMOKEpp (High Level) interfaces

Repository containing my high level programming language interfaces (e.g. python, Julia (one day)) for OpenSMOKEpp.

OpenSMOKEpp interfaced classes

  • Gas Phase kinetic map.
  • Gas Phase Thermodynamic properties map.
  • Gas Phase Transport properties map. (WIP)
  • Batch Reactor.

EXAMPLES

Incoming

INSTALLATION

Disclaimer the package is still under active development for this reason at the moment has been tested only on my personal PC and in some other controlled environments, it is not guaranteed to work as is.

Requirements

Once all the necessary requirements are satisfied in order to build and install the package follow the following instructions:

  1. Clone this repository into your system.
    > git clone https://github.com/tdinelli/OpenSMOKEpp_Interfaces.git --depth=1
  2. Move into the main folder.
    > cd OpenSMOKEpp_Interfaces
  3. Export the following environment variables (with the appropriate paths).
    > export CC="/opt/homebrew/opt/llvm/bin/clang"
    > export CXX="/opt/homebrew/opt/llvm/bin/clang++"
    > export FC="/opt/homebrew/bin/gfortran-13"
    > export Boost_ROOT="$HOME/NumericalLibraries/boost/boost-1.83.0-clang-17.0.1"
    > export BLAS_ROOT="$HOME/NumericalLibraries/openblas/openblas-0.3.24-clang-17.0.3"
    > export OpenSMOKEpp_ROOT="$HOME/Documents/GitHub/OpenSMOKEpp"
    > export OpenSMOKEppSolvers_ROOT="$HOME/Documents/GitHub/OpenSMOKEppSolvers"
    > export Eigen3_ROOT="$HOME/NumericalLibraries/eigen/eigen-3.4.0/share/eigen3/cmake"
  4. Run the following commands. In order to avoid problems with python versioning and to avoid conflicts between existing python packages it is highly recommended to install the package into a (clean) conda environment.
    > python3 -m pip install .
    If you need to debug the installation run the previous command with "-v" at the end. If everything is done correct something like this should appear on the screen.
    ...
    Successfully built pyOpenSMOKE
    Installing collected packages: pyOpenSMOKE
    Successfully installed pyOpenSMOKE-0.0.1

opensmokepp_interfaces's People

Contributors

tdinelli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.