Skip to content

FredLavoie/structural-analysis

Repository files navigation

Structural-analysis-program

A 2-dimensional structural analysis program (frames and trusses) written in Fortran95.

Note: This repo is essentially deprecated. The development of this project has been moved to a new repo (2D Frame) to take advantage of a modern front end library and to add a database.

The story

The Fortran program was built when I was in university. It required the user to write out the information in an input txt file, execute the program which would create an output file for the user with all the result information.

My intention was to create a web-based user interface. The MVP was to have the client input the information into the form, have the server create the input file (txt) with the information, then execute the program and server the results back to the client.

Over time, I'd like add visual diagrams of the results and potentially host it on Heroku.

Back-end

The back-end server is built using node.js and Express.js - a node.js framework.

Using fs and child_process, the server takes the information submitted by the front-end input form and writes the input file, then executes the Fortran program. The Fortran program then writes an output file which the server sends back to the front-end to be displayed to the client.

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.

Flow of Data

Getting started

  • clone repository to your local machine
  • in terminal, run npm install in the project directory
  • in terminal, run npm start in the project directory
  • navigate to localhost:8080 in your browser

Dependencies

About

2-dimensional structural analysis program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published