Skip to content

ThermoSurfaceFilm: absorbInteraction does not add energy to film sources

Prior to v2112, the ThermoSurfaceFilm::absorbInteraction:

film.addSources
(
    pp.index(),
    facei,
    mass,                             // mass
    mass*Ut,                          // tangential momentum
    mass*mag(Un),                     // impingement pressure
    mass*p.hs()                       // energy
);

a9aa6cb0 inadvertently left the 'energy' term at zero for the ThermoSurfaceFilm:

film.addSources
(
    pp.index(),
    facei,
    mass,                             // mass
    mass*Ut,                          // tangential momentum
    mass*mag(Un),                     // impingement pressure
    0                                 // energy
);