The StructuralMechanics package is written under Maple 10, classical worksheet by use of the operating system windows XP and adapted for Maple 13, standard worksheet.

With this package it is possible to calculate statical and dynamical problems of spatial beam structures including discrete masses and inertias in points, springs and dampers. Of cause you have to check the results of your calculations by use of this package. Further it is assumed that you are familiar with the theory of Structural Mechanics and the Finite Element Method.

Important: You don't need to manipulate the files expected the file Examples.mws and the variables "sourcepath" and "libpath" in the file SC.mws if you want to change the place of the source code and the place of the library. I can not test the package under unix systems and linux, so it is possible that you must change this variables under this operating systems.
It is recommended that nothing inside the procedures of the package is changed! It is alos recommended that you read the help to the package under StructuralMechanics

Installation
Extract the files of this package to the foulder "D:/maple/StructuralMechanics". If you choose another place you have to adjust some commands in the files SC.mws and Examples.mws. There are two methods for installing the package. Method 1 and method 2 are both sall work if you work with Maple 13. Method 2 is recommended if you work with legacy applications.
 
1. method:
1.1 Create the foulder c:\mylib\StructuralMechanics. Copy the files StructuralMechanics.lib, StructuralMechanics.ind and StructuralMechanics.hdb to this foulder.

1.2 Under maple complete the libname by the command 
libname := libname, "C:/mylib/StructuralMechanics/StructuralMechanics.lib":

1.3 Load the package by use the command
with(StructuralMechanics):

1.4 Additional load the following packages:
with(LinearAlgebra):with(plots):with(plottools):with(StringTools):

1.5 Write the command
?Examples for StructuralMechanics
to see examples for the usage of the package.

More help can be find under (in alphabetical order):
AutomaticSetParameter, beamsection, correctbeamdirector, deformation, diagramof, DOF, eigenform, eigenformD, eigensolution, Inertiarotate, InputParameter, material, Newmark, Principalinertia, showmotion, staticreaction, staticsolve, stressresultant, StucturalMechanics, structurplot and Systemmatrices.

2. method:
2.1 Create the foulder c:\mylib\StructuralMechanics. If you want to use another place for the library you have to adjust the variable libname in the worksheets of this package. This is described below.

2.2 Run Maple and open the worksheet SC.mws.

2.3 adjust the variables sourcepath:="D:/maple/StructuralMechanics" and libpath:="C:/mylib/StructuralMechanics" to the place where you have extracted this package and the place where the library should be saved.

2.4 Execute the complete worksheet.

2.5 Create a new worksheet.

2.6 Complete the libname by the command 
libname := libname, "C:/mylib/StructuralMechanics/StructuralMechanics.lib":
Adjust this command according to the variable libpath from step 2.3.

2.7 Load the package by use the command
with(StructuralMechanics):

2.8 Additional load the following packages:
with(LinearAlgebra):with(plots):with(plottools):with(StringTools):

2.9 Write the command
?Examples for StructuralMechanics
to see examples for the usage of the package.

More help can be find under (in alphabetical order):
AutomaticSetParameter, beamsection, correctbeamdirector, deformation, diagramof, DOF, eigenform, eigenformD, eigensolution, Inertiarotate, InputParameter, material, Newmark, Principalinertia, showmotion, staticreaction, staticsolve, stressresultant, StucturalMechanics, structurplot and Systemmatrices.

The following examples are included in the file Examples.mws. You can open this file and manipulate it to learn the usage of the StructuralMechanics package.

Example 1: Mass-Damper-Spring System
Here is a simple structure with only springs, dampers and node masses and without beam elements described. The eigensolution is calculated and graphical animated.

Example 2: Single Beam
This example shows a very simple plane structure with only one beam element. The structure is calculated for static load. The solution is graphical shown. Additional the eigensolution is calculated and graphical shown.

Example 3: Single Beam With Joint
Now an example of a plane beam with three elements with a single joint is shown. The structure is calculated for static load. The solution is graphical shown. Additional the eigensolution is calculated and graphical shown.

Example 4: 2-Dimensional Frame
This example shows a 2-dimensional frame with seven nodes, seven beam elements and two joints. The frame is calculated for static load. The deformation is graphical shown. Additional the eigensolution is calculated and some eigenmodes are graphical shown.

Example 5: 2-Dimensional Suspension Bridge
This is a more complexe structure with 362 free degrees of freedom. It is considerd for the case of static loads. Additional the eigenmodes are calculated and some of theem are graphical shown.

Example 6: 3-Dimensional Curved Bridge Under Dynamic Load
This is a 3-dimensional structure calculated for a staic and for a time dependent load. The eigenmodes are calculated. some specific eigenmodes are animated. The static deformation is grafical shown. And the time dependent deformation caused by the time dependent force is animated.

Example 7: 3-Dimensional Curved Bridge With Tuned Mass Damper Under Dynamic Load
This is the same structure like example 6 but copmleted by a tuned mass damper. 
