|
[Sponsors] |
September 20, 2015, 22:03 |
reactingFoam fvOption ignition
|
#1 |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Hello dear Foamers,
I am simulating 1-d premixed laminar flame with reactingFoam and need to ignite the process using fvOption file. I need to set the ignition strength of 5 e9 J/m3·s for 0.0002 s. how can I translate these paramters to fvOption file ? Thanks |
|
September 25, 2015, 22:05 |
ignition parameters
|
#2 |
New Member
kai wiseel
Join Date: Sep 2015
Posts: 4
Rep Power: 11 |
Hello khalifa,
I am stucking nearly at the same point.. Did you find a answer of how the ignition parameters are linked to "the real" ignition energy? Thanks in advance, Kai |
|
September 30, 2015, 06:52 |
|
#3 | |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Quote:
actually I found this Code:
-----------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // source1 { type fixedTemperatureConstraint; active true; timeStart 1e-7; duration 1e-7; selectionMode cellSet; cellSet ignitionCells; fixedTemperatureConstraintCoeffs { mode uniform; temperature 3000; } } /*energySource1 { type scalarSemiImplicitSource; active true; timeStart 0; duration 0.0002; selectionMode cellSet; //cellSet // points //cellZone cellSet ignitionCells; scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp { h (10 0); } } } but to be honest , both criteria (modifieng h or t) did not deliver reasonable results at the end. I mean , combustion occurred, but I think the energy equation was effected and the final temperature that I got is not really correct. in addition, I really dont know what is the unit of 10 in h (10 0); I just kept trying value until the mixture ignited without exceeding the 3000 k limit. could you please try it and share your experience with it ? |
||
September 30, 2015, 07:00 |
|
#4 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Hi, if i'm right, then you want to insert energy source in energy equation.
You can do this with next two types of fvOption objects: - SemiImplicitSource - CodedSource |
|
September 30, 2015, 07:15 |
|
#5 | |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Quote:
Actually this is what I am trying to do, and this is the energy source implementation in my fvOptions file Code:
/*energySource1 { type scalarSemiImplicitSource; active true; timeStart 0; duration 0.0002; selectionMode cellSet; //cellSet // points //cellZone cellSet ignitionCells; scalarSemiImplicitSourceCoeffs { volumeMode absolute; injectionRateSuSp { h (10 0); } } |
||
September 30, 2015, 07:37 |
|
#6 | |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Quote:
So, you must select options as follows: 1. volumeMode should be changed from absolute to specific, because, as i see from starting post, your source have dims: J/m3/s If you will leave volumeMode as absolute, then values of sources will be normalized by volume of cell sets, that you specified in cellSet. 2. h specifies only name for which balance equation is applied. energy equation can be applied both to specific internal energy (e) or specific enthalpy (h). You can check correct variable in file thermophysicalProperties: energy sensibleEnthalpy; - that means, that you are solving energy equation with primary variable specific enthalpy 3. Values in brackets are sources: - first value is an explicit source (Su), must be 5 e9 J/m3·s, but you specified 10 J/s - second value is an implicit source (Sp), it will be substituted to equation of energy as follows: Dh/Dt = Sp*h Last edited by mkraposhin; September 30, 2015 at 07:39. Reason: grammar |
||
September 30, 2015, 07:49 |
|
#7 | ||
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Quote:
this my thermophyiscalProperties related code Quote:
Code:
energySource1 { type scalarSemiImplicitSource; active true; timeStart 0; duration 0.0001; selectionMode cellSet; //cellSet // points //cellZone cellSet ignitionCells; scalarSemiImplicitSourceCoeffs { volumeMode specific; injectionRateSuSp { h (5e9 0); } } } |
|||
September 30, 2015, 07:52 |
|
#8 | |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Quote:
I guess I got it now, it should be kept h. and the solver will solve it for sensible enthalpy. sorry for the too many silly questions I really appreciate your help . it works perfect |
||
January 6, 2019, 19:45 |
|
#9 |
New Member
Olivier Dambron
Join Date: Mar 2017
Posts: 22
Rep Power: 9 |
Hi there, I am facing the same challenge without really undertanding how to set the sensible enthalpy h.
I am trying to set a temperature or w/m2 as the injecitonRateSup for buoyantPimpleFoam. Any small tip would be greatly appreciated. Best |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to achieve ignition of premixed flame using ReactingFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 25 | June 12, 2022 05:52 |
reactingFoam: ignition point? | Jui | OpenFOAM Running, Solving & CFD | 8 | September 9, 2014 16:50 |
Doubt in code ignition reactingFoam | RCB123456 | OpenFOAM Running, Solving & CFD | 0 | August 16, 2014 06:30 |
Ignition in reactingFoam | pas32 | OpenFOAM Programming & Development | 4 | August 13, 2014 10:00 |
Ignition point in reactingFoam? | lfgmarc | OpenFOAM Programming & Development | 0 | July 11, 2011 19:00 |