Scalar and vector viscous wave equations of fluid bounded by solid boundaries