Navier–Stokes Equations with Nonhomogeneous Boundary Conditions in a Bounded Three-Dimensional Domain