/2D-frame

2-dimensional structural analysis program

Primary LanguageTypeScript

Structural-analysis-program

A 2-dimensional structural frame analysis program written in FORTRAN95.

This repo is a continuation of structural analysis which was written using plain html with a temptlating engine, no front end libraries or frameworks and no database.

The story

The FORTRAN program was built while in university for a course called Structural Analysis II. It required the user to write out the information in an input text file, execute the program which would create an output text file for the user with all the result information.

My intention was to create a web-based user interface for the FORTRAN program. As the user enters the information for the structure, a 2D visual representation is drawn in real time of the structure. Upon submitting the form, the server executes the FORTRAN program executable with the submitted form data. The FORTRAN program outputs the results in a JSON format which the server then returns to the front end client. Finally, the client then displays the results visually to the user.

Screenshot

Structure input form

The input form is where the user input the coordinates of the joints, the members, the supports and the loads that are applied to the structure.

Data Flow

Tech Stack

Front end:

Back end: