Spring I
This is an example for a spring-mass simulation. Its purpose is to learn about discrete elements. A linear elastic material for discrete springs is used.
https://www.dynaexamples.com/introduction/intro-by-a.-tabiei/elements/spring-i
https://www.dynaexamples.com/@@site-logo/LS-DYNA-Examples-Logo480x80.png
Spring I
This is an example for a spring-mass simulation. Its purpose is to learn about discrete elements. A linear elastic material for discrete springs is used.
*BOUNDARY_PRESCRIBED_MOTION_NODE *BOUNDARY_SPC_NODE *CONTROL_TERMINATION *DATABASE_BINARY_D3PLOT *DATABASE_DEFORC *DATABASE_HISTORY_NODE_SET *DATABASE_NODOUT *DEFINE_CURVE *ELEMENT_DISCRETE *ELEMENT_MASS *END *KEYWORD *MAT_SPRING_ELASTIC *NODE *PART *SECTION_DISCRETE *SET_NODE_LIST *TITLE
*KEYWORD *TITLE SPRING-MASS Simulation $ $ learn discrete elements, material for discrete elements $ units: mm, s, ton, N $ A. Tabiei, 3/10/98 $ *CONTROL_TERMINATION $ ENDTIM 10.000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *DATABASE_HISTORY_NODE_SET 1 *SET_NODE_LIST 1 2 3 4 *DATABASE_NODOUT 0.101E-01 *DATABASE_DEFORC 0.101E-01 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *DATABASE_BINARY_D3PLOT $ DT/CYCL 0.100E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *PART Spring $ PID SID MID 2 3 2 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *SECTION_DISCRETE $ SID DRO KD V0 CL FD 3 0 0.000E+00 0.000E+00 0.000E+00 0.000E+00 $ CDL TDL 0.000E+00 0.000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *MAT_SPRING_ELASTIC $ MID K 2 0.100E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *NODE $ NODE X Y Z 1 0.000000000E+00 0.000000000E+00 0.000000000E+00 2 0.100000000E+02 0.000000000E+00 0.000000000E+00 3 0.200000000E+02 0.000000000E+00 0.000000000E+00 4 0.300000000E+02 0.000000000E+00 0.000000000E+00 5 0.400000000E+02 0.000000000E+00 0.000000000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *ELEMENT_DISCRETE $ EID PID N1 N2 VID S PF OFFSET 1 2 1 2 0 0.1000000E+01 0 0.0000000E+00 2 2 2 3 0 0.1000000E+01 0 0.0000000E+00 3 2 3 4 0 0.1000000E+01 0 0.0000000E+00 4 2 4 5 0 0.1000000E+01 0 0.0000000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *ELEMENT_MASS $ EID NID MASS 5 2 5.0000002E-04 6 3 5.0000002E-04 7 4 5.0000002E-04 8 5 5.0000002E-04 9 1 5.0000002E-04 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *BOUNDARY_SPC_NODE $ NID/NSID CID DOFX DOFY DOFZ DOFRX DOFRY DOFRZ 1 0 1 1 1 1 1 1 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *BOUNDARY_PRESCRIBED_MOTION_NODE $ NODE DOF VAD LCID SF 5 1 2 1 1.00E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *DEFINE_CURVE 1 0.00000000000000E+00 0.0000000000000E+00 10.0000000000000E+00 10.000000000000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *END