Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
Login with GitLab


Finite Element Analysis Module for Truss Structures
(18444 downloads for this version - 18444 downloads for all versions)
Marcos Cesar Ruggeri
Owner Organization
Universidad Tecnologica Nacional Grupo de Simulacion y Mecanica Computacional
Samuel Gougeon
Administrator ATOMS
Marcos Cesar Ruggeri
Creation Date
June 19, 2011
Source created on
No source archive has been provided for this toolbox version.
Binaries available on
Scilab 5.4.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 5.5.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 6.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 6.1.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("CEMEF-UTN")
This module implements the 3D Linear Bar Element (bar3d) formulation to solve
truss structures for linear static stress-strain analysis.

Input data is imported from a .xls file, where the table of nodes, table of
elements, nodal external loads vector and boundary conditions are stored.
This program calculates the stiffness matrix in local coordinates kL (element
i). Once the transformation matrix associated to the element is obtained, the
stiffness matrix in global coordinates kG is also calculated. The table of
connectivity is automatically generated for the assembly process and then
computes the complete stiffness matrix of the structure. Boundary conditions are
introduced on the .xls sheet in order to remove the singularity of the stiffness
matrix. After solving the matrix system, the nodal displacements vector u0 and
the nodal loads vector P0 (external loads and reactions) are calculated.
Finally, the program returns to the element formulation by transforming the
global displacements into local ones to obtain the bar stresses sigma of the
element and design the each member of the structure. A plot of the deformed and
non deformed structure in static equilibrium is also shown with a sigma11
contour plot.

This program only considers concentrated loads on the nodes. In case there be
distributed loads or thermal loads, they must be calculated separately and then
included into the nodal external loads vector. Flexion and shear effects are not
considered due to the element formulation, which satisfy the hypothesis of the
Finite Element Method (FEM).

More information:            
Files (7)
[1.01 MB]
OS-independent binary for Scilab 5.4.x

[966.94 kB]
OS-independent binary for Scilab 6.0.x

[966.94 kB]
OS-independent binary for Scilab 6.1.x

[1.01 MB]
OS-independent binary for Scilab 5.5.x

[1.01 MB]
Miscellaneous file
CEMEF-UTN Toolbox (ATOMS format)
[254.37 kB]
Miscellaneous file
High Voltage Tower Example
[711.82 kB]
Miscellaneous file
Project Report (Spanish)
News (0)
Comments (3)     Leave a comment 
Comment from Samuel Gougeon -- July 16, 2012, 03:36:16 AM    
Dear Marcos,

I have taken the freedom to fully package your CEMEF-UTN module in order to be able to use
it under Scilab 5.4. Here is the list of tasks done:

 - The whole packaging has been set, copying and adapting the toolbox_skeleton template.

 - The warning from inpbar3d()) has been removed (file variable renamed filename).

 - The help was available only as heading comments in each macro. 
   I have translated them (in heading comments) them in order to comply with
   the format required by help_from_sci(). Then ~\help\en_US\*.xml files have been
   generated with help_from_sci(). Finally, ~\jar\*.jar has been generated with the
   main ~\builder.sce.
   So, now, the help is available in the Scilab help browser.
   Now it can also easily be generated in HTML format 
   (if you want to publish it online).

 - The example given the your PDF has been used to build a demo. 
   This one has been integrated into the Scilab demo system.
   Doing that, i have been compelled to review and modify some 
   graphics commands inside both plotting macros, in order to 
   comply with Scilab 5.4.

The result from your own work is quite nice :-)
How To use the package:
 - Download it from
   I will keep it there as long as you do not push it on ATOMS (on this page)
 - Extract the directory and store it into the SCI\contrib\ directory
 - Start or restart Scilab 5.3 or 5.4
 - In the console, a Menu Modules should be available. 
   Select cemef_utn 1.1-6  through the menu
   This action loads your module into Scilab
   The same action can be done with 
   exec("SCI\contrib\cemef_utn 1.1-6\loader.sce",-1)
     - The library of macros is loaded
     - Help pages are loaded
     - The demo is loaded
 - Open the help browser: help  // in console, or through the desktop
   or directly: help inpbar3d  // for instance
   Your module is listed at the bottom on the left list
 - Open the demo browser: Menu ?/demonstrations
   Your demo is listed at the bottom. Clicking on it => High Voltage tower
   and enjoy!

The only thing that you may do is to update your example_hvtower.pdf.

I hope now that this nice module will be kep alive with your own task forces :-)

Best regards
Answer from Samuel Gougeon -- July 16, 2012, 03:48:06 AM    
>    So, now, the help is available in the Scilab help browser.
>    It can also easily be generated in HTML format 
>    (if you want to publish it online).

It is also possible to copy ~\help\en_US\*.xml files into ~\help\es_ES
and translate them into your native language, in order to generate help
pages in spanish for your local users. This is one of the advantages
compared to heading comments in sci files.

Comment from Yann DEBRAY -- February 6, 2017, 09:51:08 AM    
Dear Samuel,

I pushed your packaged toolbox to ATOMS, in order to make it accessible directly from
Thank you for your initiative.

Comment from Samuel Gougeon -- January 5, 2018, 07:16:46 PM    
Version 1.1.6 is now released for Scilab 5.4 and Scilab 6.0.
 - builder.sce updated (for Scilab 6)
 - Help pages :
   - See also sections removed: they were just a copy of the full list,
     that is directly browsable.
   - Examples sections added: they execute the demo, where all functions are used.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.