CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Bug in rhoReactingFoam (https://www.cfd-online.com/Forums/openfoam-bugs/96907-bug-rhoreactingfoam.html)

francesco_capuano February 4, 2012 15:27

Bug in rhoReactingFoam
 
Hi everybody,

I was running the counterFlowFlame2d tutorial with both reactingFoam and rhoReactingFoam to check the differences between the two solvers in terms of results and performances. However, the rhoReactingFoam solver was apparently not solving for transport of species.

I have checked the YEqn.H file and indeed, after defining the Yi equation, the two lines

YiEqn.relax();
YiEqn.solve(mesh.solver("Yi"));

are completely missing!

francesco_capuano February 6, 2012 04:22

I forgot to specify: the bug above-mentioned refers to OpenFOAM v. 2.1.0. In versions 2.0.1 and older the routine is correct as the Yi equation is directly solved by the solve() command.

l_r_mcglashan February 6, 2012 15:11

Thanks. This has been fixed in 2.1.x.

Please report any bugs on

http://www.openfoam.com/mantisbt


All times are GMT -4. The time now is 07:30.