Skip to content

About

Analysis, stability and fabrication of single-layer geodesic domes and space trusses by matrix structural analysis, with a Qt graphical user interface. Validated against hand calculations, closed-form solutions, published benchmarks and OpenSees.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GeoDomeLab

CI Python 3.10+ License: all rights reserved

Analysis, stability and fabrication of single-layer geodesic domes by matrix structural analysis.

GeoDomeLab is a Python program with a Qt graphical user interface (GUI) for single-layer geodesic domes and other pin-jointed space trusses. The user defines the dome (frequency, radius, dome fraction and supports), the tube sections and the loads. The program generates the geometry, solves the structure by the direct stiffness method and checks every strut against AISC 360-16, the specification of the American Institute of Steel Construction (AISC). It also computes the buckling load, traces the large-displacement equilibrium path through the limit point, computes the natural frequencies and writes the cut list for fabrication. The program is checked against hand calculations, published benchmarks and OpenSees. This document describes version 2.0.0.

Browser version, no installation required: https://covdetbaba.github.io/GeoDomeLab/ (the first load takes about 10 s on a laptop and up to 40 s on a phone). The browser version runs the same core library through Streamlit and Pyodide. It provides the 6V example, the check of Model A against the hand calculation, and a user-defined dome from 1V to 6V. Details are given in web/README.md.

Demonstration video (3.5 min). The recording follows one complete example from input to output, first in the browser version and then in the desktop program. It shows the input, the analysis run, the selection of a strut, auto-sizing and the nonlinear limit point.

GeoDomeLab demonstration video: click to play

The video can be played at https://covdetbaba.github.io/GeoDomeLab/demo/, where a list of its segments is also given. It can also be downloaded as GeoDomeLab_demo.mp4 (31 MB) from the v2.0.0 release.

GeoDomeLab: axial forces in a 6V dome of 30 m span

Nonlinear load path of the star dome Natural modes Fabrication cut list
Load path Modes Cut list

Features

  • Geometry. Class I icosahedral domes from 1V to 10V are generated. The dome is truncated at the ring of nodes nearest to the requested dome fraction (0.25 to 0.95 in the GUI). A level base ring is taken instead when it lies no more than 0.06 R farther from the requested cut, where R is the sphere radius. Rings that leave a free edge of radius below 0.25 R are not used. Any other space truss can be opened from a model file or imported from comma-separated values (CSV) files.
  • Linear statics. Three-dimensional trusses are analysed by the direct stiffness method. Pinned, roller, elastic (spring) and per-node supports are available.
  • Loads. Self-weight, cladding dead load, snow (balanced or unbalanced), live load, wind normal to the surface, and point and nodal loads. A uniform temperature change and support settlements form the self-straining load T. Six default strength combinations (LC1 to LC6) follow basic combinations 1 to 5 of Section 2.3.1 of ASCE 7-16, the load standard of the American Society of Civil Engineers (ASCE), for the loads D, S, L and W. The L terms that ASCE 7-16 adds to combinations 3 and 4 are not included and must be added by the user. A truss imported from CSV files starts instead with a set that contains them. An unfactored service combination (SLS) is used for the deflection check. Every factor is editable, rows can be added and removed, and the table can be reset to the default set.
  • Member design. Every strut is checked for tension (AISC 360-16, Section D2) and compression (Section E3, with Section E7 for slender round hollow structural sections). The checks are enveloped over the strength combinations.
  • Linear buckling. The eigenvalue problem [K + λ K_g] φ = 0 gives the critical load factor λ_cr and the mode shapes.
  • Geometric nonlinear analysis. Corotational bar elements are used, and the path is traced by load control, displacement control or Crisfield's arc-length method. The analysis captures limit points and snap-through, and P-Delta and linear paths are computed for comparison.
  • Imperfection study. Limit loads are computed for domes whose initial shape follows a buckling mode, for a list of amplitudes.
  • Modal analysis. Natural frequencies and effective modal mass are computed with a lumped or consistent mass matrix, and the mode shapes are animated.
  • Fabrication. A strut cut list with chord factors and axial angles, hub types, panel types and dihedral angles is produced and can be exported to CSV.
  • Parameter study. Steel mass, utilisation, λ_cr and deflection are computed over a range of frequencies, radii and dome fractions.
  • Auto-sizing. The strut families are sized by fully stressed design.
  • Output. The program writes a self-contained HyperText Markup Language (HTML) report, CSV tables, Portable Network Graphics (PNG) figures and JavaScript Object Notation (JSON) model files. It also writes Drawing Exchange Format (DXF) geometry for computer-aided design (CAD) and standalone OpenSeesPy scripts.
  • Built-in checks. The verification suite, the hand-calculation validation and the OpenSees cross-check are run from the Validation menu.

Quick start

GeoDomeLab requires Python 3.10 or newer.

git clone https://github.com/covdetbaba/GeoDomeLab.git
cd GeoDomeLab
pip install -r requirements.txt
python run_geodome.py

