It is suggested that the pigsty face east, because there is a strong sun in the west at noon. The so-called "west sun" will be very stuffy in the west at night, which may affect the sleep of pigs at night. Although there is sunshine in the east in the morning, it won't have much impact. Pigs are prone to get sick if they get too much sun.
As for the layout of your yard, I can only roughly say that using biogas, vegetable gardens and pig farms to form an organic farm,
Pig manure can be used to make biogas, and it can also be used to irrigate vegetable gardens. That's all I can say. I'd better ask an expert to make better arrangements.