model CuboidParallelFlux "Cuboid with flux in direction of motion, e.g., air gap with rectangular cross-section; constant permeability"
extends FluxTubes.Interfaces.PartialForce;
SI.Length l = s "Axial length (in direction of flux)"
annotation (Dialog(
group = "Variable geometry",
groupImage = "modelica://Modelica/Resources/Images/Magnetic/FluxTubes/Shapes/CuboidParallelFlux.png"));
parameter SI.Length a = 0.01 "Width of rectangular cross-section";
parameter SI.Length b = 0.01 "Height of rectangular cross-section";
SI.MagneticFluxDensity B "Homogeneous flux density";
protected
parameter SI.Area A = a * b "Cross-sectional area orthogonal to direction of flux";
equation
B = Phi / A;
G_m = mu_0 * mu_r * A / l;
dGmBydx = -1 * mu_0 * mu_r * A / l ^ 2 * dlBydx;
annotation (
defaultComponentName = "force",
Documentation(info = "<html>\n<p>\nPlease refer to the enclosing sub-package <a href=\"modelica://Modelica.Magnetic.FluxTubes.Shapes.Force\">Force</a> for a description of all elements of this package and to <a href=\"modelica://Modelica.Magnetic.FluxTubes.UsersGuide.Literature\">[Ro41]</a> for derivation and/or coefficients of the equation for permeance G_m.\n</p>\n</html>"));
end CuboidParallelFlux;