On the relation between centrifugal force and radial pressure gradient in flow inside curved and S-shaped ducts