Compound wall treatment for RANS computation of complex turbulent flows and heat transfer