{"id":4654,"date":"2021-05-20T11:16:58","date_gmt":"2021-05-20T18:16:58","guid":{"rendered":"http:\/\/universesandbox.com\/blog\/?p=4654"},"modified":"2021-05-20T11:17:00","modified_gmt":"2021-05-20T18:17:00","slug":"simulating-snow-sciencelog-4","status":"publish","type":"post","link":"https:\/\/universesandbox.com\/blog\/2021\/05\/simulating-snow-sciencelog-4\/","title":{"rendered":"Simulating Snow | ScienceLog #4"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" src=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Mars-Collision-5.gif\" alt=\"\" class=\"wp-image-4668\"\/><figcaption>Sedna colliding with Mars. The impact sites heat up the Martian atmosphere, increasing the amount of water vapor it can hold. They also heat up ice on the Martian surface, creating more water vapor. As the increased water vapor spreads to cooler regions around the impact site, the lower elevation-adjusted temperature and warmer atmosphere with more water vapor allow rings of snow to form.<\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>It turns out it\u2019s a lot harder to simulate snow, or any weather for that matter, than it is to simulate regular surface water. In Universe Sandbox the phases of water on the surface of an object depend just on the sea level temperature, and we even make sure to conserve the total surface water mass in all of its phases, which you can find under <strong>Properties > Surface > Total Water Mass<\/strong>. However, because snow depends on so many other conditions we don\u2019t keep track of it in the same way.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"366\" src=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Earth_Water_Phases-650x366.png\" alt=\"\" class=\"wp-image-4669\" srcset=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Earth_Water_Phases-650x366.png 650w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Earth_Water_Phases-300x169.png 300w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Earth_Water_Phases-768x432.png 768w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Earth_Water_Phases.png 1280w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption>We keep track of and conserve the total water mass and how much is in vapor (upper left map), liquid (lower left map), and ice phases (upper right map). But snow is only simulated on the surface of the planet depending on properties like surface temperature and water vapor pressure.<\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Like all phases of water, snow is also tracked with surface grids, which we discussed in our <a href=\"https:\/\/universesandbox.com\/blog\/2020\/07\/sciencelog-1-energy-and-heating\/\">first ScienceLog<\/a>. We simulate snow by checking if each point on the surface grid has the right elevation, amount of water vapor, and surface temperature, needed for snow to form. If the point meets all of our checks, we know snow needs to be added to that point. This is much more complex than how we simulate ice, which only depends on whether the sea level temperature of a point on the surface grid is below freezing.<\/p>\n\n\n\n<p>As of <a href=\"https:\/\/universesandbox.com\/blog\/2021\/05\/fast-flurrious-update-27\/\">Update 27<\/a> we\u2019re also keeping a record of <em>where<\/em> snow is being formed. One thing this allows us to do now is add and remove snow more realistically. This is a big improvement over our previous snow simulation where snow would just appear and disappear instantaneously depending on the properties of each point on the surface grid at any given time. We\u2019re also doing a better job of simulating snow and ice on random planets by stabilizing the water phases and then running our snow checks when the planet is created.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"366\" src=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Random_Snow_Planets_1point1-650x366.png\" alt=\"\" class=\"wp-image-4670\" srcset=\"https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Random_Snow_Planets_1point1-650x366.png 650w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Random_Snow_Planets_1point1-300x169.png 300w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Random_Snow_Planets_1point1-768x432.png 768w, https:\/\/universesandbox.com\/blog\/wp-content\/uploads\/2021\/05\/Random_Snow_Planets_1point1.png 1280w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption>Three random rocky planets with more accurate snow and ice simulated upon creation.<\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">At the Speed of Snow<\/h3>\n\n\n\n<p>Now, you may be wondering why we don\u2019t just simulate snow with the rest of the phases of water. To do that, we would need to simulate the entire water cycle, which we just can\u2019t do accurately at simulation speeds faster than about one second per second on a desktop computer (yet). Even organizations like NASA need supercomputers to accurately simulate weather! This limitation comes from how fast we can allow water to flow through the points on a surface grid and maintain a stable surface simulation. In the water cycle, the phases change much faster than we can simulate the flow rate of water. This means we can\u2019t keep track of which points should have which phases. For simulating the phase changes of water on the surface of a planet, like liquid water to ice, we aren\u2019t limited because the flow rate of water is faster than the phase changes of this surface water. However, as consumer computers get faster, our snow simulation has the potential to become more realistic. So while we may not have personal supercomputers anytime soon, you can still check out how much better snow looks by checking out the <strong>Tidally Locked Earth<\/strong> or <strong>Mars Collisions<\/strong> Sims.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>This blog post is part of our ongoing series of ScienceLog articles, intended to share the science behind some of Universe Sandbox\u2019s most interesting features. If you would love to learn about the real-life science powering our simulator, please stay tuned and let us know what you would like to read about next.<\/p>\n\n\n\n<p><strong>To join our community discussions, please join us on our<\/strong><a href=\"https:\/\/steamcommunity.com\/app\/230290\"><strong> Steam Forum<\/strong><\/a><strong> and our<\/strong><a href=\"https:\/\/discord.gg\/us\"><strong> official Discord community.<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It turns out it\u2019s a lot harder to simulate snow, or any weather for that matter, than it is to simulate regular surface water. In Universe Sandbox the phases of water on the surface of an object depend just on the sea level temperature, and we even make sure to conserve the total surface water [&hellip;]<\/p>\n","protected":false},"author":74,"featured_media":4667,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,7,8,20],"tags":[],"class_list":["post-4654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-astronomy","category-education","category-science","category-sciencelog"],"_links":{"self":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts\/4654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/users\/74"}],"replies":[{"embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/comments?post=4654"}],"version-history":[{"count":4,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts\/4654\/revisions"}],"predecessor-version":[{"id":4673,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/posts\/4654\/revisions\/4673"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/media\/4667"}],"wp:attachment":[{"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/media?parent=4654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/categories?post=4654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/universesandbox.com\/blog\/wp-json\/wp\/v2\/tags?post=4654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}