I think I know where are you getting at. But to say the truth we are lost in semantic issues. I have discovered you're very difficult to get convinced.
Andrew Mason said:
That is the
change in entropy of the system only, not system + surroundings. As long as that is clear, I agree.
As dS=\delta Q_R/T we understand the entropy of a system. Of course there is a change of surroundings entropy, so that the change of universe (surroundings+system) entropy is dS_{universe}=dS_{system}+dS_{surroundings}. We will assume dS_{surroundings}=0 hereinafter,
therefore the process is so-called adiabatic. This is the definition of an adiabatic process. You have mentioned processes of internal chemical reactions (combustion), or electrical heat dissipation in your example. Both of them had an insulated (adiabatic) container. After thinking of it for a while:
I) we agree that the example of electrical-heat dissipation is not an adiabatic process. It is because dS_{surroundings}<0 from the electrical generation system.
II) the example of chemical reaction and internal viscous dissipation is not as clear as the last one. Although dS_{surroundings}=0 the release of chemical reaction heat such as in a combustion process, or the heat released by internal fluid friction, both of these effects have the same behavior of an inflow of external heat.
Semantically, we would say they are systems with adiabatic walls, but thermodynamically their behaviours are not similar to an adiabatic process, so that we can conclude that they are not adiabatic processes. But they have an essential difference with an usual non-adiabatic process: there is no heat inflow and so none impact on the surroundings. The irreversibility doesn't come from external heat inflow issues dS_{surroundings}, but it comes from internal entropy generation. The combustion process is an irreversible one which is enclosed to an increasing of entropy due to chemical reaction, while internal viscous dissipation is a source of entropy due to the heat released.
As a first conclusion, I think you're right when you said internal viscous dissipation is not an adiabatic process. Maybe it is the key of this whole discussion. Let's try to summarize it:
i) the irreversible adiabatic process can be described as an adiabatic one because the walls are adiabatic, there is no entropy exchange with the surroundings.
ii) such process can be viewed as a non-adiabatic one, because it is a heat internal release and such heat release behavior is mathematically similar to a heat external inflow. The main difference between both behaviors is that the first one doesn't make any effect on the surroundings, all the entropy generated is done inside the system; while the second one has an effect on the surroundings, the whole irreversibility is generated by means of the sum of the surroundings effect and system effect.
Maybe the two points of view are right. The fact is that I have always believed that the quantity \delta Q in entropy was referred to a heat exchanged through the boundaries, and that it is the true and original sense of the entropy definition. My opinion is that such effects of internal viscous dissipation are so difficult to treat them with "thermodynamic usual equations" that physicists and engineers model them as some kind of additional entropy generation ad hoc, as I made in my last post. After thinking of this, I realize your point of view is quite right, but I think my interpretation of the event is right too. I mean, it could be said the irreversibility comes from a non effective adiabatic behavior as you said, but it could be said to that the irreversibility comes from an internal entropy generation due to a heat release although the whole system can be considered adiabatic from the usual point of view of dS_{surroundings}=0.
Andrew Mason said:
I don't see why not. Can you show me some actual data on this? It seems to me that since the decrease in internal energy of the gas is converted entirely to external work, so long as that work is not being sent back to the gas in the form of heat, the rapidity of the expansion does not affect entropy. The only way the gas can fall off the isentropic curve is if some of the external work done by the gas is converted to heat and let back into the system.
Sorry, I don't have any piston filled with gas at hand to check it

.
I have said to you that the irreversibility (and so the not coincidence with an isentropic trajectory) comes from the proper fluid field. If the process is too fast, sure there will be internal dissipation and viscous effects. Such entropy increasing (which we agree it exists) has the effect of taking away the final equilibrium point from the same isentropic curve. That's because dS_{surroundings}=0 and then dS_{system}>0. There must be a loose of Availability somewhere, and in order to reinstaurate the original state there must be employed more work than the exerted in the expansion.
As a second conclusion, any rapid (non-cuasiestatic) process is irreversible due to the proper flow field produced. Such flow field might enhance internal viscous dissipation, which could be modeled as an external heat inflow but taking into account that dS_{surroundings}=0 (which right now seems to me puzzling and without any sense), or it can be modeled too as a volumetric heat release which provokes an additional source of internal entropy generation (which I called d\sigma).
What do you think? Have we come to some agreement?