{"id":3518,"date":"2014-04-29T18:40:50","date_gmt":"2014-04-29T22:40:50","guid":{"rendered":"http:\/\/pages.vassar.edu\/magnes\/?p=3518"},"modified":"2014-05-06T18:06:21","modified_gmt":"2014-05-06T22:06:21","slug":"final-results-and-conclusions-modeling-e-and-b-fields-of-a-toroidal-conductor-to-explore-tokamak-plasmas","status":"publish","type":"post","link":"https:\/\/pages.vassar.edu\/magnes\/2014\/04\/29\/final-results-and-conclusions-modeling-e-and-b-fields-of-a-toroidal-conductor-to-explore-tokamak-plasmas\/","title":{"rendered":"Final Results and Conclusions: Modeling E and B Fields of a Toroidal Conductor to Explore Tokamak Plasmas"},"content":{"rendered":"<p>I have developed expressions for\u00a0<strong>B<\/strong>,\u00a0<strong>H<\/strong>, and\u00a0<strong>M<\/strong>\u00a0for the JET tokamak, and have plotted these fields. \u00a0I began by deriving the expression for the magnetic field of such a system, approximating it as a toroidal solenoid. \u00a0I followed Griffith&#8217;s example 5.10 to arrive at my expression. \u00a0As mentioned previously, the expression for the magnetic field of this system is:<\/p>\n<p>$\\textbf{B(r)} = \\frac{\\mu_{0} N I}{2 \\pi s} \\hat{\\phi}$.<\/p>\n<p>As mentioned previously, I use the parameter values from the JET project, and will assume that\u00a0$N = \\alpha q(r)$. \u00a0My first instinct (and the first value of alpha that I tried) was to set $\\alpha$ at the circumference of the torus (17.9 m). \u00a0As will be discussed below, this did not give reasonable results, and I revised the value of alpha accordingly.<\/p>\n<p>I defined a field (bfield) based on the expression I derived. \u00a0This was in spherical coordinates since that was easiest to use with the Mathematica command TransformedField. \u00a0I then transformed this to Cartesian coordinates, and used VectorPlot3D to plot the Cartesian vector field. \u00a0This produced the circumferential field that I expected. \u00a0It varies only with distance from the center of the torus ring, and curves around the torus.<\/p>\n<div id=\"attachment_3898\" style=\"width: 288px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/bfield2.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3898\" class=\"size-medium wp-image-3898\" alt=\"The magnetic field, as expected, is purely circumferential and its direction alternates as the current changes. The torus has been superimposed on the field to indicate the region where the field is nonzero.\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/bfield2-278x300.gif\" width=\"278\" height=\"300\" \/><\/a><p id=\"caption-attachment-3898\" class=\"wp-caption-text\">The magnetic field, as expected, is purely circumferential and its direction alternates as the current changes. The torus has been superimposed on the field to indicate the region where the field is nonzero.<\/p><\/div>\n<div id=\"attachment_3901\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/vectortorus.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3901\" class=\"size-medium wp-image-3901\" alt=\"The torus from a different perspective.\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/vectortorus-300x210.jpeg\" width=\"300\" height=\"210\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/vectortorus-300x210.jpeg 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/vectortorus.jpeg 360w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-3901\" class=\"wp-caption-text\">The torus from a different perspective.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>I then repeated the same procedure for the Auxiliary field and magnetization, and both produced the fields I expected (both were the same shape but different magnitudes than the magnetic field and the magnetization was in the opposite direction). \u00a0Magnetization was in the opposite direction of the magnetic field (as expected) because I used the magnetic susceptibility value of hydrogen (since JET used an H or DT plasma) and hydrogen is diamagnetic (as per Griffiths Table 6.1). \u00a0A tacit assumption here is that this value does not change significantly when the gas is ionized into a plasma. \u00a0I do not know what effect this would have on my results, but my results should be viewed with this fact in mind.<\/p>\n<div id=\"attachment_3899\" style=\"width: 288px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/hfield2.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3899\" class=\"size-medium wp-image-3899\" alt=\"The Auxiliary field looks very similar to the magnetic field, and, in fact, differs only in that the vectors have different magnitudes.\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/hfield2-278x300.gif\" width=\"278\" height=\"300\" \/><\/a><p id=\"caption-attachment-3899\" class=\"wp-caption-text\">The Auxiliary field looks very similar to the magnetic field, and, in fact, differs only in that the vectors have different magnitudes.<\/p><\/div>\n<p>Note that all of these fields are identically zero for all regions outside of the the volume of the torus. \u00a0The values described by the vector field only hold for locations where $(R &#8211; r\/2) \\leq s \\leq (R + r\/2)$. \u00a0Unfortunately, I was unable to find a way to force Mathematica to either make the vector field zero in this region or two suppress the vectors so that they did not display. \u00a0Despite this, the field is correct, just over an incorrect range.<\/p>\n<div id=\"attachment_3900\" style=\"width: 288px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/magnetization1.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3900\" class=\"size-medium wp-image-3900\" alt=\"The magnetization in the torus, again, has the same shape as the other fields, but opposite sign.\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/magnetization1-278x300.gif\" width=\"278\" height=\"300\" \/><\/a><p id=\"caption-attachment-3900\" class=\"wp-caption-text\">The magnetization in the torus, again, has the same shape as the other fields, but opposite sign.<\/p><\/div>\n<p>Now, realistically, the current in my expression for these quantities would not be constant, but would vary with time (as tokamaks operate as pulsed, AC devices). \u00a0This means that $I = I_{0}\\cos(\\omega t)$. \u00a0This assumes that that at time zero, the current amplitude is maximum (which is reasonable since the zero point is arbitrary as long as we look at the system sufficiently long after the tokamak operation has begun).<\/p>\n<p>To account for this time dependence, I let $I = I_{0}$ and multiplied in the cosine term. \u00a0I did this in the VectorPlot3D argument instead of in the definition of my field because the transform would not work with 4 variables. \u00a0This should not affect the results. \u00a0I did this for all three fields. \u00a0As expected, the fields retain their shapes and the vectors alternate direction with current. \u00a0An example follows, and the rest can be found in the Mathematica notebook:<\/p>\n<p><a href=\"http:\/\/youtu.be\/4D4b7LM4Rbc\">Magnetic Field Animation<\/a><\/p>\n<p>After developing these models, I wanted to use my expression to find the magnetic field at the center of the torus volume. \u00a0I would then compare this to the established value for JET&#8217;s magnetic field, and the difference would speak to the legitimacy of my model and the assumptions I made, specifically the proportionality constant, $\\alpha$. \u00a0The magnitude of the magnetic field as a function is radius was plotted, to emphasize the fact that it varies only with radius and is not constant throughout the torus (since it spans a range of radii).<\/p>\n<div id=\"attachment_3895\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/fieldstrength1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3895\" class=\"size-medium wp-image-3895 \" alt=\"The magnetic field strength as a function of radius, to illustrate the fact that the field is zero outside of the torus and that the field only varies with radius. Note also that it is not constant within the torus, as there are several radii encompassed within it.  The surface of the torus is included to illustrate the region with nonzero field.\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/fieldstrength1-300x194.jpg\" width=\"300\" height=\"194\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/fieldstrength1-300x194.jpg 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/fieldstrength1.jpg 576w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-3895\" class=\"wp-caption-text\">The magnetic field strength as a function of radius, to illustrate the fact that the field does vary with radius, which is not necessarily clear from the vector fields. . The surface of the torus is included to illustrate the region with nonzero field.<\/p><\/div>\n<p>For $\\alpha = 17.9$, $B = 22.6$T. \u00a0The established value is $B = 3.6$T. \u00a0This is a percent error of over 500%. \u00a0Since this value of alpha was simply a first guess to see how the model worked, this extremely high percent error should not be alarming. \u00a0We can easily find a better alpha. \u00a0Knowing what B should be, and the other constants, we can solve for alpha and get that it should take a value of $\\alpha = 2.85$. \u00a0This is very interesting because this means that $\\alpha = R$ and that $N = \\alpha q = R q = (2.85)(3) = 8.55$. \u00a0A value of 8.55 for N means that there are only about 9 windings of the current around the solenoid. \u00a0In Griffiths&#8217; example, he specifies that we assume the windings to be &#8220;uniform and tight enough so that each turn can be considered a closed loop.&#8221; \u00a08.55 turns around a circumference of 17.9 meters is probably not sufficiently tight. \u00a0As such, this model has shown that is model is insufficient to describe the behavior of a tokamak (which is not surprising). \u00a0As it is, this results indicate our model is imprecise.\u00a0It also indicates that, perhaps, the current should be modeled as a set of smaller currents with tighter windings superimposed on each other. \u00a0The next logical step in this research would be to examine what exactly the effects of this fallacious assumption are, and how best to address them.<\/p>\n<p>I would also like to note that, while my original plan was to also model the electric field of this system. \u00a0In my research I have not found any mention of the electric field of a tokamak reactor, only ever the magnetic field. \u00a0I assume that this is because the magnetic field is the source of confinement, and thus more interesting. Since the electric field seems to be uninteresting to tokamak research, and since I have nothing against which to compare my model, I will not be modelling this field.<\/p>\n<p>With this model (assuming that the windings were closed loops) changing <i>q<\/i> had a relatively small effect. \u00a0According to the expression for magnetic field, changing\u00a0<em>q\u00a0<\/em>changer the magnitude of the field vectors (they are directly proportional). \u00a0In my Mathematica animations of this, though, the change in vector magnitude was never actually noticeable. \u00a0As such I conclude that, while the safety factor plays a significant role in tokamak design, due to the simplifications made in my model, it has very little effect.<i><br \/>\n<\/i><\/p>\n<p>While my results (that N is small and that\u00a0<em>q\u00a0<\/em> has a negligible effect) both indicate that my model is not sufficiently precise to model a tokamak, this does not indicate failure. \u00a0The main thing that can be learned from this is that a tokamak&#8217;s magnetic field is much more complicated than that of a toroidal solenoid, as the current is at a large angle compared to the plane in which the torus lies as it travels around the torus. \u00a0While my model is imprecise and does not take this into account, it can produce the appropriate values for magnetic field, but with a compromise.<\/p>\n<p>The assumption that went into my model (Griffiths&#8217;) that the current loops were essentially closed meant that we assumed the current had only z an s components (and no phi component). \u00a0The fact that N is so small relative to the circumference means that the current loops will be more slanted and\u00a0<em>will\u00a0<\/em>have a component in all three directions. \u00a0Obviously, this means that the expression for magnetic field will be different. \u00a0In the derivation, the fact that the current had no phi component meant that terms cancelled out, leaving us with a purely circumferential field. \u00a0Clearly, in an actual tokamak, this is not the case. \u00a0While it is unfortunate that my results showed my model to be insufficient for a robust model of a tokamak, it has been very valuable in that it has confirmed and emphasized the complexity of a tokamak magnetic system. \u00a0It also puts the current state of fusion research in a very clear context &#8211; research has been going on since the middle of the last century, and yet no viable commercial fusion reactor has been developed. \u00a0This seems to make sense considering the complexity of the systems.<\/p>\n<p>&#8212;<\/p>\n<p>Here is a link to the Mathematica Notebook:\u00a0<a href=\"https:\/\/drive.google.com\/file\/d\/0B-C9MvBAfmyIc01BdHRRbGxoRW8\/edit?usp=sharing\">https:\/\/drive.google.com\/file\/d\/0B-C9MvBAfmyIc01BdHRRbGxoRW8\/edit?usp=sharing<\/a><a href=\"https:\/\/drive.google.com\/file\/d\/0B-C9MvBAfmyIQS12dTZJOGh5bm8\/edit?usp=sharing\"><br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have developed expressions for\u00a0B,\u00a0H, and\u00a0M\u00a0for the JET tokamak, and have plotted these fields. \u00a0I began by deriving the expression for the magnetic field of such a system, approximating it as a toroidal solenoid. \u00a0I followed Griffith&#8217;s example 5.10 to arrive at my expression. \u00a0As mentioned previously, the expression for the magnetic field of this [&hellip;]<\/p>\n","protected":false},"author":1773,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4101,54056,54190],"tags":[],"class_list":["post-3518","post","type-post","status-publish","format-standard","hentry","category-advanced-em","category-derek","category-spring-2014"],"_links":{"self":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/3518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/users\/1773"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/comments?post=3518"}],"version-history":[{"count":28,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/3518\/revisions"}],"predecessor-version":[{"id":4005,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/3518\/revisions\/4005"}],"wp:attachment":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/media?parent=3518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/categories?post=3518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/tags?post=3518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}