Researchers have constructed a theoretical model that forecasts the movements of confined crowds.The study aims to predict potentially life-threatening crowd behavior in confined environments.The research treated the densely packed crowd as a continuum and observed a phase change in behavior at a critical threshold.The results have the potential to contribute to the development of crowd management protocols.