Aerothermodynamic cycle design and optimization method for aircraft engines