Git Product home page Git Product logo

qssachemistrysolver's Introduction

QSSAchemistrySolver

The quasi-steady-state approximation chemistry solver for OpenFOAM 4 and 7

This repository is migrated from adhiraj-dasgupta/unsupportedContribOF23x. For OpenFOAM-2.3, please refer to that repository.

compile the code and test it

  • chose a branch to download. This repository works for OpenFOAM-4.x (master branch) and OpenFOAM-7 (of7 branch).
  • come into the CODE folder and wmake to compile
    git clone [email protected]:ZmengXu/QSSAchemistrySolver.git
    cd CODE
    wmake
  • come into the CASE folder and run the demo case
    cd CASE
    chmod 777 Allrun Allclean
    ./Allrun

run QSS in your own case

Here is the instructions for your own case:

  • In $FOAM_CASE/system/controlDict, compile to get a QSS mechanism library, in shell typing the following command to compile mechanism
    gfortran -shared -fPIC -o libMechnism19sCH4.so ckwyp.f
  • In $FOAM_CASE/system/controlDict
    libs
    (
        "./chemkin/libMechnism19sCH4.so"
        "libQSSchemistryModel.so"
    );
  • In $FOAM_CASE/constant/chemistryProperties
    chemistryType
    {
        chemistrySolver QSS;
        chemistryThermo psi;
    }
    QSSCoeffs
    {
        solver          seulex;
        absTol          1e-12;
        relTol          0.1;
    }

Here's the temperature trace results for 19 species QSS and 30 species mechanism.

TemperatureTrace

qssachemistrysolver's People

Contributors

zmengxu avatar

Stargazers

 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.