Skip to content
This repository was archived by the owner on Feb 23, 2025. It is now read-only.
/ f2 Public archive

2d frame analysis app; for educational purposes only.

License

Notifications You must be signed in to change notification settings

aatango/f2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f2

An implementation of the direct stiffness method for linear analysis of planar frames.

This repository is intended to host the underlying logic needed for the calculation, as well as a simple CLI. GUI frontends will be hosted on their own, even if directly referencing to this library.

It is currently early in development; no structure can, as of yet, be analysed.

Getting started

Setup

Run "make"; "make clean" to delete the program.

Until otherwise specified, the default will be to compile without any optimisations, with debugging information, and to run the tests afterwards.

Usage

The following represents the current design intent, and is not yet implemented!

Run f2 with at least two arguments: one .f2g file, which includes all the geometrical definitions; and, at least, one .f2l file, defining a single load case.

In the end, a quick summary of the calculation is shown in the terminal, with more detailed descriptions being writen to output files. Should more than one load case be input, these conclusions include both results for each given load case, and a single, unfactored, result combination of all of included cases.

FAQ

Why?

There are two main motivations for this endeavour: firstly, the desire to procude a "non-trivial" project to help me develop my software development skills; it also has the long term goal of becoming an alternative to an educational tool that existed at the time I was studying structural engineering (which seems to have since gone behind a registration wall).

To-do

Get a minimal viable product out, then add some extra functionality without breaking compatibility, before updating to planar frame analysis.

The following is a non-exhaustive roadmap:

  1. Planar truss (1 material, and 1 cross-section);
    • + m materials;
    • + n cross-sections;
  2. Planar frame (with all of the above);
    • + beam loads;

About

2d frame analysis app; for educational purposes only.

Topics

Resources

License

Stars

Watchers

Forks