CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Using external CKWYP for reduced mechanism

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2016, 09:12
Default Using external CKWYP for reduced mechanism
  #1
New Member
 
Yiran Chen
Join Date: Oct 2014
Posts: 3
Rep Power: 12
chenyr10 is on a distinguished road
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!
chenyr10 is offline   Reply With Quote

Old   January 10, 2017, 17:07
Default
  #2
New Member
 
Join Date: Mar 2013
Posts: 24
Rep Power: 13
Slanth is on a distinguished road
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?
Slanth is offline   Reply With Quote

Old   January 12, 2017, 13:47
Default
  #3
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15
arvindpj is on a distinguished road
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;
}

// ************************************************************************* //
Cheers,
arvindpj is offline   Reply With Quote

Reply

Tags
ckwyp, reduced mechansim


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:42.