DEM-NeRF: A Neuro-Symbolic Method for Scientific Discovery through Physics-Informed Simulation