Suppose a tank filled with gas is discharing, then the pressure and temperature will decrease.
consider two instances (p1,v1) and (p2,v2) with some time interval. If there is no heat addition then p2v1 the we will get some value for polytropic index. But if we heat the tank in such away that p2=p1, then how polytropic index can be calculated?
Whether this means that polytropic process relation cant be applied when there is external heat transfer.