A spell's effect expands in straight lines from the point of origin. If no unblocked straight line extends from the point of origin to a location within the area of effect, that location isn't included in the spell's area. To block one of these imaginary lines, an obstruction must provide total cover
Now, a hypothetical situation. Mage is trying to create a wall of Force in a 'sphere' mode around a creature. There are several possible variants and related questions:
Sphere is placed in a way, that wall intersects creature. According to description of Wall of Force - it causes creature to move to one side of the wall, caster's choice. Does it happen before or after area of spell's effect is calculated? I.e. does such moved creature leaves a silhouette-shaped hole in the wall or not?
Sphere is placed in a way that creature is within in. Point of origin is as close to creature as possible. Obviously some straight lines from point of origin to a some locations upon the sphere are blocked by said creature. For some of those locations creature is likely to provide total cover. Does it mean that Wall of Force would have holes in that case?
Wall of Force in a 5-feet diameter sphere option cast next to 6-feet tall creature. What happens with a creature? Is it forced to kneel or somehow else fit into the sphere or is it just moved, but still standing as it was standing, with his head and shoulders sticking through a hole in the Wall of Force sphere? What is sphere is smaller? I.e. is it possible to use Wall of Force as a trap, encasing only parts of creature and leaving the rest sticking outside?