Altair_Blog_hero_1920x225

Featured Articles

Digital Debunking: Could AI and Structural Optimization Have Swung Star Wars’ Battle of Endor for the Imperial Forces?

We at Altair aren’t rooting for Star Wars’ Darth Vader-led Imperial Forces, but one thing you can say about the Galactic Empire is that they were prolific engineers. They seemed to specialize in weapons development on a massive scale with all the TIE fighters, AT-ATs, and Star Destroyers – not to mention they were able to design, engineer, and build two moon-sized Death Stars within a single person’s lifespan. 

But as an organization full of engineers, we couldn’t help but wonder if focusing on speed and quantity over quality was the Empire’s downfall. If they had access to the Altair® HyperWorks® simulation and design platform, we mused, they may not have needed to pick between quantity and quality.

Altair HyperWorks is a comprehensive design and simulation platform that covers all facets of multiphysics. It’s the market’s most powerful, most versatile open design and simulation platform, one that empowers engineers with a frictionless and comprehensive suite of computer-aided engineering (CAE) software for a wide range of industries. If the Empire had access to the tools available within Altair HyperWorks – including Altair® HyperMesh®, a leading tool for pre- and post-processing solutions – the possibilities for improved vehicle designs and structural optimization would’ve been endless. 


Figure 1: Initial AT-ST CAD model to be used for simulation set up in Altair® HyperMesh®.

Figure 2: AT-ST head and view of inner seats with reference AT-ST pilots.

 

Simulating the Design of the AT-ST

Let’s take the famous Battle of Endor from Episode VI as a case study for how things could have worked out differently for the Empire. If you recall, in this battle, the Rebels and allied Ewoks were doomed, and the Imperial Forces were bringing the business. The All-Terrain Scout Transport (AT-ST) was a major vehicle capable of doing massive damage (see Figure 1). However, the AT-ST wasn’t invincible. The Ewoks used their smarts to take out these vehicles of mass destruction with their primitive weapons, namely tree trunks.

 
Figure 3: AT-ST battle scene from Star Wars VI: Return of the Jedi.

We investigated the AT-ST’s design to improve performance and safety. We treated this internal project similarly to the many optimization projects we’ve executed for our various customers over the years by leveraging Altair’s simulation and data analytics software. We replicated the AT-ST and said tree trunks, then used Altair® Radioss®, our explicit solver, to simulate the AT-ST’s demise. Radioss is an explicit dynamics solver built for the simulation of high-speed impact and large deformation scenarios. Often used in automotive crash simulations, it’s an ideal solution to test the AT-ST's run-in with the Ewok booby trap. Just as a car chassis becomes distorted from severe loads during a traffic accident, so too does an AT-ST when it’s flattened between two massive swinging tree trunks. 

For the simulation, we assigned each of the tree trunks with a mass of 5,651 kilograms (roughly 12,458 pounds) and a speed of 18 meters per second. To put this into perspective, that makes each of these trunks equivalent to a fully loaded ambulance traveling at 40 mph.

 
 
Figure 4: Comparing the AT-ST movie scene crash (top) to the simulated crash in Radioss (bottom).

With a representative baseline crash simulation and Altair’s optimization and generative design tools, we quickly developed improved designs for the AT-ST. We focused our efforts on analyzing the crashworthiness and safety of the vehicle’s head, which bore the fury of the massive tree trunks. The optimization tools available with Altair® OptiStruct®  showed us how to efficiently use and manipulate structure to maximize the vehicle’s performance. By generating designs that meet performance objectives (in this case, an Ewok tree trunk attack), optimal designs can be generated with minimum mass and maximum stiffness to survive even the most vicious battle. Additional impact locations were added to the optimization studies to ensure the structure wouldn’t be tuned for a single case. 

Topology optimization results provided insight into where material was needed and where it wasn’t. These results greatly improved the efficiency, safety, and performance of the AT-ST head. Through free shape optimization, we saw where topographical features could further improve the structural stiffness that helped strengthen the structure without adding significant mass. These features were considered when interpreting the new optimized design.


Figure 5: Topology and free shape optimization results in Altair® OptiStruct®.

 

Further Simulation and Optimization

These initial optimization studies provided design direction for where the structure and strengthening features should go. To begin assessing crashworthiness and safety, we created a low-fidelity interpretation of the optimization results and imported it back into the Radioss simulation. This technique is comparable to Altair’s concept development “C123” process which is used extensively for automotive body architecture. In the low-fidelity AT-ST model, we used 1D elements and a coarse shell mesh to allow for rapid design exploration while assessing crash performance.  


Figure 6: Low-Fidelity 1D beam and shell model in Altair® HyperStudy®.

