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

combustion does not occur with reactingFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tas38

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 1, 2023, 12:35
Default combustion does not occur with reactingFoam
  #1
New Member
 
Edoardo
Join Date: Apr 2023
Location: Italy
Posts: 27
Rep Power: 3
Edoardo1993 is on a distinguished road
Hello,
I am trying to simulate a flammable gas flow in atmosphere with reactingFoam. You can find the whole case directory attached at the end.

If I do not ignite the gas (/constant/combustionProperties --> active off and /constant/chemistryProperties --> chemistry off) the gas leak is totally diffusive and results are good.
However, if I try to ignite the flammable gas (/constant/combustionProperties --> active on and /constant/chemistryProperties --> chemistry on) the reaction does not occur. Therefore the results are exactly the same as withouth ignition.

The reaction is a single-step reaction, implemented in /constant/reactionGRI.

reactionGRI
Code:
elements
(
)
;

species
4
(
H2
O2
H2O
N2
)
;


reactions
{
    un-named-reaction-2
    {
        type            irreversibleinfiniteReaction; 
        reaction        "2H2 + O2 + 3.79N2 = 2H2O + 3.79N2";
    }
}
chemistryProperties
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      chemistryProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

chemistryType
{
    chemistrySolver   ode;
    chemistryThermo   psi;
    TDAC              off;
}

initialChemicalTimeStep 1e-07;

chemistry       on;

odeCoeffs
{
    solver          seulex;  // Rosenbrock34, seulex or rodas23
    absTol          1e-12;
    relTol           1e-7;
}

// ************************************************************************* //
combustionProperties
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      combustionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

combustionModel  EDC;

active  on;

EDCCoeffs
{
    version v2005;
}

// ************************************************************************* //
thermophysicalProperties
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{

    type            hePsiThermo;
    mixture        reactingMixture; //singleStepReactingMixture;
    transport       sutherland;
    thermo          janaf;
    energy          sensibleEnthalpy;
    equationOfState perfectGas;
    specie          specie;
}

inertSpecie N2;

chemistryReader foamChemistryReader;
foamChemistryFile "<constant>/reactionsGRI";
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";

dpdt false;

 // ************************************************************************* //
I have the following question:


1) Why does the reaction not occur?

2) Is irreversibleinfiniteReaction in /constant/reactionGRI correct? Maybe is it not fast enough to show something in a short time?

3) In /constant/thermophysicalProperties should be selected mixture reactingMixture or singleStepReactingMixture?

4) Could be the problem the lack of ignition?




Really thank for your help.
Attached Files
File Type: zip reactingFoam.zip (14.4 KB, 2 views)
Edoardo1993 is offline   Reply With Quote

 

Tags
combustion, hydrogen, ignition, reactingfoam, reaction


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
OpenFoam Combustion SIG dlahaye OpenFOAM Announcements from Other Sources 0 August 14, 2023 11:39
eddy dissipation model: combustion doesn't occur roukaia FLUENT 2 November 18, 2020 10:23
How to switch off combustion and reaction in reactingFoam shenzhou1987 OpenFOAM Running, Solving & CFD 16 October 26, 2017 15:31
eddy dissipation model: combustion doesn't occur roukaia FLUENT 0 December 24, 2011 09:10
Constant Volume Combustion with reactingFoam Alish1984 OpenFOAM Running, Solving & CFD 2 May 8, 2011 08:51


All times are GMT -4. The time now is 12:57.