<?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; electrostatics</title>
	<atom:link href="http://fieldp.com/myblog/tag/electrostatics/feed/" rel="self" type="application/rss+xml" />
	<link>http://fieldp.com/myblog</link>
	<description>Effective finite-element modeling of electromagnetic fields</description>
	<lastBuildDate>Thu, 17 May 2012 12:45:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.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>
		<item>
		<title>Dual voltage modulations in OmniTrak</title>
		<link>http://fieldp.com/myblog/2008/dual-voltage-modulations-in-omnitrak/</link>
		<comments>http://fieldp.com/myblog/2008/dual-voltage-modulations-in-omnitrak/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 21:46:30 +0000</pubDate>
		<dc:creator>shumphries</dc:creator>
				<category><![CDATA[Educational]]></category>
		<category><![CDATA[NewFeatures]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[electrostatics]]></category>
		<category><![CDATA[OmniTrak]]></category>
		<category><![CDATA[particle orbits]]></category>
		<category><![CDATA[RF electric field]]></category>

		<guid isPermaLink="false">http://fieldp.com/myblog/?p=125</guid>
		<description><![CDATA[<p>In the Track mode (single-particle orbits), OmniTrak has long had the capability of including temporal modulations of electric and magnetic fields to approximate RF fields in the long-wavelength limit. For electric fields, the procedure has been to multiply potential values by a modulation function M(t). Recently, I have worked on an application to design an RF [...]]]></description>
			<content:encoded><![CDATA[<p>In the <em>Track </em>mode (single-particle orbits), <strong>OmniTrak </strong>has long had the capability of including temporal modulations of electric and magnetic fields to approximate RF fields in the long-wavelength limit. For electric fields, the procedure has been to multiply potential values by a modulation function <em>M</em>(<em>t</em>). Recently, I have worked on an application to design an RF ion extractor with a biased control electrode. This situation is fundamentally different. When applying a simple modulation, the assumption is that the spatial field distribution is self-similar. The only change with time is the normalization of the field solution. This type of field solution involves a reference potential (ground) and one independent value of the time-varying voltage.</p>
<p>With two independent time-varying electrode voltages, the spatial distribution of the field changes at each instant. Clearly, it would be impractical to solve for the three-dimensional electric field at each integration step of a particle orbit. Fortunately, there is a simple way to find the time-varying field when there are two independent voltages. We can understand the method with reference to the field solution illustrated in the first figure below. The simple three-electrode system has a ground plane at the bottom. Independent voltages may be applied to the electrode at the top left (<em>V1</em>) and right (<em>V2</em>). We can construct two normalized base solutions: solution <em>S10</em> has <em>V1</em> = 1.0 V and <em>V2</em> = 0.0 V while solution <em>S01</em> has <em>V1</em> = 0.0 V and <em>V2</em> = 1.0 V. In the absence of nonlinear materials, the set of all possible electrostatic solutions with arbitrary voltages <em>V1</em> and <em>V2</em> may be generated by a linear combination of the base functions:</p>
<p><em>S</em> = <em>V1*S10</em> + <em>V2*S01</em>.</p>
<p>To illustrate, the bottom solution in the first figure is the sum of the base functions. The same solution would follow from a direct <strong>HiPhi </strong>solution with <em>V1</em> = <em>V2</em> = 1.0 V.</p>
<p>The following procedure is used for modulated dual-voltage solutions in <strong>OmniTrak</strong>:</p>
<ul>
<li>Prepare two base electrostatic solutions with <strong>HiPhi </strong>using the same mesh. One or more reference electrodes in both solutions are grounded (φ = 0.0 V). In the first solution, one electrode (or set of electrodes) has <em>V1</em> = 1.0 V and the other has <em>V2</em> = 0.0 V. The voltages levels are reversed in the second solution.</li>
<li>Load the first solution with the <em>EFIELD3D </em>command. The program reads the mesh characteristics as well as the potential values at all nodes, φ1(<em>i,j,k</em>). A normalization factor may be included in the command to set the amplitude <em>V1</em> in solution <em>S10</em>.</li>
<li>Load the second solution with the new <em>EFIELD3D2 </em>command. In this case, <strong>OmniTrak </strong>checks that the mesh is identical to the previous one and stores the potential values φ2(<em>i,j,k</em>). Again, a normalization factor may be used to set the amplitude <em>V2</em> for <em>S01</em>.</li>
<li>The command <em>MODFUNC E</em> is used to define a modulation function <em>M1</em>(<em>t</em>) for <em>S10</em>, while the command <em>MODFUNC E2</em> sets the modulation function <em>M2</em>(<em>t</em>) for <em>S01</em>.</li>
</ul>
<p>During orbit tracking, the program uses electrostatic potential values of the form</p>
<p>φ = <em>M1</em>(<em>t</em>)*<em>S10</em> + <em>M2</em>(<em>t</em>)*<em>S01</em>,</p>
<p>as input to the electric field interpolation routine. Because much of the computational work involves identification of the element occupied by the particle, there is little change in the orbit tracking time penalty for a dual-voltage solution.</p>
<p>We can track a proton through the solution shown in the first figure to demonstrate the procedure. The <em>Field</em> section of the <strong>OmniTrak </strong>script includes the following commands:</p>
<pre>EFIELD3D: ThreeElect01.HOU 100.0
MODFUNC(E) &gt; sin(1.2566E7*$t)
EFIELD3D2: ThreeElect02.HOU 200.0
MODFUNC(E2) &gt; sin(3.1416E7*$t)</pre>
<p>The left-hand electrode has a sinusoidal variation at 2.0 MHz with amplitude 100 V. The peak electric field far from the gap is <em>Ex</em> = -2000 V/m. The voltage on the right-hand side varies at 5.0 MHz with amplitude 200 V (<em>Ex</em> = -4000.0 V/m). A 250 eV proton moving in <em>z</em> is injected near the left-hand boundary. The transit time over the 20.0 cm distance is about 1.0 μs. The commands</p>
<pre>LISTON 1
LISTTYPE EField</pre>
<p>specify an electric-field listing along the particle trajectory. The second figure shows the resulting electric field experienced by particle as a function of axial position.</p>
<p>For more information on <strong>OmniTrak</strong>, please use this link: <a href="http://www.fieldp.com/omnitrak.html" target="_blank">http://www.fieldp.com/omnitrak.html</a>.<br />
<img class="alignnone" title="Base solutions, three-electrode system" src="http://www.fieldp.com/myblog/images/dualvoltagesuper.png" alt="" width="400" height="346" /></p>
<p><img class="alignnone" title="Voltage level along a protion trajectory" src="http://www.fieldp.com/myblog/images/dualvoltageex.png" alt="" width="400" height="298" /></p>
]]></content:encoded>
			<wfw:commentRss>http://fieldp.com/myblog/2008/dual-voltage-modulations-in-omnitrak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floating potential of an open region</title>
		<link>http://fieldp.com/myblog/2008/floating-potential-of-an-open-region/</link>
		<comments>http://fieldp.com/myblog/2008/floating-potential-of-an-open-region/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 13:19:38 +0000</pubDate>
		<dc:creator>shumphries</dc:creator>
				<category><![CDATA[Educational]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[electrostatics]]></category>
		<category><![CDATA[floating potential]]></category>

		<guid isPermaLink="false">http://fieldp.com/myblog/?p=92</guid>
		<description><![CDATA[<p>In EStat and HiPhi, the term floating electrode refers to a fixed-potential region where φ is determined by capacitive or resistive division. In other words, the potential depends on the electrostatic solution and is not known in advance. For regions with non-zero volume, the standard method is to assign a high value of conductivity or relative dielectric [...]]]></description>
			<content:encoded><![CDATA[<p>In <strong>EStat </strong>and <strong>HiPhi</strong>, the term <em>floating electrode</em> refers to a fixed-potential region where φ is determined by capacitive or resistive division. In other words, the potential depends on the electrostatic solution and is not known in advance. For regions with non-zero volume, the standard method is to assign a high value of conductivity or relative dielectric constant (εr » 1.0).</p>
<p>I recently had an inquiry about how to find the self-consistent potential of a floating <em>open </em>region. Such a region consists solely of node assignments and has zero volume. In this case, it is not possible to assign special material properties. One resolution is to perform a series of calculations with different potentials assigned to the region and to look for the one with the lowest electric-field energy. This involves some extra work. In the next post, I will show how to automate the procedure using a Perl script.</p>
<p>The first picture below shows the geometry and equipotential lines of a test solution in cylindrical coordinates. The inner electrode has potential φ = 10,000 V and the outer boundary is grounded. There is a fine mesh grid at unknown potential in the intervening space. The goal is to find the grid potential determined by capacitive division for a rapidly-pulsed voltage. I made a series of 20 calculations with grid potentials from 2000 to 10,000 V. The top section of the first figure shows the distorted field distribution at 9200 V. I calculated the electrostatic field energy for each case. The second figure shows a plot of energy versus grid voltage. There is a minimum at 4000 V. The bottom section of the first figure shows the resulting smooth field distribution. Sample files for this example are available in the <a href="http://fieldp.com/myblog/2008/automatic-solution-control-with-perl/" target="_blank">next post</a>.</p>
<p>Please use these links for more information on <strong>EStat </strong>(<a href="http://www.fieldp.com/estat.html" target="_blank">http://www.fieldp.com/estat.html</a>) and <strong>HiPhi</strong> (<a href="http://www.fieldp.com/hiphi.html" target="_blank">http://www.fieldp.com/hiphi.html</a>).</p>
<p><img class="alignnone" title="Test problem, floating open region" src="http://www.fieldp.com/myblog/images/perl_demo01.png" alt="" width="400" height="395" /></p>
<p><img class="alignnone" title="Electrostatic field energy versus grid voltage" src="http://www.fieldp.com/myblog/images/perl_demo02.png" alt="" width="400" height="274" /></p>
]]></content:encoded>
			<wfw:commentRss>http://fieldp.com/myblog/2008/floating-potential-of-an-open-region/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surface electric-field listing</title>
		<link>http://fieldp.com/myblog/2008/surface-electric-field-listing/</link>
		<comments>http://fieldp.com/myblog/2008/surface-electric-field-listing/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 14:40:47 +0000</pubDate>
		<dc:creator>shumphries</dc:creator>
				<category><![CDATA[Educational]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[electrostatics]]></category>
		<category><![CDATA[surface electric field]]></category>

		<guid isPermaLink="false">http://fieldp.com/myblog/?p=80</guid>
		<description><![CDATA[<p>To check for breakdown conditions in high-voltage systems, it is useful to know the distribution of electric-field over surfaces of electrodes and dielectrics. Recently, a customer who has used the software for 10 years asked me if EStat had this capability. It took me several minutes of searching to answer the question. My conclusion is that [...]]]></description>
			<content:encoded><![CDATA[<p>To check for breakdown conditions in high-voltage systems, it is useful to know the distribution of electric-field over surfaces of electrodes and dielectrics. Recently, a customer who has used the software for 10 years asked me if <strong>EStat </strong>had this capability. It took me several minutes of searching to answer the question. My conclusion is that perhaps this useful feature has been under-emphasized.</p>
<p>I added entries to the index of the <strong>EStat </strong>manual and decided to write this post. The figure below shows a plot of |<strong>E</strong>| for a cylindrical example. The solution volume is bounded on the right and top by the shaped inner wall of a grounded vacuum chamber. A high-voltage rod electrode with spherical tip is supported by an insulator on the left-hand side. The goal is to find the variation of electric field over the electrode and the vacuum surface of the insulator.</p>
<p>The <em>Region </em>command in the <em>Analysis </em>menu of <strong>EStat </strong>generates the listing. We could also set up analysis script like the following:</p>
<pre>INPUT FieldList.EOU
OUTPUT FieldList
* Electrode
REGION 2
* Insulator
REGION 3
ENDFILE</pre>
<p><strong>EStat </strong>performs several activities in response to the command, including volume integrals of field energy, surface integrals of normal electric field to infer induced charge and surface integrals of the Maxwell stress tensor to determine force if the region is surrounded by air or vacuum. The code also calculates the electric field on element facets that lie on the region boundaries. It then goes to some effort to arrange them in a logical order. Here&#8217;s an example of the first portion of the table that appears in FieldList.DAT:</p>
<pre>Identified  102 facets
Maximum field value of    2.5310E+06
occurs at z =    1.6848E+01  r =    1.0876E+00
on the boundary with Region No   1</pre>
<pre>Z            R            D           |E|           Ez           Er      NBorder
=====================================================================================
1.6997E+01   1.0134E-01   0.0000E+00   2.5182E+06  -2.5174E+06  -6.3852E+04     1
1.6988E+01   2.9815E-01   1.9705E-01   2.5280E+06  -2.5210E+06  -1.8840E+05     1
1.6968E+01   4.9752E-01   3.9744E-01   2.4856E+06  -2.4663E+06  -3.0928E+05     1
...</pre>
<p>In this example, <strong>EStat </strong>does a very job of ordering the facet data. On the electrode, the list starts on the axis at the tip and travels along the surface to the left-hand boundary. For the insulator, the list covers the vacuum face, moving outward in radius. Each data line contains 1) the average coordinates of the facet and the distance from the start point, 2) the magnitude and components of the electric field and 3) the number of the region that shares the boundary facet.</p>
<p>An outstanding feature is that you can generate electric field listings along surfaces of arbitrary shape. For example, if you want to know the field along a curve in vacuum, divide the vacuum region into two vacuum regions separated by the desired path.</p>
<p>Here are links to input files for the example:</p>
<p><a href="http://www.fieldp.com/myblog/examples/fieldlist.min" target="_self">fieldlist.min</a><br />
<a href="http://www.fieldp.com/myblog/examples/fieldlist.ein" target="_self">fieldlist.ein</a><br />
<a href="http://www.fieldp.com/myblog/examples/fieldlist.scr" target="_self">fieldlist.scr</a></p>
<p>Please use this link for more information on <strong>EStat</strong>: <a href="http://www.fieldp.com/estat.html" target="_blank">http://www.fieldp.com/estat.html</a>.</p>
<p><img class="alignnone" title="Example to illustrate surface field listing" src="http://www.fieldp.com/myblog/images/surface_field.png" alt="" width="400" height="174" /></p>
]]></content:encoded>
			<wfw:commentRss>http://fieldp.com/myblog/2008/surface-electric-field-listing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

