CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   reactingFoam combustion not happening? (https://www.cfd-online.com/Forums/openfoam-solving/255797-reactingfoam-combustion-not-happening.html)

Leckie April 30, 2024 00:31

reactingFoam combustion not happening?
 
1 Attachment(s)
Hi Everyone!

I'm working on a combustion simulation using reactingFoam and the simulation is running ok, I'm seeing the fuel being injected as expected, inlet temperatures and velocities as well... But for some reason, it seems there is no reacting taking place. I would deeply appreciate your advice!

Is there anything I'm doing wrong? I'm not sure if I need to update anything on yDefault or anywhere else.

For H2 I have a fixedValue of 1 for injection, and O2 I have a fixed value of 0.28 for inlet as well...

yDefaul
Code:

internalField  uniform 0;

boundaryField
{
    fuelinlet
    {
        type            fixedValue;
        value          uniform 0;
    }

    airinlet
    {
        type            fixedValue;
        value          uniform 0;
    }

    outlet
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value          uniform 0;
    }

    top
    {
        type            zeroGradient;
    }

    bottom
    {
        type            zeroGradient;
    }

    frontAndBackPlanes
    {
        type            empty;
    }
}

ReactionsGRI
Code:

reactions
{
    un-named-reaction-219
    {
        type            reversibleArrheniusReaction;
        reaction        "O2 + 2H2 = 2H2O";
        A              38.7;
        beta            2.7;
        Ta              3149.977155;
    }
}


Leckie April 30, 2024 10:41

Update:


I'm adding a fvOption to ignite the flame:


energySource1
{
type scalarSemiImplicitSource;
active true;
timeStart 0;
duration 0.0001;

scalarSemiImplicitSourceCoeffs
{
selectionMode fuelinletCells;
volumeMode specific;
injectionRateSuSp
{
h (5e9 0);
}
}
}


But now I can't pass the error: "Entry 'cellSet' not found in dictionary" how can I create the defined cellSet for my case? Any recommendation?

Leckie April 30, 2024 12:40

Quick Update:


This issue has been solved. Thanks everyone!


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