|
[Sponsors] |
February 24, 2016, 09:12 |
Using external CKWYP for reduced mechanism
|
#1 |
New Member
Yiran Chen
Join Date: Oct 2014
Posts: 3
Rep Power: 12 |
Hello:
I want to use reduced mechanism(with subroutine called ckwyp.f) to determine the reaction source term in reactingFoam. Is there any openfoam extensions or simple way to use this reduced mechanism instead of calculating from chemistry solver? Thanks! |
|
January 10, 2017, 17:07 |
|
#2 |
New Member
Join Date: Mar 2013
Posts: 24
Rep Power: 13 |
Hi, have you find a way to solve this problem, I am also working on that now. I think maybe I should replace the original omega function (in ODEchemistrymode) with the fortran soubrountine?
|
|
January 12, 2017, 13:47 |
|
#3 |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15 |
You can check out ISAT-CK7 + Cantera + OpenFOAM and also then new TDAC models.
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object chemistryProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // chemistryType { chemistrySolver ISAT; // ISAT chemistryThermo psi; } chemistry on; ISATCoeffs { saveISATtree on; externalCKWYP off; constantPressure off; ISATABabsErr 1e-5; ISATABrelErr 0; DDASACabsErr 1e-8; DDASACrelErr 1e-9; ISATABsizeMB 500; } initialChemicalTimeStep 1e-7; EulerImplicitCoeffs { cTauChem 1; equilibriumRateLimiter off; } odeCoeffs { solver SIBS; absTol 1e-12; relTol 0.01; } // ************************************************************************* // |
|
Tags |
ckwyp, reduced mechansim |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for using reduced reaction mechanism (ckwyp) | vnm | Fluent UDF and Scheme Programming | 5 | September 15, 2019 17:12 |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 02:40 |
Can't get data from OpenFoam to external solver using externalCoupled | perry | OpenFOAM Running, Solving & CFD | 4 | May 26, 2014 09:09 |
full mechanism don't combust in openfoam | conceptone | OpenFOAM | 12 | September 9, 2013 02:12 |
Update boundary conditions calculated by an external program | CedricVH | OpenFOAM | 2 | January 15, 2010 12:55 |