{"id":277,"date":"2014-03-25T05:58:28","date_gmt":"2014-03-25T05:58:28","guid":{"rendered":"http:\/\/www.waters.to\/blog\/?p=277"},"modified":"2014-03-26T12:10:10","modified_gmt":"2014-03-26T12:10:10","slug":"rocket-nozzles-part-1-the-math","status":"publish","type":"post","link":"http:\/\/www.waters.to\/blog\/rocket-nozzles-part-1-the-math\/","title":{"rendered":"3D Printable Rocket Nozzles Part 1: The Math"},"content":{"rendered":"<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3-268x300.png\" alt=\"nozzle3\" width=\"268\" height=\"300\" class=\"alignleft size-medium wp-image-290\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3-268x300.png 268w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3.png 609w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/><\/a><\/p>\n<p>This is part 1 of a multi-part post about rocket nozzles.<\/p>\n<p>I have been kicking around some rocket nozzle ideas for a while now, and now that I have a 3d printer, I actually have fabrication capabilities at my disposal.  Granted, plastic filament is not a very practical material for rocket nozzles, however I have never practicality get in the way of good fun.<\/p>\n<p>I was going to wait a while before posting my work, but I see people collaborating online at github\/thingiverse\/reprap forums working on a similar project, so I figured I&#8217;d draw a line in the sand and share what I&#8217;ve got so far.<\/p>\n<p>In part 1, I will lay out the sketches of the nozzle that I set out to build &#8212; a de Laval converging-diverging nozzle using G.V. Rao&#8217;s geometry &#8212; and develop the equations that describe such a nozzle.<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide1.png\" alt=\"Rocket Nozzle Anatomy\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-279\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide1.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide1-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>The idea behind a converging-diverging nozzle is that exhaust gases will accelerate through the converging cone, reaching mach 1 &#8212; the speed of sound &#8212; as they pass through the throat.  Once past the constriction, the gases will expand and further accelerate and become supersonic.  The final velocity reached depends on gas thermodynamics and the exact geometry of the nozzle, but today&#8217;s rockets routinely achieve exhaust velocities of several times the speed of sound.<\/p>\n<p>The geometry underlying the nozzle is fairly simple &#8212; a cone, two arcs, and a parabola, as described by G.V. Rao in 1958.  See section 2.4.1 and 2.4.2 for some excellent bedtime reading about Dr. Rao&#8217;s results: <a href=\"http:\/\/www.scribd.com\/doc\/58809639\/13\/Bell%C2%A0nozzle\">http:\/\/www.scribd.com\/doc\/58809639\/13\/Bell%C2%A0nozzle<\/a><\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide2.png\" alt=\"Geometry\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-280\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide2.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide2-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>In order to model this nozzle in OpenSCAD, I first needed to determine up a few key points mathematically, so I threw together a more detailed sketch suitable for reasoning about the trig:<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide3.png\" alt=\"Transition Setup\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-281\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide3.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide3-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>Here it is again, with the details worked out for the cone-to-throat transition:<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide4.png\" alt=\"Cone to Throat Transition\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-282\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide4.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide4-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>And here are the details for the inlet cone itself:<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide5.png\" alt=\"Inlet Cone\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-283\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide5.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide5-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>The arc transitioning out of the throat is set up the same as the arc in, just with a different radius.<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide6.png\" alt=\"Throat Expansion\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-284\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide6.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide6-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>The arc out of the throat needs to join smoothly with the parabolic expansion section.  Mathematically, that means that both the arc and parabola are tangent to the same line at the transition point.   I admit, I was stuck here until I saw github user buback note that a quadratic bezier curve forms a nice parabola.  I adapted the algorithm he found to use a trapezoidal approximation of the curve.<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide7.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide7.png\" alt=\"Exit Parabola\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-285\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide7.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide7-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>The last bit of math is to find point P1&#8230;<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide8.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide8.png\" alt=\"Finding Control Points\" width=\"960\" height=\"720\" class=\"alignleft size-full wp-image-286\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide8.png 960w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/Slide8-300x225.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>And that&#8217;s it!  If you followed this far, you paid attention in High School Trigonometry!  Wish you paid more attention?  <a href=\"khanacademy.org\">Khan Academy<\/a> has great free tutorials!<\/p>\n<p>In Part 2 I will use all of this math to design an OpenSCAD script to build 2d and 3d models of the nozzle!<\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/2dNozzle.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/2dNozzle-268x300.png\" alt=\"2dNozzle\" width=\"268\" height=\"300\" class=\"alignleft size-medium wp-image-296\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/2dNozzle-268x300.png 268w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/2dNozzle.png 609w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3-268x300.png\" alt=\"nozzle3\" width=\"268\" height=\"300\" class=\"alignleft size-medium wp-image-290\" srcset=\"http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3-268x300.png 268w, http:\/\/www.waters.to\/blog\/wp-content\/uploads\/2014\/03\/nozzle3.png 609w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is part 1 of a multi-part post about rocket nozzles. I have been kicking around some rocket nozzle ideas for a while now, and now that I have a 3d printer, I actually have fabrication capabilities at my disposal. &hellip; <a href=\"http:\/\/www.waters.to\/blog\/rocket-nozzles-part-1-the-math\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":10,"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":312,"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/posts\/277\/revisions\/312"}],"wp:attachment":[{"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.waters.to\/blog\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}