package CantileverStudy { private import ScalarValues::*; private import ShapeItems::*; private import MeasurementReferences::*; private import SI::*; // Mapping convention: mm, N, MPa; unitless numeric literals. part def RectangularBeam :> RectangularCuboid { attribute length : Real = 1000; attribute width : Real = 20; attribute height : Real = 40; attribute youngsModulus : Real = 210000; attribute poissonsRatio : Real = 0.3; attribute force : Real = -100; attribute elements : Integer = 20; } // Identity placement matches the separate B31 deck coordinates. part specimen : RectangularBeam { attribute coordinateFrame { attribute transformation : TranslationRotationSequence { attribute shift : Translation { attribute translationVector = (0,0,0) [mm]; } attribute turn : Rotation { attribute axisDirection = (0,0,1); attribute angle = 0 [deg]; attribute isIntrinsic = true; } attribute :>> elements = (shift,turn); } } } view beamView { expose specimen; } }