{"id":1748,"date":"2022-04-12T13:18:59","date_gmt":"2022-04-12T12:18:59","guid":{"rendered":"https:\/\/straszaks.co.uk\/?p=1748"},"modified":"2022-04-12T13:20:22","modified_gmt":"2022-04-12T12:20:22","slug":"cahn-you-poisson-some-photos","status":"publish","type":"post","link":"https:\/\/straszaks.co.uk\/?p=1748","title":{"rendered":"Cahn you Poisson some Photos"},"content":{"rendered":"\n<p>I really <em>really<\/em> stretched for a title that matched the theme there, didn&#8217;t I? Like, lord, even I&#8217;m cringing! In any case, you can tell- this post is about a few things. The first is the Cahn-Hilliard model of phase separation, which I recently coded up- it&#8217;s quite cool! Never thought it&#8217;d be so simply. The second is a generic Poisson solver (through relaxation methods) which I&#8217;ve also done. We used it to simulate point charge fields and also z-oriented wires and their magnetic potentials\/fields. Pretty swish, eh? Ora!<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"  id=\"_ytid_40624\"  width=\"925\" height=\"520\"  data-origwidth=\"925\" data-origheight=\"520\"  data-relstop=\"1\" src=\"https:\/\/www.youtube.com\/embed\/ksZ-GeKRyag?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<\/div><figcaption><em>Left (Cahn-Hilliard spinodal decomposition) Right Top (Electric charges) Right Bottom (Magnetic Scalar Potential)<\/em><\/figcaption><\/figure>\n\n\n\n<p>As usual, all the code is up on my GitHub. The checkpoint report (as a PDF, naturally) is also up- to any future students who wish to copy someone elses work and get done-in for plagiarism. I actually learned something magical that is otherwise common sense- if you force the boundary of a potential that is meant to be null at infinity, to be null at some finite radius instead, you end up with a very bad numerical result- you really have to deal with very large grids to get decent simulations for point charges\/wires!!! <\/p>\n\n\n\n<p>Anyway, enough about that. Exams are coming and I have no time now- sadly. Pushing all my focus to my MSc project ended up backfiring and now I&#8217;m stuck picking up the bill for my past lazyness- and these exams are nipping at my heels like a pre-societal vagabond. I do however, have a fantastic photograph to show&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/straszaks.co.uk\/wp-content\/uploads\/2022\/04\/DSC_1627-Edit.jpg\" alt=\"\" class=\"wp-image-1749\"\/><figcaption><em>Corrour Station at night, with Leum Uilleim looming behind. <\/em><\/figcaption><\/figure>\n\n\n\n<p>I&#8217;m happy to admit that I am quite proud of this one. You&#8217;ve got the stars, some clouds closing in the edges- I added a bit of vignette, too, to further compound that. The station draws you in, and you can still see the faint reflection of light from the tree and left-most bank, with the grass lit up like fire. All with that magnificent mountain behind it! Honestly, I couldn&#8217;t have asked for a better photograph! <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/straszaks.co.uk\/wp-content\/uploads\/2022\/04\/DSC_1644-Edit.jpg\" alt=\"\" class=\"wp-image-1751\"\/><figcaption><em>Loch Ossian Youth Hostel<\/em><\/figcaption><\/figure>\n\n\n\n<p>I stayed at the SYH on Loch Ossian during my visit there. Honestly a fantastic\/magical place- definitely my favourite hostel, for sure. The toilet is nasty, but the sky is great there, the loch is beautiful, and the mountains can&#8217;t be beat!<\/p>\n\n\n\n<p>Anyway, take care! \ud83d\ude00 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I really really stretched for a title that matched the theme there, didn&#8217;t I? Like, lord, even I&#8217;m cringing! In any case, you can tell- this post is about a few things. The first is&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1753,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1748"}],"version-history":[{"count":2,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1748\/revisions"}],"predecessor-version":[{"id":1752,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1748\/revisions\/1752"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=\/wp\/v2\/media\/1753"}],"wp:attachment":[{"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/straszaks.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}