All Projects → DENG-MIT → reactorch

DENG-MIT / reactorch

Licence: MIT license
A Differentiable Reacting Flow Simulation Package in PyTorch

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to reactorch

KinBot
Automated reaction pathway search for gas-phase molecules
Stars: ✭ 20 (-16.67%)
Mutual labels:  combustion, kinetics
Kinetic.jl
Universal modeling and simulation of fluid dynamics upon machine learning
Stars: ✭ 82 (+241.67%)
Mutual labels:  fluid-dynamics, scientific-machine-learning
msk-STAPLE
STAPLE (Shared Tools for Automatic Personalised Lower Extremity modelling) consists of a collection of methods for generating skeletal models from three-dimensional bone geometries, usually segmented from medical images. The methods are currently being expanded to create complete musculoskeletal models.
Stars: ✭ 39 (+62.5%)
Mutual labels:  kinetics
ludwig
A lattice Boltzmann code for complex fluids
Stars: ✭ 35 (+45.83%)
Mutual labels:  fluid-dynamics
neqsimpython
NeqSim is a library for calculation of fluid behavior, phase equilibrium and process simulation. This project is a Python interface to NeqSim.
Stars: ✭ 22 (-8.33%)
Mutual labels:  fluid-dynamics
ArrayInterface.jl
Designs for new Base array interface primitives, used widely through scientific machine learning (SciML) and other organizations
Stars: ✭ 111 (+362.5%)
Mutual labels:  scientific-machine-learning
Fluid Simulation
Self advection, external force and pressure solve to a velocity field represented by a MaC grid.
Stars: ✭ 107 (+345.83%)
Mutual labels:  fluid-dynamics
AutoOptimize.jl
Automatic optimization and parallelization for Scientific Machine Learning (SciML)
Stars: ✭ 77 (+220.83%)
Mutual labels:  scientific-machine-learning
DiffEqGPU.jl
GPU-acceleration routines for DifferentialEquations.jl and the broader SciML scientific machine learning ecosystem
Stars: ✭ 131 (+445.83%)
Mutual labels:  scientific-machine-learning
UnsteadyFlowSolvers.jl
Solvers for problems involving unsteady fluid flow
Stars: ✭ 18 (-25%)
Mutual labels:  fluid-dynamics
phantom
Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
Stars: ✭ 52 (+116.67%)
Mutual labels:  fluid-dynamics
rans-uncertainty
Uncertainty Quantification of RANS Data-Driven Turbulence Modeling
Stars: ✭ 44 (+83.33%)
Mutual labels:  fluid-dynamics
DiffEqPhysics.jl
A library for building differential equations arising from physical problems for physics-informed and scientific machine learning (SciML)
Stars: ✭ 46 (+91.67%)
Mutual labels:  scientific-machine-learning
exadg
ExaDG - High-Order Discontinuous Galerkin for the Exa-Scale
Stars: ✭ 62 (+158.33%)
Mutual labels:  fluid-dynamics
CatKit
General purpose tools for high-throughput catalysis
Stars: ✭ 48 (+100%)
Mutual labels:  chemical-kinetics
MuladdMacro.jl
This package contains a macro for converting expressions to use muladd calls and fused-multiply-add (FMA) operations for high-performance in the SciML scientific machine learning ecosystem
Stars: ✭ 32 (+33.33%)
Mutual labels:  scientific-machine-learning
CRNN
Chemical Reaction Neural Network
Stars: ✭ 43 (+79.17%)
Mutual labels:  chemical-kinetics
DiffEqSensitivity.jl
A component of the DiffEq ecosystem for enabling sensitivity analysis for scientific machine learning (SciML). Optimize-then-discretize, discretize-then-optimize, and more for ODEs, SDEs, DDEs, DAEs, etc.
Stars: ✭ 186 (+675%)
Mutual labels:  scientific-machine-learning
DiffEqNoiseProcess.jl
A library of noise processes for stochastic systems like stochastic differential equations (SDEs) and other systems that are present in scientific machine learning (SciML)
Stars: ✭ 34 (+41.67%)
Mutual labels:  scientific-machine-learning
ExponentialUtilities.jl
Utility functions for exponential integrators for the SciML scientific machine learning ecosystem
Stars: ✭ 59 (+145.83%)
Mutual labels:  scientific-machine-learning

ReacTorch: A Differentiable Reacting Flow Simulation Package in PyTorch

DOI

ReacTorch is a package for simulating chemically reacting flows in PyTorch. The capability of auto-differentiation enables us to efficiently compute the derivatives of the solutions to all of the species concentrations (obtaining Jacobian matrix) as well as model parameters (performing sensitivity analysis) at almost no cost. It also natively supports GPU computation with PyTorch. In addition, the capability of differentiating the entire reacting model is the foundation of adopting many recent hybrid physics-neural network algorithms. This package is aimed at providing an easily accessible platform for implementing those emerging hardware and software infrastructures from the deep learning community in chemically reacting flow simulations.

Installation

git clone [email protected]:DENG-MIT/reactorch.git
cd reactorch
python setup.py install

Requirements

  • PyTorch
  • Cantera >= 2.5.0
  • ruamel.yaml

Detailed instructions on installing the dependent packages can be found in the wiki page.

Usage

import reactorch as rt

Sample code can be found in test/Solution_test.py and examples folder. For example, the autoignition case demonstrates that you can compute jacobian matrix with only couple lines of code!

Credit

If you use ReacTorch in a publication, we would appreciate if you cited ReacTorch. This helps to improve the reproducibility of your work, as well as giving credit to the many authors who have contributed their time to developing ReacTorch. The recommended citation for ReacTorch is as follows:

Weiqi Ji, Sili Deng. ReacTorch: A Differentiable Reacting Flow Simulation Package in PyTorch, https://github.com/DENG-MIT/reactorch, 2020.

ReacTorch was initially developed in Deng Energy and Nanotechnology Group lead by Prof. Sili Deng at MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].