An improved porous media approach to thermal–hydraulics analysis of high-temperature gas-cooled reactors