Self-consistent numerical simulations for the formation and dynamics of solar prominences | Synapse