Create geometry to represent a gear with octagonal axis. Create a finite elements model of gear. Run static analysis of the gear.