Gas–Dynamical Features of the Envelopes of Contact Binary Stars