Alternatively, the package can be installed as a command:

pip install -e .
geodomelab                 # the same as: python -m geodome

To use conda, create the environment with conda env create -f environment.yml and activate it with conda activate geodomelab.

In Spyder, open run_geodome.py and press F5. If the window stops responding, set Tools > Preferences > IPython console > Graphics > Backend to Qt (or Automatic) and restart the kernel.

The following command-line options are also accepted by geodomelab and python -m geodome:

python run_geodome.py --verify               # the 75-check verification suite
python run_geodome.py --demo                 # the worked case study, no window
python run_geodome.py --batch 6 15 0.5 out   # analyse a dome, write all results to out/
python run_geodome.py --help

The option --batch analyses a dome of the given frequency, radius and dome fraction with the default sections, loads and combinations: linear statics of every combination, the member checks and linear buckling. It writes the CSV tables, a text summary, the PNG figures and the HTML report to the given folder. It does not run the nonlinear, modal or fabrication analyses.

The optional OpenSees cross-check requires openseespy, either in the current Python environment (pip install openseespy, or pip install -e ".[opensees]") or in a separate Python interpreter, as described in Section 1 of the user guide.

The user guide is provided in docs/USER_GUIDE.md.

Reproducing the checks

A single command runs every test, the verification suite, both hand-calculation validations and, when OpenSees is installed, the quick OpenSees cross-check:

python run_all_checks.py

The script prints one line per step followed by a summary table. It exits with code 0 when every step passes or is skipped, and with code 1 otherwise. Qt runs offscreen, so no window opens. The run of 2 December 2026 (Windows, Python 3.13), on the code of the v2.0.0 release, gave the following results:

Step Result
Unit and GUI tests (17 files) 332 of 332 pass, 1 skipped
Verification suite (run_geodome.py --verify) 75 of 75 pass
Hand calculation, Models A and B (validation/run_validation.py) 80 of 80 pass
Hand-calculation file F1-F10, internal checks (validation/hand_calc_ext.py) 120 of 120 pass
Program versus hand calculation F1-F10 (validation/run_validation_ext.py) 422 of 422 pass
OpenSees cross-check, quick set (validation/opensees_crosscheck.py --quick) 486 of 486 pass
Overall PASS, 1515 of 1515 checks

The skipped test compares two ways of running OpenSees and requires both of them. When OpenSees is not found, the cross-check step is reported as skipped, and the tests in tests/test_opensees.py that require OpenSees are counted as skipped tests. Neither is counted as a failure. The same command runs on GitHub Actions for every push, on Ubuntu and Windows with Python 3.11 and 3.12.

Validation summary

Each check is described in docs/VALIDATION.md. The values below are taken from the files in validation/output/ and from the run reported above.

Check Reference Comparisons Maximum difference
Built-in verification suite Closed-form bars and tripod, published chord factors, Euler and Maxwell counts, method of sections, membrane theory, identities 75 Closed forms 2.4e-16 (relative), membrane theory 2.6 % (an approximation, with a tolerance of 5 %)
Linear statics of two small domes, Models A and B Hand calculation (validation/hand_calc.py) 80 1.2e-13 %
Temperature, settlement, springs, force method, von Mises path, frequencies, 2V angles, wind field, AISC E3/E7/B4.2 strength (F1-F10) Hand calculation (validation/hand_calc_ext.py), which does not import the program 422 Linear 1.2e-13, modal 7.0e-16, nonlinear 4.9e-10 (relative)
24-member star dome snap-through Greco & Venturini (2006), Iu & Bradford (2012) First limit point and first zero-load state Limit point at 0.768 cm (published: near 0.75 cm), zero load at 1.88 cm with node 2 displaced 0.116 cm upward (published: about 19 mm and 1.16 mm)
von Mises two-bar truss Exact closed form derived in this work (the problem of Pecknold et al. 1985) Part of F6 2.8e-15 relative to P* over the 63 traced points of the path, 4.9e-10 for the apex deflection at the refined limit point
Chord factors 2V to 8V The Domerama chord-factor chart (2V to 8V) and the closed forms for 2V 2V and 4V in the suite, 2V to 8V in the tests 2V to 6V within the printed decimals. For 7V and 8V, the largest group of each printed row agrees within 1e-5 (maximum 8.5e-6), and the smaller groups that the chart merges agree within 6e-5 (maximum 4.7e-5)
Statics, modes and nonlinear paths of 1V to 8V domes and benchmarks OpenSees 3.8.0 (corotTruss, eigen) 1069 Statics 2.19e-13, frequencies 2.72e-13, nonlinear λ 4.14e-11 (normwise, 4.38e-11 pointwise)

The OpenSees model shares only the input data with GeoDomeLab: nodes, members, E and A, supports, the factored load vector, thermal strains, settlements and masses. The OpenSees cross-check does not test the load generation, the AISC checks or λ_cr. The hand calculations cover the dead, snow and wind load generation (Models A and B, F9), the AISC checks (Model A, F10) and λ_cr (Model A and the von Mises two-bar truss of F6). The unbalanced snow pattern and the default combination factors are checked by unit tests only. The table of wind pressure coefficients (Cp) is an illustrative simplification.

