Implementation and validation of an extended Schnerr-Sauer cavitation model for non-isothermal flows in OpenFOAM