Function that returns the ThickEdgedOrifice.Geometry for a rectangular cross section of the orifice.
function rectangular
import Modelica.Constants.pi;
input SI.Length width "Inner width of rectangular orifice" annotation(
Dialog);
input SI.Length height "Inner height of rectangular orifice" annotation(
Dialog);
input SI.Length venaWidth "Width of vena contraction" annotation(
Dialog);
input SI.Length venaHeight "Height of vena contraction" annotation(
Dialog);
input SI.Length venaLength "Length of vena contraction" annotation(
Dialog);
output ThickEdgedOrifice.Geometry geometry "Geometry of circular thick edged orifice";
end rectangular;