We started by running several iterations with different 1D beam connections to improve the crash performance. Once we were happy with the primary structure, we used Altair® HyperStudy® to further optimize the structure by tuning the thicknesses of the shell panels and cross-sections of the 1D beam elements. HyperStudy is a multidisciplinary design study software that smartly and efficiently explores the design space of any system model. Users are guided to understand data trends, perform trade-off studies, and optimize design performance and reliability while considering multiphysics constraints.

 
Figure 7:  Low-fidelity 1D beam and shell model Radioss crash simulation.

With the knowledge gained from the low-fidelity model, we created a much higher fidelity interpretation and ran a final HyperStudy gauge optimization study. The design goals of this study were to reduce the overall mass while meeting safety requirements. In our case, we wanted to limit the deformation of the AT-ST’s two internal seats. Additionally, if you watch the scene in the movie, you’ll see a large explosion once the AT-ST’s head is crushed. We hypothesized that the crushing of the main central MS-4 twin blaster cannons may have caused the explosion. Preventing this explosion was critical to the safety of the Imperial soldiers piloting the AT-ST and therefore, we added a constraint to minimize damage to the central twin blaster cannons. With the higher fidelity model, the simulation run-times increased, but with access to Altair's high-performance computing (HPC) cluster, we could run this HyperStudy gauge optimization study overnight.

Figure 8: Comparing the original AT-ST head design (left) and the optimized design (right).

Figure 9: Detailed features of the optimized AT-ST.

In the end, the final design allowed the two seats to retain their shape with minimal distortion from the log impact – of course, this also helped the AT-ST’s two Imperial pilots retain their shape, too. The overall structure became better for a crash situation, which reduced the overall impact and more specifically, reduced the stress absorbed by the MS-4 twin blaster cannons that presumably produced the massive explosion during the crash. The central blaster cannons appeared to receive minimal critical damage, thereby potentially maintaining functionality. 

Lastly, but possibly most impressively, the overall mass of the improved AT-ST’s head was reduced by more than 392 pounds (a 15% reduction) compared to the original AT-ST head design. The lighter head structure also lowered the vehicle’s center of gravity, making the machine more agile so it can better maneuver through Endor’s thick forest landscape.

 
Figure 10: Comparing crash simulation of the original design (L) and the improved optimized design (R). Internal seats for each design shown in lower left box.

 

Putting the New Design to the Test

To put our optimized AT-ST head design to the test, we created a HyperStudy design of experiments (DOE) where we changed the impact locations to see how well the structure would hold up. We simulated 200 additional impact locations, again leveraging Altair's HPC cluster. For most of the impact locations, the seats and MS-4 twin blaster cannons held up well, passing our safety requirements. At a few locations, the seats and blasters cannons were still intact, but the upper head structure still suffered damage that would have likely caused minor injuries (see Run 24, below). This illustrated the need to adjust how our design criteria were defined for the region above the seats.

 
 
 
 
 
Figure 11: Evaluating optimized design for different impact locations.

Finally, with all the simulation data we created from the impact location DOE, we used Altair® physicsAI™ to create a predictive model. We used 180 of the 200 impact location simulations to train the AI model and kept 20 of the simulations to test the prediction. Initially, we were eager to see how physicsAI would handle the geometric complexity in the model and the large deformations in the results.  

Additionally, the different impact locations produced a wide range of crush results in the Radioss simulations that were very sensitive to the impact location. Overall, we were very impressed with the predictive model’s performance. Not only did it do a great job of predicting the global behavior of the crash events, but it was also able to provide the prediction results in 26 seconds compared to 72 minutes for the finite element simulation – making it almost 166x faster. 

In the animations below comparing the prediction to the test simulation results, there were local areas where the results were “noisy.” Further physicsAI parameter and algorithm studies are needed to see if this can be improved, but overall, the predictions were impressive with how the tool handled the diversity of results. 

 
 
 
 
Figure 12: Comparing Altair® physicsAI™ predictions to Altair® Radioss® crash simulations.

 

Conclusion: Could Altair HyperWorks Have Been the Key for the Galactic Empire on Endor?

So, the question remains: What if the Imperial Empire were able to leverage the power of Altair’s software solutions to improve the structure and safety of their AT-STs? Could they have won the Battle of Endor?

There are many factors that come into play when you look at the Battle of Endor. You must consider the number of soldiers on each side, the battlefield terrain, tactical strategies for either side, and so much more. But one thing is certain: soldiers of the Imperial Forces who were piloting the AT-ST would have had much higher odds of surviving a crash had they designed their walkers with AI-powered structural optimization, resulting in fewer casualties and stronger fighting machines. 

But at the end of the day, we’re thankful that the Empire didn’t use our solutions – the Ewok victory cemented the triumph of the Rebel Alliance and the destruction of the second Death Star. Though we like great engineering, we like galactic peace and freedom even more. To that end, a few crunched Imperial AT-STs is a price well worth paying.