The shoelace formula gets its name from the arrangement of the coordinates and how they are combined to calculate the area. Arrange the *x-y* coordinates of the polygon in a *(n+1)x2* matrix where the order is determined by a counterclockwise pattern around the perimeter and the starting point is also repeated as the last row in the matrix.

Again, notice that the order is counterclockwise and that the first point is repeated in the last line of the matrix (there are *n+1* rows if the polygon has *n* points).

To calculate the area, we add when multiplying down and to the right and subtract pairs when multiplying down and to the left. That is

In the example polygon shown above, we have

Performing the calculation, we obtain

]]>

Several command line options for ANSYS are hard-coded into this script. To generate the appropriate options and paths for your machine, set up your solve using the ANSYS launcher and then display the command that it would invoke from “Tools –> Display Command Line.”

I don’t show it here, but one can change the arguments to the APDL script by having the Python program edit either the body of the APDL script or its input files.

from subprocess import call import datetime import os def runAPDL(ansyscall,numprocessors,workingdir,scriptFilename): """ runs the APDL script: scriptFilename.inp located in the folder: workingdir using APDL executable invoked by: ansyscall using the number of processors in: numprocessors returns the number of Ansys errors encountered in the run """ inputFile = os.path.join(workingdir, scriptFilename+".inp") # make the output file be the input file plus timestamp outputFile = os.path.join(workingdir, scriptFilename+ '{:%Y%m%d%H%M%S}'.format(datetime.datetime.now())+ ".out") # keep the standard ansys jobname jobname = "file" callString = ("\"{}\" -p ansys -dis -mpi INTELMPI" " -np {} -dir \"{}\" -j \"{}\" -s read" " -b -i \"{}\" -o \"{}\"").format( ansyscall, numprocessors, workingdir, jobname, inputFile, outputFile) print("invoking ansys with: ",callString) call(callString,shell=False) # check output file for errors print("checking for errors") numerrors = "undetermined" try: searchfile = open(outputFile, "r") except: print("could not open",outputFile) else: for line in searchfile: if "NUMBER OF ERROR" in line: print(line) numerrors = int(line.split()[-1]) searchfile.close() return(numerrors) def main(): ansyscall = "C:\\Program Files\\ANSYS Inc\\v180\\ansys\\bin\\winx64\\MAPDL.exe" numprocessors = 8 workingdir = "G:\\scriptAnsDir" scriptFilename = "dymmyAnsysScript" nErr = runAPDL(ansyscall, numprocessors, workingdir, scriptFilename) print ("number of Ansys errors: ",nErr) if __name__ == '__main__': main()]]>

One topic that is particularly interesting and well written is the section on subcritical crack growth. Subcritical crack growth (also called stress corrosion) is the growth or extension of a crack over time with stress intensity factor* less than* the critical stress intensity factor . This is interesting because in classic linear elastic fracture mechanics (LEFM) cracks in brittle materials are typically viewed as stable (no growth under constant load) if the the stress intensity factor is less than the the critical value . The text only briefly mentions the underlying cause of subcritical crack growth in terms of chemical bonds breaking in the neighborhood of the crack tip.

The crack growth is given by

where is the crack growth velocity with respect to time, is the length of the crack, is time, is the stress intensity factor, is the critical stress intensity factor, and and are constants based on the particular material, temperature and environmental conditions. Another common parameter is which is given by

where is a constant related to the geometry, typically of order 1, with value for and infinite plate.

Zerodur (manufacturer Schott’s website) is one of the most commonly used ceramics or glass ceramics by precision engineers. Subcritical crack growth is an important consideration for Zerodur in the presence of water or water vapor. The term stress corrosion is often used in this case as many like to think of the water molecules attacking the bonds at the root of the crack.

“Fracture Toughness and Crack Growth of Zerodur” (*NASA Technical Memorandum 4185*) by Michael J. Viens, April 1990 (link to document) gives the stress corrosion constants to be and with 100% humidity. *The Properties of Optical Glass* edited by Hans Bach and Norbert Neuroth (google books link, amazon.com link) gives the value of for Zerodur. They also give the values of for Duran and soda-lime glass as 22.4 and 18.1, respectively. The Zerodur technical document by Schott TIE-33 (link) has an extensive discussion, examples, and list of fracture and related properties including stress corrosion.

]]>

]]>

