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

<channel>
	<title>Field Precision software tips &#187; 3D software</title>
	<atom:link href="http://fieldp.com/myblog/tag/3d-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://fieldp.com/myblog</link>
	<description>Effective finite-element modeling of electromagnetic fields</description>
	<lastBuildDate>Thu, 05 Jan 2012 15:24:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>HiPhi boundary input from EStat</title>
		<link>http://fieldp.com/myblog/2008/hiphi-boundary-input-from-estat/</link>
		<comments>http://fieldp.com/myblog/2008/hiphi-boundary-input-from-estat/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 22:29:54 +0000</pubDate>
		<dc:creator>shumphries</dc:creator>
				<category><![CDATA[NewFeatures]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[3D software]]></category>
		<category><![CDATA[electrostatics]]></category>
		<category><![CDATA[EStat]]></category>
		<category><![CDATA[finite element techniques]]></category>
		<category><![CDATA[HiPhi]]></category>

		<guid isPermaLink="false">http://fieldp.com/myblog/?p=139</guid>
		<description><![CDATA[<p>Many improvements to our programs follow from user suggestions. My consulting projects often provide motivations for new features. I am presently working on a simulation of a large cylindrical vacuum insulator for a pulsed-electron-beam injector. The issue is whether non-symmetrical flaws in the insulator surface will cause substantial field perturbations. I started by creating a 2D [...]]]></description>
			<content:encoded><![CDATA[<p>Many improvements to our programs follow from user suggestions. My consulting projects often provide motivations for new features. I am presently working on a simulation of a large cylindrical vacuum insulator for a pulsed-electron-beam injector. The issue is whether non-symmetrical flaws in the insulator surface will cause substantial field perturbations. I started by creating a 2D <strong>EStat</strong> solution for the ideal insulator for the following reasons:</p>
<ul>
<li>I wanted to get a sense of the baseline electrical field magnitude in different regions and to check the sensitivity to changes in the dielectric properties of surrounding structures.</li>
<li>I could use the DXF import capability of the <strong>Mesh </strong>drawing editor to create a set of outlines for the complex turnings. After testing, I moved them directly to the <strong>MetaMesh</strong> script.</li>
<li>I wanted benchmark values to check that the 3D solution was set up correctly.</li>
</ul>
<p>Because 2D solutions run quickly, I incorporated the entire injector assembly in the mesh. Extending this solution volume to three dimensions would have resulted in a huge mesh and many hours of run time. I feel that if a run takes more than one hour, there is probably a better way to solve the problem.</p>
<p>Since the flaws were relatively localized, it would be possible to get a good idea of their effect by limiting the axial extent of the solution to a space near the insulator. In this case, I could define a fixed-potential region on the solution volume boundaries in <em>-z</em> and <em>+z</em> and assign a spatial variation using data from the <strong>EStat</strong> solution. The existing version of <strong>HiPhi</strong> supported the definition of potential variations from mathematical functions using the command:</p>
<pre>POTENTIAL NoReg &gt; f(x,y,z)</pre>
<p>Here, <em>f(x,y,z)</em> is any algebraic function of the Cartesian coordinates. In order to use the feature, it would have been necessary to take a radial scan of potential and then to fit the results with a power series  in ?[<em>x</em>^2 + <em>y</em>^2]. This approach seemed like it would be a lot of work, and I didn&#8217;t feel like doing it.</p>
<p>Instead, I took advantage of my unique position as deity of the <strong>HiPhi </strong>source code and added a new program feature. It is ideally suited to using a 2D solution as the basis of a 3D microscopic solution. Here is the corresponding script command</p>
<pre>POTENTIAL NoReg TABLE [x,y,z,r] TabName</pre>
<p>The string <em>TabName </em>is the name of a text file defining the potential variation along the specified direction (the variable <em>r</em> is interpreted as ?[<em>x</em>^2+<em>y</em>^2]). It consists of a set of data lines:</p>
<pre>r[n]    phi(r[n])</pre>
<p>For the project I prepared tables for the downstream and upstream boundaries directly from <strong>EStat </strong>scans, using <strong>ConText </strong>to remove unwanted columns. The process took only a few minutes.</p>
<p>The figure below shows a test solution for the potential inside a grounded cylinder. The bottom boundary in <em>z</em> is grounded and the potential on the top follows a tabular variation in <em>r</em> (a partial cosine function). The top picture shows equipotential lines in the plane <em>x</em> = 0.0 and the bottom shows lines in a plane normal to <em>z</em> near the defined fixed-potential boundary.</p>
<p>I modified the <strong>HiPhi </strong>instruction manual, describing how to use the new command forms. While I was at it, I decided to ex[and the existing commands for relative dielectric constant, conductivity and space-charge density to handle table input.</p>
<p>For more information on HiPhi, please use this link: <a href="http://www.fieldp.com/hiphi.html" target="_blank">http://www.fieldp.com/hiphi.html</a>.</p>
<p><img class="alignnone" title="Test solution, potential boundary from a tabular function" src="http://www.fieldp.com/myblog/images/boundarypotential.png" alt="" width="400" height="492" /></p>
]]></content:encoded>
			<wfw:commentRss>http://fieldp.com/myblog/2008/hiphi-boundary-input-from-estat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

