Here is a little JavaScript program I wrote that allows one to play with potential flow by inserting sources in a wind tunnel. Potential flow is an idealized flow characterized by irrotationality. The particular form used here has the added characterizations of being inviscid and incompressible, and satisfies Laplace's Equation for a velocity 'potential':
The velocities are recovered by:
Second-order-accurate finite differencing schemes are used to recover the velocities.
I will continuously be working on this, so this is by no means the final version. Currently I aim to bring the following:
-Doublets
-Vortices
-Making it into a game
It is colored by potential. Click on it!
Discrete Resolution:
Pixel Dimensions:
Saturday, May 10, 2014
Specifications of the Turnigy TR-111
I recently bought two 11.5 HP gas engines from Hobby King. They are made by Turnigy and have the designation TR-111.

Surprisingly, there is no way to get any information other than on the product page. There is not even a mention of it on the Turnigy website. So, here I post information that I have gleaned from inspecting the engine myself. I planned to use these engines together to the power the same drive shaft to get about 23 HP. I picked the TR-111 engine because they were relatively cheap, lightweight (NW of 2.5 kg each), and satisfied my power target of over 20 HP.
To see it in action, check out the video from 'redsjcman' (who also has a review on the HobbyKing product page):
I do not have a video of my own yet, but hopefully I will soon.
Now, let us move on to the specifications.
First, the general specifications listed on the box:
MODEL: TR-111
DISPLACEMENT: 111.27 cc
BORE AND STROKE: 45 mm * 35 mm * 2
IGNITION: Electronic Auto Advance Ignition
SPARK PLUGS: CM-6
POWER RATING: 11.5 HP
PROPELLER: 26*12 27*10
SPEED RANGE: 1400 PPM - 7000 RPM
OIL: 25-40: 1 MIX (the octane number should be 93 or higher : lubrication Type of 2-cycle oil)
NW: 2.5 kg
I made measurements using this dial caliper from Harbor Freight. I use three significant digits.
Abbreviations:
ID = Inside Diameter
OD = Outside Diameter
CONTENTS:
4 x (Standoff Spacer, Bolt and Washer)
Standoff Spacer Dimensions:
-0.789" (20.0 mm) height (distance parallel to axis of symmetry)
-0.615" (15.6 mm) small OD
-0.782" (19.9 mm) large OD
-0.236" (5.99 mm) bore
Bolt Dimensions:
-0.188" (4.78 mm) unthreaded diameter
-0.328" (8.33 mm) head diameter
-0.161" (4.09 mm) minimum hex socket diameter (for 4 mm Allen / Hex key)
Washer Dimensions:
-0.205" (5.21 mm) ID
-0.471" (12.0 mm) OD
-0.041" (1.04 mm) thickness
2 x (Muffler, Gasket, and Pair of Bolts):
Muffler Dimensions:
-1.956" (49.7 mm) can diameter
Surprisingly, there is no way to get any information other than on the product page. There is not even a mention of it on the Turnigy website. So, here I post information that I have gleaned from inspecting the engine myself. I planned to use these engines together to the power the same drive shaft to get about 23 HP. I picked the TR-111 engine because they were relatively cheap, lightweight (NW of 2.5 kg each), and satisfied my power target of over 20 HP.
To see it in action, check out the video from 'redsjcman' (who also has a review on the HobbyKing product page):
I do not have a video of my own yet, but hopefully I will soon.
Now, let us move on to the specifications.
First, the general specifications listed on the box:
MODEL: TR-111
DISPLACEMENT: 111.27 cc
BORE AND STROKE: 45 mm * 35 mm * 2
IGNITION: Electronic Auto Advance Ignition
SPARK PLUGS: CM-6
POWER RATING: 11.5 HP
PROPELLER: 26*12 27*10
SPEED RANGE: 1400 PPM - 7000 RPM
OIL: 25-40: 1 MIX (the octane number should be 93 or higher : lubrication Type of 2-cycle oil)
NW: 2.5 kg
I made measurements using this dial caliper from Harbor Freight. I use three significant digits.
Abbreviations:
ID = Inside Diameter
OD = Outside Diameter
CONTENTS:
4 x (Standoff Spacer, Bolt and Washer)
Standoff Spacer Dimensions:
-0.789" (20.0 mm) height (distance parallel to axis of symmetry)
-0.615" (15.6 mm) small OD
-0.782" (19.9 mm) large OD
-0.236" (5.99 mm) bore
Bolt Dimensions:
-0.188" (4.78 mm) unthreaded diameter
-0.328" (8.33 mm) head diameter
-0.161" (4.09 mm) minimum hex socket diameter (for 4 mm Allen / Hex key)
Washer Dimensions:
-0.205" (5.21 mm) ID
-0.471" (12.0 mm) OD
-0.041" (1.04 mm) thickness
2 x (Muffler, Gasket, and Pair of Bolts):
Muffler Dimensions:
-1.956" (49.7 mm) can diameter
-4.046" (103 mm) can length
-0.984" (25.0 mm) chimney diameter
-0.045" (1.143 mm) chimney thickness
Engine:
Overall Dimensions (stripped down;unequipped with mounting hardware, ignition system, etc.):
(Please note these dimensions were not taken with a caliper, but with a ruler)
-6 11/64" length (excluding small shaft)
-10 5/32" width
-6 3/4" height
Engine Mounting Plate Dimensions:
-2.519" minimum distance between holes on shorter side.
-3.049" maximum distance between holes on shorter side.
By taking the average of the last two measurements, we can infer the hole center distance.
-2.784" (70.7 mm) center distance between holes on shorter side.
-3.435" maximum distance between holes on longer side.
-2.905" minimum distance between holes on longer side.
By taking the average of the last two measurements, we can infer the hole center distance.
-3.17" (80.5 mm) center distance between holes on the longer side.
Engine Small Shaft Dimensions:
-0.391" (9.93 mm) diameter
-1.571" (39.9 mm) length
-0.173" (4.39 mm) threaded hole inner diameter
Propeller Mounting Hardware:
6 x (Bolt, Washer, Split Lock Washer)
Cap
Bolt Dimensions:
-0.191" (4.85 mm) unthreaded diameter
-0.325" (8.26 mm) head diameter
-0.162" (4.11 mm) hex socket minimum diameter
Split Lock Washer Dimensions:
-0.217" (5.51 mm) ID
-0.324" (8.23 mm) OD
-0.053" (1.35 mm) thickness
Washer Dimensions:
-0.206" (5.23 mm) ID
-0.393" (9.98 mm) OD
-0.019" (0.483 mm) thickness
Cap Dimensions:
-1.676" (42.6 mm) OD
-0.398" (10.1 mm) bore
-0.153" (3.89 mm) thickness
-0.206" (5.23 mm) bolt hole diameter
-0.919" inner bolt circle diameter
-1.328" outer bolt circle diameter
From the average of the previous two, the bolt circle diameter can be inferred.
-1.1235" (28.5 mm) bolt circle diameter
From installed mounting spacer to shaft tip, the total length of the engine would be about 8.53".
Ignition System:
Text on the metal box:
CDI Rcexl
Automatic advancing angle ignition
for gas engines Model:A-02
ELECTRONIC IGNITION
Voltage-Range: DC 4.8V/8.4V
Temperature Range: -40 degrees C / +60 degrees C
If you have any suggestions or requests, make a comment below.
-~3.75" (95.3 mm) chimney length
-0.384" (9.75 mm) hex key passage hole diameter
-0.591" (15.0 mm) mount rectangle height
-1.03" (26.2 mm) mount rectangle width
-0.222" (5.64 mm) mount bolt hole diameter
Bolt Dimensions:
-0.192" (4.88 mm) threaded diameter
-0.330" (8.38 mm) head diameter
-0.160" (4.06 mm) minimum hex socket diameter
Gasket Dimensions:
-0.864" (21.9 mm) overall height
-2.04" (51.8 mm) overall width
Engine:
Overall Dimensions (stripped down;unequipped with mounting hardware, ignition system, etc.):
(Please note these dimensions were not taken with a caliper, but with a ruler)
-6 11/64" length (excluding small shaft)
-10 5/32" width
-6 3/4" height
Engine Mounting Plate Dimensions:
-2.519" minimum distance between holes on shorter side.
-3.049" maximum distance between holes on shorter side.
By taking the average of the last two measurements, we can infer the hole center distance.
-2.784" (70.7 mm) center distance between holes on shorter side.
-3.435" maximum distance between holes on longer side.
-2.905" minimum distance between holes on longer side.
By taking the average of the last two measurements, we can infer the hole center distance.
-3.17" (80.5 mm) center distance between holes on the longer side.
Engine Small Shaft Dimensions:
-0.391" (9.93 mm) diameter
-1.571" (39.9 mm) length
-0.173" (4.39 mm) threaded hole inner diameter
Propeller Mounting Hardware:
6 x (Bolt, Washer, Split Lock Washer)
Cap
Bolt Dimensions:
-0.191" (4.85 mm) unthreaded diameter
-0.325" (8.26 mm) head diameter
-0.162" (4.11 mm) hex socket minimum diameter
Split Lock Washer Dimensions:
-0.217" (5.51 mm) ID
-0.324" (8.23 mm) OD
-0.053" (1.35 mm) thickness
Washer Dimensions:
-0.206" (5.23 mm) ID
-0.393" (9.98 mm) OD
-0.019" (0.483 mm) thickness
Cap Dimensions:
-1.676" (42.6 mm) OD
-0.398" (10.1 mm) bore
-0.153" (3.89 mm) thickness
-0.206" (5.23 mm) bolt hole diameter
-0.919" inner bolt circle diameter
-1.328" outer bolt circle diameter
From the average of the previous two, the bolt circle diameter can be inferred.
-1.1235" (28.5 mm) bolt circle diameter
From installed mounting spacer to shaft tip, the total length of the engine would be about 8.53".
Ignition System:
Text on the metal box:
CDI Rcexl
Automatic advancing angle ignition
for gas engines Model:A-02
ELECTRONIC IGNITION
Voltage-Range: DC 4.8V/8.4V
Temperature Range: -40 degrees C / +60 degrees C
If you have any suggestions or requests, make a comment below.
Sunday, March 2, 2014
Cyclorotor CFD Simulations in OpenFOAM
A few months ago, I became interested in the cyclorotor concept. This concept goes by many names, including cyclogyro and cyclocopter. The cyclorotor concept has been around since the early 1900's, and has recently had revived interest. I think this is due to modern materials and controls making the concept more feasible. Some universities I have seen in research papers include the University of Maryland and Seoul National University. To see one in action, check out this video:
Some more solver details:
Although there is an interesting track mechanism that I have seen in research reports that can alleviate forward flight problems and greater blade pitch control in general, but in my opinion it is still complicated and sensitive to geometry. The mechanism involves wheels on the tips of the blades that ride on the inside of a specially-shaped track. The wheel stays on the track by the inherent centrifugal forces on the blades. Control comes from translating the track in the plane of rotation, as well as the in the direction of the rotation vector. The track changes shape smoothly along the direction of the rotation vector so as to get the desired pitches.
I ran a few simulations in OpenFOAM to explore the capabilities of the cyclorotor. Here, I will describe validation runs that show that OpenFOAM can accurately predict cyclorotor performance. I used the pimpleDyMFoam solver in PISO mode (no SIMPLE iterations) and a Spalart-Allmaras RANS turbulence model with curvature correction.
Some more solver details:
-Max Courant number of 2
-First order in space and time
-Upwind spatial discretization scheme
OpenFOAM cannot run cyclorotor simulations 'out of the box'. It requires some custom solidBodyMotionFunctions, because the blades rotate in a certain way about its own pitch center, while being displaced by rotating around the rotor center. I have uploaded the code I used to Github here:
https://github.com/lordvon/OpenFOAM_Additions/tree/master/cycloRamp
The mesh I used consisted of a square far-field boundary with inflation layers near the shaft and blades. I meshed it in Gmsh.
The following videos show the velocity magnitude and pressure fields.
The following shows experimental results from a Seoul National University research paper, and my OpenFOAM simulations. OpenFOAM results match quite closely. The OpenFOAM simulations were performed in 2D.
Ultimately, I found the cyclorotor concept not very practical (at the time of writing this). These are the reasons:
-Complicated mechanisms
-Forward flight performance not favorable
-Structures. Centrifugal loads are very high, and the blades have to resist this in a weak orientation (i.e. tangential vs radial chord line alignment).
Although there is an interesting track mechanism that I have seen in research reports that can alleviate forward flight problems and greater blade pitch control in general, but in my opinion it is still complicated and sensitive to geometry. The mechanism involves wheels on the tips of the blades that ride on the inside of a specially-shaped track. The wheel stays on the track by the inherent centrifugal forces on the blades. Control comes from translating the track in the plane of rotation, as well as the in the direction of the rotation vector. The track changes shape smoothly along the direction of the rotation vector so as to get the desired pitches.
In my opinion the most significant advantage of the cyclorotor is thrust direction freedom.
At the request of Francois, you can find the mesh files here:
http://www.cfd-online.com/Forums/openfoam-programming-development/132068-cyclorotor-simulations.html#post482000
At the request of Thomas, I have posted the case and mesh files here:
http://www.cfd-online.com/Forums/openfoam/132562-help-compiling-code-newbie.html#post483542
At the request of Francois, you can find the mesh files here:
http://www.cfd-online.com/Forums/openfoam-programming-development/132068-cyclorotor-simulations.html#post482000
At the request of Thomas, I have posted the case and mesh files here:
http://www.cfd-online.com/Forums/openfoam/132562-help-compiling-code-newbie.html#post483542
Monday, February 24, 2014
Understanding Lift by Wings: The Lift-To-Drag Ratio
Some ways to generate lift can be categorized as follows:
-Mass Ejection (e.g. rockets)
-Buoyancy (e.g. dirigibles)
-Deflection (e.g. airplanes)
-Mass Ejection (e.g. rockets)
-Buoyancy (e.g. dirigibles)
-Deflection (e.g. airplanes)
We will talk about wings, which falls under the category of Deflection.
There is a distinction to be made between mechanism and result. The finer details of fluid dynamics explain the necessary phenomena and mechanisms (i.e. laminarity, separation, etc.) for the wing to successfully act as a deflector. Force production (lift, drag) can be explained by the conservation of momentum and Newton's Third Law. We will be looking at the force production in a wing.
Wings work by deflection of the freestream air. You can treat the wing as tilting the net momentum vector of the portion of the oncoming freestream that it influences. So, the momentum vector of the air before it reaches the wing points in one direction and the momentum vector after it has passed the wing is tilted by some angle Φ. Keep in mind, this angle is not necessarily equivalent to angle of attack!
The conservation of momentum states that the momentum vector does not change in magnitude and is only redirected, as the wing does not produce energy or momentum. You can represent the new components in the horizontal and vertical directions of the tilted momentum vector by simple trigonometry. By Newton's Third Law (for every action there is an opposite and equal reaction), finding these components tell you the drag and lift.
The difference in these components is what makes flight by wings (deflection) so efficient. In effect, it is a mechanical advantage by a trigonometric trick! Instead of generating lift directly, we only have to overcome the drag necessary to sustain the momentum deflection.
As you may know, as you increase an angle from 0 degrees the sine component changes relatively rapidly, whereas the cosine component does not. This is reflected in the so-called small angle approximations. Thus we can expect that small angles of momentum deflection will be more efficient, or in other words, have a higher lift-to-drag ratio.
The equations to represent the relative lift and drag components are simple. The functions for normalized lift and drag are represented as L and D, respectively and are function of the momentum tilt angle, Φ. The resulting lift-to-drag ratio is represented as R.
There is something wrong with the above ratio equation. As Φ approaches 0, the equation becomes indeterminate (0/0). We know that in fact it should be 0. There actually should be a skin friction drag term in the denominator, because we know that even when the wing is not producing lift it still generates drag. We will denote this as f, and though it is a small number that becomes negligible as Φ increases, it is a function of Φ. The following is a corrected ratio equation.
The conservation of momentum states that the momentum vector does not change in magnitude and is only redirected, as the wing does not produce energy or momentum. You can represent the new components in the horizontal and vertical directions of the tilted momentum vector by simple trigonometry. By Newton's Third Law (for every action there is an opposite and equal reaction), finding these components tell you the drag and lift.
The difference in these components is what makes flight by wings (deflection) so efficient. In effect, it is a mechanical advantage by a trigonometric trick! Instead of generating lift directly, we only have to overcome the drag necessary to sustain the momentum deflection.
As you may know, as you increase an angle from 0 degrees the sine component changes relatively rapidly, whereas the cosine component does not. This is reflected in the so-called small angle approximations. Thus we can expect that small angles of momentum deflection will be more efficient, or in other words, have a higher lift-to-drag ratio.
The equations to represent the relative lift and drag components are simple. The functions for normalized lift and drag are represented as L and D, respectively and are function of the momentum tilt angle, Φ. The resulting lift-to-drag ratio is represented as R.
There is something wrong with the above ratio equation. As Φ approaches 0, the equation becomes indeterminate (0/0). We know that in fact it should be 0. There actually should be a skin friction drag term in the denominator, because we know that even when the wing is not producing lift it still generates drag. We will denote this as f, and though it is a small number that becomes negligible as Φ increases, it is a function of Φ. The following is a corrected ratio equation.
From this we basically get the maximum L/D ratios possible for a wing to achieve. Below I have plotted the equation for several constant skin friction values (f=constant).
The lift-to-drag ratio converges at sufficiently high freestream deflection angle, and the skin friction term is important for the lower momentum deflection angles under the assumption of constant skin friction values. We see that this method of analysis reveals the range of maximum lift-to-drag ratios we are accustomed to seeing for typical airfoils.
Remember that this analysis is for when the wing behaves as it should; a deflector of freestream momentum. A wing cannot act as an effective deflector in the case of flow separation.
Cutting Aluminum Sheet Metal: Plasma Cutters and Jig Saws
I have been working with a lot of thin aluminum sheet metal of 0.025" thickness, using a jigsaw with great efficacy. The cutting speed is not too slow, and the cut edges are very clean. There are no heat-affected zones; the jig saw does not produce excess heat that would effect the material properties in the proximity of the cut. There are some minor inconveniences however. The main one is limited maneuverability. As you may realize, a jig saw cannot do sharp corners or turns, but rather one long continuous cut. Also, sometimes when cutting from a large sheet it is inconvenient and slow to maneuver around, since for every cut you have to clamp down the work piece and shift the work piece around so that you do not cut into the table or whatever it is the work piece is resting on.
One of the most important advantages to the jig saw is that the tool and consumables (blades) are very cheap! The one I bought, pictured below, was only $30, with the set of 3 blades being only around $5.

