function BeamJCalc input beamCrossSectionType.xtype crossSectionType; input Real height = 0.01; input Real width = 0.01; input Real d = 0.1; input Real t = 0.001; output Real J "Torsion Constant"; end BeamJCalc;