How to determine the direction of a beam? How to know it is right or wrong?

It appears the direction of a beam is generated automatically.

How to know it is right or wrong?

SolidworksSimulation