By Brandon Finney
Ho, ho, ho. 'Tis the season for festive engineering. This year, I decided to put my finite element analysis (FEA) skills to work on a seasonal icon: the candy cane.
We all know the perils that follow once you see your beloved candy cane fall and shatter. With Ansys LS-Dyna, I set out to simulate what happens when a candy cane falls onto a rigid surface.
To capture the candy cane's iconic stripes into the model, I utilized mesh morphing. Although the candy cane's twisting introduced some skewing in the elements, we embraced the festive spirit and made the engineering assumption that this was acceptable. Hopefully this keeps us off Santa’s naughty list!
I started this project with a candy cane plan—a sweet little profile to fit in my hand. A cylinder came next, with a mesh oh so fine, to twist into something quite festive, divine.
Some profiles I made to help with the task, for morphing the mesh—it’s easy, just ask!
The stripes now appear in a classic design. They twist and they shimmer, a sight so fine.
With morphing complete, the mesh is just right. This candy cane’s ready—it’s quite the delight!
To understand the candy cane’s brittle behavior, I performed a simple three-point bend test on a sample. The sample broke around 50N of pressure. I did a quick bend test simulation to help determine the Young’s modulus and fracture stress to use in the drop simulation.
Although there are many material models available in LS-Dyna, a quick search of material databases yielded no results for candy canes. So, to keep things simple I used *MAT_ELASTIC and *MAT_ADD_EROSION to add a sudden failure criterion, since candy canes shouldn’t have much if any permanent deformation before failure. A more sophisticated material model could be built, but in the interest of having more time for family this holiday season, we will keep it simple.
After the simulation, we can output a force vs. displacement curve to help validate our material model. Our simulation showed the break around 47N of force, which closely matches physical testing.
With the material model defined, I simulated the candy cane falling from a height of approximately 6 inches onto a rigid surface. To speed up the simulation time, I set an initial velocity of the candy cane just before impact. The simulation showed the candy cane shattering into pieces, mimicking real-world behavior.
Once the model is built and running, it's easy to test additional load cases for different drop positions. So, for curiosity’s sake, I decided to see what would happen if it were dropped on the end instead of the side.
The drop tests showed just how brittle candy canes are. While I’ve always known they were fragile, I was surprised to see them break into so many pieces from such a low height.
It might be interesting to revisit this simulation with the plastic wrapping included to evaluate its effect on the results. Simulating the shipping packaging could also add an additional layer of complexity, but for now, let’s enjoy the festive chaos of our shattered candy cane this holiday season.
Brandon Finney is a consulting engineer at Rand Simulation in Owings Mills, MD, specializing in mechanical FEA.