Function that returns the ThickEdgedOrifice.Geometry for a general cross section of the orifice.
function general import Modelica.Constants.pi; input SI.Area crossArea "Inner cross sectional area" annotation( Dialog); input SI.Length perimeter "Inner perimeter" annotation( Dialog); input SI.Area venaCrossArea "Cross sectional area of vena contraction" annotation( Dialog); input SI.Length venaPerimeter "Perimeter 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 general;