CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   oscillating netMassFlux with fireFoam (

mabinty February 13, 2012 14:00

oscillating netMassFlux with fireFoam
1 Attachment(s)
dear all,

i m currently simulating a fire in a tunnel-like geometry using fireFoam (OF 1.7.1). I added the calculation of mass flux through all boundaries taken from the netMassFlux is calculated as the sum of fluxes of alll patch thus representing the temporal variation of density in the domain.

in case of a constant rate of heat release the netMassFlux is expected to konverge towards zero. this is the case for my simulations, though, even if small, it sometimes fluctuates. now the situation drastically changes if I consider a rate of heat release changing over time where the fluctuations increase seriously (see e.g. attached pic).

I tried a lot of different variations of BC, different solvers and tolerance settings or different Co-numbers but no change in behaviour.

does somebody have an idea what the problem could be?? I greatly appreciate your comments!!


mabinty February 14, 2012 04:39

2 Attachment(s)
hi !

I had a look at the simulation results again, specially at the pressure prgh (= p - rho g h) and realized a constant change (over time) in the sign of the pressure difference between inlet (left end) and outlet (right end) as seen in the attached pics for two consecutive time steps. the flow is expected to move from left to right.

as BCs I used:

inlet (left): fixedValue for U and T (or fixed mass flux) and buoyantPressure for prgh, calculated for p.

outlet (right): inletOutlet for U and T with inletValue 0 and 293 K, respectively, and totalPressure for prgh with p0 = 101325 Pa, calculated for p.

fuel inlet: mass flux for U, fixedValue for T and buoyantPressure for prgh, calculated for p.

as the prgh at the outlet gets higher than at the inlet, the flow even changes direction. hence, I assume either a U-prgh BC problem not allowing the pressure equation to determine a proper pressure and velocity field, or the pressure equation is not converged. I keep on digging ...

appreciate your comments!


mabinty March 21, 2012 07:23


realised that the observed oscillations strongly reduce when I switch off radiation. even prgh iterations reduce drastically when radiation is off.

any idea?

thanks in advance!


All times are GMT -4. The time now is 09:26.