Installation

Running ONSAS

The user should follow these steps to install and run ONSAS:

  1. Download and install GNU-Octave or Matlab.
  2. Download the zip file of the latest ONSAS release from this site.
  3. Open GNU-Octave/Matlab and run one of the example scripts from the examples folder.

Visualizing results

You can process the outputs using Octave, however, the open-source software ParaView can be used to visualize the results produced by ONSAS (in vtk format).

Generation of geometries/meshes

The user can provide the geometry of the structure using GMSH's .msh format. GMSH is an open-source tool that allows to generate high-quality meshes.

Contributing

If you want to contribute you should create a fork and create a Pull Request in github.

Development tools

If you want to contribute any code it is recommended that you install miss-hit, to check the styling of the code before pushing. It is recommended but not mandatory to install poetry.

Doing this in linux's bash (see other OSs):

cd ONSAS/utils
python -m venv .venv
source .venv/bin/activate

Then install poetry, install miss-hit and check

pip install poetry
make install
make format_check