I have also considered a plasma cutter. This much more high-tech option ionizes compressed air via an electric arc and turns it into plasma. The high-speed plasma jet is then used as the cutter by melting through the metal work piece very fast. Pictured below is one $650 model from Harbor Freight, which seems to be the most economical option for the average DIY-er. The advantages the plasma cutter has to offer is fast cutting and maximum maneuverability.

There remains questions for my aluminum sheet application whether the plasma cutter will produce a heat-affected zone and if the cut will be clean. I will have to try it out and report back later.
All in all, the jig saw is the best option for cutting aluminum sheet metal by far, because it is fast, cleanly cuts, and is extremely economical. I only considered the plasma cutter because I have a lot to cut, and I need it for other purposes and materials.
One of the most important advantages to the jig saw is that the tool and consumables (blades) are very cheap! The one I bought, pictured below, was only $30, with the set of 3 blades being only around $5.
I have also considered a plasma cutter. This much more high-tech option ionizes compressed air via an electric arc and turns it into plasma. The high-speed plasma jet is then used as the cutter by melting through the metal work piece very fast. Pictured below is one $650 model from Harbor Freight, which seems to be the most economical option for the average DIY-er. The advantages the plasma cutter has to offer is fast cutting and maximum maneuverability.
There remains questions for my aluminum sheet application whether the plasma cutter will produce a heat-affected zone and if the cut will be clean. I will have to try it out and report back later.
All in all, the jig saw is the best option for cutting aluminum sheet metal by far, because it is fast, cleanly cuts, and is extremely economical. I only considered the plasma cutter because I have a lot to cut, and I need it for other purposes and materials.
Saturday, February 22, 2014
Drilling Large Holes in Sheet Metal: The Step Drill Bit
Have you ever tried to drill large holes in sheet metal, for example, 0.5 inches in diameter? If you did with a regular drill bit (AKA twist bit), you may have had to quit due to the intense vibration and/or the hole turning out more like a Reuleaux triangle (below) rather than a perfect circle. The difficulty is special to thin sheets; the same drill bit will work on the same material of greater thickness.

I had many troubles with this, on both 7075-T6 aluminum (aircraft grade, 0.025") and stainless steel sheets (~24 gauge). Drilling large holes with twist bits seemed practically impossible. I tried different RPMs on my drill press as well as pilot holes, but nothing seemed to work well. I began to think that my 1/3 hp drill press was too weak. Before considering buying a new drill press, I decided to try the step drill bit from Amazon for around $12 (pictured below). The bits go to diameters of 1/2" and 3/4".

These things worked like a charm. Vibration and noise were reduced to the level of drilling small holes. Progressively larger diameters are drilled out step by step. These are the clear solution to drilling large holes in sheet metal. They also can be used to deburr rough holes and can function as all-in-one drill bits for materials as thick as the steps.
I had many troubles with this, on both 7075-T6 aluminum (aircraft grade, 0.025") and stainless steel sheets (~24 gauge). Drilling large holes with twist bits seemed practically impossible. I tried different RPMs on my drill press as well as pilot holes, but nothing seemed to work well. I began to think that my 1/3 hp drill press was too weak. Before considering buying a new drill press, I decided to try the step drill bit from Amazon for around $12 (pictured below). The bits go to diameters of 1/2" and 3/4".
These things worked like a charm. Vibration and noise were reduced to the level of drilling small holes. Progressively larger diameters are drilled out step by step. These are the clear solution to drilling large holes in sheet metal. They also can be used to deburr rough holes and can function as all-in-one drill bits for materials as thick as the steps.
Wednesday, February 12, 2014
Mechanical Fasteners: (Blind) Rivets
I have recently become aware of a strong, efficient, and economical way to fasten metals together: the blind rivet. I have always heard about how rivets were used in aircraft production, and for some reason I never seriously considered using them in my own mechanical projects. I wrongly assumed the cost and complexity was too high for someone with a hobbyist's budget. It turns out blind rivets are very practical and economical even for me.
As I am working with aircraft-grade aluminum (7075 T6), I cannot weld pieces together. Aluminum is notorious for being difficult to weld well, and this applies even more so for the stronger aircraft-grade aluminum alloys. Welding these alloys are usually deemed ineffective, especially when the resulting material strength is important. With welding out the window, I racked my brain for alternatives to heavy screw and nut arrangements, and came across the blind rivet.
As I am working with aircraft-grade aluminum (7075 T6), I cannot weld pieces together. Aluminum is notorious for being difficult to weld well, and this applies even more so for the stronger aircraft-grade aluminum alloys. Welding these alloys are usually deemed ineffective, especially when the resulting material strength is important. With welding out the window, I racked my brain for alternatives to heavy screw and nut arrangements, and came across the blind rivet.
As you noticed, there is a specific type of rivet I am referring to: the 'blind' rivet. A regular rivet is a solid pin-looking thing where you have to hammer down and flatten one end. A blind rivet is a rather complicated-looking thing if you have never seen one before, but it can quickly and easily be implemented with a tool that you can buy for less than $20 at your local hardware store. Also, with blind rivets you do not require access to both sides of the joint, only one side is required, hence the name 'blind' rivet. You can Google up many great explanations and visual demonstrations of how blind rivets work.
Blind rivets are economical. On McMasterCarr, I can buy 1/8" diameter aluminum blind rivets at 250 for less than $10. It was actually more economical than the alternative for me, which were socket cap screws of similar size.
I would argue that the space and weight efficiency, for a given bore size, of the rivet is greater than that of screws. Strength of screws are diminished because of the required space for the threads. The screw nuts can be heavy when many screws are needed.
The downside of a rivet compared to a screw is more complicated dis-assembly. You have to destroy the rivet if you want to unfasten something, but it is not too difficult to remove a rivet.
Blind rivets today are the product of many years of improvements from field use. They are extremely effective if welding is not an option and you need a strong, lightweight bond between metal plates.
Subscribe to:
Posts (Atom)


























