model GenericFluxTube "Flux tube with fixed cross-section and length; linear or non-linear material characteristics"
extends FluxTubes.Interfaces.PartialFixedShape;
parameter SI.Length l = 0.01 "Length in direction of flux"
annotation (Dialog(
group = "Fixed geometry",
groupImage = "modelica://Modelica/Resources/Images/Magnetic/QuasiStatic/FluxTubes/GenericFluxTube_qs.png"));
parameter SI.CrossSection area = 1e-4 "Area of cross section"
annotation (Dialog(group = "Fixed geometry"));
equation
A = area;
G_m = mu_0 * mu_r * A / l;
annotation (
Documentation(
info = "<html>\n<p>\nThe generic flux tube models the reluctance with constant\n<code>area</code> of cross section, and length, <code>l</code>\nthe magnetic reluctance by:</p>\n<dl><dd>\n<img src=\"modelica://Modelica/Resources/Images/Magnetic/QuasiStatic/FluxTubes/R_m_generic.png\">,\n</dd></dl>\n\n<p>\n<img src=\"modelica://Modelica/Resources/Images/Magnetic/QuasiStatic/FluxTubes/GenericFluxTube_qs.png\">\n</p></html>",
revisions = "<html>\n<h5>Version 3.2.2, 2014-01-15 (Christian Kral)</h5>\n<ul>\n<li>Added GenericFluxTube</li>\n</ul>\n\n</html>"),
Icon(coordinateSystem(preserveAspectRatio = false)));
end GenericFluxTube;