BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
rutherford.winding.Layer Class Reference

Public Member Functions

 __init__ (self, winding, int index, float radius)
float coverage (self)
float bending_radius (self)
float geodesic_torsion (self)

Public Attributes

 winding = winding
 index = index
 radius = radius
 stadium = Stadium(winding.ws, radius)
 perimeter = self.stadium.perimeter
 sigma = winding.sense * (1 if index % 2 == 0 else -1)
 tan_theta = self.perimeter / winding.pitch
 theta = math.atan(self.tan_theta)
 cos_theta = math.cos(self.theta)
 sin_theta = math.sin(self.theta)
 tape_span = winding.tapeWidth / self.cos_theta
 sector = self.perimeter / winding.numTapes
 gap_span = self.sector - self.tape_span
list tapes

Constructor & Destructor Documentation

◆ __init__()

rutherford.winding.Layer.__init__ ( self,
winding,
int index,
float radius )

Member Function Documentation

◆ bending_radius()

float rutherford.winding.Layer.bending_radius ( self)
Radius of the tape centerline's normal curvature on the round
edges: the surface curvature 1/r taken in the direction of the
oblique tape path (Euler's theorem, kappa_n = sin^2 theta / r).

◆ coverage()

float rutherford.winding.Layer.coverage ( self)
Fraction of the layer surface under tape.

◆ geodesic_torsion()

float rutherford.winding.Layer.geodesic_torsion ( self)
Twist rate of the tape on the round edges, sin cos / r.

Member Data Documentation

◆ cos_theta

rutherford.winding.Layer.cos_theta = math.cos(self.theta)

◆ gap_span

rutherford.winding.Layer.gap_span = self.sector - self.tape_span

◆ index

rutherford.winding.Layer.index = index

◆ perimeter

rutherford.winding.Layer.perimeter = self.stadium.perimeter

◆ radius

rutherford.winding.Layer.radius = radius

◆ sector

rutherford.winding.Layer.sector = self.perimeter / winding.numTapes

◆ sigma

rutherford.winding.Layer.sigma = winding.sense * (1 if index % 2 == 0 else -1)

◆ sin_theta

rutherford.winding.Layer.sin_theta = math.sin(self.theta)

◆ stadium

rutherford.winding.Layer.stadium = Stadium(winding.ws, radius)

◆ tan_theta

rutherford.winding.Layer.tan_theta = self.perimeter / winding.pitch

◆ tape_span

rutherford.winding.Layer.tape_span = winding.tapeWidth / self.cos_theta

◆ tapes

list rutherford.winding.Layer.tapes
Initial value:
= [Tape(self, k, k * self.sector)
for k in range(winding.numTapes)]

◆ theta

rutherford.winding.Layer.theta = math.atan(self.tan_theta)

◆ winding

rutherford.winding.Layer.winding = winding

The documentation for this class was generated from the following file:
  • examples/rutherford/python/rutherford/winding.py