forked from modelica/ModelicaStandardLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HollowCylinderCircumferentialFlux.mo
43 lines (43 loc) · 1.52 KB
/
HollowCylinderCircumferentialFlux.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
within Modelica.Magnetic.QuasiStatic.FluxTubes.Icons;
partial model HollowCylinderCircumferentialFlux "Icon for cylinder with circumferential flux"
annotation (Icon(graphics={
Text(
extent={{-150,50},{150,90}},
textString="%name",
textColor={0,0,255}),
Line(points={{-60,0},{-100,0}}, color={255,170,85}),
Line(points={{100,0},{60,0}}, color={255,170,85}),
Polygon(
points={{-40,20},{-80,-20},{-60,-20},{-20,20},{-40,20}},
lineColor={255,170,85},
fillColor={215,215,215},
fillPattern=FillPattern.Solid),
Ellipse(
extent={{-60,0},{20,-40}},
lineColor={255,170,85},
startAngle=0,
endAngle=180,
closure=EllipseClosure.None),
Ellipse(
extent={{-80,14},{40,-54}},
lineColor={255,170,85},
startAngle=0,
endAngle=180,
closure=EllipseClosure.None),
Polygon(
points={{60,20},{20,-20},{40,-20},{80,20},{60,20}},
lineColor={255,170,85},
fillColor={215,215,215},
fillPattern=FillPattern.Solid),
Ellipse(
extent={{-20,40},{60,0}},
lineColor={255,170,85},
startAngle=52,
endAngle=180,
closure=EllipseClosure.None),
Line(points={{40,-40},{0,0}},
color={255,170,85},
origin={36,-32},
rotation=90),
Line(points={{76,8},{78,12},{80,20}}, color={255,170,85})}));
end HollowCylinderCircumferentialFlux;