<?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/"
	>

<channel>
	<title>darkersideofcode blog</title>
	<atom:link href="http://blog.darkersideofcode.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.darkersideofcode.net</link>
	<description>ramblings of a coder</description>
	<pubDate>Sat, 09 May 2009 06:56:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Numerical project - part 1</title>
		<link>http://blog.darkersideofcode.net/2009/05/numerical-project-part-1/</link>
		<comments>http://blog.darkersideofcode.net/2009/05/numerical-project-part-1/#comments</comments>
		<pubDate>Sat, 09 May 2009 05:58:13 +0000</pubDate>
		<dc:creator>lordcrc</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Simulations]]></category>

		<category><![CDATA[Studies]]></category>

		<category><![CDATA[diffpack]]></category>

		<category><![CDATA[finite difference method]]></category>

		<category><![CDATA[finite element method]]></category>

		<category><![CDATA[inf5620]]></category>

		<category><![CDATA[numerical methods]]></category>

		<category><![CDATA[partial differential equations]]></category>

		<guid isPermaLink="false">http://blog.darkersideofcode.net/?p=10</guid>
		<description><![CDATA[This semester I&#8217;m taking the Numerical methods for partial differential equations course. The course focuses on teaching the Finite Element Method (FEM) and how to solve problems using the FEM tools in Diffpack. Since I&#8217;ve already had a few courses where I learned about the Finite Difference Method (FDM) I wanted to learn more about the FEM. Seems I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>This semester I&#8217;m taking the <a href="http://www.uio.no/studier/emner/matnat/ifi/INF5620/index-eng.xml">Numerical methods for partial differential equations</a> course. The course focuses on teaching the <a href="http://en.wikipedia.org/wiki/Finite_element_method">Finite Element Method</a> (FEM) and how to solve problems using the FEM tools in <a href="http://www.diffpack.com/">Diffpack</a>. Since I&#8217;ve already had a few courses where I learned about the <a href="http://en.wikipedia.org/wiki/Finite_difference_method">Finite Difference Method</a> (FDM) I wanted to learn more about the FEM. Seems I&#8217;m good at selecting exciting but difficult courses, and this is no exception.</p>
<p>Now the time has come to select which &#8220;final project&#8221; to do, and I&#8217;ve gone for &#8220;Stress Concentration due to Geometric Imperfections&#8221;. I&#8217;ve mainly dealt with wave equations when using the FDM, so I thought a structural problem would be a nice change. The task is to find the shear stress in a long <a href="http://mathworld.wolfram.com/GeneralizedCylinder.html">cylinder</a> which is subjected to torsional forces (as if you&#8217;re twisting each end of the cylinder), and to use simulations to find how the shear stress changes when the cylinder contains a crack of varying size.</p>
<p>The shear stress is expressed as \(||\nabla u||\). That is, it&#8217;s the magnitude of the <a href="http://en.wikipedia.org/wiki/Gradient">gradient</a> of \(u\), where \(u\) is the solution to the Poisson equation \(\nabla^2 u = -2\) with \(u = 0\) on the boundary of the domain. It&#8217;s important to note that the solution \(u\) does not have a physical meaning in itself, however one can think of it as a &#8220;stress potential&#8221;.</p>
<p>One of the strengths of the FEM compared to the FDM is that instead of operating on a regularized grid it operates on generalized elements. Typical elements in 2D are quadrilaterals and triangles, however more complex elements can also be used. The main point is however that the shape of each element can be arbitrary. This means that it can easily deal with complex geometry by simply making the elements follow the contour of the geometry. In addition one can make the mesh denser near regions of interest. In my assignment I will use this property to generate adaptive meshes, by increasing the mesh density in regions where the solution changes a lot ie where the shear stress is high. Fortunately for me, Diffpack has a module for handling the gritty details of this.</p>
<p>In part 2 I&#8217;ll share some more details about the project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.darkersideofcode.net/2009/05/numerical-project-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fluid simulation 1</title>
		<link>http://blog.darkersideofcode.net/2009/05/fluid-simulation-1/</link>
		<comments>http://blog.darkersideofcode.net/2009/05/fluid-simulation-1/#comments</comments>
		<pubDate>Sat, 09 May 2009 04:19:54 +0000</pubDate>
		<dc:creator>lordcrc</dc:creator>
		
		<category><![CDATA[Rendering]]></category>

		<category><![CDATA[Simulations]]></category>

		<category><![CDATA[blender]]></category>

		<category><![CDATA[fluid simulation]]></category>

		<category><![CDATA[luxrender]]></category>

		<guid isPermaLink="false">http://blog.darkersideofcode.net/?p=12</guid>
		<description><![CDATA[Finally found some time to experiment with Blender&#8217;s Fluid simulator. Very easy to use, however I quickly discovered that an OpenMP enabled build would have been preferable, as well as a x64 version.
I started simple with a drop hitting the floor, and rendered it using LuxRender. My poor Q6600 spent roughly 80 cpu-hours on it.
]]></description>
			<content:encoded><![CDATA[<p>Finally found some time to experiment with Blender&#8217;s Fluid simulator. Very easy to use, however I quickly discovered that an OpenMP enabled build would have been preferable, as well as a x64 version.</p>
<p>I started simple with a drop hitting the floor, and rendered it using <a href="http://www.luxrender.net">LuxRender</a>. My poor Q6600 spent roughly 80 cpu-hours on it.</p>
<a href="http://blog.darkersideofcode.net/2009/05/fluid-simulation-1/"><p><em>Click here to view the embedded video.</em></p></a>
]]></content:encoded>
			<wfw:commentRss>http://blog.darkersideofcode.net/2009/05/fluid-simulation-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://blog.darkersideofcode.net/2009/05/hello-world/</link>
		<comments>http://blog.darkersideofcode.net/2009/05/hello-world/#comments</comments>
		<pubDate>Mon, 04 May 2009 00:02:01 +0000</pubDate>
		<dc:creator>lordcrc</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.darkersideofcode.net/?p=1</guid>
		<description><![CDATA[So, I got WordPress up and running. Using the method described here I got jsMath enabled, as you can see here \[ \frac{\partial^2 u}{\partial t^2} = c^2\nabla^2u \]
Now I just have to start to write stuff&#8230;
 
]]></description>
			<content:encoded><![CDATA[<p>So, I got WordPress up and running. Using the method described <a href="http://stacyprowell.com/blog/2009/04/20/wordpress-and-jsmath/" target="_blank">here</a> I got jsMath enabled, as you can see here \[ \frac{\partial^2 u}{\partial t^2} = c^2\nabla^2u \]</p>
<p>Now I just have to start to write stuff&#8230;</p>
<p> </p>
<div id="attachment_8" class="wp-caption alignnone" style="width: 610px"><img class="size-full wp-image-8" title="Patient Bear" src="http://blog.darkersideofcode.net/wp-content/uploads/2009/05/bearwait.jpg" alt="Patient Bear - Will be ready when you are" width="600" height="480" /><p class="wp-caption-text">Patient Bear - Will be ready when you are</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.darkersideofcode.net/2009/05/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

