pressure and displacement calculation added