Consider as shown in the figure above a c-shaped iron core with a coil wrapped around one side. The iron core has a small air gap, into which a copper plate is inserted. If we drive a constant current through the coil, we induce a magnetic flux in the iron. The DC flux density across the air gap in our example is about 0.15 T. For a static (DC) field, the copper behaves just like air, not altering the magnetic field.

But when the current and therefore the magnetic field vary harmonically with time, an electromotive force is induced according to Faraday’s Law

(1)

where is the induced electric field, is an element of the boundary of the area through which the magnetic flux passes. We can obtain by integrating the flux density over the area according to

(2)

For our example, the flux density is nearly uniform over the area and drops off rapidly outside of , and hence is well approximated by . If varies harmonically with frequency , then the magnitude of and hence the magnitude of the EMF around any loop surrounding the area is .

The current density induced by the EMF on a circular loop of radius in a conductor is given by , where is the resistivity of the conductor. So the magnitude of the current density is approximately

(3)

Thus, for our example with =0.15 T and =(5 mm) and =1.7e-8 -m, we expect the flux density just outside the 5 mm square (at =3 mm) to be 2.8e6 A/m at 40 Hz. This agrees pretty well with the numerical results shown in the animation above, which was generated using Ansoft Maxwell from ANSYS.

This simple approximation works quite well at low frequencies. At higher frequencies, the EMF of the induced currents prevents the magnetic field from penetrating the conductor. The currents drop off rapidly with a skin depth characterized by

(4)

where is the magnetic permeability of the material. For copper at 40~Hz, we have a skin depth of about 10 mm, much larger then the 1 mm thickness of the plate in our example. We can therefore safely consider the induced current to be uniform through the thickness of the plate.

]]>As a refresher, the Reynolds number is the ratio of inertial to viscous forces and is given by

where is the fluid density, is the velocity, is a characteristic length such as a diameter, and is the viscosity. The Reynolds number can also be thought of as the ratio of the momentum diffusion rate to the viscous diffusion rate. At Reynolds numbers less than approximately 2000, the flow is laminar. For Reynolds numbers greater than approximately 4000, the flow is turbulent.The Navier-Stokes equations which govern fluid mechanics can be simplified greatly for very small Reynolds number ().

where is the velocity vector, is the pressure, and is the body force vector. It should be noticed that this is no longer explicitly a function of time because the terms have vanished.

The video lecture by G.I Taylor on Low Reynolds flow offers many good explanations. This video is part of a video lecture series featuring Ascher Shapiro and other renowned fluid mechanics experts. The video demonstrating reversible flow is quite simple and clear.

A classic paper by Edward M. Purcell (a Nobel prize winning physicist at Harvard) entitled “Life at Low Reynolds Number” is available online for free. In this paper, he helps explain some of the non-intuitive fluid behaviors. In particular, he develops the well-known “scallop theorem” for swimming at low Reynolds number. In short, a body composed of two links connected by a pivot such as a scallop shell cannot swim at low Reynolds number. The body must have at least three rigid links or have a flexible tail like body to create asymmetric motions. Figure 1.3 of the thesis by J. Hussong at TU Delft presents the different methods of asymmetry. These asymmetries were originally described in the paper by S.N. Khaderi et al (available here also from TU Deflt). Brennen at Caltech has an online textbook which has a section on low Reynolds number locomotion by a variety of mechanisms.

]]>

]]>

Grubb’s mirror was made of a metal called speculum (wikipedia link), a mixture of tin and copper commonly used for telescopes at the time .

