Motion Prediction Using Wall-Resolved and Wall-Modeled Approaches on a Cartesian Grid