<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Earth Cubed</title>
	<atom:link href="http://earthcubed.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://earthcubed.wordpress.com</link>
	<description>Distributed Climate Science and Computing</description>
	<lastBuildDate>Sat, 19 Sep 2009 09:54:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='earthcubed.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Earth Cubed</title>
		<link>http://earthcubed.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://earthcubed.wordpress.com/osd.xml" title="Earth Cubed" />
	<atom:link rel='hub' href='http://earthcubed.wordpress.com/?pushpress=hub'/>
		<item>
		<title>log(CO2) and Scary Graphs</title>
		<link>http://earthcubed.wordpress.com/2009/09/19/logco2-and-scary-graphs/</link>
		<comments>http://earthcubed.wordpress.com/2009/09/19/logco2-and-scary-graphs/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 09:36:24 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=432</guid>
		<description><![CDATA[After reading Aurther&#8217;s blog post &#8220;New Congressional Budget Office Report on Climate Change&#8221; I got curious as to what the temperature response to CO2 would look like if it is actually logarithmic. I descovered (what I should have realized from the start) that the curve is concave up but will converge to a linear curve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=432&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After reading Aurther&#8217;s blog post &#8220;<a href="http://arthur.shumwaysmith.com/life/content/new_congressional_budget_office_report_on_climate_change">New Congressional Budget Office Report on Climate Change</a>&#8221; I got curious as to what the temperature response to CO2 would look like if it is actually logarithmic.</p>
<p>I descovered (what I should have realized from the start) that the curve is concave up but will converge to a linear curve for large T</p>
<p>It is commonly believed that the response of the earth to greenhouse gasses is logarithmic. I heard people suggest on other forums that this view was obtained empirically though climate models and perhaps more specifically radiative transfer models.</p>
<p>For analytic justification one would derive an expression for how the spectral width of an absorption peak grows with CO2 concentration (as I&#8217;ve done <a href="http://www.climateaudit.org/phpBB3/viewtopic.php?f=4&amp;t=777">here</a>). However, I am not convinced that this is sufficient justification as there will always be some radiative transfer at a given wave length even if the majority of it is absorbed over a very short distance. This is because the temperature gradient produced by the lapse rate produces an outward radiative flux that would exceed radiative feedback. I discuss this in more detail in my post:<br />
<a href="http://www.climateaudit.org/phpBB3/viewtopic.php?f=4&amp;t=776">Tropospheric Feedback</a></p>
<p>The logarithmic response is important because it is a type of saturation, in other words the more CO2 that is added to the atmosphere the less effective the next unit of CO2 will be in contributing to the warming. What I learned from reading Arther&#8217;s blog is that the current CO2 levels have not yet overwhelmed the natural levels of CO2.  This can be seen in the following graph:</p>
<p><a href="http://zipcodezoo.com/Trends/Trends%20in%20Atmospheric%20Carbon%20Dioxide.asp"><img src="http://zipcodezoo.com/Trends/Trends%20in%20Atmospheric%20Carbon%20Dioxide_2.gif" alt="" width="100%" /></a></p>
<p>More specificity from about 1000-1800 the CO2 concentration in the atmosphere stayed around 280 ppm. The following graph is more useful for measuring the current growth in CO2 concentration:</p>
<p><a href="http://zipcodezoo.com/Trends/Trends%20in%20Atmospheric%20Carbon%20Dioxide.asp"><img src="http://zipcodezoo.com/Trends/Trends%20in%20Atmospheric%20Carbon%20Dioxide_6.gif" alt="" width="100%" /></a></p>
<p>This graph is surprisingly very linear. If the growth in CO2 is truely exponential then it should be possible to estimate in from the slope on this graph which is given as 1.4203 PPM per year. For an exponential function:</p>
<p><img src='http://s0.wp.com/latex.php?latex=y%3Dy_o%2BAexp%28%5Clambda+%28t-t_o%29%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='y=y_o+Aexp(&#92;lambda (t-t_o)) ' title='y=y_o+Aexp(&#92;lambda (t-t_o)) ' class='latex' /><br />
The derivative is:<br />
<img src='http://s0.wp.com/latex.php?latex=y%27%3DA%5Clambda+exp%28+%5Clambda+%28t-t_o%29%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='y&#039;=A&#92;lambda exp( &#92;lambda (t-t_o)) ' title='y&#039;=A&#92;lambda exp( &#92;lambda (t-t_o)) ' class='latex' /><br />
And the second derivative is:<br />
<img src='http://s0.wp.com/latex.php?latex=y%27%27%3DA%5Clambda%5E2+exp%28+%5Clambda+%28t-t_o%29%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='y&#039;&#039;=A&#92;lambda^2 exp( &#92;lambda (t-t_o)) ' title='y&#039;&#039;=A&#92;lambda^2 exp( &#92;lambda (t-t_o)) ' class='latex' /><br />
The second derivative was taken because two equations are needed to find both <img src='http://s0.wp.com/latex.php?latex=A+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Clambda+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda ' title='&#92;lambda ' class='latex' /> can be found.</p>
<p>The site also where I obtained the above figures gives a quadratic fit which can be used to estimate the first and second derivatives:</p>
<p><img src='http://s0.wp.com/latex.php?latex=44690.5-46.1486x%2B0.0119942x%5E2+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='44690.5-46.1486x+0.0119942x^2 ' title='44690.5-46.1486x+0.0119942x^2 ' class='latex' /></p>
<p>Therefore at year 2007 the first derivative is given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=-46.1486%2B2%2A0.0119942%2A2007%3D1.9961+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='-46.1486+2*0.0119942*2007=1.9961 ' title='-46.1486+2*0.0119942*2007=1.9961 ' class='latex' /></p>
<p>and the second derivative is 0.0119942</p>
<p>Giving:</p>
<p><img src='http://s0.wp.com/latex.php?latex=A+exp%28+%5Clambda+%28t-t_o%29%29+%5Clambda+%3D1.9961+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='A exp( &#92;lambda (t-t_o)) &#92;lambda =1.9961 ' title='A exp( &#92;lambda (t-t_o)) &#92;lambda =1.9961 ' class='latex' /><br />
<img src='http://s0.wp.com/latex.php?latex=A+exp%28+%5Clambda+%28t-t_o%29%29+%5Clambda%5E2+%3D0.0119942+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='A exp( &#92;lambda (t-t_o)) &#92;lambda^2 =0.0119942 ' title='A exp( &#92;lambda (t-t_o)) &#92;lambda^2 =0.0119942 ' class='latex' /></p>
<p>Dividing the second equation by the first:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Clambda%3D0.0119942%2F1.9961%3D0.006008817+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda=0.0119942/1.9961=0.006008817 ' title='&#92;lambda=0.0119942/1.9961=0.006008817 ' class='latex' /></p>
<p>From this the doubling time can be obtained as follows:</p>
<p><img src='http://s0.wp.com/latex.php?latex=ln%282%29%2F%5Clambda%3Dln%282%29%2F0.0060%3D115.5245+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='ln(2)/&#92;lambda=ln(2)/0.0060=115.5245 ' title='ln(2)/&#92;lambda=ln(2)/0.0060=115.5245 ' class='latex' /> years.</p>
<p><img src='http://s0.wp.com/latex.php?latex=y_o+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='y_o ' title='y_o ' class='latex' /> is taken to be the base level of CO2. That is:</p>
<p><img src='http://s0.wp.com/latex.php?latex=y_0%3D280+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='y_0=280 ' title='y_0=280 ' class='latex' /></p>
<p>A third equation can now be found as:</p>
<p><img src='http://s0.wp.com/latex.php?latex=384-280%3DAexp%280.006%281997-t_0%29%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='384-280=Aexp(0.006(1997-t_0)) ' title='384-280=Aexp(0.006(1997-t_0)) ' class='latex' /></p>
<p>giving:</p>
<p><img src='http://s0.wp.com/latex.php?latex=A%3D%5Cfrac%7B384-280%7D%7Bexp%280.006%281997-t_0%29%29%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='A=&#92;frac{384-280}{exp(0.006(1997-t_0))} ' title='A=&#92;frac{384-280}{exp(0.006(1997-t_0))} ' class='latex' /></p>
<p>If t_o is taken to be 1800 this gives:</p>
<p><img src='http://s0.wp.com/latex.php?latex=A%3D31.8931+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='A=31.8931 ' title='A=31.8931 ' class='latex' /></p>
<p>which suggests the CO2 growth rate has decreased over the last 200 years.</p>
<p>The CO2 is estimated to follow this function:</p>
<p><img src='http://s0.wp.com/latex.php?latex=CO_2%28t%29%3D280%2B31.8931+exp%280.006+%28t-1800%29%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='CO_2(t)=280+31.8931 exp(0.006 (t-1800)) ' title='CO_2(t)=280+31.8931 exp(0.006 (t-1800)) ' class='latex' /></p>
<p>The question now is how does this growth rate in CO2 effect the temperature. There are several estimates for the sensitivity of the climate to changes in CO2. Lucia&#8217;s one box model &#8220;<a href="http://rankexploits.com/musings/2008/how-large-is-global-climate-sensitivity-to-doubled-co2-this-model-says-17-c/">lumpy</a>&#8221; suggest a sensitivity of:</p>
<p>1.7 degrees Celsius per CO2 doubling.<br />
The IPCC estimates the lower bound for sesitivity to be:<br />
1.5 degrees Celsius per CO2 doubling (see <a href="http://www.physicsforums.com/showthread.php?t=303184">CO2 Climate Sensitivity</a>)<br />
Isaac M. Held suggests a climate sensitivity of about 2.8C/CO2 doubling. See:</p>
<p>http://www.gfdl.gov/isaac-held-homepage</p>
<h4>Selected recent papers on climate sensitivity:</h4>
<ul>
<li>Soden, Held, Colman, Shell, Kiehl, and Shields, 2008: <strong><a href="http://www.gfdl.gov/bibliography/related_files/bjs0801.pdf">Quantifying      		climate feedbacks using radiative kernels</a></strong>. <em>Journal of Climate</em></li>
<li>Zhang, Delworth, and Held, 2007: <strong> </strong><a href="http://www.gfdl.gov/bibliography/related_files/roz0701.pdf"><strong>Can the Atlantic Ocean drive the      		observed multidecadal variability in Northern Hemisphere mean temperature?</strong></a> <em>Geophysical Research Letters</em></li>
<li>Soden and Held, 2006: <a href="http://www.gfdl.gov/bibliography/related_files/bjs0601.pdf"><strong>An assessment of climate feedbacks in coupled      		ocean-atmosphere models</strong></a><strong> </strong>. <em>Journal of Climate</em></li>
</ul>
<p>Here is what wikipedia has to say:</p>
<blockquote><p>In <a title="Intergovernmental Panel on Climate Change" href="http://en.wikipedia.org/wiki/Intergovernmental_Panel_on_Climate_Change">Intergovernmental Panel on Climate Change</a> (IPCC) reports, <em>equilibrium</em> <strong>climate sensitivity</strong> refers to the equilibrium change in global mean near-surface air temperature that would result from a sustained doubling of the atmospheric (equivalent) <a title="Carbon dioxide" href="http://en.wikipedia.org/wiki/Carbon_dioxide">CO<sub>2</sub></a> concentration. This value is estimated, by the <a title="IPCC Fourth Assessment Report" href="http://en.wikipedia.org/wiki/IPCC_Fourth_Assessment_Report">IPCC Fourth Assessment Report</a> (<em>AR4</em>) as <em>likely to be in the range 2 to 4.5°C with a best estimate of about 3°C, and is very unlikely to be less than 1.5°C. Values substantially higher than 4.5°C cannot be excluded, but agreement of models with observations is not as good for those values</em>. This is a slight change from the <a title="IPCC Third Assessment Report" href="http://en.wikipedia.org/wiki/IPCC_Third_Assessment_Report">IPCC Third Assessment Report</a> (<em>TAR</em>), which said it was &#8220;likely to be in the range of 1.5 to 4.5°C&#8221; <a class="external autonumber" rel="nofollow" href="http://www.grida.no/climate/ipcc_tar/wg1/031.htm">[1]</a>. AR3 defined climate sensitivity alternatively in systematic units, equilibrium climate sensitivity refers to the equilibrium change in surface air temperature following a unit change in <a title="Radiative forcing" href="http://en.wikipedia.org/wiki/Radiative_forcing">radiative forcing</a> and is expressed in units of °C/(W/m<sup>2</sup>) or equivalently K/(W/m<sup>2</sup>). In practice, the evaluation of the equilibrium climate sensitivity from models requires very long simulations with coupled <a title="Global climate model" href="http://en.wikipedia.org/wiki/Global_climate_model">global climate models</a>, or it may be deduced from observations. Therefore the 2007 AR4 renamed the alternative climate sensitivity to <em>climate sensitivity parameter</em> adding a new definition of <em>effective climate sensitivity</em> which is &#8220;a measure of the strengths of the climate feedbacks at a particular time and may vary with forcing history and climate state&#8221;.</p></blockquote>
<p>The logarithmic law of CO2 forcing is given as:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5CDelta+T%3Dk%2Alog_2%28CO_2%28t_2%29%2FCO_2%28t_1%29%29%3D%5Cfrac%7Bk%7D%7Blog_n%282%29%7Dlog_n%28%28CO_2%28t_2%29%2FCO_2%28t_1%29%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;Delta T=k*log_2(CO_2(t_2)/CO_2(t_1))=&#92;frac{k}{log_n(2)}log_n((CO_2(t_2)/CO_2(t_1)) ' title='&#92;Delta T=k*log_2(CO_2(t_2)/CO_2(t_1))=&#92;frac{k}{log_n(2)}log_n((CO_2(t_2)/CO_2(t_1)) ' class='latex' /></p>
<p>where <img src='http://s0.wp.com/latex.php?latex=k+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='k ' title='k ' class='latex' /> is the CO2 sensitivity for doubling CO2</p>
<p>I plotted this function for several values of the doubling sensitivity k<br />
<img src="http://farm4.static.flickr.com/3469/3933071397_4f3238b3e8.jpg" alt="" width="100%" /></p>
<p>The labels on the right hand side of the plot are the climate sensitivities for each curve. This is actually a considerably smaller response then one would expect given the doubling time is around 100 years. However, while this is a nearly sufficient time for the exponential part of the curve to double,  the CO2 only increases by a factor of 1.2 since at 1997 the CO2 concentration is 384 ppm and in 2100 the CO2 concentration is projected by this fit to be  473ppm. This reduces the expected response by a factor of:</p>
<p><img src='http://s0.wp.com/latex.php?latex=log%28473%2F384%29%2Flog%282%29%3D0.3+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='log(473/384)/log(2)=0.3 ' title='log(473/384)/log(2)=0.3 ' class='latex' /></p>
<p>Notice that if the sensitivity ranges given by the IPCC are used then with this fit to CO2 emission growth is around 0.5-1.2 degrees which is hardly the doomsday scenario shown in the following graph which was posted on Aurther&#8217;s blog.</p>
<p><a href="http://arthur.shumwaysmith.com/life/content/new_congressional_budget_office_report_on_climate_change"><img src="http://arthur.shumwaysmith.com/life/sites/default/files/apsmith/CBOFig1.jpg" alt="" /></a></p>
<p>As a final note, the MATLAB code I used to produce the above graph is:</p>
<pre>clear all
CO2= @(t)280+31.8931*exp(0.006*(t-1800))
CO2_0=CO2(1997)
t=linspace(1997,2100)
K=[1.5 4 7 11 15 21 25 29 33]
CO2s=CO2(t);
DT=@(k)(k/log(2))*log(CO2s/CO2_0)
for i=1:length(K)
  DTs=DT(K(i))
  plot(t,DTs)
  AXIS([1997 2100 0 10])
  gtext(num2str(K(i)))
  hold on;
end
xlabel('Year')
ylabel('Temperature Change in Degrees Celcius')
hold off,</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/432/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=432&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/09/19/logco2-and-scary-graphs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>

		<media:content url="http://zipcodezoo.com/Trends/Trends%20in%20Atmospheric%20Carbon%20Dioxide_2.gif" medium="image" />

		<media:content url="http://zipcodezoo.com/Trends/Trends%20in%20Atmospheric%20Carbon%20Dioxide_6.gif" medium="image" />

		<media:content url="http://farm4.static.flickr.com/3469/3933071397_4f3238b3e8.jpg" medium="image" />

		<media:content url="http://arthur.shumwaysmith.com/life/sites/default/files/apsmith/CBOFig1.jpg" medium="image" />
	</item>
		<item>
		<title>Numeric Solutions to The Heat Equation</title>
		<link>http://earthcubed.wordpress.com/2009/09/15/numeric-solutions-to-the-heat-equation/</link>
		<comments>http://earthcubed.wordpress.com/2009/09/15/numeric-solutions-to-the-heat-equation/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 18:54:37 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=427</guid>
		<description><![CDATA[I have been reading a lot on Lucia&#8217;s blog about two box models which are essentially an approximation of the heat equation with basis functions which are constant over a box. The heat equation is given by: or equivalently: The fundamental solutions or Greens functions (also see main body theory) are of the form: This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=427&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been reading a lot on Lucia&#8217;s blog about two box models which are essentially an approximation of the heat equation with basis functions which are constant over a box. </p>
<p>The <a href="http://en.wikipedia.org/wiki/Heat_equation">heat equation</a> is given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+u%7D%7B%5Cpartial+t%7D+-k%5Cleft%28%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+x%5E2%7D%2B%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+y%5E2%7D%2B%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+z%5E2%7D%5Cright%29%3D0+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial u}{&#92;partial t} -k&#92;left(&#92;frac{&#92;partial^2u}{&#92;partial x^2}+&#92;frac{&#92;partial^2u}{&#92;partial y^2}+&#92;frac{&#92;partial^2u}{&#92;partial z^2}&#92;right)=0 ' title='&#92;frac{&#92;partial u}{&#92;partial t} -k&#92;left(&#92;frac{&#92;partial^2u}{&#92;partial x^2}+&#92;frac{&#92;partial^2u}{&#92;partial y^2}+&#92;frac{&#92;partial^2u}{&#92;partial z^2}&#92;right)=0 ' class='latex' /></p>
<p>or equivalently:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+u%7D%7B%5Cpartial+t%7D+%3D+k+%5Cnabla%5E2+u+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial u}{&#92;partial t} = k &#92;nabla^2 u ' title='&#92;frac{&#92;partial u}{&#92;partial t} = k &#92;nabla^2 u ' class='latex' /></p>
<p>The fundamental solutions or <a href="http://en.wikipedia.org/wiki/Green%27s_function">Greens functions</a> (also see <a href="http://en.wikipedia.org/wiki/Green%27s_function_%28many-body_theory%29">main body theory</a>) are of the form:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5CPhi%28%5Cmathbf%7Bx%7D%2Ct%29+%3D+%5CPhi%28x_1%2Ct%29%5CPhi%28x_2%2Ct%29%5Cdots%5CPhi%28x_n%2Ct%29%3D%5Cfrac%7B1%7D%7B%284%5Cpi+k+t%29%5E%7Bn%2F2%7D%7De%5E%7B-%5Cmathbf%7Bx%7D%5Ccdot%5Cmathbf%7Bx%7D%2F4kt%7D.+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;Phi(&#92;mathbf{x},t) = &#92;Phi(x_1,t)&#92;Phi(x_2,t)&#92;dots&#92;Phi(x_n,t)=&#92;frac{1}{(4&#92;pi k t)^{n/2}}e^{-&#92;mathbf{x}&#92;cdot&#92;mathbf{x}/4kt}. ' title='&#92;Phi(&#92;mathbf{x},t) = &#92;Phi(x_1,t)&#92;Phi(x_2,t)&#92;dots&#92;Phi(x_n,t)=&#92;frac{1}{(4&#92;pi k t)^{n/2}}e^{-&#92;mathbf{x}&#92;cdot&#92;mathbf{x}/4kt}. ' class='latex' /></p>
<p>This suggests my choice of a negative exponential basis in my post (<a href="http://earthcubed.wordpress.com/2009/09/01/lagrangian-mechanics-and-the-heat-equation/">Lagrangian Mechanics and the Heat Equation</a>) was not two bad a choice although, Guasian functions will decay slightly faster then negative exponentials.</p>
<p>Not all solutions are based on on fundamental solutions for instance in the post (<a href="http://www.physicsforums.com/newreply.php?do=newreply&amp;p=2330723">Approximations used in Crank-Nicolson method for solving PDEs numerically) </a> I read that the Crank-Nicolson method was the standard method of soliving the Heat equation numericaly. </p>
<p>For instance in 1-D </p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+u%7D%7B%5Cpartial+t%7D%3Dk+%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+x%5E2%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial u}{&#92;partial t}=k &#92;frac{&#92;partial^2u}{&#92;partial x^2} ' title='&#92;frac{&#92;partial u}{&#92;partial t}=k &#92;frac{&#92;partial^2u}{&#92;partial x^2} ' class='latex' /></p>
<p>the <a href="http://en.wikipedia.org/wiki/Crank%E2%80%93Nicolson_method">Cranck Nicholson Method</a> is given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bu_%7Bi%7D%5E%7Bn+%2B+1%7D+-+u_%7Bi%7D%5E%7Bn%7D%7D%7B%5CDelta+t%7D+%3D+%5Cfrac%7Bk%7D%7B2+%28%5CDelta+x%29%5E2%7D%5Cleft%28%28u_%7Bi+%2B+1%7D%5E%7Bn+%2B+1%7D+-+2+u_%7Bi%7D%5E%7Bn+%2B+1%7D+%2B+u_%7Bi+-+1%7D%5E%7Bn+%2B+1%7D%29+%2B+%28u_%7Bi+%2B+1%7D%5E%7Bn%7D+-+2+u_%7Bi%7D%5E%7Bn%7D+%2B+u_%7Bi+-+1%7D%5E%7Bn%7D%29%5Cright%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{u_{i}^{n + 1} - u_{i}^{n}}{&#92;Delta t} = &#92;frac{k}{2 (&#92;Delta x)^2}&#92;left((u_{i + 1}^{n + 1} - 2 u_{i}^{n + 1} + u_{i - 1}^{n + 1}) + (u_{i + 1}^{n} - 2 u_{i}^{n} + u_{i - 1}^{n})&#92;right) ' title='&#92;frac{u_{i}^{n + 1} - u_{i}^{n}}{&#92;Delta t} = &#92;frac{k}{2 (&#92;Delta x)^2}&#92;left((u_{i + 1}^{n + 1} - 2 u_{i}^{n + 1} + u_{i - 1}^{n + 1}) + (u_{i + 1}^{n} - 2 u_{i}^{n} + u_{i - 1}^{n})&#92;right) ' class='latex' /></p>
<p>It should be noted that this method produces a difference equation. The values at the next time step can be solved for analytically, using <a href="http://en.wikipedia.org/wiki/Cramer%27s_rule">cramer&#8217;s</a> rule (see also <a href="http://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution">Invertible matrix, analytic solutions</a>). The frequency domain characteristics can be explored using the <a href="http://en.wikipedia.org/wiki/Z-transform">z transform</a>. Where the frequency response is given by evaluating the z transform along the unit circle. </p>
<p>Also note that numeric error can be reduced when computing future time steps by either recursive squaring:<br />
<img src='http://s0.wp.com/latex.php?latex=A%5E4%3D%28A%5E2%29%28A%5E2%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='A^4=(A^2)(A^2) ' title='A^4=(A^2)(A^2) ' class='latex' /><br />
or by using <a href="http://en.wikipedia.org/wiki/Matrix_decomposition">matrix decomposition</a>.</p>
<p>For other numeric method of solve partial differential equations see (<a href="http://en.wikipedia.org/wiki/List_of_numerical_analysis_topics#Numerical_partial_differential_equations">Numerical partial differential equations</a>), which I posted in the thread (<a href="http://www.physicsforums.com/showthread.php?t=331415&amp;highlight=numeric">Preparation for PDEs</a>).</p>
<p>Further with regards to crank Nicholson, there is no time dependency on the right hand side of the equations so other methods, can be used to descretize the heat equations such as using Laplace transforms or the matrix exponential. </p>
<p><strong>With regards to Lucia&#8217;s blog<br />
</strong></p>
<p>My understanding as posted in (<a href="http://earthcubed.wordpress.com/?p=427&amp;preview=true">Arthur’s Case 2 (I think)</a>) that the main focus of Lucia&#8217;s blog posts is to test the model chosen by Tamino:</p>
<blockquote><p>lucia (Comment#19822)   September 12th, 2009 at 9:23 pm</p>
<p>What I mean is– when testing the two box model, you don’t switch to the diffusive model even if it’s more inherently sensible and intelligent. That’s because to test “X” you must test “X”. You can’t test “Y” even if “Y” seems more likely to pass the test.</p></blockquote>
<p>This is fine but I think that a wider discussion is warranted about how this model is just a simplified version of the heat equations and what principles of modeling and differential equations can be useful to obtain better solutions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/427/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/427/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=427&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/09/15/numeric-solutions-to-the-heat-equation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>Coriolis Forces  in Hopkins and Simmons Vorticity Equation</title>
		<link>http://earthcubed.wordpress.com/2009/09/12/coriolis-forces-in-hopkins-and-simmons-vorticity-equation/</link>
		<comments>http://earthcubed.wordpress.com/2009/09/12/coriolis-forces-in-hopkins-and-simmons-vorticity-equation/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 21:08:10 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[GCM (General Circulation Models)]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=396</guid>
		<description><![CDATA[In the thread vector operations in Hopkins and Simmons, I compute the components of the curl as: In my post Coriolis forces in Hopkins and Simmons I compute the coriolis force as: And the partial derivatives are given by: I&#8217;ll derive the rest of this later but this doesn&#8217;t seem to be the form of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=396&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the thread <a href="http://earthcubed.wordpress.com/2009/08/29/vector-operations-in-hoskins-and-simhttp://earthcubed.wordpress.com/wp-admin/post.php?action=edit&amp;post=396&amp;message=1mons-coordinates/">vector operations in Hopkins and Simmons</a>, I compute the components of the curl as:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Csigma%7D%3D+%5Cfrac%7B1%7D%7Br%5Cmu%7D%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Cmu%7D%2B+%5Cfrac%7BRT%7D%7B%5Csigma+m+g%7D%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Clambda%7D%3D%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Csigma%2C%5Cmu%7D%2B%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Csigma%2C%5Clambda%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma}= &#92;frac{1}{r&#92;mu}&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}+ &#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda}=&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma,&#92;mu}+&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma,&#92;lambda}  ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma}= &#92;frac{1}{r&#92;mu}&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}+ &#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda}=&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma,&#92;mu}+&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma,&#92;lambda}  ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Cmu%7D%3D++-%5Cfrac%7BRT%7D%7B%5Csigma+m+g%7D%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Clambda%7D-+%5Cfrac%7B%5Csqrt%7B1-%5Cmu%5E2%7D%7D%7Br%7D+%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Cmu%2C%5Clambda%7D%2B%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Cmu%2C%5Csigma%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu}=  -&#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}- &#92;frac{&#92;sqrt{1-&#92;mu^2}}{r} &#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma}=&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu,&#92;lambda}+&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu,&#92;sigma} ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu}=  -&#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}- &#92;frac{&#92;sqrt{1-&#92;mu^2}}{r} &#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma}=&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu,&#92;lambda}+&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu,&#92;sigma} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Clambda%7D%3D++%5Cfrac%7B%5Csqrt%7B1-%5Cmu%5E2%7DRT%7D%7Br%7D%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Csigma%7D-%5Cfrac%7BRT%7D%7Br%5Cmu%7D+%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Cmu%7D%3D%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Clambda%2C%5Csigma%7D%2B%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Clambda%2C%5Cmu%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda}=  &#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}-&#92;frac{RT}{r&#92;mu} &#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu}=&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda,&#92;sigma}+&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda,&#92;mu}  ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda}=  &#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}-&#92;frac{RT}{r&#92;mu} &#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu}=&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda,&#92;sigma}+&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda,&#92;mu}  ' class='latex' /></p>
<p>In my post <a href="http://earthcubed.wordpress.com/2009/08/29/coriolis-forces/">Coriolis forces in Hopkins and Simmons</a> I compute the coriolis force as:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%3D++%5Cbegin%7Bpmatrix%7D+%5Cmu+U+%5C%5C++%5Cpm+%5Csqrt%7B1-%5Cmu%5E2%7D+U+%5C%5C+%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+V+-+%5Cmu++W+%5Cend%7Bpmatrix%7D+%5C++%3D+%5Cbegin%7Bpmatrix%7D+A_%7B%5Csigma%7D+%5C%5C+A_%7B%5Cmu%7D+%5C%5C+A_%7B%5Clambda%7D+%5Cend%7Bpmatrix%7D+%5C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{&#92;Omega &#92;times v} =  &#92;begin{pmatrix} &#92;mu U &#92;&#92;  &#92;pm &#92;sqrt{1-&#92;mu^2} U &#92;&#92; &#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W &#92;end{pmatrix} &#92;  = &#92;begin{pmatrix} A_{&#92;sigma} &#92;&#92; A_{&#92;mu} &#92;&#92; A_{&#92;lambda} &#92;end{pmatrix} &#92; ' title='&#92;boldsymbol{&#92;Omega &#92;times v} =  &#92;begin{pmatrix} &#92;mu U &#92;&#92;  &#92;pm &#92;sqrt{1-&#92;mu^2} U &#92;&#92; &#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W &#92;end{pmatrix} &#92;  = &#92;begin{pmatrix} A_{&#92;sigma} &#92;&#92; A_{&#92;mu} &#92;&#92; A_{&#92;lambda} &#92;end{pmatrix} &#92; ' class='latex' /></p>
<p>And the partial derivatives are given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Cmu%7D%3D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Cmu%7D%5Cleft%28%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+V+-+%5Cmu++W%5Cright%29%3D%5Cpm+%5Cfrac%7B2%5Cmu%7D%7B%5Csqrt%7B1-%5Cmu%5E2%7D%7DV+%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+%5Cfrac%7B%5Cpartial+V%7D%7B%5Cpartial+%5Cmu%7D+-+W-%5Cfrac%7B%5Cpartial+W%7D%7B%5Cpartial+%5Cmu%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}=&#92;frac{&#92;partial}{&#92;partial &#92;mu}&#92;left(&#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W&#92;right)=&#92;pm &#92;frac{2&#92;mu}{&#92;sqrt{1-&#92;mu^2}}V &#92;mp &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial V}{&#92;partial &#92;mu} - W-&#92;frac{&#92;partial W}{&#92;partial &#92;mu} ' title='&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}=&#92;frac{&#92;partial}{&#92;partial &#92;mu}&#92;left(&#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W&#92;right)=&#92;pm &#92;frac{2&#92;mu}{&#92;sqrt{1-&#92;mu^2}}V &#92;mp &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial V}{&#92;partial &#92;mu} - W-&#92;frac{&#92;partial W}{&#92;partial &#92;mu} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Clambda%7D%3D%5Cfrac%7B%5Cpartial+%7D%7B%5Cpartial+%5Clambda%7D%5Cleft%28%5Cpm+%5Csqrt%7B1-%5Cmu%5E2%7D+U%5Cright%29%3D%5Cpm+%5Csqrt%7B1-%5Cmu%5E2%7D+%5Cfrac%7B%5Cpartial+U%7D%7B%5Cpartial+%5Clambda%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda}=&#92;frac{&#92;partial }{&#92;partial &#92;lambda}&#92;left(&#92;pm &#92;sqrt{1-&#92;mu^2} U&#92;right)=&#92;pm &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial U}{&#92;partial &#92;lambda} ' title='&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda}=&#92;frac{&#92;partial }{&#92;partial &#92;lambda}&#92;left(&#92;pm &#92;sqrt{1-&#92;mu^2} U&#92;right)=&#92;pm &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial U}{&#92;partial &#92;lambda} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Clambda%7D%3D%5Cfrac%7B%5Cpartial+%7D%7B%5Cpartial+%5Clambda%7D%5Cleft%28+%5Cmu+U+%5Cright%29%3D%5Cmu+%5Cfrac%7B%5Cpartial+U%7D%7B%5Cpartial+%5Clambda%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}=&#92;frac{&#92;partial }{&#92;partial &#92;lambda}&#92;left( &#92;mu U &#92;right)=&#92;mu &#92;frac{&#92;partial U}{&#92;partial &#92;lambda} ' title='&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}=&#92;frac{&#92;partial }{&#92;partial &#92;lambda}&#92;left( &#92;mu U &#92;right)=&#92;mu &#92;frac{&#92;partial U}{&#92;partial &#92;lambda} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Csigma%7D%5Cleft%28%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+V+-+%5Cmu++W%5Cright%29%3D%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+%5Cfrac%7B%5Cpartial+V%7D%7B%5Cpartial+%5Csigma%7D+-+%5Cmu++%5Cfrac%7B%5Cpartial+W%7D%7B%5Cpartial+%5Csigma%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma}=&#92;frac{&#92;partial}{&#92;partial &#92;sigma}&#92;left(&#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W&#92;right)=&#92;mp &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial V}{&#92;partial &#92;sigma} - &#92;mu  &#92;frac{&#92;partial W}{&#92;partial &#92;sigma}  ' title='&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma}=&#92;frac{&#92;partial}{&#92;partial &#92;sigma}&#92;left(&#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W&#92;right)=&#92;mp &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial V}{&#92;partial &#92;sigma} - &#92;mu  &#92;frac{&#92;partial W}{&#92;partial &#92;sigma}  ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cfrac%7B%5Cpartial+%7D%7B%5Cpartial+%5Csigma%7D%5Cleft%28%5Cpm+%5Csqrt%7B1-%5Cmu%5E2%7D+U%5Cright%29%3D%5Cpm+%5Csqrt%7B1-%5Cmu%5E2%7D+%5Cfrac%7B%5Cpartial+U+%7D%7B%5Cpartial+%5Csigma%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}=&#92;frac{&#92;partial }{&#92;partial &#92;sigma}&#92;left(&#92;pm &#92;sqrt{1-&#92;mu^2} U&#92;right)=&#92;pm &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial U }{&#92;partial &#92;sigma} ' title='&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}=&#92;frac{&#92;partial }{&#92;partial &#92;sigma}&#92;left(&#92;pm &#92;sqrt{1-&#92;mu^2} U&#92;right)=&#92;pm &#92;sqrt{1-&#92;mu^2} &#92;frac{&#92;partial U }{&#92;partial &#92;sigma} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Cmu%7D%3D%5Cfrac%7B%5Cpartial+%7D%7B%5Cpartial+%5Cmu%7D%5Cleft%28+%5Cmu+U+%5Cright%29%3D%5Cmu+%5Cfrac%7B%5Cpartial+U%7D%7B%5Cpartial+%5Cmu%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu}=&#92;frac{&#92;partial }{&#92;partial &#92;mu}&#92;left( &#92;mu U &#92;right)=&#92;mu &#92;frac{&#92;partial U}{&#92;partial &#92;mu} ' title='&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu}=&#92;frac{&#92;partial }{&#92;partial &#92;mu}&#92;left( &#92;mu U &#92;right)=&#92;mu &#92;frac{&#92;partial U}{&#92;partial &#92;mu} ' class='latex' /></p>
<p>I&#8217;ll derive the rest of this later but this doesn&#8217;t seem to be the form of the prognostic equation used by Hopkins and Simmons. </p>
<p><strong>Divergence Free Flow</strong></p>
<p>In the post <a href="http://earthcubed.wordpress.com/2009/08/29/vector-operations-in-hoskins-and-simmons-coordinates/">Vector Operations in Hopkins and Simmons</a> I derived the divergence operator as follows:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cnabla+%5Ccdot++%3D+%5Cfrac%7B1%7D%7Bh_%7B%5Cmu%7D%7D+%5Cfrac%7B%5Cpartial+%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B1%7D%7Bh_%7B%5Clambda%7D%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Clambda%7D%2B%5Cfrac%7B1%7D%7Bh_%7B%5Csigma%7D%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cfrac%7B1-%5Cmu%5E2%7D%7Br%7D+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B1%7D%7Br+%5Cmu%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Clambda%7D-%5Cfrac%7BRT%7D%7B%5Csigma+mg%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Csigma%7D+++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;nabla &#92;cdot  = &#92;frac{1}{h_{&#92;mu}} &#92;frac{&#92;partial }{&#92;partial &#92;mu} + &#92;frac{1}{h_{&#92;lambda}}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}+&#92;frac{1}{h_{&#92;sigma}}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}=&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial}{&#92;partial &#92;mu} + &#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}-&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}   ' title='&#92;nabla &#92;cdot  = &#92;frac{1}{h_{&#92;mu}} &#92;frac{&#92;partial }{&#92;partial &#92;mu} + &#92;frac{1}{h_{&#92;lambda}}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}+&#92;frac{1}{h_{&#92;sigma}}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}=&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial}{&#92;partial &#92;mu} + &#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}-&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}   ' class='latex' /></p>
<p>If the divergence of the velocity equals zero then:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cnabla+%5Ccdot+%5Cbegin%7Bpmatrix%7D+W+%5C%5C+V+%5C%5C+U+%5Cend%7Bpmatrix%7D%5C+%3D%5Cfrac%7B1-%5Cmu%5E2%7D%7Br%7D+%5Cfrac%7B%5Cpartial+V%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B1%7D%7Br+%5Cmu%7D%5Cfrac%7B%5Cpartial+U%7D%7B%5Cpartial+%5Clambda%7D-%5Cfrac%7BRT%7D%7B%5Csigma+mg%7D%5Cfrac%7B%5Cpartial+W%7D%7B%5Cpartial+%5Csigma%7D%3D0+++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;nabla &#92;cdot &#92;begin{pmatrix} W &#92;&#92; V &#92;&#92; U &#92;end{pmatrix}&#92; =&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial V}{&#92;partial &#92;mu} + &#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial U}{&#92;partial &#92;lambda}-&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial W}{&#92;partial &#92;sigma}=0   ' title='&#92;nabla &#92;cdot &#92;begin{pmatrix} W &#92;&#92; V &#92;&#92; U &#92;end{pmatrix}&#92; =&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial V}{&#92;partial &#92;mu} + &#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial U}{&#92;partial &#92;lambda}-&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial W}{&#92;partial &#92;sigma}=0   ' class='latex' /></p>
<p>Which implies:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+W%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cfrac%7B%281-%5Cmu%5E2%29%5Csigma+mg%7D%7Br+RT%7D+%5Cfrac%7B%5Cpartial+V%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B%5Csigma+mg%7D%7Br+%5Cmu+%5Csigma+mg%7D%5Cfrac%7B%5Cpartial+U%7D%7B%5Cpartial+%5Clambda%7D+++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial W}{&#92;partial &#92;sigma}=&#92;frac{(1-&#92;mu^2)&#92;sigma mg}{r RT} &#92;frac{&#92;partial V}{&#92;partial &#92;mu} + &#92;frac{&#92;sigma mg}{r &#92;mu &#92;sigma mg}&#92;frac{&#92;partial U}{&#92;partial &#92;lambda}   ' title='&#92;frac{&#92;partial W}{&#92;partial &#92;sigma}=&#92;frac{(1-&#92;mu^2)&#92;sigma mg}{r RT} &#92;frac{&#92;partial V}{&#92;partial &#92;mu} + &#92;frac{&#92;sigma mg}{r &#92;mu &#92;sigma mg}&#92;frac{&#92;partial U}{&#92;partial &#92;lambda}   ' class='latex' /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=396&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/09/12/coriolis-forces-in-hopkins-and-simmons-vorticity-equation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>The Cross Product in Non Orthogonal Coordinate Systems</title>
		<link>http://earthcubed.wordpress.com/2009/09/07/the-cross-product-in-non-orthogonal-coordinate-systems/</link>
		<comments>http://earthcubed.wordpress.com/2009/09/07/the-cross-product-in-non-orthogonal-coordinate-systems/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 06:46:11 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=259</guid>
		<description><![CDATA[The form of the cross product I&#8217;ve shown in my post Coriolis Forces is: The components of this cross product can be written as follows: We will abbreviate these relationships as follows: Now define the coordinate transform: where Then the cross product components can be written as follows: Now Right multiplying the matrix by the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=259&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The form of the cross product I&#8217;ve shown in my post <a href="http://earthcubed.wordpress.com/2009/08/29/coriolis-forces/">Coriolis Forces</a> is:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%3D++%5Cbegin%7Bpmatrix%7D+%5COmega_y+v_z+-+%5COmega_z+v_y+%5C%5C+%5COmega_z+v_x+-+%5COmega_x+v_z++%5C%5C+%5COmega_x+v_y+-+%5COmega_y+v_x++%5Cend%7Bpmatrix%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{&#92;Omega &#92;times v} =  &#92;begin{pmatrix} &#92;Omega_y v_z - &#92;Omega_z v_y &#92;&#92; &#92;Omega_z v_x - &#92;Omega_x v_z  &#92;&#92; &#92;Omega_x v_y - &#92;Omega_y v_x  &#92;end{pmatrix} ' title='&#92;boldsymbol{&#92;Omega &#92;times v} =  &#92;begin{pmatrix} &#92;Omega_y v_z - &#92;Omega_z v_y &#92;&#92; &#92;Omega_z v_x - &#92;Omega_x v_z  &#92;&#92; &#92;Omega_x v_y - &#92;Omega_y v_x  &#92;end{pmatrix} ' class='latex' /></p>
<p>The components of this cross product can be written as follows:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_x%3D++%5Cleft%5B+%5Cbegin%7Bmatrix%7D%5COmega_x%26%5COmega_y%26%5COmega_z+%5Cend%7Bmatrix%7D+%5Cright%5D%5Cleft%5B+%5Cbegin%7Bmatrix%7D0%260%260+%5C%5C+0%260%261+%5C%5C+0%26-1%260%5Cend%7Bmatrix%7D+%5Cright%5D%5Cleft%5B+%5Cbegin%7Bmatrix%7Dv_x%5C%5Cv_y%5C%5Cv_z+%5Cend%7Bmatrix%7D+%5Cright%5D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_x=  &#92;left[ &#92;begin{matrix}&#92;Omega_x&amp;&#92;Omega_y&amp;&#92;Omega_z &#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}0&amp;0&amp;0 &#92;&#92; 0&amp;0&amp;1 &#92;&#92; 0&amp;-1&amp;0&#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}v_x&#92;&#92;v_y&#92;&#92;v_z &#92;end{matrix} &#92;right] ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_x=  &#92;left[ &#92;begin{matrix}&#92;Omega_x&amp;&#92;Omega_y&amp;&#92;Omega_z &#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}0&amp;0&amp;0 &#92;&#92; 0&amp;0&amp;1 &#92;&#92; 0&amp;-1&amp;0&#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}v_x&#92;&#92;v_y&#92;&#92;v_z &#92;end{matrix} &#92;right] ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_y%3D++%5Cleft%5B+%5Cbegin%7Bmatrix%7D%5COmega_x%26%5COmega_y%26%5COmega_z+%5Cend%7Bmatrix%7D+%5Cright%5D%5Cleft%5B+%5Cbegin%7Bmatrix%7D0%260%26-1+%5C%5C+0%260%260+%5C%5C+1%260%260%5Cend%7Bmatrix%7D+%5Cright%5D%5Cleft%5B+%5Cbegin%7Bmatrix%7Dv_x%5C%5Cv_y%5C%5Cv_z+%5Cend%7Bmatrix%7D+%5Cright%5D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_y=  &#92;left[ &#92;begin{matrix}&#92;Omega_x&amp;&#92;Omega_y&amp;&#92;Omega_z &#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}0&amp;0&amp;-1 &#92;&#92; 0&amp;0&amp;0 &#92;&#92; 1&amp;0&amp;0&#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}v_x&#92;&#92;v_y&#92;&#92;v_z &#92;end{matrix} &#92;right] ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_y=  &#92;left[ &#92;begin{matrix}&#92;Omega_x&amp;&#92;Omega_y&amp;&#92;Omega_z &#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}0&amp;0&amp;-1 &#92;&#92; 0&amp;0&amp;0 &#92;&#92; 1&amp;0&amp;0&#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}v_x&#92;&#92;v_y&#92;&#92;v_z &#92;end{matrix} &#92;right] ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_z%3D++%5Cleft%5B+%5Cbegin%7Bmatrix%7D%5COmega_x%26%5COmega_y%26%5COmega_z+%5Cend%7Bmatrix%7D+%5Cright%5D%5Cleft%5B+%5Cbegin%7Bmatrix%7D0%261%260+%5C%5C+-1%260%260+%5C%5C+0%260%260%5Cend%7Bmatrix%7D+%5Cright%5D%5Cleft%5B+%5Cbegin%7Bmatrix%7Dv_x%5C%5Cv_y%5C%5Cv_z+%5Cend%7Bmatrix%7D+%5Cright%5D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_z=  &#92;left[ &#92;begin{matrix}&#92;Omega_x&amp;&#92;Omega_y&amp;&#92;Omega_z &#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}0&amp;1&amp;0 &#92;&#92; -1&amp;0&amp;0 &#92;&#92; 0&amp;0&amp;0&#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}v_x&#92;&#92;v_y&#92;&#92;v_z &#92;end{matrix} &#92;right] ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_z=  &#92;left[ &#92;begin{matrix}&#92;Omega_x&amp;&#92;Omega_y&amp;&#92;Omega_z &#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}0&amp;1&amp;0 &#92;&#92; -1&amp;0&amp;0 &#92;&#92; 0&amp;0&amp;0&#92;end{matrix} &#92;right]&#92;left[ &#92;begin{matrix}v_x&#92;&#92;v_y&#92;&#92;v_z &#92;end{matrix} &#92;right] ' class='latex' /></p>
<p>We will abbreviate these relationships as follows:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_x%3D%5COmega%5ET%5B%5Ctimes%5D_xv+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_x=&#92;Omega^T[&#92;times]_xv ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_x=&#92;Omega^T[&#92;times]_xv ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_y%3D%5COmega%5ET%5B%5Ctimes%5D_yv+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_y=&#92;Omega^T[&#92;times]_yv ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_y=&#92;Omega^T[&#92;times]_yv ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_z%3D%5COmega%5ET%5B%5Ctimes%5D_zv+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_z=&#92;Omega^T[&#92;times]_zv ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_z=&#92;Omega^T[&#92;times]_zv ' class='latex' /></p>
<p>Now define the coordinate transform:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7Br%27%7D%3DT+%5Cboldsymbol%7Br%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{r&#039;}=T &#92;boldsymbol{r} ' title='&#92;boldsymbol{r&#039;}=T &#92;boldsymbol{r} ' class='latex' /><br />
where<br />
<img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7Br%7D%3D%5Cleft%5B%5Cbegin%7Bmatrix%7D++x+%5C%5C+y+%5C%5C+z+%5Cend%7Bmatrix%7D+%5Cright%5D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{r}=&#92;left[&#92;begin{matrix}  x &#92;&#92; y &#92;&#92; z &#92;end{matrix} &#92;right]  ' title='&#92;boldsymbol{r}=&#92;left[&#92;begin{matrix}  x &#92;&#92; y &#92;&#92; z &#92;end{matrix} &#92;right]  ' class='latex' /></p>
<p>Then the cross product components can be written as follows:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_x%3D%28%5COmega%5ETT%5ET%29%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_xT%5E%7B-1%7D%29%28Tv%29++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_x=(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_xT^{-1})(Tv)  ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_x=(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_xT^{-1})(Tv)  ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_y%3D%28%5COmega%5ETT%5ET%29%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_yT%5E%7B-1%7D%29%28Tv%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_y=(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_yT^{-1})(Tv) ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_y=(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_yT^{-1})(Tv) ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_z%3D%28%5COmega%5ETT%5ET%29%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_zT%5E%7B-1%7D%29%28Tv%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_z=(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_zT^{-1})(Tv) ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_z=(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_zT^{-1})(Tv) ' class='latex' /></p>
<p>Now Right multiplying the matrix <img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right] ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right] ' class='latex' /> by the transform <img src='http://s0.wp.com/latex.php?latex=T+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='T ' title='T ' class='latex' /> gives:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_%7Bx%27%7D%3D%5Csum_%7Bk+%5Cin+%5C%7Bx%2Cy%2Cz%5C%7D%7DT_%7B1%2Ck%7D%28%5COmega%5ETT%5ET%29%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_kT%5E%7B-1%7D%29%28Tv%29++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{x&#039;}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{1,k}(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_kT^{-1})(Tv)  ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{x&#039;}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{1,k}(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_kT^{-1})(Tv)  ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_%7By%27%7D%3D%5Csum_%7Bk+%5Cin+%5C%7Bx%2Cy%2Cz%5C%7D%7DT_%7B2%2Ck%7D%28%5COmega%5ETT%5ET%29%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_kT%5E%7B-1%7D%29%28Tv%29++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{y&#039;}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{2,k}(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_kT^{-1})(Tv)  ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{y&#039;}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{2,k}(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_kT^{-1})(Tv)  ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_%7Bz%27%7D%3D%5Csum_%7Bk+%5Cin+%5C%7Bx%2Cy%2Cz%5C%7D%7DT_%7B3%2Ck%7D%28%5COmega%5ETT%5ET%29%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_kT%5E%7B-1%7D%29%28Tv%29++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{z&#039;}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{3,k}(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_kT^{-1})(Tv)  ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{z&#039;}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{3,k}(&#92;Omega^TT^T)((T^{-1})^T[&#92;times]_kT^{-1})(Tv)  ' class='latex' /></p>
<p>Which can be written in this form:<br />
<img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_%7Bx%27%7D%3D%5COmega%27%5ET%5B%5Ctimes%5D_%7Bx%27%7Dv%27+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{x&#039;}=&#92;Omega&#039;^T[&#92;times]_{x&#039;}v&#039; ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{x&#039;}=&#92;Omega&#039;^T[&#92;times]_{x&#039;}v&#039; ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_%7By%27%7D%3D%5COmega%27%5ET%5B%5Ctimes%5D_%7By%27%7D%7Bv%27%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{y&#039;}=&#92;Omega&#039;^T[&#92;times]_{y&#039;}{v&#039;} ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{y&#039;}=&#92;Omega&#039;^T[&#92;times]_{y&#039;}{v&#039;} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%5Cright%5D_%7Bz%27%7D%3D%5COmega%5ET%5B%5Ctimes%5D_%7Bz%27%7D%7Bv%27%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{z&#039;}=&#92;Omega^T[&#92;times]_{z&#039;}{v&#039;} ' title='&#92;left[ &#92;boldsymbol{&#92;Omega &#92;times v} &#92;right]_{z&#039;}=&#92;Omega^T[&#92;times]_{z&#039;}{v&#039;} ' class='latex' /></p>
<p>Where: </p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B%5B%5Ctimes%5D_%7Bx%27%7D%5Cright%5D_%7Bi%2Cj%7D%3D%5Csum_%7Bk+%5Cin+%5C%7Bx%2Cy%2Cz%5C%7D%7DT_%7B1%2Ck%7D%5B%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_kT%5E%7B-1%7D%29%5D_%7Bi%2Cj%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[[&#92;times]_{x&#039;}&#92;right]_{i,j}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{1,k}[((T^{-1})^T[&#92;times]_kT^{-1})]_{i,j} ' title='&#92;left[[&#92;times]_{x&#039;}&#92;right]_{i,j}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{1,k}[((T^{-1})^T[&#92;times]_kT^{-1})]_{i,j} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B%5B%5Ctimes%5D_%7By%27%7D%5Cright%5D_%7Bi%2Cj%7D%3D%5Csum_%7Bk+%5Cin+%5C%7Bx%2Cy%2Cz%5C%7D%7DT_%7B2%2Ck%7D%5B%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_kT%5E%7B-1%7D%29%5D_%7Bi%2Cj%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[[&#92;times]_{y&#039;}&#92;right]_{i,j}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{2,k}[((T^{-1})^T[&#92;times]_kT^{-1})]_{i,j} ' title='&#92;left[[&#92;times]_{y&#039;}&#92;right]_{i,j}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{2,k}[((T^{-1})^T[&#92;times]_kT^{-1})]_{i,j} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B%5B%5Ctimes%5D_%7Bz%27%7D%5Cright%5D_%7Bi%2Cj%7D%3D%5Csum_%7Bk+%5Cin+%5C%7Bx%2Cy%2Cz%5C%7D%7DT_%7B3%2Ck%7D%5B%28%28T%5E%7B-1%7D%29%5ET%5B%5Ctimes%5D_kT%5E%7B-1%7D%29%5D_%7Bi%2Cj%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[[&#92;times]_{z&#039;}&#92;right]_{i,j}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{3,k}[((T^{-1})^T[&#92;times]_kT^{-1})]_{i,j} ' title='&#92;left[[&#92;times]_{z&#039;}&#92;right]_{i,j}=&#92;sum_{k &#92;in &#92;{x,y,z&#92;}}T_{3,k}[((T^{-1})^T[&#92;times]_kT^{-1})]_{i,j} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5COmega%27%3DT%5COmega+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;Omega&#039;=T&#92;Omega ' title='&#92;Omega&#039;=T&#92;Omega ' class='latex' /><br />
<img src='http://s0.wp.com/latex.php?latex=v%27%3DTv+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='v&#039;=Tv ' title='v&#039;=Tv ' class='latex' /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=259&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/09/07/the-cross-product-in-non-orthogonal-coordinate-systems/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>Lagrangian Mechanics and The Heat Equation</title>
		<link>http://earthcubed.wordpress.com/2009/09/01/lagrangian-mechanics-and-the-heat-equation/</link>
		<comments>http://earthcubed.wordpress.com/2009/09/01/lagrangian-mechanics-and-the-heat-equation/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 08:10:24 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[GCM (General Circulation Models)]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=326</guid>
		<description><![CDATA[I have been noticing a lot of discussion on Lucia&#8217;s blog about an energy Balance Climate Model. Two Box Model: Algebra for ver. 1 test. Two Box Model: Now assuming surface temperature are ‘mixed’ values. Two Box Model: Rough idea how to obtain parameters. Two Box Models &#38; The 2nd Law of Thermodynamics Which started [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=326&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been noticing a lot of discussion on Lucia&#8217;s blog about an energy Balance Climate Model.</p>
<p><a href="http://rankexploits.com/musings/2009/two-box-model-algebra-for-ver-1-test/">Two Box Model: Algebra for ver. 1 test.</a><br />
<a href="http://rankexploits.com/musings/2009/two-box-model-now-assuming-surface-temperature-are-mixed-values/">Two Box Model: Now assuming surface temperature are ‘mixed’ values.</a><br />
<a href="http://rankexploits.com/musings/2009/two-box-model-rough-idea-how-to-obtain-parameters/">Two Box Model: Rough idea how to obtain parameters.</a><br />
<a href="http://rankexploits.com/musings/2009/two-box-models-the-2nd-law-of-thermodynamics/">Two Box Models &amp; The 2nd Law of Thermodynamics</a></p>
<p>Which started based on a post by <span><span> <a href="http://tamino.wordpress.com/2009/08/17/not-computer-models/">Tamino</a>, called &#8220;<a href="http://tamino.wordpress.com/2007/10/03/two-boxes/">Two Box&#8221;</a></span></span></p>
<p>The biggest criticism I&#8217;ve scene about these models is that there is very little physics which is used to form these models and consequently they won&#8217;t capture much of the nonlinear dynamics.</p>
<p>The basic premises of the model is that the time lags are associated with the heat capacity of the ocean. Consequently, the ocean and some of the atmosphere is partitioned into boxes and the model tries to determine how these boxes are coupled.</p>
<p>The end result though is the time legs end up being associated with eignvectors which, project onto both boxes.  Consequently the modes of the system do not coincide with the boxes.  Moreover, it is desirable to minimize the number of model parameters which need to be fit and therefore principles of physics, should be used to derive a more realistic &#8220;Two box model&#8221; or should I say more generally &#8220;Two mode model&#8221; as the modes do not coincide with the boxes.</p>
<p>The most simple equation with regards to the transfer of energy is the <a href="http://en.wikipedia.org/wiki/Heat_equation">heat equation</a>:</p>
<p>1)               <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+u%7D%7B%5Cpartial+t%7D+-k%5Cleft%28%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+x%5E2%7D%2B%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+y%5E2%7D%2B%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+z%5E2%7D%5Cright%29%3D0+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial u}{&#92;partial t} -k&#92;left(&#92;frac{&#92;partial^2u}{&#92;partial x^2}+&#92;frac{&#92;partial^2u}{&#92;partial y^2}+&#92;frac{&#92;partial^2u}{&#92;partial z^2}&#92;right)=0 ' title='&#92;frac{&#92;partial u}{&#92;partial t} -k&#92;left(&#92;frac{&#92;partial^2u}{&#92;partial x^2}+&#92;frac{&#92;partial^2u}{&#92;partial y^2}+&#92;frac{&#92;partial^2u}{&#92;partial z^2}&#92;right)=0 ' class='latex' /></p>
<p>The heat equation is essentially a diffusion equation based on <a href="http://en.wikipedia.org/wiki/Brownian_motion">Brownian Motion</a>. But we can adjust the constant <img src='http://s0.wp.com/latex.php?latex=K+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='K ' title='K ' class='latex' /> to try and account for other heat exchange processes.</p>
<p>In one  dimension the heat equation can be written as:</p>
<p>2)                 <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Cpartial+u%7D%7B%5Cpartial+t%7D+-k%5Cfrac%7B%5Cpartial%5E2u%7D%7B%5Cpartial+y%5E2%7D%3D0+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{&#92;partial u}{&#92;partial t} -k&#92;frac{&#92;partial^2u}{&#92;partial y^2}=0 ' title='&#92;frac{&#92;partial u}{&#92;partial t} -k&#92;frac{&#92;partial^2u}{&#92;partial y^2}=0 ' class='latex' /></p>
<p>In this equation the time derivative only depends on the spatial derivatives.  Keeping a mind on the dynamics, the higher the frequency that the climate forcing is, the more shallow it will penetrate into the ocean because the more ocean you include the greater the thermal inertia (heat capacity) and consequently the greater the damping.  Thus a good fit for the temperature response at a given frequency as a function of depth, may be an exponential function of the depth.</p>
<p>Thus, from this observation and because the mathematics are fairly simple consider a set of basis functions which the special component is exponentially decreasing from the surface.  That is let:</p>
<p>3)                <img src='http://s0.wp.com/latex.php?latex=u%3D%5Csum+a_i+exp%28-%5Clambda_i+y%29&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='u=&#92;sum a_i exp(-&#92;lambda_i y)' title='u=&#92;sum a_i exp(-&#92;lambda_i y)' class='latex' /></p>
<p>Plugging this into the heat equation one gets:</p>
<p>4)                <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bdu%7D%7Bdt%7D%3D%5Csum+%5Cfrac%7Bd+%28+%5C+a_i%29%7D%7Bdt%7D+exp%28-%5Clambda_i+%29%3Dk+%5Clambda_i%5E2%5Csum+a_i+exp%28-%5Clambda_i+y%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{du}{dt}=&#92;sum &#92;frac{d ( &#92; a_i)}{dt} exp(-&#92;lambda_i )=k &#92;lambda_i^2&#92;sum a_i exp(-&#92;lambda_i y) ' title='&#92;frac{du}{dt}=&#92;sum &#92;frac{d ( &#92; a_i)}{dt} exp(-&#92;lambda_i )=k &#92;lambda_i^2&#92;sum a_i exp(-&#92;lambda_i y) ' class='latex' /></p>
<p>Where:</p>
<p>The constant <img src='http://s0.wp.com/latex.php?latex=k%28y%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='k(y) ' title='k(y) ' class='latex' /> represents how quickly heat diffuses in the ocean at a given depth. Equating terms on the heat equation gives:</p>
<p>5)                              <img src='http://s0.wp.com/latex.php?latex=k%5Clambda_i%5E2a_i-%5Cfrac%7Bd+%28a_i%29%7D%7Bdt%7D%3D0+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='k&#92;lambda_i^2a_i-&#92;frac{d (a_i)}{dt}=0 ' title='k&#92;lambda_i^2a_i-&#92;frac{d (a_i)}{dt}=0 ' class='latex' /></p>
<p>Now let there be a function <img src='http://s0.wp.com/latex.php?latex=c%28y%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='c(y) ' title='c(y) ' class='latex' />, and let the quanity being diffused in the heat equation be the temperature. Then the energy constraint is given by:</p>
<p>6)               <img src='http://s0.wp.com/latex.php?latex=E%3D%5Cint_0%5E%7Bd%7D+c%28y%29%5Csum+a_i+exp%28-%5Clambda_i+y%29dy+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='E=&#92;int_0^{d} c(y)&#92;sum a_i exp(-&#92;lambda_i y)dy ' title='E=&#92;int_0^{d} c(y)&#92;sum a_i exp(-&#92;lambda_i y)dy ' class='latex' /></p>
<p>This constraint makes one of the <a href="http://en.wikipedia.org/wiki/Generalized_coordinates">generalized coordinates</a> <img src='http://s0.wp.com/latex.php?latex=a_i+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='a_i ' title='a_i ' class='latex' /> redundant.</p>
<p>Differentiating (5) with respect to time, gives:</p>
<p>7)                      <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7BdE%7D%7Bdt%7D%3D%5Cint_0%5E%7Bd%7D+%5Csum+c%28y%29%5Cfrac%7Bd%28a_i%29%7D%7Bdt%7D+exp%28-%5Clambda_i+y%29dy+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{dE}{dt}=&#92;int_0^{d} &#92;sum c(y)&#92;frac{d(a_i)}{dt} exp(-&#92;lambda_i y)dy ' title='&#92;frac{dE}{dt}=&#92;int_0^{d} &#92;sum c(y)&#92;frac{d(a_i)}{dt} exp(-&#92;lambda_i y)dy ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7BdE%7D%7Bdt%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{dE}{dt} ' title='&#92;frac{dE}{dt} ' class='latex' />  is determined by the forcing. Now some notes, with regards to the coordinate system:</p>
<p>1)I suggest taking the as the redundant basis function, the one that has the smallest value <img src='http://s0.wp.com/latex.php?latex=%5Clambda+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda ' title='&#92;lambda ' class='latex' /> .<br />
2)Since this model is a linearization (or approximation), I suggest using as the temperature variable at a given depth, the amount by which it exceeds the average temperature at that depth.  That is model the temperature anomaly instead of the actual temperature.<br />
3)Given two then we are looking at the change in the heat transfer from the mean instead of the actual heat transfer.<br />
4)These are only suggestions.</p>
<p>Now the <a href="http://en.wikipedia.org/wiki/Lagrangian">Lagrangian</a>, is essentially a cost function.  In our cost function, we want to minimize the error in the derivatives (the square of equation (5) integrated over y) and as an additional constraint, I want to minimize the change in <a href="http://en.wikipedia.org/wiki/Entropy">entropy</a> with respect to y.</p>
<p>When a parcel of water rises because it is hotter then the surrounding and therefore less dense it will expand with constant entropy (<a href="http://www.google.ca/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FAdiabatic_process&amp;ei=_tWcSpr2JZPatgP-krSTDg&amp;usg=AFQjCNHl9Yq4wnRUX2Bh-JPxWnXyRQgAlA&amp;sig2=RkO3TF6n-O8I7Fn9T1WjzA">adiabatic expansion</a>) if it exchanges no heat with the surroundings. Therefore, the heat induced ocean currents will act in order to try and minimize the entropy change between adjacent regions. (Note the actual effect of this process is to increase entropy).</p>
<p>From thermodynamics:</p>
<p>8 )       <img src='http://s0.wp.com/latex.php?latex=dU%3DT%5C%2CdS-p%5C%2CdV+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='dU=T&#92;,dS-p&#92;,dV ' title='dU=T&#92;,dS-p&#92;,dV ' class='latex' /></p>
<p>Therefore:</p>
<p>9)       <img src='http://s0.wp.com/latex.php?latex=dS%3D%28dU-p%5C%2CdV%29%2FT%3D%5Cfrac%7B1%7D%7BT%7D%28%5Cfrac%7B1%7D%7BC%28y%29%7DdT-p%28y%29+%5Cfrac%7BdV%7D%7BdP%7DdP%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='dS=(dU-p&#92;,dV)/T=&#92;frac{1}{T}(&#92;frac{1}{C(y)}dT-p(y) &#92;frac{dV}{dP}dP) ' title='dS=(dU-p&#92;,dV)/T=&#92;frac{1}{T}(&#92;frac{1}{C(y)}dT-p(y) &#92;frac{dV}{dP}dP) ' class='latex' /></p>
<p>from which we can get:</p>
<p>10)      <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7BdS%7D%7Bdy%7D%3D%5Cfrac%7B1%7D%7BT%7D%28%5Cfrac%7B1%7D%7BC%28y%29%7D%5Cfrac%7BdT%7D%7Bdy%7D-p%28y%29+%5Cfrac%7BdV%7D%7BdP%7D%5Cfrac%7BdP%7D%7Bdy%7D%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{dS}{dy}=&#92;frac{1}{T}(&#92;frac{1}{C(y)}&#92;frac{dT}{dy}-p(y) &#92;frac{dV}{dP}&#92;frac{dP}{dy}) ' title='&#92;frac{dS}{dy}=&#92;frac{1}{T}(&#92;frac{1}{C(y)}&#92;frac{dT}{dy}-p(y) &#92;frac{dV}{dP}&#92;frac{dP}{dy}) ' class='latex' /></p>
<p>Substituting into (10) the expression for temperature (equation (3))  equation (10) gives:</p>
<p>11)      <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7BdS%7D%7Bdy%7D%3D-%5Cfrac%7B1%7D%7BT%7D%28%5Cfrac%7B1%7D%7BC%28y%29%7D%5Csum+a_i%5Cfrac%7B-1%7D%7B%5Clambda_i%7D+exp%28%5Clambda_i+y%29%2Bp%28y%29+%5Cfrac%7BdV%7D%7BdP%7D%5Cfrac%7BdP%7D%7Bdy%7D%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{dS}{dy}=-&#92;frac{1}{T}(&#92;frac{1}{C(y)}&#92;sum a_i&#92;frac{-1}{&#92;lambda_i} exp(&#92;lambda_i y)+p(y) &#92;frac{dV}{dP}&#92;frac{dP}{dy}) ' title='&#92;frac{dS}{dy}=-&#92;frac{1}{T}(&#92;frac{1}{C(y)}&#92;sum a_i&#92;frac{-1}{&#92;lambda_i} exp(&#92;lambda_i y)+p(y) &#92;frac{dV}{dP}&#92;frac{dP}{dy}) ' class='latex' /></p>
<p>The entropy cost function is:</p>
<p>12)      <img src='http://s0.wp.com/latex.php?latex=%5Cint_o%5Ed+%28%5Cfrac%7BdS%7D%7Bdy%7D%29%5E2dy%3D%5Cint_0%5Ed%5Cfrac%7B1%7D%7BT%5E2%7D%28%5Cfrac%7B1%7D%7BC%28y%29%7D%5Csum+a_i%5Cfrac%7B1%7D%7B%5Clambda_i%7D+exp%28%5Clambda_i+y%29%2Bp%28y%29+%5Cfrac%7BdV%7D%7BdP%7D%5Cfrac%7BdP%7D%7Bdy%7D%29%5E2dy+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;int_o^d (&#92;frac{dS}{dy})^2dy=&#92;int_0^d&#92;frac{1}{T^2}(&#92;frac{1}{C(y)}&#92;sum a_i&#92;frac{1}{&#92;lambda_i} exp(&#92;lambda_i y)+p(y) &#92;frac{dV}{dP}&#92;frac{dP}{dy})^2dy ' title='&#92;int_o^d (&#92;frac{dS}{dy})^2dy=&#92;int_0^d&#92;frac{1}{T^2}(&#92;frac{1}{C(y)}&#92;sum a_i&#92;frac{1}{&#92;lambda_i} exp(&#92;lambda_i y)+p(y) &#92;frac{dV}{dP}&#92;frac{dP}{dy})^2dy ' class='latex' /></p>
<p>The Lagrangian is given by:</p>
<p>13)      <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal+L%28a_1%2C...a_n%2C+...%3B%5Cdot+a_1%2C..%2C%5Cdot+a_n%2C+...%3Bt%29%5C%2C.%3D+%5Calpha+%5Cint_o%5Ed+%28%5Cfrac%7BdS%7D%7Bdy%7D%29%5E2dy%2B%5Csum%28k%5Clambda_i%5E2a_i-%5Cfrac%7Bd+%28a_i%29%7D%7Bdt%7D%29%5E2+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal L(a_1,...a_n, ...;&#92;dot a_1,..,&#92;dot a_n, ...;t)&#92;,.= &#92;alpha &#92;int_o^d (&#92;frac{dS}{dy})^2dy+&#92;sum(k&#92;lambda_i^2a_i-&#92;frac{d (a_i)}{dt})^2 ' title='&#92;mathcal L(a_1,...a_n, ...;&#92;dot a_1,..,&#92;dot a_n, ...;t)&#92;,.= &#92;alpha &#92;int_o^d (&#92;frac{dS}{dy})^2dy+&#92;sum(k&#92;lambda_i^2a_i-&#92;frac{d (a_i)}{dt})^2 ' class='latex' /></p>
<p>Where <img src='http://s0.wp.com/latex.php?latex=%5Calpha+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;alpha ' title='&#92;alpha ' class='latex' /> is a stiffness parameter for the entropy.</p>
<p>Equation 13) is subject to the constraints for some <img src='http://s0.wp.com/latex.php?latex=a_j++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='a_j  ' title='a_j  ' class='latex' />(These are the energy constraints mentioned above.</p>
<p>14) <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bd%28a_j%29%7D%7Bdt%7D%3D%5Cfrac%7B%5Cfrac%7BdE%7D%7Bdt%7D-%5Cint_0%5E%7Bd%7D+%5Csum_%7Bi+%5Cneq+j%7D+c%28y%29%5Cfrac%7Bd%28a_i%29%7D%7Bdt%7D+exp%28-%5Clambda_i+y%29dy%7D%7B%5Cint_0%5E%7Bd%7Dc%28y%29exp%28-%5Clambda_j+y%29dy%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;frac{d(a_j)}{dt}=&#92;frac{&#92;frac{dE}{dt}-&#92;int_0^{d} &#92;sum_{i &#92;neq j} c(y)&#92;frac{d(a_i)}{dt} exp(-&#92;lambda_i y)dy}{&#92;int_0^{d}c(y)exp(-&#92;lambda_j y)dy} ' title='&#92;frac{d(a_j)}{dt}=&#92;frac{&#92;frac{dE}{dt}-&#92;int_0^{d} &#92;sum_{i &#92;neq j} c(y)&#92;frac{d(a_i)}{dt} exp(-&#92;lambda_i y)dy}{&#92;int_0^{d}c(y)exp(-&#92;lambda_j y)dy} ' class='latex' /></p>
<p>15) <img src='http://s0.wp.com/latex.php?latex=a_j%3D%5Cfrac%7BE-%5Cint_0%5E%7Bd%7D+c%28y%29%5Csum_%7Bi+%5Cneq+j%7D+a_i+exp%28-%5Clambda_i+y%29dy%7D%7B%5Cint_0%5E%7Bd%7D+c%28y%29+exp%28-%5Clambda_i+y%29dy%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='a_j=&#92;frac{E-&#92;int_0^{d} c(y)&#92;sum_{i &#92;neq j} a_i exp(-&#92;lambda_i y)dy}{&#92;int_0^{d} c(y) exp(-&#92;lambda_i y)dy} ' title='a_j=&#92;frac{E-&#92;int_0^{d} c(y)&#92;sum_{i &#92;neq j} a_i exp(-&#92;lambda_i y)dy}{&#92;int_0^{d} c(y) exp(-&#92;lambda_i y)dy} ' class='latex' /></p>
<p>Now the <a href="http://en.wikipedia.org/wiki/Euler%E2%80%93Lagrange_equations">Euler Lagrange Equation</a> is used to obtain the dynamics (differential equations) from the Lagrangian</p>
<p>16) <img src='http://s0.wp.com/latex.php?latex=%5Cleft%28%5Cfrac%7B%5Cmathcal%7BL%7D%28a_1%2C%5Cldots%2Ca_n%2C%5Cldots%2C%5Cdot+a_1%2C%5Cldots%2C%5Cdot+a_n%2C%5Cldots%3Bt%29%7D%7B%5Cpartial+a_i%7D%5Cright%29+-+%5Cleft%28%5Cfrac%7Bd%7D%7Bdy%7D+%5Cfrac%7B%5Cmathcal%7BL%7D%28a_1%2C%5Cldots%2Ca_n%2C+%5Cldots%2C%3B%5Cdot+a_1%2C%5Cldots%2C%5Cdot+a_n%2C+%5Cldots%3Bt%29%7D%7B%5Cpartial+%5Cdot+a_i%7D%5Cright%29+%3D+0+%5Cquad+%5Ctextrm%7Bfor+%7D+i+%3D+1%2C+%5Cdots%2C+n%2C+i+%5Cneq+j+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left(&#92;frac{&#92;mathcal{L}(a_1,&#92;ldots,a_n,&#92;ldots,&#92;dot a_1,&#92;ldots,&#92;dot a_n,&#92;ldots;t)}{&#92;partial a_i}&#92;right) - &#92;left(&#92;frac{d}{dy} &#92;frac{&#92;mathcal{L}(a_1,&#92;ldots,a_n, &#92;ldots,;&#92;dot a_1,&#92;ldots,&#92;dot a_n, &#92;ldots;t)}{&#92;partial &#92;dot a_i}&#92;right) = 0 &#92;quad &#92;textrm{for } i = 1, &#92;dots, n, i &#92;neq j ' title='&#92;left(&#92;frac{&#92;mathcal{L}(a_1,&#92;ldots,a_n,&#92;ldots,&#92;dot a_1,&#92;ldots,&#92;dot a_n,&#92;ldots;t)}{&#92;partial a_i}&#92;right) - &#92;left(&#92;frac{d}{dy} &#92;frac{&#92;mathcal{L}(a_1,&#92;ldots,a_n, &#92;ldots,;&#92;dot a_1,&#92;ldots,&#92;dot a_n, &#92;ldots;t)}{&#92;partial &#92;dot a_i}&#92;right) = 0 &#92;quad &#92;textrm{for } i = 1, &#92;dots, n, i &#92;neq j ' class='latex' /></p>
<p>This will give a second order differential equation and it might be necessary to use some linear algebra to rearrange the equation. You can convert this into a first order differential equation by using the <a href="http://www.google.ca/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHamiltonian&amp;ei=ptacSqyuI4H0sgO1su2UDg&amp;usg=AFQjCNEQtfzn6DTexYkhm7qYZJprKdblCw&amp;sig2=sIRfcLKQhjfdfFaqPSA9lw">Hamiltonian</a> form.  If only three basis  functions are used then one gets &#8220;two mode model&#8221;. There are no restrictions on the number of bais functions used.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/326/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=326&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/09/01/lagrangian-mechanics-and-the-heat-equation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>Laplace Transform of f(t) Related to smoothed f(t)?</title>
		<link>http://earthcubed.wordpress.com/2009/08/30/using-the-fft-to-calculate-the-laplace-transform/</link>
		<comments>http://earthcubed.wordpress.com/2009/08/30/using-the-fft-to-calculate-the-laplace-transform/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 18:34:59 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=273</guid>
		<description><![CDATA[When reading (Comment#18839) I started to wonder if there was a relationship between the Fourier Transform of a smoothed signal and the Laplace transform.  I assumed there was a relationship (Comment#18854). After further derivation, I recommenced that if the goal is to derive the Laplace transform from the Fourier transom of the filtered signal: 1) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=273&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When reading<a href="http://rankexploits.com/musings/2009/two-box-model-now-assuming-surface-temperature-are-mixed-values/"> </a><span><a href="http://rankexploits.com/musings/2009/two-box-model-now-assuming-surface-temperature-are-mixed-values/">(<strong>Comment</strong>#18839)</a> I started to wonder if there was a relationship between the Fourier Transform of a smoothed signal and the Laplace transform.  I assumed there was a relationship </span><span>(<strong>Comment</strong>#18854). </span><span>After further derivation, I recommenced that if the goal is to derive the Laplace transform from the Fourier transom of the filtered signal:</span></p>
<p><span>1) The signal be properly windowed.<br />
</span></p>
<p><span>2) The FFT of the windowed Fourier Transform, needs to be compensated for the frequency effects that resulted from the low pass filter.</span></p>
<p><span>Weather it is a good idea to compute the Laplace transform from a windowed FFT of a filtered signal is outside of the scope of this thread (but feel free to comment bellow) .<br />
</span></p>
<p>The <a href="http://en.wikipedia.org/wiki/Laplace_transform">Laplace transform</a> is given by:</p>
<p>1)           <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathcal%7BL%7Df%29%28s%29+%3D+%5Cint_%7B0%5E-%7D%5E%5Cinfty+e%5E%7B-st%7Df%28t%29%5C%2Cdt+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='(&#92;mathcal{L}f)(s) = &#92;int_{0^-}^&#92;infty e^{-st}f(t)&#92;,dt ' title='(&#92;mathcal{L}f)(s) = &#92;int_{0^-}^&#92;infty e^{-st}f(t)&#92;,dt ' class='latex' /></p>
<p>The <a href="http://en.wikipedia.org/wiki/Fourier_transform">Fourier transform</a> is given by:</p>
<p>2)           <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bf%7D%28%5Comega%29+%3A%3D+%5Cint_%7B-%5Cinfty%7D%5E%7B%5Cinfty%7D+f%28x%29%5C+e%5E%7B-+%5Comega+i+t+%7D%5C%2Cdt%2C++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;hat{f}(&#92;omega) := &#92;int_{-&#92;infty}^{&#92;infty} f(x)&#92; e^{- &#92;omega i t }&#92;,dt,  ' title='&#92;hat{f}(&#92;omega) := &#92;int_{-&#92;infty}^{&#92;infty} f(x)&#92; e^{- &#92;omega i t }&#92;,dt,  ' class='latex' /></p>
<p>The <a href="http://en.wikipedia.org/wiki/Two-sided_Laplace_transform">Two Sided Laplace Transform</a> is given by:</p>
<p>3)           <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BB%7D+%5Cleft%5C%7Bf%28t%29%5Cright%5C%7D+%3D+F%28s%29+%3D++%5Cint_%7B-%5Cinfty%7D%5E%7B%5Cinfty%7D++e%5E%7B-st%7D+f%28t%29+dt.+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal{B} &#92;left&#92;{f(t)&#92;right&#92;} = F(s) =  &#92;int_{-&#92;infty}^{&#92;infty}  e^{-st} f(t) dt. ' title='&#92;mathcal{B} &#92;left&#92;{f(t)&#92;right&#92;} = F(s) =  &#92;int_{-&#92;infty}^{&#92;infty}  e^{-st} f(t) dt. ' class='latex' /></p>
<p>Therefor the Fourier transform is the two sided Laplace transform evaluated at <img src='http://s0.wp.com/latex.php?latex=s%3Di%5Comega+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='s=i&#92;omega ' title='s=i&#92;omega ' class='latex' /></p>
<p>Returning to the one sided Laplace transform:</p>
<p>4)            <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathcal%7BL%7Df%29%28s%29+%3D+%5Cint_%7Ba%7D%5Eb+e%5E%7B-st%7Df%28t%29%5C%2Cdt%3D+%5Cint_%7B0%5E-%7D%5E%5Cinfty+e%5E%7B-%28%5Calpha%2Biw%29t%7Df%28t%29%5C%2Cdt+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='(&#92;mathcal{L}f)(s) = &#92;int_{a}^b e^{-st}f(t)&#92;,dt= &#92;int_{0^-}^&#92;infty e^{-(&#92;alpha+iw)t}f(t)&#92;,dt ' title='(&#92;mathcal{L}f)(s) = &#92;int_{a}^b e^{-st}f(t)&#92;,dt= &#92;int_{0^-}^&#92;infty e^{-(&#92;alpha+iw)t}f(t)&#92;,dt ' class='latex' /></p>
<p>5)            <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathcal%7BL%7Df%29%28s%29+%3D+%5Cint_%7Ba%7D%5Eb+e%5E%7B-st%7Df%28t%29%5C%2Cdt%3D+%5Cint_%7B0%5E-%7D%5E%5Cinfty+e%5E%7B-iw+t%7Df%28t%29e%5E%7B-+%5Calpha+t%7D%5C%2Cdt+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='(&#92;mathcal{L}f)(s) = &#92;int_{a}^b e^{-st}f(t)&#92;,dt= &#92;int_{0^-}^&#92;infty e^{-iw t}f(t)e^{- &#92;alpha t}&#92;,dt ' title='(&#92;mathcal{L}f)(s) = &#92;int_{a}^b e^{-st}f(t)&#92;,dt= &#92;int_{0^-}^&#92;infty e^{-iw t}f(t)e^{- &#92;alpha t}&#92;,dt ' class='latex' /></p>
<p><a href="http://en.wikipedia.org/wiki/Integration_by_parts">Integrating by Parts</a>:</p>
<p>Let:</p>
<p>6)            <img src='http://s0.wp.com/latex.php?latex=u%3De%5E%7B-+iw+t%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='u=e^{- iw t} ' title='u=e^{- iw t} ' class='latex' /><br />
7)           <img src='http://s0.wp.com/latex.php?latex=dv%3Df%28t%29e%5E%7B-+%5Calpha+t%7D%5C%2Cdt+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='dv=f(t)e^{- &#92;alpha t}&#92;,dt ' title='dv=f(t)e^{- &#92;alpha t}&#92;,dt ' class='latex' /></p>
<p>8)            <img src='http://s0.wp.com/latex.php?latex=V%3D%5Cint_%7Ba%7D%5Etf%28t%27%29e%5E%7B-%5Calpha+t%27%7D%5C%2Cdt%27%3De%5E%7B-%5Calpha+t%7D%5Cint_%7Bt%27%3Da%7D%5Etf%28t%27%29e%5E%7B%5Calpha+%28t-t%27%29%7D%5C%2Cdt%27+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='V=&#92;int_{a}^tf(t&#039;)e^{-&#92;alpha t&#039;}&#92;,dt&#039;=e^{-&#92;alpha t}&#92;int_{t&#039;=a}^tf(t&#039;)e^{&#92;alpha (t-t&#039;)}&#92;,dt&#039; ' title='V=&#92;int_{a}^tf(t&#039;)e^{-&#92;alpha t&#039;}&#92;,dt&#039;=e^{-&#92;alpha t}&#92;int_{t&#039;=a}^tf(t&#039;)e^{&#92;alpha (t-t&#039;)}&#92;,dt&#039; ' class='latex' /></p>
<p>where the low pass filtered version of f(t):</p>
<p>9)            <img src='http://s0.wp.com/latex.php?latex=g%28t%29%3Df%28t%29%2Ae%5E%7B%5Calpha+t%7D+%3De%5E%7B-%5Calpha+t%7D+%5Cint_%7Ba%7D%5Etf%28t%27%29e%5E%7B%5Calpha+%28t-t%27%29%7D%5C%2Cdt%27+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='g(t)=f(t)*e^{&#92;alpha t} =e^{-&#92;alpha t} &#92;int_{a}^tf(t&#039;)e^{&#92;alpha (t-t&#039;)}&#92;,dt&#039; ' title='g(t)=f(t)*e^{&#92;alpha t} =e^{-&#92;alpha t} &#92;int_{a}^tf(t&#039;)e^{&#92;alpha (t-t&#039;)}&#92;,dt&#039; ' class='latex' /></p>
<p>and is the <a href="http://en.wikipedia.org/wiki/Convolution">convolution</a> of f(t) and the impulse response of a filter (or atleast aproximatly so) with bandwidth <img src='http://s0.wp.com/latex.php?latex=%5Calpha+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;alpha ' title='&#92;alpha ' class='latex' />.</p>
<p>Plugging this result into integration by parts gives:</p>
<p>10)         <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathcal%7BL%7Df%29%28s%29%3D%5Be%5E%7Bi+%5Comega+t%7Dg%28t%29%5D_a%5Eb-%5Cint_a%5Eb-i+%5Comega+e%5E%7B-i+%5Comega+t%7De%5E%7B-%5Calpha+t%7Dg%28t%29dt+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='(&#92;mathcal{L}f)(s)=[e^{i &#92;omega t}g(t)]_a^b-&#92;int_a^b-i &#92;omega e^{-i &#92;omega t}e^{-&#92;alpha t}g(t)dt ' title='(&#92;mathcal{L}f)(s)=[e^{i &#92;omega t}g(t)]_a^b-&#92;int_a^b-i &#92;omega e^{-i &#92;omega t}e^{-&#92;alpha t}g(t)dt ' class='latex' /></p>
<p>or equivalently:</p>
<p>11)          <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathcal%7BL%7Df%29%28s%29%3Dg%28b%29e%5E%7B-i%5Comega+b%7D-g%28a%29e%5E%7B-i+%5Comega+a%7D%2Bi%5Cint_a%5Eb+%5Comega+e%5E%7B-i+%5Comega+t%7De%5E%7B-%5Calpha+t%7Dg%28t%29dt+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='(&#92;mathcal{L}f)(s)=g(b)e^{-i&#92;omega b}-g(a)e^{-i &#92;omega a}+i&#92;int_a^b &#92;omega e^{-i &#92;omega t}e^{-&#92;alpha t}g(t)dt ' title='(&#92;mathcal{L}f)(s)=g(b)e^{-i&#92;omega b}-g(a)e^{-i &#92;omega a}+i&#92;int_a^b &#92;omega e^{-i &#92;omega t}e^{-&#92;alpha t}g(t)dt ' class='latex' /></p>
<p>The first two terms show how the endpoints chosen effect the transfrom.  These two terms will cancel for a given frequency if the distance between the endpoints is some multiple of the period. The last term is the Fouier transform of the smoothed function with the frequencies weighted by <img src='http://s0.wp.com/latex.php?latex=%5Comega+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;omega ' title='&#92;omega ' class='latex' /> and using a windowing function <img src='http://s0.wp.com/latex.php?latex=e%5E%7B-%5Calpha+t%7D&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='e^{-&#92;alpha t}' title='e^{-&#92;alpha t}' class='latex' /><br />
(note the multiple <img src='http://s0.wp.com/latex.php?latex=i+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='i ' title='i ' class='latex' /> is there because the Fourier transform variable <img src='http://s0.wp.com/latex.php?latex=%5Comega+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;omega ' title='&#92;omega ' class='latex' /> is the Laplace transform variable but rotated by 90 degrees.)</p>
<p>The effect of the windowing function is to smooth the frequency response. This is because multiplication in the time domain is equivalent to convolution in the frequency domain. The <a href="http://en.wikipedia.org/wiki/Fourier_transform#Square-integrable_functions">following Fourier transform relationship is useful</a> (relationship 205):</p>
<p>12)           <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BF%7D%28e%5E%7B-+%5Calpha+t%7D+u%28t%29%29+%5C%2C%3D%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi%7D+%28%5Calpha+%2B+i+%5Comega%29%7D%3D%5Cfrac%7B1%7D%7B%5Csqrt%7B2+%5Cpi+%28%5Calpha%5E2+%2B+%5Comega%5E2%29%7D%7De%5E%7B%28-i+%5C+tan%5E%7B-1%7D%28%5Calpha%2C%5Comega%29%29%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal{F}(e^{- &#92;alpha t} u(t)) &#92;,=&#92;frac{1}{&#92;sqrt{2 &#92;pi} (&#92;alpha + i &#92;omega)}=&#92;frac{1}{&#92;sqrt{2 &#92;pi (&#92;alpha^2 + &#92;omega^2)}}e^{(-i &#92; tan^{-1}(&#92;alpha,&#92;omega))} ' title='&#92;mathcal{F}(e^{- &#92;alpha t} u(t)) &#92;,=&#92;frac{1}{&#92;sqrt{2 &#92;pi} (&#92;alpha + i &#92;omega)}=&#92;frac{1}{&#92;sqrt{2 &#92;pi (&#92;alpha^2 + &#92;omega^2)}}e^{(-i &#92; tan^{-1}(&#92;alpha,&#92;omega))} ' class='latex' /></p>
<p>Note, that if a non causal filter was used for the smoothing the relationship is much simpler.</p>
<p>13)           <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BF%7D%28%7Be%7D%5E%7B-a%7Ct%7C%7D%29+%5C%2C%3D%5Csqrt%7B%5Cfrac%7B2%7D%7B%5Cpi%7D%7D+%5Ccdot+%5Cfrac%7Ba%7D%7Ba%5E2+%2B+%5Comega%5E2%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal{F}({e}^{-a|t|}) &#92;,=&#92;sqrt{&#92;frac{2}{&#92;pi}} &#92;cdot &#92;frac{a}{a^2 + &#92;omega^2}  ' title='&#92;mathcal{F}({e}^{-a|t|}) &#92;,=&#92;sqrt{&#92;frac{2}{&#92;pi}} &#92;cdot &#92;frac{a}{a^2 + &#92;omega^2}  ' class='latex' /></p>
<p>In both cases to properly deal with the end points the time shifting property of the Fourier transform is needed (<a href="http://en.wikipedia.org/wiki/Fourier_transform#Functional_relationships">relationship 102</a>):</p>
<p>14)           <img src='http://s0.wp.com/latex.php?latex=f%28x+-+t%29%5C%2C+%3De%5E%7B-+i+a+%5Comega%7D+%5Chat%7Bf%7D%28%5Comega%29%5C%2C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='f(x - t)&#92;, =e^{- i a &#92;omega} &#92;hat{f}(&#92;omega)&#92;, ' title='f(x - t)&#92;, =e^{- i a &#92;omega} &#92;hat{f}(&#92;omega)&#92;, ' class='latex' /></p>
<p>Applying this property to the last two relationships gives:</p>
<p>15)           <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BF%7D%28e%5E%7B-+%5Calpha+%28t-a%29%7D+%28u%28t-a%29-u%28t-b%29%29+%5C%2C%3D%5Cfrac%7Be%5E%7B-ia+%5Comega%7D-e%5E%7B%5Calpha+a-ib%5Comega%7D%7D%7B%5Csqrt%7B2+%5Cpi%7D+%28%5Calpha+%2B+i+%5Comega%29%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal{F}(e^{- &#92;alpha (t-a)} (u(t-a)-u(t-b)) &#92;,=&#92;frac{e^{-ia &#92;omega}-e^{&#92;alpha a-ib&#92;omega}}{&#92;sqrt{2 &#92;pi} (&#92;alpha + i &#92;omega)}  ' title='&#92;mathcal{F}(e^{- &#92;alpha (t-a)} (u(t-a)-u(t-b)) &#92;,=&#92;frac{e^{-ia &#92;omega}-e^{&#92;alpha a-ib&#92;omega}}{&#92;sqrt{2 &#92;pi} (&#92;alpha + i &#92;omega)}  ' class='latex' /></p>
<p>16)           <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BF%7D%28%7Be%7D%5E%7B-a%7C%28t-b%29%7C%7D%29+%5C%2C%3D%5Csqrt%7B%5Cfrac%7B2%7D%7B%5Cpi%7D%7D+%5Ccdot+%5Cfrac%7Ba%7D%7Ba%5E2+%2B+%5Comega%5E2%7De%5E%7B-i%5Comega%5Cfrac%7B1%7D%7B2%7D%28a%2Bb%29%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal{F}({e}^{-a|(t-b)|}) &#92;,=&#92;sqrt{&#92;frac{2}{&#92;pi}} &#92;cdot &#92;frac{a}{a^2 + &#92;omega^2}e^{-i&#92;omega&#92;frac{1}{2}(a+b)}  ' title='&#92;mathcal{F}({e}^{-a|(t-b)|}) &#92;,=&#92;sqrt{&#92;frac{2}{&#92;pi}} &#92;cdot &#92;frac{a}{a^2 + &#92;omega^2}e^{-i&#92;omega&#92;frac{1}{2}(a+b)}  ' class='latex' /></p>
<p>Strictly dealing with the case where a causal filter is used and applying the rule for the Fourier transform of a convolution (<a href="http://en.wikipedia.org/wiki/Fourier_transform#Functional_relationships">Rule 109</a>) we obtain:</p>
<p>17)           <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathcal%7BL%7Df%29%28s%29%3Dg%28b%29e%5E%7B-i%5Comega+b%7D-g%28a%29e%5E%7B-i+%5Comega+a%7D%2Bi%5Comega%5Cfrac%7B1%7D%7B%5Csqrt%7B2%5Cpi%7D%7D%5Cmathcal%7BF%7D%28g%28t%29%29%2A%5Cleft%28+%5Cfrac%7Be%5E%7B-ia+%5Comega%7D-e%5E%7B%5Calpha+a-ib%5Comega%7D%7D%7B%5Csqrt%7B2+%5Cpi%7D+%28%5Calpha+%2B+i+%5Comega%29%7D+%5Cright%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='(&#92;mathcal{L}f)(s)=g(b)e^{-i&#92;omega b}-g(a)e^{-i &#92;omega a}+i&#92;omega&#92;frac{1}{&#92;sqrt{2&#92;pi}}&#92;mathcal{F}(g(t))*&#92;left( &#92;frac{e^{-ia &#92;omega}-e^{&#92;alpha a-ib&#92;omega}}{&#92;sqrt{2 &#92;pi} (&#92;alpha + i &#92;omega)} &#92;right) ' title='(&#92;mathcal{L}f)(s)=g(b)e^{-i&#92;omega b}-g(a)e^{-i &#92;omega a}+i&#92;omega&#92;frac{1}{&#92;sqrt{2&#92;pi}}&#92;mathcal{F}(g(t))*&#92;left( &#92;frac{e^{-ia &#92;omega}-e^{&#92;alpha a-ib&#92;omega}}{&#92;sqrt{2 &#92;pi} (&#92;alpha + i &#92;omega)} &#92;right) ' class='latex' /></p>
<p>of equivalently:</p>
<p>18)           <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BL%7D%28f%28y%29%29%3Dg%28b%29e%5E%7B-i%5Comega+b%7D-g%28a%29e%5E%7B-i+%5Comega+a%7D%2Bi%5Comega%5Cfrac%7B1%7D%7B%5Csqrt%7B2%5Cpi%7D%7D%5Cmathcal%7BF%7D%28g%28t%29%29%2A%5Cleft%28+%5Cfrac%7Be%5E%7B-ia+%5Comega%7D-e%5E%7B%5Calpha+a-ib%5Comega%7D%7D%7B%5Csqrt%7B2+%5Cpi%28%5Calpha%5E2+%2B%5Comega%5E2%29%7D%7De%5E%7B+-i+tan%5E%7B-1%7D%28%5Calpha%2C%5Comega%29+%7D+%5Cright%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathcal{L}(f(y))=g(b)e^{-i&#92;omega b}-g(a)e^{-i &#92;omega a}+i&#92;omega&#92;frac{1}{&#92;sqrt{2&#92;pi}}&#92;mathcal{F}(g(t))*&#92;left( &#92;frac{e^{-ia &#92;omega}-e^{&#92;alpha a-ib&#92;omega}}{&#92;sqrt{2 &#92;pi(&#92;alpha^2 +&#92;omega^2)}}e^{ -i tan^{-1}(&#92;alpha,&#92;omega) } &#92;right) ' title='&#92;mathcal{L}(f(y))=g(b)e^{-i&#92;omega b}-g(a)e^{-i &#92;omega a}+i&#92;omega&#92;frac{1}{&#92;sqrt{2&#92;pi}}&#92;mathcal{F}(g(t))*&#92;left( &#92;frac{e^{-ia &#92;omega}-e^{&#92;alpha a-ib&#92;omega}}{&#92;sqrt{2 &#92;pi(&#92;alpha^2 +&#92;omega^2)}}e^{ -i tan^{-1}(&#92;alpha,&#92;omega) } &#92;right) ' class='latex' /></p>
<p><strong>Some Comments:</strong></p>
<p>1) If  <img src='http://s0.wp.com/latex.php?latex=%5Calpha+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;alpha ' title='&#92;alpha ' class='latex' /> is negative the system is causal, and the filtered version <img src='http://s0.wp.com/latex.php?latex=g%28t%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='g(t) ' title='g(t) ' class='latex' /> of the signal <img src='http://s0.wp.com/latex.php?latex=f%28t%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='f(t) ' title='f(t) ' class='latex' /> will be causal.</p>
<p>2) Computing the smoothed signal does not save any computations with regards to computing the Laplace transform.</p>
<p>3) The derivation seems to show that their is a relationship between Laplace trancform and a windowed Fouier transform of the filtered signal.</p>
<p>4) To compute the Laplace transform based on the orginal signal use equation (5). To compute it based on the filtered signal use equation (11).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=273&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/08/30/using-the-fft-to-calculate-the-laplace-transform/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>Coriolis Forces</title>
		<link>http://earthcubed.wordpress.com/2009/08/29/coriolis-forces/</link>
		<comments>http://earthcubed.wordpress.com/2009/08/29/coriolis-forces/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 17:07:10 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[GCM (General Circulation Models)]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=214</guid>
		<description><![CDATA[A derivation  for coriolis forces can be found be found on the wikipedia page for fictitious forces. In general for an accelerating reference frame in rectangular coordinates the factious forces are given by: Where: he first term is the Coriolis force, the second term is the centrifugal force, and the third term is the Euler [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=214&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A derivation  for <a href="http://en.wikipedia.org/wiki/Coriolis_effect">coriolis forces</a> can be found be found on the wikipedia page for <a href="http://en.wikipedia.org/wiki/Fictitious_force#Mathematical_derivation_of_fictitious_forces">fictitious forces</a>.</p>
<p>In general for an accelerating reference frame in rectangular coordinates the factious forces are given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7BF%7D_%7B%5Cmbox%7Bfictitious%7D%7D+%3D-m%5C+%5Cmathbf%7Ba%7D_%7BAB%7D+-2m%5C+%5Csum_%7Bj%3D1%7D%5E3+v_j+%5C+%5Cfrac%7Bd+%5Cmathbf%7Bu%7D_j%7D%7Bdt%7D+-+m%5C+%5Csum_%7Bj%3D1%7D%5E3+x_j+%5C+%5Cfrac%7Bd%5E2+%5Cmathbf%7Bu%7D_j%7D%7Bdt%5E2%7D%5C+.+++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mathbf{F}_{&#92;mbox{fictitious}} =-m&#92; &#92;mathbf{a}_{AB} -2m&#92; &#92;sum_{j=1}^3 v_j &#92; &#92;frac{d &#92;mathbf{u}_j}{dt} - m&#92; &#92;sum_{j=1}^3 x_j &#92; &#92;frac{d^2 &#92;mathbf{u}_j}{dt^2}&#92; .   ' title='&#92;mathbf{F}_{&#92;mbox{fictitious}} =-m&#92; &#92;mathbf{a}_{AB} -2m&#92; &#92;sum_{j=1}^3 v_j &#92; &#92;frac{d &#92;mathbf{u}_j}{dt} - m&#92; &#92;sum_{j=1}^3 x_j &#92; &#92;frac{d^2 &#92;mathbf{u}_j}{dt^2}&#92; .   ' class='latex' /></p>
<p>Where:</p>
<p>he first term is the <a href="http://en.wikipedia.org/wiki/Coriolis_force">Coriolis force</a>, the second term is the <a href="http://en.wikipedia.org/wiki/Centrifugal_force_(fictitious)">centrifugal force</a>, and the third term is the <a href="http://en.wikipedia.org/wiki/Euler_force">Euler force</a>. When the rate of rotation doesn&#8217;t change, as is typically the case for a planet, the Euler force is zero.</p>
<p>Looking specifically at the Coriolis force:</p>
<p><img src='http://s0.wp.com/latex.php?latex=-+2+m+%5Cboldsymbol+%5Comega++%5Ctimes+%5Cmathbf%7Bv%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='- 2 m &#92;boldsymbol &#92;omega  &#92;times &#92;mathbf{v} ' title='- 2 m &#92;boldsymbol &#92;omega  &#92;times &#92;mathbf{v} ' class='latex' /></p>
<p>which gives in <a href="http://en.wikipedia.org/wiki/Coriolis_effect#Rotating_sphere">(east-west,north-sourth, height) coordinates</a>:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B+%5COmega%7D+%3D+%5Comega+%5Cbegin%7Bpmatrix%7D+0+%5C%5C+%5Ccos+%5Cvarphi+%5C%5C+%5Csin+%5Cvarphi+%5Cend%7Bpmatrix%7D%5C+%2C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{ &#92;Omega} = &#92;omega &#92;begin{pmatrix} 0 &#92;&#92; &#92;cos &#92;varphi &#92;&#92; &#92;sin &#92;varphi &#92;end{pmatrix}&#92; , ' title='&#92;boldsymbol{ &#92;Omega} = &#92;omega &#92;begin{pmatrix} 0 &#92;&#92; &#92;cos &#92;varphi &#92;&#92; &#92;sin &#92;varphi &#92;end{pmatrix}&#92; , ' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B+v%7D+%3D+%5Cbegin%7Bpmatrix%7D+v_e+%5C%5C+v_n+%5C%5C+v_u+%5Cend%7Bpmatrix%7D%5C+%2C&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{ v} = &#92;begin{pmatrix} v_e &#92;&#92; v_n &#92;&#92; v_u &#92;end{pmatrix}&#92; ,' title='&#92;boldsymbol{ v} = &#92;begin{pmatrix} v_e &#92;&#92; v_n &#92;&#92; v_u &#92;end{pmatrix}&#92; ,' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B+a%7D_C+%3D-2%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D%3D+2%5C%2C%5Comega%5C%2C+%5Cbegin%7Bpmatrix%7D+v_n+%5Csin+%5Cvarphi-v_u+%5Ccos+%5Cvarphi+%5C%5C+-v_e+%5Csin+%5Cvarphi+%5C%5C+v_e+%5Ccos%5Cvarphi%5Cend%7Bpmatrix%7D%5C+.+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{ a}_C =-2&#92;boldsymbol{&#92;Omega &#92;times v}= 2&#92;,&#92;omega&#92;, &#92;begin{pmatrix} v_n &#92;sin &#92;varphi-v_u &#92;cos &#92;varphi &#92;&#92; -v_e &#92;sin &#92;varphi &#92;&#92; v_e &#92;cos&#92;varphi&#92;end{pmatrix}&#92; . ' title='&#92;boldsymbol{ a}_C =-2&#92;boldsymbol{&#92;Omega &#92;times v}= 2&#92;,&#92;omega&#92;, &#92;begin{pmatrix} v_n &#92;sin &#92;varphi-v_u &#92;cos &#92;varphi &#92;&#92; -v_e &#92;sin &#92;varphi &#92;&#92; v_e &#92;cos&#92;varphi&#92;end{pmatrix}&#92; . ' class='latex' /></p>
<p>Where <img src='http://s0.wp.com/latex.php?latex=%5Cphi+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;phi ' title='&#92;phi ' class='latex' /> is the latitudinal coordinate (equator=zero latitude).</p>
<p>In general the cross product for a coordinate with orthonormal direction vectors is given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%3D+%5Cbegin%7Bvmatrix%7D+%5Cboldsymbol%7Bi%7D%26%5Cboldsymbol%7Bj%7D%26%5Cboldsymbol%7Bk%7D+%5C%5C+%5COmega_x+%26+%5COmega_y+%26+%5COmega_z+%5C%5C+v_x+%26+v_y+%26+v_z+%5Cend%7Bvmatrix%7D%5C+%3D+%5Cbegin%7Bpmatrix%7D+%5COmega_y+v_z+-+%5COmega_z+v_y+%5C%5C+%5COmega_z+v_x+-+%5COmega_x+v_z+%5C%5C+%5COmega_x+v_y+-+%5COmega_y+v_x+%5Cend%7Bpmatrix%7D%5C+%2C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{&#92;Omega &#92;times v} = &#92;begin{vmatrix} &#92;boldsymbol{i}&amp;&#92;boldsymbol{j}&amp;&#92;boldsymbol{k} &#92;&#92; &#92;Omega_x &amp; &#92;Omega_y &amp; &#92;Omega_z &#92;&#92; v_x &amp; v_y &amp; v_z &#92;end{vmatrix}&#92; = &#92;begin{pmatrix} &#92;Omega_y v_z - &#92;Omega_z v_y &#92;&#92; &#92;Omega_z v_x - &#92;Omega_x v_z &#92;&#92; &#92;Omega_x v_y - &#92;Omega_y v_x &#92;end{pmatrix}&#92; , ' title='&#92;boldsymbol{&#92;Omega &#92;times v} = &#92;begin{vmatrix} &#92;boldsymbol{i}&amp;&#92;boldsymbol{j}&amp;&#92;boldsymbol{k} &#92;&#92; &#92;Omega_x &amp; &#92;Omega_y &amp; &#92;Omega_z &#92;&#92; v_x &amp; v_y &amp; v_z &#92;end{vmatrix}&#92; = &#92;begin{pmatrix} &#92;Omega_y v_z - &#92;Omega_z v_y &#92;&#92; &#92;Omega_z v_x - &#92;Omega_x v_z &#92;&#92; &#92;Omega_x v_y - &#92;Omega_y v_x &#92;end{pmatrix}&#92; , ' class='latex' /><br />
<a href="http://en.wikipedia.org/wiki/Coriolis_effect#Formula">http://en.wikipedia.org/wiki/Coriolis_effect#Formula</a></p>
<p>since the basis direction vectors are orthogonal in hopkins and simmons coordinates write write:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%3D+%5Cbegin%7Bvmatrix%7D+%5Cboldsymbol%7Be_%7B%5Csigma%7D%7D%26%5Cboldsymbol%7Be_%7B%5Cmu%7D%7D%26%5Cboldsymbol%7Be_%7B%5Clambda%7D%7D+%5C%5C+%5COmega_%7B%5Csigma%7D+%26+%5COmega_%7B%5Cmu%7D+%26+%5COmega_%7B%5Clambda%7D+%5C%5C+W+%26+V+%26+U+%5Cend%7Bvmatrix%7D%5C+%3D+%5Cbegin%7Bpmatrix%7D+%5COmega_%7B%5Cmu%7D+U+-+%5COmega_%7B%5Clambda%7D+V+%5C%5C+%5COmega_%7B%5Clambda%7D+W+-+%5COmega_%7B%5Csigma%7D+U+%5C%5C+%5COmega_%7B%5Csigma%7D+V+-+%5COmega_%7B%5Cmu%7D+W+%5Cend%7Bpmatrix%7D%5C+%2C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{&#92;Omega &#92;times v} = &#92;begin{vmatrix} &#92;boldsymbol{e_{&#92;sigma}}&amp;&#92;boldsymbol{e_{&#92;mu}}&amp;&#92;boldsymbol{e_{&#92;lambda}} &#92;&#92; &#92;Omega_{&#92;sigma} &amp; &#92;Omega_{&#92;mu} &amp; &#92;Omega_{&#92;lambda} &#92;&#92; W &amp; V &amp; U &#92;end{vmatrix}&#92; = &#92;begin{pmatrix} &#92;Omega_{&#92;mu} U - &#92;Omega_{&#92;lambda} V &#92;&#92; &#92;Omega_{&#92;lambda} W - &#92;Omega_{&#92;sigma} U &#92;&#92; &#92;Omega_{&#92;sigma} V - &#92;Omega_{&#92;mu} W &#92;end{pmatrix}&#92; , ' title='&#92;boldsymbol{&#92;Omega &#92;times v} = &#92;begin{vmatrix} &#92;boldsymbol{e_{&#92;sigma}}&amp;&#92;boldsymbol{e_{&#92;mu}}&amp;&#92;boldsymbol{e_{&#92;lambda}} &#92;&#92; &#92;Omega_{&#92;sigma} &amp; &#92;Omega_{&#92;mu} &amp; &#92;Omega_{&#92;lambda} &#92;&#92; W &amp; V &amp; U &#92;end{vmatrix}&#92; = &#92;begin{pmatrix} &#92;Omega_{&#92;mu} U - &#92;Omega_{&#92;lambda} V &#92;&#92; &#92;Omega_{&#92;lambda} W - &#92;Omega_{&#92;sigma} U &#92;&#92; &#92;Omega_{&#92;sigma} V - &#92;Omega_{&#92;mu} W &#92;end{pmatrix}&#92; , ' class='latex' /></p>
<p>(note with regards to weather the system is right handed we can choose the direction of the logitudanal cordinate <img src='http://s0.wp.com/latex.php?latex=%5Clambda+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda ' title='&#92;lambda ' class='latex' /> to make it right handed.)</p>
<p><strong>Just to recall from the post</strong> (<a href="http://earthcubed.wordpress.com/2009/08/27/hoskins-and-simmons-1974-coordinate-system/">Hoskins and Simmons (1974) Coordinate System</a>):</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmu+%3D+sin%28+%5Ctheta+%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mu = sin( &#92;theta ) ' title='&#92;mu = sin( &#92;theta ) ' class='latex' /> where theta is the latitude.<br />
<img src='http://s0.wp.com/latex.php?latex=%5Csigma+%3D+pressure%2FP_%2A+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;sigma = pressure/P_* ' title='&#92;sigma = pressure/P_* ' class='latex' /> Where <img src='http://s0.wp.com/latex.php?latex=P_%2A++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='P_*  ' title='P_*  ' class='latex' /> is the surface pressure and <img src='http://s0.wp.com/latex.php?latex=%5Csigma+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;sigma ' title='&#92;sigma ' class='latex' /> is the vertical coordinate.<br />
<img src='http://s0.wp.com/latex.php?latex=%5Clambda+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda ' title='&#92;lambda ' class='latex' /> is the longitude.</p>
<p><strong>Additionally:</strong></p>
<p>U is the longitudinal component of the velocity<br />
V is the latitudinal component of the velocity<br />
W is the vertical component of the veolicty (not used in Hopkins and Simmons 1974)</p>
<p>Now the angular velocity of the earth in Hopkins and Simmons is given by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B+%5COmega%7D+%3D+%5Comega+%5Cbegin%7Bpmatrix%7D+%5Ccos+%5Cvarphi+%5C%5C+%5Csin+%5Cvarphi+%5C%5C+0+%5Cend%7Bpmatrix%7D%5C+%3D+%5Comega+%5Cbegin%7Bpmatrix%7D+%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+%5C%5C+%5Cmu+%5C%5C+0+%5Cend%7Bpmatrix%7D%5C%2C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{ &#92;Omega} = &#92;omega &#92;begin{pmatrix} &#92;cos &#92;varphi &#92;&#92; &#92;sin &#92;varphi &#92;&#92; 0 &#92;end{pmatrix}&#92; = &#92;omega &#92;begin{pmatrix} &#92;mp &#92;sqrt{1-&#92;mu^2} &#92;&#92; &#92;mu &#92;&#92; 0 &#92;end{pmatrix}&#92;, ' title='&#92;boldsymbol{ &#92;Omega} = &#92;omega &#92;begin{pmatrix} &#92;cos &#92;varphi &#92;&#92; &#92;sin &#92;varphi &#92;&#92; 0 &#92;end{pmatrix}&#92; = &#92;omega &#92;begin{pmatrix} &#92;mp &#92;sqrt{1-&#92;mu^2} &#92;&#92; &#92;mu &#92;&#92; 0 &#92;end{pmatrix}&#92;, ' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B+v%7D+%3D+%5Cbegin%7Bpmatrix%7D+W+%5C%5C+V+%5C%5C+U+%5Cend%7Bpmatrix%7D%5C+%2C&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{ v} = &#92;begin{pmatrix} W &#92;&#92; V &#92;&#92; U &#92;end{pmatrix}&#92; ,' title='&#92;boldsymbol{ v} = &#92;begin{pmatrix} W &#92;&#92; V &#92;&#92; U &#92;end{pmatrix}&#92; ,' class='latex' /></p>
<p>Where the sign of <img src='http://s0.wp.com/latex.php?latex=%5Cpm+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;pm ' title='&#92;pm ' class='latex' /> is positive for the northern hemisphere and negative for the southern hemisphere.</p>
<p>Therefore:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cboldsymbol%7B%5COmega+%5Ctimes+v%7D+%3D++%5Cbegin%7Bpmatrix%7D+%5Cmu+U+%5C%5C++%5Cpm+%5Csqrt%7B1-%5Cmu%5E2%7D+U+%5C%5C+%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+V+-+%5Cmu++W+%5Cend%7Bpmatrix%7D+%5C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;boldsymbol{&#92;Omega &#92;times v} =  &#92;begin{pmatrix} &#92;mu U &#92;&#92;  &#92;pm &#92;sqrt{1-&#92;mu^2} U &#92;&#92; &#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W &#92;end{pmatrix} &#92; ' title='&#92;boldsymbol{&#92;Omega &#92;times v} =  &#92;begin{pmatrix} &#92;mu U &#92;&#92;  &#92;pm &#92;sqrt{1-&#92;mu^2} U &#92;&#92; &#92;mp &#92;sqrt{1-&#92;mu^2} V - &#92;mu  W &#92;end{pmatrix} &#92; ' class='latex' /></p>
<p><strong>Some comments:</strong></p>
<p>The result obtained is essentialy the same result that one would get if, they took the(east west,north south, altitude) coordinate system and replaced <img src='http://s0.wp.com/latex.php?latex=%5Cphi+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;phi ' title='&#92;phi ' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=asin%28%5Cmu%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='asin(&#92;mu) ' title='asin(&#92;mu) ' class='latex' /> .</p>
<p>The only differences are the order and sign of the components.  These are the only differences because both coordinate contain the same unit vectors.  In my example of a Hopkins and Simon&#8217;s like coordinate system I used a different order for the components then was used in my example for the (east-west, north south altitude) coordinate system. This will effect the sign in the cross product.</p>
<p>I wrote the z component of the angular velocity as <img src='http://s0.wp.com/latex.php?latex=%5Cmp+%5Csqrt%7B1-%5Cmu%5E2%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mp &#92;sqrt{1-&#92;mu^2} ' title='&#92;mp &#92;sqrt{1-&#92;mu^2} ' class='latex' /> to emphasize that the positive direction for the z component in Simpons coordinate system  is downward. However, the actual angular rotation of the earth in simons coordinate system still have a postive <img src='http://s0.wp.com/latex.php?latex=%5Cmu&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mu' title='&#92;mu' class='latex' /> component depending on the which direction is defined as positive for the longitudinal  coordinate.</p>
<p>The order which we specify the coordinates determines the right handedness of the coordinate system.  Therefore, righthandedness is not inherently a geometric property because it depends on the order of the coordinates. For instance, in standard Cartesian coordinates <img src='http://s0.wp.com/latex.php?latex=e_z+%5Ctimes+e_y+%3D+-e_x+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='e_z &#92;times e_y = -e_x ' title='e_z &#92;times e_y = -e_x ' class='latex' /></p>
<p>In our case the first coordinat,e <img src='http://s0.wp.com/latex.php?latex=%5Csigma+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;sigma ' title='&#92;sigma ' class='latex' /> , was specified in the downward direction, our second coordinate,  <img src='http://s0.wp.com/latex.php?latex=%5Cmu+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;mu ' title='&#92;mu ' class='latex' />, points south, now using the right hand  rule means that gives the positive direction for the third coordinate <img src='http://s0.wp.com/latex.php?latex=%5Clambda+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda ' title='&#92;lambda ' class='latex' /> in the east direction.</p>
<p>It is for these reasons that differences can arrise, and therefore it is very important when doing cross products to clearly express the postive direction of the coordinate unit vectors and the order of the coordinates.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=214&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/08/29/coriolis-forces/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>Vector Operations in Hoskins and Simmons Coordinates</title>
		<link>http://earthcubed.wordpress.com/2009/08/29/vector-operations-in-hoskins-and-simmons-coordinates/</link>
		<comments>http://earthcubed.wordpress.com/2009/08/29/vector-operations-in-hoskins-and-simmons-coordinates/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 05:35:14 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=180</guid>
		<description><![CDATA[In my post Hoskins and Simmons (1974) Coordinate System, I derived the following scaling quantities which will be used to derive the vector operations of Grad, Div and Curl in Hoskins Coordinate system. The coordinates in Hoskins coordinate system are dimensionless . (see nondimentionalization of Navier Stokes). The gradient is defined as (see lectures on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=180&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my post <a href="http://earthcubed.wordpress.com/2009/08/27/hoskins-and-simmons-1974-coordinate-system/">Hoskins and Simmons (1974) Coordinate System</a>, I derived the following scaling quantities which will be used to derive the vector operations of Grad, Div and Curl in Hoskins Coordinate system.</p>
<p><img src='http://s0.wp.com/latex.php?latex=h_%7B%5Cmu%7D%3D+%5Cleft%7C+%5Cfrac%7Br%7D%7B%5Csqrt%7B1-%5Cmu%5E2%7D%7D+%5Cright%7C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='h_{&#92;mu}= &#92;left| &#92;frac{r}{&#92;sqrt{1-&#92;mu^2}} &#92;right| ' title='h_{&#92;mu}= &#92;left| &#92;frac{r}{&#92;sqrt{1-&#92;mu^2}} &#92;right| ' class='latex' /><br />
<img src='http://s0.wp.com/latex.php?latex=h_%7B%5Clambda%7D%3Dr+%5Cmu++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='h_{&#92;lambda}=r &#92;mu  ' title='h_{&#92;lambda}=r &#92;mu  ' class='latex' /><br />
<img src='http://s0.wp.com/latex.php?latex=h_%7B%5Csigma%7D+%3D-%5Csigma+%5Cfrac%7Bmg%7D%7BRT%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='h_{&#92;sigma} =-&#92;sigma &#92;frac{mg}{RT} ' title='h_{&#92;sigma} =-&#92;sigma &#92;frac{mg}{RT} ' class='latex' /></p>
<p>The coordinates in Hoskins coordinate system are dimensionless . (see <a href="http://earthcubed.wordpress.com/2009/08/15/nondimensionalization-of-the-navier-stokes-equation/">nondimentionalization of Navier Stokes</a>).</p>
<p>The gradient is defined as (see <a href="http://www.scribd.com/doc/2590597/Lectures-on-Transformation-of-Coordinates">lectures on coordinate transforms</a>):</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cnabla+%5Cphi+%3D+%5Cfrac%7B%5Cvec+e_%7B%5Cmu%7D%7D%7Bh_%7B%5Cmu%7D%7D+%5Cfrac%7B%5Cpartial+%5Cphi%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B%5Cvec+e_%7B%5Clambda%7D%7D%7Bh_%7B%5Clambda%7D%7D%5Cfrac%7B%5Cpartial+%5Cphi%7D%7B%5Cpartial+%5Clambda%7D%2B%5Cfrac%7B%5Cvec+e_%7B%5Csigma%7D%7D%7Bh_%7B%5Csigma%7D%7D%5Cfrac%7B%5Cpartial+%5Cphi%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cleft%28%5Cvec+e_%7B%5Cmu%7D%5Cright%29%5Cfrac%7B1-%5Cmu%5E2%7D%7Br%7D+%5Cfrac%7B%5Cpartial+%5Cphi%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cleft%28%5Cvec+e_%7B%5Clambda%7D%5Cright%29%5Cfrac%7B1%7D%7Br+%5Cmu%7D%5Cfrac%7B%5Cpartial+%5Cphi%7D%7B%5Cpartial+%5Clambda%7D-%5Cleft%28%5Cvec+e_%7B%5Csigma%7D%5Cright%29%5Cfrac%7BRT%7D%7B%5Csigma+mg%7D%5Cfrac%7B%5Cpartial+%5Cphi%7D%7B%5Cpartial+%5Csigma%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;nabla &#92;phi = &#92;frac{&#92;vec e_{&#92;mu}}{h_{&#92;mu}} &#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;mu} + &#92;frac{&#92;vec e_{&#92;lambda}}{h_{&#92;lambda}}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;lambda}+&#92;frac{&#92;vec e_{&#92;sigma}}{h_{&#92;sigma}}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;sigma}=&#92;left(&#92;vec e_{&#92;mu}&#92;right)&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;mu} + &#92;left(&#92;vec e_{&#92;lambda}&#92;right)&#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;lambda}-&#92;left(&#92;vec e_{&#92;sigma}&#92;right)&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;sigma}  ' title='&#92;nabla &#92;phi = &#92;frac{&#92;vec e_{&#92;mu}}{h_{&#92;mu}} &#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;mu} + &#92;frac{&#92;vec e_{&#92;lambda}}{h_{&#92;lambda}}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;lambda}+&#92;frac{&#92;vec e_{&#92;sigma}}{h_{&#92;sigma}}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;sigma}=&#92;left(&#92;vec e_{&#92;mu}&#92;right)&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;mu} + &#92;left(&#92;vec e_{&#92;lambda}&#92;right)&#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;lambda}-&#92;left(&#92;vec e_{&#92;sigma}&#92;right)&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial &#92;phi}{&#92;partial &#92;sigma}  ' class='latex' /></p>
<p>The divergence is defined as:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cnabla+%5Ccdot+%3D+%5Cfrac%7B1%7D%7Bh_%7B%5Cmu%7D%7D+%5Cfrac%7B%5Cpartial+%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B1%7D%7Bh_%7B%5Clambda%7D%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Clambda%7D%2B%5Cfrac%7B1%7D%7Bh_%7B%5Csigma%7D%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Csigma%7D%3D%5Cfrac%7B1-%5Cmu%5E2%7D%7Br%7D+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Cmu%7D+%2B+%5Cfrac%7B1%7D%7Br+%5Cmu%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Clambda%7D-%5Cfrac%7BRT%7D%7B%5Csigma+mg%7D%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Csigma%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;nabla &#92;cdot = &#92;frac{1}{h_{&#92;mu}} &#92;frac{&#92;partial }{&#92;partial &#92;mu} + &#92;frac{1}{h_{&#92;lambda}}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}+&#92;frac{1}{h_{&#92;sigma}}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}=&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial}{&#92;partial &#92;mu} + &#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}-&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}  ' title='&#92;nabla &#92;cdot = &#92;frac{1}{h_{&#92;mu}} &#92;frac{&#92;partial }{&#92;partial &#92;mu} + &#92;frac{1}{h_{&#92;lambda}}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}+&#92;frac{1}{h_{&#92;sigma}}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}=&#92;frac{1-&#92;mu^2}{r} &#92;frac{&#92;partial}{&#92;partial &#92;mu} + &#92;frac{1}{r &#92;mu}&#92;frac{&#92;partial}{&#92;partial &#92;lambda}-&#92;frac{RT}{&#92;sigma mg}&#92;frac{&#92;partial}{&#92;partial &#92;sigma}  ' class='latex' /></p>
<p>The curl is defined by:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cnabla+%5Ctimes+%5Cvec+A+%3D+%5Cfrac%7B1%7D%7Bh_%7B%5Csigma%7Dh_%7B%5Cmu%7Dh_%7B%5Clambda%7D%7D+%5Cleft%7C+%5Cbegin%7Barray%7D%7Bccc%7D+%5Cvec+e_%7B%5Csigma%7D+%26+%5Cvec+e_%7B%5Cmu%7D+%26+%5Cvec+e_%7B%5Clambda%7D+%5C%5C+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Csigma%7D+%26+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Cmu%7D+%26+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+%5Clambda%7D+%5C%5C+A_%7B%5Csigma%7Dh_%7B%5Csigma%7D+%26+A_%7B%5Cmu%7Dh_%7B%5Cmu%7D+%26++A_%7B%5Clambda%7Dh_%7B%5Clambda%7D+%5Cend%7Barray%7D+%5Cright%7C+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;nabla &#92;times &#92;vec A = &#92;frac{1}{h_{&#92;sigma}h_{&#92;mu}h_{&#92;lambda}} &#92;left| &#92;begin{array}{ccc} &#92;vec e_{&#92;sigma} &amp; &#92;vec e_{&#92;mu} &amp; &#92;vec e_{&#92;lambda} &#92;&#92; &#92;frac{&#92;partial}{&#92;partial &#92;sigma} &amp; &#92;frac{&#92;partial}{&#92;partial &#92;mu} &amp; &#92;frac{&#92;partial}{&#92;partial &#92;lambda} &#92;&#92; A_{&#92;sigma}h_{&#92;sigma} &amp; A_{&#92;mu}h_{&#92;mu} &amp;  A_{&#92;lambda}h_{&#92;lambda} &#92;end{array} &#92;right| ' title='&#92;nabla &#92;times &#92;vec A = &#92;frac{1}{h_{&#92;sigma}h_{&#92;mu}h_{&#92;lambda}} &#92;left| &#92;begin{array}{ccc} &#92;vec e_{&#92;sigma} &amp; &#92;vec e_{&#92;mu} &amp; &#92;vec e_{&#92;lambda} &#92;&#92; &#92;frac{&#92;partial}{&#92;partial &#92;sigma} &amp; &#92;frac{&#92;partial}{&#92;partial &#92;mu} &amp; &#92;frac{&#92;partial}{&#92;partial &#92;lambda} &#92;&#92; A_{&#92;sigma}h_{&#92;sigma} &amp; A_{&#92;mu}h_{&#92;mu} &amp;  A_{&#92;lambda}h_{&#92;lambda} &#92;end{array} &#92;right| ' class='latex' /></p>
<p>(note, the direction of the longitudinal coordinate <img src='http://s0.wp.com/latex.php?latex=%5Clambda+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;lambda ' title='&#92;lambda ' class='latex' /> is defined to obey the right hand rule)</p>
<p>This gives for the components</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Csigma%7D%3D%5Cfrac%7BRT%7D%7Br+%5Cmu+%5Csigma+mg%7D%5Cleft%28%5Csigma+%5Cfrac%7Bmg%7D%7BRT%7D%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Cmu%7D%2B+r+%5Cmu%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Clambda%7D+%5Cright%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma}=&#92;frac{RT}{r &#92;mu &#92;sigma mg}&#92;left(&#92;sigma &#92;frac{mg}{RT}&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}+ r &#92;mu&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda} &#92;right) ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma}=&#92;frac{RT}{r &#92;mu &#92;sigma mg}&#92;left(&#92;sigma &#92;frac{mg}{RT}&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}+ r &#92;mu&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda} &#92;right) ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Cmu%7D%3D+-%5Cfrac%7B%5Csqrt%7B1-%5Cmu%5E2%7DRT%7D%7Br%5Csigma+mg%7D%5Cleft%28+%5Cfrac%7Br%7D%7B%5Csqrt%7B1-%5Cmu%5E2%7D%7D%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Clambda%7D%2B%5Csigma+%5Cfrac%7Bmg%7D%7BRT%7D+%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Csigma%7D+%5Cright%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu}= -&#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r&#92;sigma mg}&#92;left( &#92;frac{r}{&#92;sqrt{1-&#92;mu^2}}&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}+&#92;sigma &#92;frac{mg}{RT} &#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma} &#92;right) ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu}= -&#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r&#92;sigma mg}&#92;left( &#92;frac{r}{&#92;sqrt{1-&#92;mu^2}}&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}+&#92;sigma &#92;frac{mg}{RT} &#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma} &#92;right) ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Clambda%7D%3D+%5Cfrac%7B%5Csqrt%7B1-%5Cmu%5E2%7DRT%7D%7Br%5E2+%5Cmu+%7D%5Cleft%28+r+%5Cmu%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Csigma%7D-%5Cfrac%7Br%7D%7B%5Csqrt%7B1-%5Cmu%5E2%7D%7D+%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Cmu%7D+%5Cright%29+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda}= &#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r^2 &#92;mu }&#92;left( r &#92;mu&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}-&#92;frac{r}{&#92;sqrt{1-&#92;mu^2}} &#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu} &#92;right) ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda}= &#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r^2 &#92;mu }&#92;left( r &#92;mu&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}-&#92;frac{r}{&#92;sqrt{1-&#92;mu^2}} &#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu} &#92;right) ' class='latex' /></p>
<p>Which Simplifies to:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Csigma%7D%3D+%5Cfrac%7B1%7D%7Br%5Cmu%7D%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Cmu%7D%2B+%5Cfrac%7BRT%7D%7B%5Csigma+m+g%7D%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Clambda%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma}= &#92;frac{1}{r&#92;mu}&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}+ &#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda}  ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;sigma}= &#92;frac{1}{r&#92;mu}&#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;mu}+ &#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;lambda}  ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Cmu%7D%3D++-%5Cfrac%7BRT%7D%7B%5Csigma+m+g%7D%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Clambda%7D-+%5Cfrac%7B%5Csqrt%7B1-%5Cmu%5E2%7D%7D%7Br%7D+%5Cfrac%7B%5Cpartial+A_%7B%5Clambda%7D%7D%7B%5Cpartial+%5Csigma%7D+&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu}=  -&#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}- &#92;frac{&#92;sqrt{1-&#92;mu^2}}{r} &#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma} ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;mu}=  -&#92;frac{RT}{&#92;sigma m g}&#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;lambda}- &#92;frac{&#92;sqrt{1-&#92;mu^2}}{r} &#92;frac{&#92;partial A_{&#92;lambda}}{&#92;partial &#92;sigma} ' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cleft%5B+%5Cnabla+%5Ctimes+%5Cvec+A+%5Cright%5D_%7B%5Clambda%7D%3D++%5Cfrac%7B%5Csqrt%7B1-%5Cmu%5E2%7DRT%7D%7Br%7D%5Cfrac%7B%5Cpartial+A_%7B%5Cmu%7D%7D%7B%5Cpartial+%5Csigma%7D-%5Cfrac%7BRT%7D%7Br%5Cmu%7D+%5Cfrac%7B%5Cpartial+A_%7B%5Csigma%7D%7D%7B%5Cpartial+%5Cmu%7D++&#038;bg=e6e6e6&#038;fg=000000&#038;s=0' alt='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda}=  &#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}-&#92;frac{RT}{r&#92;mu} &#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu}  ' title='&#92;left[ &#92;nabla &#92;times &#92;vec A &#92;right]_{&#92;lambda}=  &#92;frac{&#92;sqrt{1-&#92;mu^2}RT}{r}&#92;frac{&#92;partial A_{&#92;mu}}{&#92;partial &#92;sigma}-&#92;frac{RT}{r&#92;mu} &#92;frac{&#92;partial A_{&#92;sigma}}{&#92;partial &#92;mu}  ' class='latex' /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=180&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/08/29/vector-operations-in-hoskins-and-simmons-coordinates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>API/Object Viewers/Memory Mapping/</title>
		<link>http://earthcubed.wordpress.com/2009/08/29/apiobject-viewersmemory-mapping/</link>
		<comments>http://earthcubed.wordpress.com/2009/08/29/apiobject-viewersmemory-mapping/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 04:31:24 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Computer Science and Modeling]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=173</guid>
		<description><![CDATA[The more code a programmer can reuse the more efficient they can be. In windows this could mean reusing com/ole components and other APIs. Here are two useful programs for viewing APIs: OLE/COM Object Explorer 1.1 http://www.softpedia.com/progDownload/OLE-COM-Object-Explorer-Download-42531.html Windows API Viewer http://www.activevb.de/rubriken/apiviewer/index-apiviewer.html I was inquiring about how to manage the transfer of large amounts of data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=173&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The more code a programmer can reuse the more efficient they can be. In windows this could mean reusing com/ole components and other APIs. Here are two useful programs for viewing APIs:</p>
<p>OLE/COM Object Explorer 1.1<br />
<a href="http://www.softpedia.com/progDownload/OLE-COM-Object-Explorer-Download-42531.html">http://www.softpedia.com/progDownload/OLE-COM-Object-Explorer-Download-42531.html </a></p>
<p>Windows API Viewer<br />
<a href="http://www.activevb.de/rubriken/apiviewer/index-apiviewer.html">http://www.activevb.de/rubriken/apiviewer/index-apiviewer.html</a></p>
<p>I was inquiring about how to manage the transfer of large amounts of data between programs and I was pointed to two interesting concepts:</p>
<blockquote><p>All modern operating systems include a facility called &#8220;memory mapping,&#8221; which maps a range of addresses in the program&#8217;s virtual address space to a file. If you read from those addresses, you&#8217;ll get data from the file. It is up to the operating system to determine whether to load the data into RAM all at once, or to read it from the disk in chunks as necessary.<br />
&#8230;&#8230;.<br />
If you&#8217;re trying to share large amounts of memory between two programs running on the same computer, you should note that all modern operating systems provide mechanisms for shared memory. These shared memory segments can be mapped into the virtual address space of multiple programs simultaneously. Two or more programs can read or write to the shared memory exactly as if it were normal, private memory. (But you should include some thread-safety mechanisms, like mutexes, to make sure your programs won&#8217;t step on each other&#8217;s toes.)</p>
<p>If you&#8217;re trying to share large amounts of memory between programs running on separate computers, use MPI or some other multi-processing library.</p></blockquote>
<p><a href="http://www.physicsforums.com/showthread.php?t=333182">http://www.physicsforums.com/showthread.php?t=333182</a></p>
<p>Here is what wikipedia has to say about memory maps:</p>
<blockquote><p>The primary benefit of memory mapping a file is increased I/O performance, especially when used on small files. Accessing memory mapped files is faster than using direct read and write operations for two reasons. Firstly, a system call is orders of magnitude slower than a simple change of program&#8217;s local memory. Secondly, in most operating systems the memory region mapped actually is the kernel&#8217;s file cache, meaning that no copies need to be created in user space. Using system calls would inevitably involve the time consuming operation of memory copying.</p>
<p>Certain application level memory-mapped file operations also perform better than their physical file counterparts. Applications can access and update data in the file directly and in-place, as opposed to seeking from the start of the file or rewriting the entire edited contents to a temporary location. Since the memory-mapped file is handled internally in pages, linear file access (as seen, for example, in flat file data storage or configuration files) requires disk access only when a new page boundary is crossed, and can write larger sections of the file to disk in a single operation.</p>
<p>A possible benefit of memory-mapped files is a &#8220;lazy loading&#8221;, thus using small amounts of RAM even for a very large file. Trying to load the entire contents of a file that is significantly larger than the amount of memory available can cause severe thrashing as the operating system reads from disk into memory and simultaneously pages from memory back to disk. Memory-mapping may not only bypass the page file completely, but the system only needs to load the smaller page-sized sections as data is being edited, similarly to demand paging scheme used for programs.</p></blockquote>
<p><a href="http://en.wikipedia.org/wiki/Memory-mapped_file#Benefits">http://en.wikipedia.org/wiki/Memory-mapped_file#Benefits</a></p>
<p>The windows utility to do this is called CreateFileMapping<br />
<a href="http://msdn2.microsoft.com/en-us/library/aa366537.aspx">http://msdn2.microsoft.com/en-us/library/aa366537.aspx</a></p>
<p>As for multi-processing library the following was recommended:<br />
<a href="http://scv.bu.edu/documentation/tutorials/MPI/MPI_text.html">http://scv.bu.edu/documentation/tutorials/MPI/MPI_text.html</a></p>
<p>I haven&#8217;t found much but the following wikipedia link seems relevant:<br />
<a href="http://en.wikipedia.org/wiki/Cluster_(computing)">http://en.wikipedia.org/wiki/Cluster_(computing)</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=173&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/08/29/apiobject-viewersmemory-mapping/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
		<item>
		<title>Defining a Microsoft access Datasource</title>
		<link>http://earthcubed.wordpress.com/2009/08/28/defining-a-microsoft-access-datasource/</link>
		<comments>http://earthcubed.wordpress.com/2009/08/28/defining-a-microsoft-access-datasource/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 07:03:27 +0000</pubDate>
		<dc:creator>s243a</dc:creator>
				<category><![CDATA[Computer Science and Modeling]]></category>

		<guid isPermaLink="false">http://earthcubed.wordpress.com/?p=169</guid>
		<description><![CDATA[The more I think about implementation of a GCM the more I think about trying to make the components as independent as possible. I like databases for storing information because they give an orderly framework that is easy to access but they can be slow. A database is simply a binary file. If we know [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=169&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The more I think about implementation of a GCM the more I think about trying to make the components as independent as possible. I like databases for storing information because they give an orderly framework that is easy to access but they can be slow. </p>
<p>A database is simply a binary file. If we know how information is stored in the file we can optimize ways of retrieving it that could be much faster then a standard database. However, it is nice to have tools that are easy to use for sorting though and organizing information like Microsoft access. </p>
<p>Remember that tables in microsoft access do not need to be stored in the microsoft access database. For instance, you can create linked tables. These linked tables can come for instance from other databases or spreadsheets. All that is really necessary is for Microsoft access to know how to read this information as a table.</p>
<p>This is where I believe data  access objects come in. I&#8217;ll have to look at them further but I&#8217;m hoping that they can be used as a way to use an arbitrary source of information as a table. The following linking gives information on how to create Data Access objects in Microsoft Access.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms243192.aspx">http://msdn.microsoft.com/en-us/library/ms243192.aspx</a></p>
<p>I&#8217;ll write more once I read about this. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/earthcubed.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/earthcubed.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/earthcubed.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/earthcubed.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/earthcubed.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/earthcubed.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/earthcubed.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/earthcubed.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=earthcubed.wordpress.com&amp;blog=6778364&amp;post=169&amp;subd=earthcubed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://earthcubed.wordpress.com/2009/08/28/defining-a-microsoft-access-datasource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/056eac3e563c487216aa2da6c5c7001c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">s243a</media:title>
		</media:content>
	</item>
	</channel>
</rss>
