Skip to content

[mm][landfill] Use fluidphase density to calculate qRadDecay term

zhixin chen requested to merge fix/landfill-massfraction into master

The calculation results using mass fraction equation and mole fraction equation are different.

The calculation of the qRadDecay term in the mass fraction equation is wrong using molardensity(compIdx) multiply the molarMass(compIdx). We fixed the bug by directly using density(phaseIdx).

Furthermore, using molardensity(compIdx) is misleading since the input parameter of molerdensity function should be the phase index, we replace the molardensity(compIdx) by molardensity(phaseIdx), where the phaseIdx equals to 0 at this case.

Merge request reports

Loading