'Tis my understanding that muzzle swell was an early form of psychological warfare, used to make the opposing forces believe a gun was larger than it really was. It became traditional and only disappeared in the final designs of muzzleloading artillery when conservation of materials became important during wartime. Even the M1857 Napoleon had a muzzle swell. The Confederate equivalent did not to save material.
I would like to see a credible reference that mentions the
purpose of the swell being psychological warfare. It may indeed have had that effect, if one could even see it at the thousand or so yards away.
But the
primary use of the swell is reinforcement. There are numerous references to the swell (and other enlargements) as
reinforcements; as well as the fact that the swell is one of two methods of reinforcing the muzzle (which is one of the weaker areas in the barrel). The other method is to rebate the muzzle, giving more metal out front to reinforce it.
For example, current US artillery pieces are limited to 4,000 rounds at max charge. It is common practice (each round is logged and the max-charge equivalent # of rounds is calculated) to check the muzzle for cracks as the 4,000 round mark is approached. I've talked to several artillery men that have found cracks that showed up within the last 10 or so rounds before the 4,000 mark.
Further, the swell has not disappeared entirely, as it has a most functional purpose of reinforcement. There are a number of cannon made and used in the mid 20th century that use it.