I guess it all depends. As a rule of thumb, you should model
any geometry that you believe will affect the flow.
If there is no significant geometry changes before the valve inlet,
you can specify a fully developed flow at the inlet.
Usually where it makes the most difference is the valve OUTLET.
Make sure you add enough geometry after the valve to account for