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

Ignition not working with reactingFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By clapointe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2018, 15:41
Default Ignition not working with reactingFoam
  #1
New Member
 
Murilo Mendonça
Join Date: Sep 2018
Location: Brazil
Posts: 4
Rep Power: 8
murilommen is on a distinguished road
Dear Foamers,

I have been trying to simulate a non-premixed combustion on the attached geometry. The fuel enters through the small centered pipe whereas the air, through the two others on the upper and lower side.
When I was working with FLUENT, all I needed to do was specify the initial conditions, run a steady state and use it as an initial condition for the transient simulation.
Now with OpenFOAM5.0 what happens is that even though I manage to get a stabilized flow, I can't seem to find a way to ignite the reaction.
The case I have based myself to follow was reactingFoam/RAS/SandiaD_LTS

I have looked through the forum, tried (unsucessfully) to install swak4foam to ignite it artificially, but I can't seem to get it done. Am I missing something here?

Thanks!

BC's
Fuel: CH4, 301K, 3m/s
Air: 343K, 10m/s (both holes)
Attached Images
File Type: png Screenshot from 2018-10-23 14-32-26.png (4.6 KB, 101 views)
murilommen is offline   Reply With Quote

Old   October 24, 2018, 13:41
Default
  #2
New Member
 
Murilo Mendonça
Join Date: Sep 2018
Location: Brazil
Posts: 4
Rep Power: 8
murilommen is on a distinguished road
By looking further in the forum, I have (unsucessfully) tried to ignite it by inserting an Energy Source through the fvOptions file, but I still can't seem to get it done. Next step is to try activating the energySource after the flow is stabilized.

Thoughts?

Code:
energySource1
{
    type            scalarSemiImplicitSource;
    active          true;
    timeStart       0;
    duration        0.01;

    scalarSemiImplicitSourceCoeffs
    {
	selectionMode	all;
        volumeMode      specific;
        injectionRateSuSp
        {
            T           (1700 0);
        }
    }
}
murilommen is offline   Reply With Quote

Old   October 24, 2018, 15:27
Default
  #3
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Getting (stable) ignition for reacting flows can be tricky. However, there are various tutorials that use an energy source for ignition at some point (in time). Here's one example of an fvOptions file : https://github.com/OpenFOAM/OpenFOAM.../gas/fvOptions. A quick scan of yours -- use h instead of T (enthalpy). Other parameters can be taken from the file I've linked. If you're doing non-premixed combustion you might want to run without ignition for a bit to let the flow develop and mix before igniting -- this may help with stability.

Caelan
murilommen likes this.
clapointe is offline   Reply With Quote

Old   November 5, 2018, 08:06
Default
  #4
New Member
 
Murilo Mendonça
Join Date: Sep 2018
Location: Brazil
Posts: 4
Rep Power: 8
murilommen is on a distinguished road
Thank you for your answer Caelan!

I was trying for the past few days enabling the heat source by applying to all domain a high Temperature value after 5 seconds (and then switched to enthalpy, as you suggested). But the program will not work that way, making a combustion occur where only air gets in, even before the fluid is stabilized.

When trying to create a box cellSet using topoSetDict, I get the following error:

Code:
Create time

Create polyMesh for time = 0

Reading topoSetDict

Time = 0
    mesh not changed.
Created cellSet ignitionCellSet
    Applying source boxToCell
    Adding cells with center within boxes 1((-0.0630417 0.0240592 0.00619917) (0.000372681 -0.0200989 0.00619917))
    cellSet ignitionCellSet now size 0
Created cellZoneSet ignition
    Applying source setToCellZone
    Adding all cells from cellSet ignitionCellSet ...
    cellZoneSet ignition now size 0
End
I checked the nodes I want to create my box from and my topoSetdict file looks like this:

Code:
actions
(
    {
        name    ignitionCellSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-0.0630417 0.0240592 0.00619917)(0.000372681 -0.0200989 0.00619917);
        }
    }
    {
        name    ignition;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
	    set ignitionCellSet;
        }
    }

);
What else could possibly be going wrong here? Is it such a big deal to have the high enthalpy applied to all domain for a short period of time?

Thanks again!

Edit: I am using a mesh converted from the ANSYS Fluent mesher.
murilommen is offline   Reply With Quote

Old   November 5, 2018, 13:07
Default
  #5
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Applying a large amount of energy to the whole domain sounds unnecessary and a good way to cause instability. The problem now looks to be that your cellSet is empty. topoSet should select cells with cell centers inside of the box for boxToCell. Make sure that you specify the bottom left and then the top right. You'll also need different z coordinates, even for a 2d mesh.

Caelan
clapointe is offline   Reply With Quote

Reply

Tags
combustion, ignition, methane, reactingfoam


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
about reactingFoam muEff comingdaytime OpenFOAM Running, Solving & CFD 1 March 20, 2021 16:02
what "If" condition means in rebound brbbhatti OpenFOAM Programming & Development 0 August 12, 2014 10:18
how does the ignition model initiate main combustion mepgzzi Siemens 0 June 23, 2012 15:32
DPM parallel is not working but serial is working johnwinter FLUENT 1 March 27, 2012 03:01
Ignition point in reactingFoam? lfgmarc OpenFOAM Programming & Development 0 July 11, 2011 19:00


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