Sedimentation of chemically reacting nondiffusing macromolecules