function [Tgas, hgas] = Thgas(x, y, chord) % This function calculate the gas path temperature % and heat transfer coefficient given the x and y location. xc = x/chord; yc = y/chord; % Length of high heat transfer region at leading-edge lhot = 0.05; Tgas = 1500; % ( K ) hgas = 4000*(1 + 3*exp(-4*(xc/lhot)^2)); % ( W/(K m^2) )