Physics Informed Neural Network for Dynamic Stress Prediction