Hi.. Consider a rod which is insulated on its lateral surface, now this rod is brought in contact with a source at temperature T1 and sink at temperature T2 now a temperature gradient sets up in the rod after steady state is reached temperature at some distance X from the source end is given as T=T1-(T1-T2)*X/L now this rod is removed and ends are insulated as well then my question is as heat flows from high temp. region to low temp. region is any entropy generated within the rod...? what i feel is it should not because there are no irreversibility in the rod during heat transfer, even the heat transfer across any rod element takes place at temp. difference tending to zero, hence in eqn. ds=δq/T+Δsgen, Δsgen should be zero so that eqn. becomes ds=δq/T check me if i am correct and if i have missed something notify me.