A whiffletree is a connection of levers or linkages which is used to distribute forces. Many people are common with its use in areas such as connecting a group of horses or other farm animals when pulling equipment. The word “whiffletree” is interchangeable with whippletree, swingletree, or simply swingle. (see also the wikipedia links for whiffletree and swingletree). Another familiar device where one may see a whiffletree is a windshield wiper or the artistic mobile that is made in simple form in elementary schools. The whiffletree is also used in the suspension of some of NASA’s Mars rovers.

A popular set of texts *Amateur Telescope Making (Volumes 1-3)* edited by Albert G. Ingalls first published in 1926 contains a section in the 1945 edition by J.H. Hindle “Mechanical Flotation of Mirrors” which analyzed such a whiffletree support system. Amazon.com link

Although the idea for this type of support appears to have originated with Thomas Grubb, it is commonly referred to as a Hindle mount. A thorough description of the history and physics is contained in the text *Reflecting Telescope Optics II: Manufacture, Testing, Alignment, Modern Techniques* by Raymond N. Wilson. A brief history is also contained in the article “Mechanical principles of large mirror supports” by Hans J. Kärcher, Peter Eisenträger, and Martin Süss.

In addition to the article by D. Robinson in the figure above, Yoder and Vukobratovich’s text *Opto-Mechanical Systems Design, Fourth Edition, Volume 2* and the article by P.K. Mehta “Flat circular optical elements on a 9-point Hindle-mount in a 1-g force field,” contain examples of Hindle mounts in use. One amateur telescope maker even made a 54 point Hindle mount for a homemade 1100 mm telescope.

]]>

Pfeiffer Vacuum, which manufactures vacuum pumps and other components, has a nice PDF handbook which is free to download. It covers the basics of vacuum as well as operating principles of various pumps and as well as a number of practical issues.

https://www.pfeiffer-vacuum.com/filepool/File/Vacuum-Technology-Book/Vacuum-Technology-Book-II-Part-2.pdf?referer=1456&request_locale=en_US

The *Handbook of Vacuum Technology* edited by Karl Jousten is a thorough reference with detailed calculations for wide variety of problems in vacuum systems.

amazon.com link

The text *Vacuum Technology* by Roth is a classic text, although I sometimes find the constants difficult to use because of his preferred system of units and giving values only based on air. More general formulas would often be useful.

amazon.com link

Roth’s text on vacuum sealing, *Vacuum Sealing Techniques*, is also a good reference as leak management is always a consideration in high vacuum systems.

amazon.com link

Another reference that is free to download is the conference proceedings from *CERN Accelerator School: Vacuum Technology* held in 1999 and edited by S. Turner.

http://cds.cern.ch/record/402784/files/CERN-99-05.pdf?version=1

The manual for the software package *VacTran* has easy to follow details for calculations of conductances and pump down time, and it is free to download in pdf format.

http://www.vactran.com/uploads/1/0/1/8/10181625/vactran_3_manual.pdf

]]>

The equivalent SDOF primary system of the cantilever beam near natural frequency of interest can be determined from the results of an FEA analysis, or analytically for a system as simple as this cantilever beam. The relevant parameters are the effective modal mass and the natural frequency.

The tuning rules for an SDOF tuned-mass damper can be found in a many different references including *Mechanical Vibrations* by J.P. Den Hartog (google books link).

The tuning ratio of the absorber is given by

where is the mass ratio. The damping ratio of the absorber is given by

where is the critical damping ratio

The absorber properties are

The figure below shows the transfer function for a tuned-mass damper of 5% added mass. We performed two designs. In the first case, the TMD is optimized for the first bending mode and in the second case, it is optimized for the second mode. Because of the tuned-mass damper adding additional degrees of freedom and being relatively lightly damped, the original mode splits into two modes (one with the beam and damper moving in phase and one with the beam and damper moving out of phase).

Damping with tuned-mass damper optimized for first mode

Mode 1 – 13.5 and 13.3% damping

Mode 2 – 0.7% damping

Mode 3 – 0.24% damping

Mode 4 – 0.13% damping

Damping with tuend-mass damper optimized for second mode

Mode 1 – 0.7% damping

Mode 2 – 11 and 16% damping

Mode 3 – 1.7% damping

Mode 4 – 0.8% damping