Amorphous swelling: A macromodel for mass and energy flow