Code Monkey home page Code Monkey logo

rfs's Introduction

RFS

Counterflow diffusion flames are a canonical problem in combustion simulations

Solution to these system of equations are used to perform large-scale calculations in a faster manner

RFS (Robust Flamelet Solver) is a mixture-fraction space based flamelet solver with arc-length continuation capabilities

Solving in mixture-fraction space with logarithmic arc-length continuation allows for quick traversal of solution space

How to install and execute?

  • Download and install Spitfire and Pacopy 0.1.0

  • Install the other dependencies using pip install -r requirements.txt

Just run

python flamelet.py

The following program illustrates a basic example

import pacopy
import matplotlib.pyplot as plt
from flamelet_problem import FlameletProblem

LAMBDA_0 = -3.
NPTS = 30

# Define the problem
problem = FlameletProblem(LAMBDA_0, NPTS)

# Pacopy formulation
pacopy.euler_newton(
    problem, problem.u0, problem.lmbda0, 
    problem.callback, newton_tol=1.0e-3, 
    verbose=True, max_steps=3000,
    max_newton_steps=20,
    stepsize0=1.0e-1,
    stepsize_max=1.0e0,
    stepsize_aggressiveness=1e6,
)

plt.plot(problem.chi_list, problem.Tmax_list)
plt.show()

Whom to contact?

Please direct your queries to gpavanb1 for any questions.

Acknowledgements

This would not have been possible with the immense efforts of Spitfire and Pacopy

Sample Hydrogen mechanism is the same one used from Spitfire

rfs's People

Contributors

gpavanb1 avatar

Stargazers

 avatar  avatar  avatar  avatar  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.