Frame Analysis with Excel – 4, 2D frame analysis

Continuing from: Frame Analysis with Excel – 3, Continuous beam or frame

Download Frame1.zip – the download file includes complete open source code.

The continuous beam spreadsheet presented in the previous post has been modified to deal with 2D frames where any nodes may be connected, and to deal with much bigger structures.  The changes that have been made are:

  1. The input has been rearranged to allow (in principle) data to be limited only by the number of rows in the spreadsheet.  I say “in principle” because the size of the problem that can be handled is still limited by Excel’s matrix handling capabilities, and for Excel 2003 and earlier this is a restrictive limitation, but this will be fixed in future versions.
  2. The routine for forming the global stiffness matrix no longer assumes that beams are connected end to end in a single line, any 2D arrangement of beams is now possible.
  3. The matrix arithmatic operations are now carried out in VBA, rather than on the spreadsheet.

Screenshots below show the new input screens, and the results of the analysis of a 16 bay truss structure, compared with the analysis of the same structure in Strand7.  Note that in the current version this structure is too large for Excel 2003 and earlier, but in the next version a VBA routine for the solution of the stiffness matrix equations will be incorporated, which will allow the analysis of much larger structures.

Input of beam properties, node coordinates, node restraints, and beam connections and property types

Input of beam properties, node coordinates, node restraints, and beam connections and property types

 

Input of member loads

Input of member loads

Inclined truss

Inclined truss

Results of truss analysis compared with Strand7 results for the same structure

Results of truss analysis compared with Strand7 results for the same structure

About these ads
This entry was posted in Beam Bending, Excel, Frame Analysis, Newton, Uncategorized, VBA and tagged , , , . Bookmark the permalink.

14 Responses to Frame Analysis with Excel – 4, 2D frame analysis

  1. Luke Epp says:

    Hi Doug,

    I developed a similar 2D Frame / Truss analysis software as a term project at university which includes graphical representation of input and deflected structure. The analysis is all performed in VBA. Shear and P-delta deformations are also considered in the analysis. Thought you might be interested in seeing it – if so, drop me a line.

    Luke

    Like

    • Mark Bettney says:

      Luke,

      I am interested in developing a spreadsheet/program that will analyze open web steel joists, and code check them to the Canadian Code, for in-house use at my consulting firm.

      I know all the necessary code checking, but not much about the programming. If you already have the joist analysis program done, you are already 90% there.

      Are you for hire?

      Mark Bettney

      Like

    • Sanjay says:

      I am interested in understanding how your spreadsheet was designed to perform 2D frame analysis. I have some knowledge of VBA and VB and I have created a few spreadsheets as well. I will be oblidged if you can send your spreadsheet to me.

      Like

      • dougaj4 says:

        Sanjay – where it says: “Download Frame1.zip” at the top of the post, click there.

        Also click on : Frame Analysis with Excel – 5; Large frames in Excel 2003 « Newton Excel Bach, not (just) an Excel Blog (Edit) in the comments or use the search box for later versions.

        Like

  2. Pingback: Frame Analysis with Excel - 5; Large frames in Excel 2003 « Newton Excel Bach, not (just) an Excel Blog

  3. a says:

    just use staad guys…

    Like

  4. dougaj4 says:

    “just use staad guys…”

    Sure, use Staad if you like it.

    But it won’t teach you much about how it works.

    Like

  5. hadwa says:

    there is an error on x64 excel with “kernel32″

    Like

    • dougaj4 says:

      hadwa – I’m still running 32 bit Excel, so that will be hard for me to resolve. I’ll have a search to see if there is any useful information out there, but if anyone else can provide advice on VBA problems with 64 bit Excel I’d be very grateful.

      Like

      • hadwa says:

        problem solved, you need to change code at begining of module (add PtfSafe):
        Private Declare PtrSafe Function GetFrequency Lib “kernel32″ _
        Alias “QueryPerformanceFrequency” (Frequency As Currency) As Long

        Private Declare PtrSafe Function GetCounter Lib “kernel32″ _
        Alias “QueryPerformanceCounter” (counter As Currency) As Long

        Like

      • dougaj4 says:

        Thanks hadwa.

        Where did you find that?!

        Like

  6. Pingback: Frame Analysis with Excel | Newton Excel Bach, not (just) an Excel Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s