{"id":5492,"date":"2020-12-10T11:44:47","date_gmt":"2020-12-10T16:44:47","guid":{"rendered":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/?p=5492"},"modified":"2026-03-27T09:00:29","modified_gmt":"2026-03-27T13:00:29","slug":"chaotic-fluid-dynamics-part-2-butterflies","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/10\/chaotic-fluid-dynamics-part-2-butterflies\/","title":{"rendered":"Chaotic Fluid Dynamics Part 2 \u2013 Butterflies"},"content":{"rendered":"\n<p><em>For want of a nail the shoe was lost.<br>For want of a shoe the horse was lost.<br>For want of a horse the rider was lost.<br>For want of a rider the message was lost.<br>For want of a message the battle was lost.<br>For want of a battle the kingdom was lost.<br>And all for the want of a horseshoe nail.<\/em><\/p>\n\n\n\n<p>Sensitive dependence on initial conditions is by no means a new concept. Variations on the above proverb can be traced back to the 13th century. In the 1952 Ray Bradbury short story &#8220;A Sound of Thunder&#8221;, a time traveler from 2055 accidentally steps on a butterfly in a trip to the late Cretaceous period only to find that on his return some words are spelled and pronounced strangely, people behave a little differently and the recent loser in the US presidential election is now the winner (!). Wind forward to the 1998 rom-com &#8220;Sliding Doors&#8221;, where a story bifurcates into 2 timelines due to a missed train, and so the phrase &#8216;a sliding door moment&#8217; became popularised.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Edward Lorenz<\/h2>\n\n\n\n<p>Edward Lorenz was a meteorologist at MIT and, in the winter of 1961, he made a discovery that would herald what is often called the 3rd scientific revolution of the 20th century &#8211; chaos theory (after relativity and quantum physics). <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"198\" height=\"287\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/Edward_lorenz.jpg\" alt=\"\" class=\"wp-image-5495\"\/><figcaption class=\"wp-element-caption\">Edward N. Lorenz<\/figcaption><\/figure><\/div>\n\n\n<p>The discovery was due to a typo. Running a 12 equation weather prediction model on a Royal McBee LGP-30 computer, he decided to rerun a simulation and manually typed in the initial conditions for that run. Due to decimal place truncation on a printout, he entered 0.506 instead of 0.506127 which was used in the previous simulation. Off he went to get a cup of coffee. When he got back he found that the results he saw differed from the original run:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"260\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/1961SD.png\" alt=\"\" class=\"wp-image-5497\"\/><figcaption class=\"wp-element-caption\">Initial condition 0.560127 vs 0.506<\/figcaption><\/figure><\/div>\n\n\n<p>One might have expected that such a small difference in the initial condition, not even big enough to visible on the above print out of his 2 simulations, would quickly be damped out and that the 2 simulations would become indistinguishable. The opposite was true. The ramifications for weather forecasting were huge and it was the seed of chaos theory that spawned research in so many disciplines in the 70s, 80s and to this day.<\/p>\n\n\n\n<p>It also spawned Jeff Goldblum&#8217;s chaos mathematician Ian Malcolm in Jurassic Park, mmm&#8230;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"365\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/Jess.png\" alt=\"\" class=\"wp-image-5509\"\/><figcaption class=\"wp-element-caption\">Geoff Goldblum as Jurassic Park&#8217;s Ian Malcolm, because all chaos mathematicians wear leather<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">The Butterfly<\/h2>\n\n\n\n<p>Lorenz&#8217;s seminal 1963 publication &#8216;Deterministic Nonperiodic Flow&#8217; went on to plot the evolution of a simplified desciption of Rayleigh\u2013B\u00e9nard convection (a common analogue for atmospheric convection) not as single parameter vs. time graphs, but by plotting integral properties of the flow against each other in phase space for what has become known as the Lorenz Attractor:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"374\" height=\"622\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/LorenzAttractor.png\" alt=\"\" class=\"wp-image-5499\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/LorenzAttractor.png 374w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/LorenzAttractor-361x600.png 361w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><figcaption class=\"wp-element-caption\">The original Lorenz Attractor<\/figcaption><\/figure><\/div>\n\n\n<p>Although he original described such small perturbations of initial conditions as being like the flapping of a seagull&#8217;s wings, it was recommended by a colleague that he used butterflies instead. It was that that formed the title of a presentation to the 139th meeting of the American Association for the Advancement of Science in 1972 <em>&#8220;Does the flap of a butterfly\u2019s wings in Brazil set off a tornado in Texas?&#8221;<\/em><\/p>\n\n\n\n<p>It is a poetic coincidence that the shape of the Lorenz Attractor looks so much like the shape of a butterfly&#8217;s wings.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"914\" height=\"324\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/ButterfyAttractor.png\" alt=\"\" class=\"wp-image-5503\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/ButterfyAttractor.png 914w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/ButterfyAttractor-600x213.png 600w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/ButterfyAttractor-768x272.png 768w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Sensitivity Demonstrated by Simcenter FLOEFD<\/h2>\n\n\n\n<p>So, can <a href=\"https:\/\/www.plm.automation.siemens.com\/global\/en\/products\/simcenter\/floefd-siemens-nx.html\" target=\"_blank\" rel=\"noreferrer noopener\">Simcenter FLOEFD for NX<\/a> be used to replicate this sensitive dependence on initial conditions? Let&#8217;s find out!<\/p>\n\n\n\n<p>Using the same model as shown in <a href=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/08\/chaotic-fluid-dynamics-part-1-rabbits\/\" target=\"_blank\" rel=\"noreferrer noopener\">Part 1<\/a>, the following animation compares the evolution of the convective flow when the bottom wall is at 30 degC with when it is set to 30.0001 degC (a 0.001% difference in the bottom\/top wall 10degC dT, as small as a butterfly compared to a tornado):<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video controls src=\"https:\/\/videos.mentor-cdn.com\/mgc\/videos\/2500\/349ca553-5cba-491c-8ba0-cec1edf66783-en-US-video.mp4\"><\/video><figcaption class=\"wp-element-caption\">30 degC vs 30.0001 degC Convective Evolution. Temperature plots (Red &#8211; hot, Blue &#8211; cold) and Velocity vs. Time at the central point in the model.<\/figcaption><\/figure>\n\n\n\n<p>Up until about 20s, the 2 models are pretty much identical. Then small differences are seen which diverge over time until the predictions differ wildly. As good an example as any why weather prediction can be OK in the short term, but tends to be much less accurate beyond that.<\/p>\n\n\n\n<p>Maybe &#8216;wildly&#8217; is too strong a word, there is still upflow and downflow with oscillating convective cells that transport the heat from the bottom to the top in both models. Underpinning the turbulence there is a common coherent structure. Regardless of initial condition, both models are attracted to a somewhat common state.  A so called &#8216;strange attractor&#8217;, but more on that in Part 3.<\/p>\n\n\n\n<p><strong>Chaotic Fluid Dynamics Blog Series:<\/strong><\/p>\n\n\n\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"gC3lH8oa9X\"><a href=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/08\/chaotic-fluid-dynamics-part-1-rabbits\/\">Chaotic Fluid Dynamics Part 1 &#8211; Rabbits<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Chaotic Fluid Dynamics Part 1 &#8211; Rabbits&#8221; &#8212; Simulating the Real World\" src=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/08\/chaotic-fluid-dynamics-part-1-rabbits\/embed\/#?secret=B2hcS5z2zn#?secret=gC3lH8oa9X\" data-secret=\"gC3lH8oa9X\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n\n\n\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"FHYLEushZk\"><a href=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/10\/chaotic-fluid-dynamics-part-2-butterflies\/\">Chaotic Fluid Dynamics Part 2 \u2013 Butterflies<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Chaotic Fluid Dynamics Part 2 \u2013 Butterflies&#8221; &#8212; Simulating the Real World\" src=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/10\/chaotic-fluid-dynamics-part-2-butterflies\/embed\/#?secret=Id34l0kUHd#?secret=FHYLEushZk\" data-secret=\"FHYLEushZk\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n\n\n\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"Xn9lFbDGT8\"><a href=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/18\/chaotic-fluid-dynamics-part-3-wheels\/\">Chaotic Fluid Dynamics Part 3 \u2013 Wheels<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Chaotic Fluid Dynamics Part 3 \u2013 Wheels&#8221; &#8212; Simulating the Real World\" src=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2020\/12\/18\/chaotic-fluid-dynamics-part-3-wheels\/embed\/#?secret=0d5RuBKOPa#?secret=Xn9lFbDGT8\" data-secret=\"Xn9lFbDGT8\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n\n\n\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"QTBwtXtV8K\"><a href=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2021\/01\/04\/chaotic-fluid-dynamics-part-4-finding-feigenbaum\/\">Chaotic Fluid Dynamics Part 4 &#8211; Finding Feigenbaum<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Chaotic Fluid Dynamics Part 4 &#8211; Finding Feigenbaum&#8221; &#8212; Simulating the Real World\" src=\"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/2021\/01\/04\/chaotic-fluid-dynamics-part-4-finding-feigenbaum\/embed\/#?secret=0VUtze9KNj#?secret=QTBwtXtV8K\" data-secret=\"QTBwtXtV8K\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For want of a nail the shoe was lost.<br \/>\nFor want of a shoe the horse was lost.<br \/>\nFor want of a horse the rider was lost.<br \/>\nFor want of a rider the message was lost.<br \/>\nFor want of a message the battle was lost.<br \/>\nFor want of a battle the kingdom was lost.<br \/>\nAnd all for the want of a horseshoe nail.<\/p>\n","protected":false},"author":2666,"featured_media":5493,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[534],"industry":[],"product":[463],"coauthors":[542],"class_list":["post-5492","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-simcenter-floefd","product-simcenter-floefd"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/56\/2020\/12\/Butterfly.png","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/posts\/5492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/users\/2666"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/comments?post=5492"}],"version-history":[{"count":4,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/posts\/5492\/revisions"}],"predecessor-version":[{"id":6185,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/posts\/5492\/revisions\/6185"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/media\/5493"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/media?parent=5492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/categories?post=5492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/tags?post=5492"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/industry?post=5492"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/product?post=5492"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simulating-the-real-world\/wp-json\/wp\/v2\/coauthors?post=5492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}