{"id":97,"date":"2020-07-24T01:13:23","date_gmt":"2020-07-24T01:13:23","guid":{"rendered":"http:\/\/blogs.oregonstate.edu\/salty\/?page_id=97"},"modified":"2023-09-09T05:03:18","modified_gmt":"2023-09-09T05:03:18","slug":"matlab-tools-to-solve-the-viscous-taylor-goldstein-equation-for-both-instabilities-and-waves","status":"publish","type":"page","link":"https:\/\/blogs.oregonstate.edu\/salty\/matlab-tools-to-solve-the-viscous-taylor-goldstein-equation-for-both-instabilities-and-waves\/","title":{"rendered":"Matlab tools to solve the viscous Taylor Goldstein equation for both instabilities and waves"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/oregonstate.box.com\/s\/rx10m0h7rsnhhigmuctrtfqaya4omlzw\" target=\"_blank\">wave_analysis.m<\/a>&nbsp;: code to solve demonstration problem<br><a href=\"https:\/\/oregonstate.box.com\/s\/0qeisbamt267r5z3qno3tzwmyn13amro\" target=\"_blank\" rel=\"noreferrer noopener\">nash_data.txt<\/a>&nbsp;: observational data for demonstration problem<br><a href=\"https:\/\/oregonstate.box.com\/s\/xqvkpt34135gq8hst4vpcf9mdohwd2hd\" target=\"_blank\" rel=\"noreferrer noopener\">SSF.m<\/a>&nbsp;: the main subroutine<br><a href=\"https:\/\/oregonstate.box.com\/s\/uj704mulx1587dafgcqylkj3m713af8u\" target=\"_blank\" rel=\"noreferrer noopener\">ddz.m<\/a>&nbsp;,&nbsp;<a href=\"https:\/\/oregonstate.box.com\/s\/bgkpj9k46ow3bobrq5hr6gglqa1f0i65\" target=\"_blank\" rel=\"noreferrer noopener\">ddz2.m<\/a>,&nbsp;<a href=\"https:\/\/oregonstate.box.com\/s\/bql0crvbc5mcyfmzlegq8a0kgdb1ik85\" target=\"_blank\" rel=\"noreferrer noopener\">ddz4.m<\/a>&nbsp;: auxiliary subroutines<\/p>\n\n\n\n<p>Reference:<\/p>\n\n\n\n<p>Smyth, W.D., J.N. Moum and J.D. Nash, 2011: \u201cNarrowband, high-frequency oscillations at the equator. Part II: Properties of shear instabilities&#8221;,&nbsp;<em>J. Phys. Oceanogr.<\/em><strong> 41<\/strong><em>,&nbsp;<\/em>412-428.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/oregonstate.box.com\/s\/jwkw46s0zv9oe93pudvtnpc5rg4kur9g\" target=\"_blank\">[PDF]<\/a><\/p>\n\n\n\n<p>A guide to the relevant theory:<\/p>\n\n\n\n<p>Smyth, W.D. and J.R. Carpenter, 2019,&nbsp;<em>\u201cInstability in Geophysical Flows\u201d,<\/em>&nbsp;Cambridge University Press.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.amazon.com\/Instability-Geophysical-Flows-William-Smyth-ebook\/dp\/B07RP1MC8G\/ref=sr_1_1?keywords=smyth+instability&amp;qid=1573683499&amp;sr=8-1\" target=\"_blank\">https:\/\/www.amazon.com\/Instability-Geophysical-Flows-William-Smyth-ebook\/dp\/B07RP1MC8G\/ref=sr_1_1?keywords=smyth+instability&amp;qid=1573683499&amp;sr=8-1<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\" \/>\n\n\n\n<p>NEW VERSION: Fourier-Galerkin method is faster and more accurate.<a href=\"https:\/\/oregonstate.box.com\/s\/xtn2vqa0mihjcu8cijcx7pxc3gprpm6d\" target=\"_blank\" rel=\"noreferrer noopener\">wave_analysis_FG.m<\/a>&nbsp;: code to solve demonstration problem<br><a href=\"https:\/\/oregonstate.box.com\/s\/d5c7ul9q1t48pgaxap07ct0sczrpwxhv\" target=\"_blank\" rel=\"noreferrer noopener\">nash_data.txt<\/a>&nbsp;: observational data for demonstration problem<br><a href=\"https:\/\/oregonstate.box.com\/s\/p8q75drclefn3g1286gswfb2atb5euf8\" target=\"_blank\" rel=\"noreferrer noopener\">vTG_FG.m<\/a>&nbsp;: the main subroutine<br><a href=\"https:\/\/oregonstate.box.com\/s\/b19l21a8qqew9jpwtn36ilfbq3t2gy6e\" target=\"_blank\" rel=\"noreferrer noopener\">BaryL.m<\/a>&nbsp;: auxiliary subroutine<br><a href=\"https:\/\/oregonstate.box.com\/s\/3g2gqyzqawvay81qcaszmzi536wdrbe1\" target=\"_blank\" rel=\"noreferrer noopener\">vTG_FGprep.m<\/a>&nbsp;: auxiliary subroutine (call first)<\/p>\n\n\n\n<p>Reference:<\/p>\n\n\n\n<p>Lian, Q., W. D. Smyth, and Z. Liu, 2020: &#8220;Numerical Computation of Instabilities and Internal Waves from In Situ Measurements via the Viscous Taylor\u2013Goldstein Problem&#8221;.\u00a0<em>J. Atmos. Oceanic Technol.<\/em>,\u00a0\u00a0<strong>37<\/strong>, 759\u2013776,\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/doi.org\/10.1175\/JTECH-D-19-0155.1\" target=\"_blank\">https:\/\/doi.org\/10.1175\/JTECH-D-19-0155.1<\/a>. <\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\" \/>\n\n\n\n<p>Watch this space for more efficient methods currently in the works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>wave_analysis.m&nbsp;: code to solve demonstration problemnash_data.txt&nbsp;: observational data for demonstration problemSSF.m&nbsp;: the main subroutineddz.m&nbsp;,&nbsp;ddz2.m,&nbsp;ddz4.m&nbsp;: auxiliary subroutines Reference: Smyth, W.D., J.N. Moum and J.D. Nash, 2011: \u201cNarrowband, high-frequency oscillations at the equator. Part II: Properties of shear instabilities&#8221;,&nbsp;J. Phys. Oceanogr. 41,&nbsp;412-428.&nbsp;[PDF] A guide to the relevant theory: Smyth, W.D. and J.R. Carpenter, 2019,&nbsp;\u201cInstability in Geophysical Flows\u201d,&nbsp;Cambridge&hellip; <a href=\"https:\/\/blogs.oregonstate.edu\/salty\/matlab-tools-to-solve-the-viscous-taylor-goldstein-equation-for-both-instabilities-and-waves\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1561,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-97","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/pages\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/users\/1561"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":12,"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/pages\/97\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/pages\/97\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/salty\/wp-json\/wp\/v2\/media?parent=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}