Effects of phase transition and thermodynamics on the dynamics of cavitation bubbles collapsing near a solid boundary and the associated 3D flow | Synapse