Skip to content

Commit 18acf8f

Browse files
Update outline files
1 parent 280888b commit 18acf8f

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

docs/outline.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,18 +1513,17 @@
15131513
</pre>
15141514
</details>
15151515
</details>
1516-
<details><summary><span class ='def signature'>🧾 def thin_sheet(self, model, sigma, epsillon_r, force_odd = True, close_start = True, close_end = True, close_bottom = True, close_top = True, enforce_exact_pitch = True, **dimensions):</span></summary>
1516+
<details><summary><span class ='def signature'>🧾 def thin_sheet(self, model, sigma_not_used, epsillon_r, force_odd = True, close_start = True, close_end = True, close_bottom = True, close_top = True, enforce_exact_pitch = True, **dimensions):</span></summary>
15171517
<pre class ='def content'></pre>
15181518
<details><summary><span class ='docstring signature'> docstring</span></summary>
15191519
<pre class ='docstring content'> Creates a grid of wires interconnected at segment level to economically model a flat sheet
15201520
which is normal to the x axis and extends from z=-height/2 to z= height/2, and y = -length/2 to length/2
15211521
Models *either* conductive or dielectric sheet, not both.
1522-
Set epsillon_r to 1.0 for conductive sheet
1523-
Set epsillon_r &gt; 1.0 for dielectric sheet (conductivity value is then not used)
1522+
Set epsillon_r to 1.0 for perfectly conducting sheet
1523+
Set epsillon_r &gt; 1.0 for dielectric sheet
15241524

15251525
Arguments:
15261526
model - the object model being built
1527-
sigma - conductivity in mhos/metre
15281527
epsillon_r - relative dielectric constant
15291528
force_odd = true ensures wires cross at y=z=0
15301529
The four &#x27;close_&#x27; parameters determine whether or not the edges are &#x27;sealed&#x27; with a final wire (if True) or
@@ -1562,11 +1561,13 @@
15621561
H = (nZ-1)*dG
15631562
dY = dG
15641563
dZ = dG
1564+
dS = dG
15651565
else:
15661566
dY = L/(nY-1)
15671567
dZ = H/(nz-1)
1568+
dS = 0.5*(dY+dZ)
15681569
E0 = 8.854188 * 1e-12
1569-
CD = E0*(E-1) * thickness_m
1570+
C_Farads_per_metre_per_axis = E0*(E-1) * thickness_m / (2*dS)
15701571
wire_radius_m = thickness_m/2
15711572

15721573
# Create sheet
@@ -1587,13 +1588,13 @@
15871588
# add conductive / capacitive load to the iTag of this object
15881589
# note we aren&#x27;t ineserting a new segment specifically for the load, so there&#x27;s no need to
15891590
# increment model.LOAD_iTag
1591+
# revised load here is a parallel RLC load with distributed capacitance per metre
15901592
if(epsillon_r &gt; 1.0):
1591-
R_Ohms = 1e12
1592-
C_F = CD
1593+
R_Ohms_per_metre_per_axis = 1e12
15931594
else:
1594-
R_Ohms = dG / sigma
1595-
C_F = 0.0
1596-
model.LOADS.append(f&quot;LD 1 {iTag} 0 0 {R_Ohms:.6e} 0 {CD:.6e}\n&quot;)
1595+
R_Ohms_per_metre_per_axis = 0
1596+
C_Farads_per_metre_per_axis = 0.0
1597+
model.LOADS.append(f&quot;LD 3 {iTag} 0 0 {R_Ohms_per_metre_per_axis:.6e} 0 {C_Farads_per_metre_per_axis:.6e}\n&quot;)
15971598

15981599
return obj
15991600

docs/user_functions.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,16 +279,15 @@
279279
Returns:
280280
obj (GeometryObject): The constructed geometry object representing the helix.
281281
</pre>
282-
<hr><div><span class ='def signature'>&nbsp&nbsp&nbspthin_sheet(model, sigma, epsillon_r, force_odd = True, close_start = True, close_end = True, close_bottom = True, close_top = True, enforce_exact_pitch = True, **dimensions):</span></div>
282+
<hr><div><span class ='def signature'>&nbsp&nbsp&nbspthin_sheet(model, sigma_not_used, epsillon_r, force_odd = True, close_start = True, close_end = True, close_bottom = True, close_top = True, enforce_exact_pitch = True, **dimensions):</span></div>
283283
<pre class ='docstring content'> Creates a grid of wires interconnected at segment level to economically model a flat sheet
284284
which is normal to the x axis and extends from z=-height/2 to z= height/2, and y = -length/2 to length/2
285285
Models *either* conductive or dielectric sheet, not both.
286-
Set epsillon_r to 1.0 for conductive sheet
287-
Set epsillon_r &gt; 1.0 for dielectric sheet (conductivity value is then not used)
286+
Set epsillon_r to 1.0 for perfectly conducting sheet
287+
Set epsillon_r &gt; 1.0 for dielectric sheet
288288

289289
Arguments:
290290
model - the object model being built
291-
sigma - conductivity in mhos/metre
292291
epsillon_r - relative dielectric constant
293292
force_odd = true ensures wires cross at y=z=0
294293
The four &#x27;close_&#x27; parameters determine whether or not the edges are &#x27;sealed&#x27; with a final wire (if True) or

0 commit comments

Comments
 (0)