Examples

The Examples menu loads prepared models with known solutions. A tooltip on each entry states what the example checks.

Example Description
Validation Model A, 1V pentagonal cap 3 free degrees of freedom (DOFs), solved by hand with every matrix written out
Validation Model B, 1V dome on its lower ring 18 free DOFs, solved by hand with five-fold symmetry
von Mises two-bar truss Snap-through, with λ_cr overestimating the true limit load by a factor of 5.2
24-member shallow star dome The classical snap-through benchmark, with λ_cr equal to 4.8 times the true limit load
Planar three-bar truss Temperature and settlement in an indeterminate truss, checked by the force method
Case study, 6V dome, 30 m span The worked example of the report

The same models are stored in examples/models/*.json and can be opened with File > Open. The Examples menu builds the models in code, so it does not require these files. The examples/ and validation/ folders are not part of the installed package. They are used in place from the cloned repository, which pip install -e . retains. The folder examples/csv_truss/ contains a small pyramid roof in the CSV import format. The script examples/worked_example.py analyses, auto-sizes and reports the 6V case study without opening the window (python run_geodome.py --demo).

Project layout

GeoDomeLab/
├── run_geodome.py            launcher: GUI, --verify, --demo, --batch
├── run_all_checks.py         runs every test and validation, prints PASS/FAIL
├── pyproject.toml            package metadata (pip install -e .)
├── requirements.txt          pip requirements
├── environment.yml           conda environment
├── geodome/                  the program
│   ├── geometry.py           Class I geodesic geometry, custom trusses
│   ├── model.py              DomeModel, load cases, JSON files
│   ├── materials.py          steel and aluminium grades
│   ├── sections.py           circular hollow section catalogue
│   ├── loads.py              dead, snow, live, wind and nodal loads
│   ├── solver.py             direct stiffness solver, geometric stiffness
│   ├── buckling.py           AISC 360-16 checks, linear buckling
│   ├── nonlinear.py          corotational path tracing, imperfections
│   ├── modal.py              natural frequencies and modal mass
│   ├── fabrication.py        cut list, hubs, panels, angles
│   ├── study.py              parameter studies
│   ├── optimize.py           fully stressed auto-sizing
│   ├── benchmarks.py         the example models and their reference answers
│   ├── csv_import.py         CSV truss import
│   ├── cad.py                DXF export
│   ├── opensees_bridge.py    OpenSees cross-check and script export
│   ├── postprocess.py, plotting.py, report.py, verification.py, units.py
│   ├── __main__.py           python -m geodome
│   └── gui/                  Qt window and its add-on views
├── examples/                 worked example, model files, CSV example, supplementary scripts for the final report
├── validation/               hand calculations, comparisons, OpenSees cross-check
│   └── output/               the comparison tables (Markdown and CSV)
├── tests/                    unit and GUI tests (run alone or with pytest)
├── web/                      browser version (Streamlit application, GitHub Pages build script)
├── docs/                     user guide, validation, theory, images
├── .github/workflows/ci.yml  GitHub Actions
├── CITATION.cff
└── LICENSE

Documentation

  • User guide: every menu, panel and tab, the input formats, a step-by-step first analysis, and troubleshooting.
  • Validation: the verification and validation of the program, with the numerical results.
  • Theory: the methods and equations, with references.

Citation

Users of GeoDomeLab or of its results are asked to cite it. GitHub displays a "Cite this repository" button generated from CITATION.cff. The reference in text form is:

Babazade, J. (2026). GeoDomeLab: analysis, stability and fabrication of single-layer geodesic domes by matrix structural analysis (Version 2.0.0) [Computer software]. https://github.com/covdetbaba/GeoDomeLab

License

All rights reserved by Jovdat Babazade. GeoDomeLab may be used free of charge for the user's own calculations, study, teaching and research, with credit to the author. The credit must take the form "GeoDomeLab, developed by Jovdat Babazade" together with the repository address. GeoDomeLab may not be republished or sold, and it may not be claimed as the user's own work. The full terms are given in LICENSE.

Engineering disclaimer

GeoDomeLab is a tool for structural analysis and preliminary design. It is provided as is, with no warranty. Every result must be checked. A qualified engineer must review and approve any design and is responsible for the final structure under the codes that apply to it.

Author

Jovdat Babazade, Louisiana State University (LSU).

GeoDomeLab began as the final project of CE 7405, Statically Indeterminate Structures, at LSU (2026). It was developed with the aid of an artificial intelligence (AI) coding assistant, as the course policy allows. The disclosure is given in docs/ai_acknowledgment.md.

About

Analysis, stability and fabrication of single-layer geodesic domes and space trusses by matrix structural analysis, with a Qt graphical user interface. Validated against hand calculations, closed-form solutions, published benchmarks and OpenSees.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages