HOW THE BEAMCAD PROGRAM WAS DESIGNED

 

36.8.1 Objectives:

[an error occurred while processing this directive]

 

• The program is expected to aid the design of beams by taking basic information about beam geometry and material, and then providing immediate feedback. The beam will be simply supported, and be under a single point load. The program should also provide a printed report on the beam.

 

36.8.2 Problem Definition:

[an error occurred while processing this directive]

 

• The basic theory for beam design is available in any good mechanical design textbook. In this example it will not be given.

 

• The inputs were determined to be few in number: Beam Type, Beam Material, Beam Thickness, Beam Width, Beam Height, Beam Length, Load Position, Load Force.

 

• The possible outputs are Cross Section Area, Weight, Axial Stiffness, Bending Stiffness, and Beam Deflection, a visual display of Beam Geometry, a display of Beam Deflection.

 

36.8.3 User Interface:

[an error occurred while processing this directive]

 

36.8.3.1 - Screen Layout (also see figure):

• The small number of inputs and outputs could all be displayed, and updated, on a single screen.

 

• The left side of the screen was for inputs, the right side for outputs.

 

• The screen is divided into regions for input(2), input display and prompts(1), Beam Cross section(3), Numerical Results(4), and Beam Deflection(5).

 

 

 

36.8.3.2 - Input:

• Current Inputs were indicated by placing a box around the item on the display(1).

 

• In a separate Prompt Box(2), this input could be made.

 

• The cursor keys could be used to cursor the input selector up or down.

 

• Single keystroke operation.

 

• Keys required: UP/DOWN Cursors, F1, F2, F4, numbers from ‘0’ to ‘9’, ‘.’, ‘-’, and <RETURN>. In the spirit of robustness it was decided to screen all other keys.

 

36.8.3.3 - Output:

• Equations, calculations, material types, and other relevant information were obtained from a text.

 

• Proper textual descriptions were used to ensure clarity for the user.

 

• For a printed report, screen information would be printed to a printer, with the prompt area replaced with the date and time.

 

36.8.3.4 - Help:

• A special set of help information was needed. It was decided to ensure that the screen always displays all information necessary(2).

 

36.8.3.5 - Error Checking:

• Reject any input which violates the input limits.

 

• A default design was given, which the user could modify.

 

• An error checking program was created, which gives error messages.

 

 

36.8.3.6 - Miscellaneous:

• The screen was expressed in normalized coordinates by most sub-routines.

 

• Colors were used to draw attention, and highlight areas.

 

 

36.8.4 Flow Program:

[an error occurred while processing this directive]

 

 

36.8.5 Expand Program:

[an error occurred while processing this directive]

 

• The routines were written in a top down fashion, in a time of about 30 hours. These routines are listed below.

 

 

• Condition and error flags were used to skip unnecessary operations, and thus speed up response. A response of more than 0.5 seconds will result in loss of attention by the user.

 

 

36.8.6 Testing and Debugging:

[an error occurred while processing this directive]

 

• The testing and debugging was very fast, with only realignment of graphics being required. This took a couple of hours.

 

36.8.7 Documentation

[an error occurred while processing this directive]

 

36.8.7.1 - Users Manual:

• The documentation included an Executive Summary of what the Program does.

 

• The Objectives of the program were described.

 

• The theory for beam design was given for the reference of any program user, who wanted to verify the theory, and possible use it.

 

• A manual was given which described key layouts, screen layout, basic sequence of operations, inputs and outputs.

 

• Program Specifications were also given.

 

• A walk through manual was given. This allowed the user to follow an example which displayed all aspects of the program.

 

36.8.7.2 - Programmers Manual:

• Design Strategy was outlined and given.

 

• A complete program listing was given (with complete comments).

 

• Complete production of this Documentation took about 6 hours.

 

 

 

36.8.8 Listing of BeamCAD Program.

[an error occurred while processing this directive]

 

• Written for turbo ‘C’

 

[an error occurred while processing this directive]