Numerical modeling of boundary layer flows for a solitary wave