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/)
-   -   IGNITING COMBUSTION MIXTURE IN reactingFoam HOW msha (https://www.cfd-online.com/Forums/openfoam-solving/57974-igniting-combustion-mixture-reactingfoam-how-msha.html)

msha February 4, 2009 01:24

if Non-premixed -> reactingFoa
 
if Non-premixed -> reactingFoam
if premixed or partially premixed ->Xifoam

viji February 4, 2009 01:52

hello Mojtaba Shahmohammadian
 
hello
Mojtaba Shahmohammadian sir
i am solving this problem in XIfoam only.
my verticies are
convertToMeters 1;

vertices
(
(0 0 0)
(0 0.5 0)
(14 0 0)
(14 0.5 0)
(180 0 0)
(180 0.5 0)
(0 22.5 0)
(180 22.5 0)
(0 0 1)
(0 0.5 1)
(14 0 1)
(14 0.5 1)
(180 0 1)
(180 0.5 1)
(0 22.5 1)
(180 22.5 1)
);

blocks
(
hex (0 2 3 1 8 10 11 9) (14 1 1) simpleGrading (1 1 1)
hex (2 4 5 3 10 12 13 11) (166 1 1) simpleGrading (1 1 1)
hex (1 5 7 6 9 13 15 14) (180 22 1) simpleGrading (1 1 1)
);

edges
(
);

patches
(
patch inlet1
(
(1 9 14 6)
)
patch inlet2
(
(0 8 9 1)
)
patch outlet
(
(5 13 15 7)
)
wall topwall
(
(6 14 15 7)
(1 9 11 3)
)
wall bottomwall
(
(0 8 10 2)
(2 10 12 4)
)
empty frontandback
(
(8 9 11 10)
(0 1 3 2)
(9 14 15 13)
(1 6 7 5)
(10 11 13 12)
(2 3 5 4)
)
);

mergePatchPairs
(
);


// ************************************************** *********************** //
i need to define species seperately for air and fuel inlets, where i have to define species sir..

msha February 4, 2009 02:01

have a look at run/tutorials/d
 
have a look at run/tutorials/dieselFoam/aachenBomb
and you see how to define boundary

viji February 12, 2009 03:27

hi everyone i am solving one
 
hi everyone
i am solving one methane combustion problem, i am facing difficulty please any one can send one combustion solved problem through link for reference..

mehdi-combustion September 28, 2009 10:38

why reaction rate is zero?
 
Dear members,

I have a difficulty with reactingFoam.
When I calculate reactingFoam tutorial or dieselenginfoam tutorial, the reaction rate is always Zero. I have switched on the chemistry and combustion as well as using a high temperature ignition region, however, regardless of the temperature and Arrhenius parameters that I used in chem.inp, the reaction rate is always zero. I should mentioned that other transport properties and equation for species (YEq) is properly solved. The problem is just in the calculation of reaction rate.

Any help!

chbenz September 28, 2009 11:07

Hi,

where is the reaction rate calculated in dieselFoam?

Christof

mehdi-combustion September 29, 2009 09:30

the reaction rate is calculated in ~/OpenFOAM/OpenFOAM-1.5/src/thermophysicalModels/chemistryModel/chemistryModel

chbenz September 29, 2009 10:12

Mehdi,

how could you get access to the reaction rate?

Christof

hamburgFoam December 23, 2009 09:48

hello niklas,
can you tell me how to compile the modified reactingFoam solver with wmake?
i typed "wmake" in the terminal and got this:

/applications/solvers/combustion/reactingFoam> wmake
linuxGccDPOpt/options:7: *** missing separator. Schluss.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created

mehdi-combustion June 15, 2010 12:22

Access to specieThermo data
 
Dear All,

Does any of you know to access to the thermodynamic propertie of species such as hi(T) where hi is enthalpy of ith specie and Ti is temprature of cell?
In openFoam-1.5 you can write

hi = chemistry.specieThermo()[i].h(Ti); and it works. See disealengienfoam solver in openfoam-1.5.

However, in OpenFoam-1.6 if you write the same you get psichemistrymodel has no memebr specieThermo.

How can we use specieThermo in OpenFoam-1.6?
http://www.cfd-online.com/Forums/ima...ser_online.gif http://www.cfd-online.com/Forums/ima...reputation.gif http://www.cfd-online.com/Forums/ima...ons/report.gif http://www.cfd-online.com/Forums/ima...c/progress.gif http://www.cfd-online.com/Forums/ima...ttons/edit.gif

mturcios777 June 15, 2010 18:32

Its related to how the thermo is now a member of the chemistry (or vice-versa, it's been a while since I took OO programming). I am trying to figure it out to solve the problem stated in a thread I started recently.


All times are GMT -4. The time now is 05:36.