Formation of hot flow anomalies and solitary shocks | Synapse