In this talk I will explain a new numerical framework, employing physics-informed neural networks, to find a smooth self-similar solution for different equations in fluid dynamics. The new numerical framework is shown to be both robust and readily adaptable to several situations.