{"id":25437,"date":"2023-05-09T22:16:53","date_gmt":"2023-05-10T03:16:53","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=25437"},"modified":"2023-05-09T22:19:13","modified_gmt":"2023-05-10T03:19:13","slug":"viscosity","status":"publish","type":"post","link":"http:\/\/blog.kenperlin.com\/?p=25437","title":{"rendered":"Viscosity"},"content":{"rendered":"<p>This afternoon a student asked me what might be a good way to simulate fluid viscosity. I didn&#8217;t know the answer, so I made one up.<\/p>\n<p>Basically, I suggested that when any two particles in a viscous fluid are near each other, they should form a temporary bond, so it would be harder for them to slide past each other. As viscosity gets higher, this will make the fluid act more and more like a solid.<\/p>\n<p>I was curious to see whether this would actually work, so I sat down and implemented it. I am happy to report that it works just fine.<\/p>\n<p>You can play with my little viscous fluid simulator <a href=\"http:\/\/kenperlin.com\/viscosity\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This afternoon a student asked me what might be a good way to simulate fluid viscosity. I didn&#8217;t know the answer, so I made one up. Basically, I suggested that when any two particles in a viscous fluid are near each other, they should form a temporary bond, so it would be harder for them &hellip; <a href=\"http:\/\/blog.kenperlin.com\/?p=25437\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Viscosity&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/25437"}],"collection":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25437"}],"version-history":[{"count":3,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/25437\/revisions"}],"predecessor-version":[{"id":25440,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/25437\/revisions\/25440"}],"wp:attachment":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25437"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}