Frame Analysis Resources

I recently discovered:

Matrix Structural Analysis, 2nd Edition, by McGuire, Gallagher, and Ziemian.

which is available for free download:

Description

The aims of the first edition of Matrix Structural Analysis were to place proper emphasis on the methods of matrix structural analysis used in practice and to lay the groundwork for more advanced subject matter. This extensively revised Second Edition accounts for changes in practice that have taken place in the intervening twenty years. It incorporates advances in the science and art of analysis that are suitable for application now, and will be of increasing importance in the years ahead. It is written to meet the needs of both the present and the coming generation of structural engineers.

The book includes a link to a free Matlab based frame analysis program:

MASTAN2

For those without Matlab, there is a compiled version (also free).

Posted in Finite Element Analysis, Frame Analysis, Newton | Tagged , , | 1 Comment

xlwSciPy update for Python 3

The xlwSciPy spreadsheet allows a wide variety of the science and maths functions in the Python Numpy and Scipy libraries to be called directly from Excel.  The spreadsheet has now been updated for use with Python 3.  The spreadsheet and all associated Python code can be downloaded from:

xlwSciPy3.zip

The spreadsheet requires installed copies of Python, including Numpy and Scipy, and xlwings.  The easiest way to install the required packages is to install the Anaconda Python library.  When the required Python packages are installed simply copy the contents of the xlwSciPy3.zip file to any convenient folder.

The functions included in the spreadsheet are indexed below:

 

Posted in Coordinate Geometry, Differential Equations, Excel, Link to Python, Maths, Newton, Numerical integration, NumPy and SciPy, Python Pandas, UDFs, VBA, xlwings | Tagged , , , , , , | 2 Comments

Jørn Utzon and David Moore

Tomorrow (9th April 2018) is the centenary of the birth of Jørn Utzon, the architect of the Sydney Opera House, which is celebrated in an article at the Sydney-Morning Herald.

The article quotes a grand-son of Utson, Mika Utzon Popov, on the role of David Moore in documenting the construction work and the finished structure:

But he does know that his grandfather wanted the world to view the Opera House through the eyes of David Moore, the photographer who documented progress at Bennelong Point in the 14 years it took to build. His grandfather wrote to Moore saying he hoped his photos would be a lasting legacy for the nearly 10,000 construction workers who built it.

“I hope your photos can be seen in Australian magazines because the Sydney Opera House needs to be seen with a great artist’s eye to make people understand its poetic qualities,” he wrote.

See more of the work of David Moore at: 100 photographs portfolio

Posted in Arch structures, Bach, Newton | Tagged , , , | Leave a comment

Two sources of perpetual motion

The buttered cat phenomenon:

The pulling-yourself-up-by-your-boot-straps technique:

Posted in Bach | Tagged , , | Leave a comment

Plotting Charts With Gaps …

“How do you get VB6 to initialize doubles with +infinity, -infinity and NaN”… and various sorts of Not a Number.

Back in 2012 (When is an xy chart not an xy chart) I concluded that it was not possible to return an array with empty rows from a user defined function (UDF), and as a result it was not possible to generate a series with gaps in an x-y chart, using a UDF or an array function.

Recently Lori Miller has provided two solutions to this problem (see comments at the link above).  First the easy way:

For users of Excel 365 there’s now an option to “show #N/A as an empty cell” under hidden and empty cell settings dialog.  Right-click on a chart and select “select data”:

Click “Hidden and Empty Cells” and select “Show #N/A as an empty cell:

The XY chart will now display a break between the two values either side of the #N/A, and will retain all the features of an XY or scatter chart.

For those not using Office 365 it’s not so easy , but the spreadsheet SpecialNum.xlsb, using code from the Stackoverflow discussion at “How do you get VB6 to initialize doubles with +infinity, -infinity and NaN” (link also provided by Lori Miller) has a solution.  This spreadsheet has a function returning various types of “not a number”, or NaN.  Nan index 3 returns a value that is treated as a blank cell in XY charts (cell C11 below):

This value is the only one that produces the desired result.  Index values 0 to 2 and 4 to 5 turn the chart into two vertical lines either side of the NaN:

Index 6 retains the rest of the chart, but has two vertical lines either side of the gap going up (presumably to infinity):

Index 7 is similar, but with the lines going downwards.

Index values 8 to 10 plot as 0:

For those interested in the details, the download file has open-source code for generating the different NaN values, and also a table listing the numbers and their features:

Posted in Arrays, Charts, Charts, Excel, UDFs, VBA | Tagged , , , | 7 Comments