• C++ Source code

    Now all my software is in zipped downloadable form. Features for each are explained. All code was written using Turbo C++ for DOS.

    Matrix Inversion: Inverts up to a 15 x15 matrix using Gauss Jordan elimination method. The rows are rearranged in each pass to use the maximum available pivot. The determinant is also calculated. If det=0 the calculation is terminated and a diagnostic statement is printed. Output to screen and ASCII text file called inv.txt

    Matrix Multiplication: Multiplies up to 15 x15 matrix. Output to screen and ASCII text file.

    Gaussian Elimination: Solves up to a 14 simultaneous equations of for Ax=b. Matrix need not be symmetric. Output to screen and ASCII text file.

    One dimensional finite element analysis solves the truss element problem for 1 d elasticity. It uses linear, 2 noded elements. Boundary conditions are handled using the penalty approach. It also handles thermal stress. Output to screen and ASCII text file.

    Two dimensional finite element analysis solves the truss element problem for 2d elasticity. It uses linear, 2 noded elements. Boundary conditions are handled using the penalty approach. It also handles thermal stress. Degree of freedom (DOF) numbering node i has 2*i-1as the x DOF, 2*i as the y DOF. Output to screen and ASCII text file.

    Three dimensional finite element analysis solves the truss element problem for 3d elasticity. It uses linear, 2 noded elements. Boundary conditions are handled using the penalty approach. It also handles thermal stress. Degree of freedom (DOF) numbering node i has 3*i-1as the x DOF, 3*i as the y DOF. Output to screen and ASCII text file.

    Heat transfer calculates a one dimensional sclaer field problem. It uses linear, 2 noded elements. Boundary conditions are handled using the penalty approach. It handles convection, and heat input . Output to screen and ASCII text file.

    Beam Solves the classic (2 Dof beam) or a three dimensional beam problem,  handles moments and forces, Output to screen and ASCII text file.

    Return to homepage of John Stearns