Developing a CFD methodology for the analysis of flow stability in heated channels with fluids at supercritical pressures