Spring II
This is an example for a spring-mass simulation. Its purpose is to learn about discrete elements. A nonlinear elastic material with user defined force-displacement curve is used.
https://www.dynaexamples.com/introduction/intro-by-a.-tabiei/elements/spring-ii
https://www.dynaexamples.com/@@site-logo/LS-DYNA-Examples-Logo480x80.png
Spring II
This is an example for a spring-mass simulation. Its purpose is to learn about discrete elements. A nonlinear elastic material with user defined force-displacement curve 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_NONLINEAR_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_NONLINEAR_ELASTIC $ MID LCD 2 2 $---+----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.0 0.0 10.0000000000000E+00 10.00000000000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *DEFINE_CURVE 2 $ DISPLACEMENT FORCE -2.5000000000000E+00 -0.20000000000E+00 -2.0000000000000E+00 -0.17500000000E+00 -1.5000000000000E+00 -0.15000000000E+00 -1.0000000000000E+00 -0.10000000000E+00 -0.5000000000000E+00 -0.02500000000E+00 0.0 0.0 0.50000000000000E+00 0.025000000000E+00 1.00000000000000E+00 0.100000000000E+00 1.50000000000000E+00 0.150000000000E+00 2.00000000000000E+00 0.175000000000E+00 2.50000000000000E+00 0.200000000000E+00 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *END