Skip to content

luclaurent/SILEX-light

Repository files navigation

SILEXlight

License: LGPL v3 pypi release PyPI - Downloads

CI-ubuntu CI-mac-os Wheels and sdist

SILEX is a finite element code written in Python language, eventually with a Fortran part in order to speed up the computations.

  • The Python language is used to define parameters, to read the mesh, to solve the system, to write the results.
  • The Fortran language is eventually used for elemental computations as well as to build the stiffness matrix.
  • The open source software Gmsh is used to create the meshes as well as to show the results.
  • The only free routines available on-line concern the 4-node tetrahedral element and the 3-node triangle element in the case of linear static analysis. They can be adapted to other elements.
  • The following proposed applications are available for education purpose. They allow to understand the code, in order to perform other computations for other mechanical systems. Later on, the user can develop new elements or new method, and thus extend the possibilities of the code.
  • The following course document available on-line (here) gives a programming introduction.

Usage

  • A complete example of the use of SILEX on a piston is available here in english (french version)
  • A example pratical work for education is provided on a landing gear fork here in english (french version)

Installation

Classical installation by executing

pip install --user .

Editable installation for developing

export SETUPTOOLS_ENABLE_FEATURES="legacy-editable"
pip install --user -e .

Run tests

The unit tests can be ran by using the following command

pytest --pyargs SILEXlight.tests  

License

SILEXlight is available under the LGPLv3 license. See the LICENSE file for more info.