{"version":3,"sources":["webpack:///./src/components/physics/fluids/continuity/ContinuityPrinciple.vue?cd18","webpack:///./src/components/physics/fluids/continuity/ContinuityPrinciple.vue","webpack:///./src/components/physics/fluids/continuity/Boxes.js","webpack:///src/components/physics/fluids/continuity/ContinuityPrinciple.vue","webpack:///./src/components/physics/fluids/continuity/ContinuityPrinciple.vue?ce20","webpack:///./src/components/physics/fluids/continuity/ContinuityPrinciple.vue?6523"],"names":["ref","_vm","attrs","_c","_v","staticClass","staticRenderFns","Boxes","box8","brd2","JXG","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","grid","pan","enabled","showCopyright","showNavigation","suspendUpdate","resize","resizeContainer","containerObj","clientWidth","clientHeight","fullUpdate","window","onresize","create","fixed","anchorX","fontSize","canvasHeight","cssStyle","line1","visible","line2","line3","p1","name","size","face","fillColor","strokeColor","label","offset","Math","round","canvasWidth","p2","p3","ft","x","Y","fb","strokeWidth","x0","x1","sw","pt","t0","dash","tt","tb","setPenSize","setPenColor","run","min","moveTo","setTimeout","hideTurtle","chg","on","cs","init","rotate","parse","toFixed","unsuspendUpdate","created","_this","title","$store","commit","newTopics","img","action","goto","newshowhome","newPhys","mounted","MathJax","Hub","Queue","component"],"mappings":"kHAAA,W,iFCAsFA,EAAI,WAAK,IAAGC,EAAM,KAA0wBD,EAAI,WAAQ,OAAM,EAAG,MAAC,SAAohBE,IAAK,O,CAAE,4CAAiB,8tBAAE,cAAG,CAACC,EAAG,oDAAQ,0dAACD,MAAM,CAAC,iBAAM,K,CAAwC,U,MAAoB,CAAgB,uBAAY,qBAAI,YAAY,QAA0/BF,MAAI,QAAmBC,QAAO,OAA4SA,GAAIG,EAAG,saAAmY,mlBAACF,IAAK,kB,CAAE,yCAAiB,kP,IAAC,aAAmB,yXAAE,MAAK,CAAOG,eAAY,GAAkBH,iBAAM,KAAgB,UAAG,YAAU,kBACp4G,OACGI,oB,aCFEC,EAAQ,CACVC,KAAM,WACJ,IAAIC,EAAOC,IAAIC,SAASC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OAAAC,OAAA,wBAAAF,GAEA,IAAAG,EAAA,CACA,CAAAH,MAAA,0BAAAI,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,SACA,CAAAN,MAAA,oCAAAI,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,YACA,CAAAN,MAAA,uBAAAI,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,oBACA,CAAAN,MAAA,uCAAAI,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,gBAGA,KAAAL,OAAAC,OAAA,2BAAAC,GACA,IAAAI,GAAA,EACA,KAAAN,OAAAC,OAAA,4BAAAK,GACA,IAAAC,GAAA,EACA,KAAAP,OAAAC,OAAA,yBAAAM,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACAxF,EAAAC,SC1F0Y,I,wBCQtYyF,EAAY,eACd,EACA,EACA3F,GACA,EACA,KACA,KACA,MAIa,aAAA2F,E","file":"js/chunk-4cb9c963.df465d9b.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContinuityPrinciple.vue?vue&type=style&index=0&id=34750777&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"def\"},[_vm._v(\"\\n Principle of Continuity\\n \")]),_c('p',[_vm._v(\"\\n Principle of continuity is a consequence of conservation of mass.\\n Principle of continuity requires that during the flow of a fluid, the fluid must flow in such a way that its mass remains conserved.\\n This imposes certain restrictions that the fluid velocity vector should obey when the fluid is flowing through a duct or a channel. Consider two points 'A' and 'B' along the flow of the fluid.\\n The principle of continuity then implies:\\n $$ \\\\rho_A A_A v_A = \\\\rho_B A_B v_B$$\\n where \\\\(\\\\rho_A\\\\) and \\\\(\\\\rho_B\\\\) are the fluid densities, \\\\(A_A\\\\) and \\\\(A_B\\\\) are the cross-section areas and \\\\(v_A\\\\) and \\\\(v_B\\\\) are the fluid velocities at the two points, respectively.\\n \")]),_c('h3',{ref:\"origin\"},[_vm._v(\"\\n Derivation of Continuity Equation\\n \")]),_c('p',[_vm._v(\"\\n To understand how conservation of mass places restrictions on the velocity field, we consider the steady flow of a fluid through a duct. The cross-section of the duct varies along its length i.e. the cross-section at the inlet is different from the cross-section at the outlet.\\n Further, since the flow of the fluid is one-dimensional, the velocity and the density are assumed not to change over a cross-section of the duct.\\n \"),_c('br'),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('v-img',{attrs:{\"src\":\"/assets/duct.png\",\"max-height\":\"350px\",\"max-width\":\"450px\",\"width\":\"400px\",\"contain\":\"\"}})],1),_c('br'),_vm._v(\"\\n Let \\\\(v_1\\\\) denote the speed of the fluid at the inlet and \\\\(v_2\\\\) denote the speed of the fluid at the outlet.\\n Let \\\\(\\\\rho_1\\\\) denote the density of the fluid at the inlet and \\\\(\\\\rho_2\\\\) denote the density of the fluid at the outlet.\\n Let \\\\(A_1\\\\) denote the cross-section area of the fluid at the inlet and \\\\(A_2\\\\) denote the cross-section area of the fluid at the outlet.\\n \"),_c('br'),_vm._v(\"\\n The mass of the fluid entering the duct in a time interval \\\\(\\\\Delta t\\\\) is given as:\\n $$\\\\Delta m_i = \\\\rho_1 A_1 v_1 \\\\Delta t$$\\n The mass of the fluid leaving the duct in the same interval is given as:\\n $$\\\\Delta m_o = \\\\rho_2 A_2 v_2 \\\\Delta t$$\\n The conservation of mass requires that mass entering the duct be same as the mass leaving the duct. Thus, we have:\\n $$\\\\Delta m_i = \\\\Delta m_o$$\\n which leads to\\n $$ \\\\rho_1 A_1 v_1 \\\\Delta t = \\\\rho_2 A_2 v_2 \\\\Delta t$$\\n or\\n $$ \\\\rho_1 A_1 v_1 = \\\\rho_2 A_2 v_2$$\\n \")],1),_c('h3',{ref:\"incompressible\"},[_vm._v(\"\\n Incompressible Flows\\n \")]),_c('p',[_vm._v(\"\\n For incompressible flows, the density of the fluid remains constant during the flow, i.e. \\\\(\\\\rho_1 = \\\\rho_2\\\\). Thus, the continuity equation for such flows can be written as:\\n $$ v_1 A_1 = v_2 A_2$$\\n \")]),_c('h3',{ref:\"playgraph\"},[_vm._v(\"\\n MagicGraph: Fluid Flow thorough a Duct\\n \")]),_c('p',[_vm._v(\"\\n This MagicGraph lets you visualize how the velocity of a fluid element changes as it flows through a duct with variable cross-section.\\n Drag points A, B, and C around to change the cross-section geometry of the duct. Then, tap on the blower to start the MagicGraph.\\n \")]),_c('v-responsive',[_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1a\"}})])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const Boxes = {\r\n box8: function () {\r\n var brd2 = JXG.JSXGraph.initBoard('jxgbox1a',{boundingbox: [-8, 10, 8, -6],keepaspectratio: true, axis:false, ticks:false, grid:true, pan:{enabled:false}, showCopyright:false,\r\n showNavigation:false});\r\n brd2.suspendUpdate();\r\n var resize = function () {\r\n brd2.resizeContainer(brd2.containerObj.clientWidth, brd2.containerObj.clientHeight, true);\r\n brd2.fullUpdate();\r\n };\r\n window.onresize = resize;\r\n brd2.create('text', [0,9, ' Principle of Continuity'], {fixed:true, anchorX:'middle', fontSize:function(){return 32*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n brd2.create('text', [0,8, 'v_2 = v_1 A_1/A_2'], {fixed:true, anchorX:'middle', fontSize:function(){return 22*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n var line1=brd2.create('line', [[-4.0,-1],[-4.0,+1]],{visible:false});\r\n var line2=brd2.create('line', [[0,-1],[0,+1]],{visible:false});\r\n var line3=brd2.create('line', [[4.0,-1],[4.0,+1]],{visible:false});\r\n var p1 = brd2.create('glider', [-4.,1, line1], {name:'A', size:3, face: 'circle', fillColor:'yellow', strokeColor:'black', label:{offset:[0, 15], cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(12*brd2.canvasWidth/800.)}}});\r\n var p2 = brd2.create('glider', [0,2, line2], {name:'B', size:3, face: 'circle', fillColor:'yellow', strokeColor:'black',label:{offset:[0, 15],cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(12*brd2.canvasWidth/800.)}}});\r\n var p3 = brd2.create('glider', [4,1, line3], {name:'C', size:3, face: 'circle', fillColor:'yellow', strokeColor:'black', label:{offset:[0, 15],cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(12*brd2.canvasWidth/800.)}}});\r\n // var c = brd2.create('spline', [p1, p2, p3], {strokeWidth:8, strokeColor:'black', visible:false});\r\n // var refl = brd2.create('line', [[-1,0],[+1,0]],{visible:false});\r\n // var d = brd2.create('reflection',[c, refl],{strokeWidth:8, strokeColor:'black', visible:false});\r\n var ft = function(x){return p2.Y()+(p3.Y()-p1.Y())*x/8+(p1.Y()+p3.Y()-2*p2.Y())*x*x/32;};\r\n var fb = function(x){return -p2.Y()-(p3.Y()-p1.Y())*x/8-(p1.Y()+p3.Y()-2*p2.Y())*x*x/32;};\r\n brd2.create('functiongraph', [function(x){return ft(x)}, -4, 4],{strokeColor:'black', strokeWidth:2});\r\n brd2.create('functiongraph', [function(x){return fb(x)}, -4, 4],{strokeColor:'black', strokeWidth:2});\r\n var x0 = -4;\r\n var x1=-4;\r\n var sw=0;\r\n // var tp = brd2.create('point', [x0, 0],{name:'2', size:0, fillColor:'red', strokeColor:'black', trace:false});\r\n // var lin=brd2.create('line',[[function(){return x0}, -1], [function(){return x0}, 1]],{visible:false});\r\n//Turtles\r\n var pt =brd2.create('point', [()=>x0, ()=>ft(x0)],{visible:false});\r\n var pb =brd2.create('point', [()=>x0, ()=>fb(x0)],{visible:false});\r\n var t0 = brd2.create('turtle', [-4, 0],{dash:1});\r\n var tt = brd2.create('turtle', [-4, 0.5*ft(-4)],{dash:1});\r\n var tb = brd2.create('turtle', [-4, 0.5*fb(-4)],{dash:1});\r\n tt.setPenSize(1);\r\n t0.setPenSize(1);\r\n tb.setPenSize(1);\r\n tt.setPenColor('blue');\r\n t0.setPenColor('red');\r\n tb.setPenColor('green');\r\n var run = function(){\r\n if (x1 <= 4.05) { // stop after two rounds\r\n x1 += (p1.Y()*p1.Y()/pt.Y()/pt.Y())*0.05;\r\n x0 =Math.min(4, x1);\r\n t0.moveTo([x0, 0]);\r\n tt.moveTo([x0, 0.5*ft(x0)]);\r\n tb.moveTo([x0, 0.5*fb(x0)]);\r\n if(sw==1){\r\n setTimeout(run, 0);}\r\n else{\r\n return;\r\n }}};\r\n t0.hideTurtle();\r\n tt.hideTurtle();\r\n tb.hideTurtle();\r\n var chg = brd2.create('image', ['/assets/fan.svg', [-8,-1.5],[3,3]],{fixed:true});\r\n chg.on('down', function(){x1=-4; x0=-4; sw=1;tt.cs();tb.cs();t0.cs();t0.init(x0, 0);tt.init(x0, 0.5*ft(x0));tb.init(x0, 0.5*fb(x0));run()});\r\n p1.on('down', function(){x1=-4; x0=-4; sw=0; tt.cs(); tb.cs(); t0.cs();t0.cs();t0.init(x0, 0);tt.init(x0, 0.5*ft(x0));tb.init(x0, 0.5*fb(x0));});\r\n p2.on('down', function(){x1=-4; x0=-4; sw=0; tt.cs(); tb.cs(); t0.cs();t0.cs();t0.init(x0, 0);tt.init(x0, 0.5*ft(x0));tb.init(x0, 0.5*fb(x0));});\r\n p3.on('down', function(){x1=-4; x0=-4; sw=0; tt.cs(); tb.cs(); t0.cs();t0.cs();t0.init(x0, 0);tt.init(x0, 0.5*ft(x0));tb.init(x0, 0.5*fb(x0));});\r\n //var mdt =brd2.create('midpoint', [tp, pt],{name:'1',size:0, fillColor:'blue', strokeColor:'black'});\r\n //var mdb =brd2.create('midpoint', [tp, pb],{name:'3',size:0, fillColor:'green', strokeColor:'black', trace:false});\r\n brd2.create('image', ['/assets/autumn-tree.svg', [-5.5, -1.5],[2.5,3]],{fixed:true});\r\n brd2.create('image', ['/assets/leaf.svg', [()=>x0-0.1, ()=>0.5*ft(x0)-0.25],[0.5,0.5]],{fixed:true, rotate:45});\r\n brd2.create('image', ['/assets/leaf.svg', [()=>x0+0.1, ()=>0.5*fb(x0)-0.4],[0.5,0.5]],{fixed:true, rotate:60});\r\n brd2.create('image', ['/assets/leaf.svg', [()=>x0, 0],[0.5,0.5]],{fixed:true, rotate:-15});\r\n//\r\n brd2.create('image', ['/assets/arrowhead.svg', [-5., function(){return p1.Y()/2 +0.2}],[0.25,0.25]],{fixed:true,visible:function(){if(sw==0){return false} else{return true}}, rotate:-90});\r\n brd2.create('image', ['/assets/arrowhead.svg', [-5., 0.125],[0.25,0.25]],{fixed:true, visible:function(){if(sw==0){return false} else{return true}}, rotate:-90});\r\n brd2.create('image', ['/assets/arrowhead.svg', [-5., function(){return -p1.Y()/2+0.1}],[0.25,0.25]],{fixed:true,visible:function(){if(sw==0){return false} else{return true}}, rotate:-90});\r\n brd2.create('text', [-6, 1, 'v_1= 1.00 m/s'],\r\n {anchorX:'middle', cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(18*brd2.canvasWidth/800.)}, parse:true,fixed:true});\r\n brd2.create('text', [0,7, ()=> 'A_2 = '+(pt.Y()*pt.Y()/p1.Y()/p1.Y()).toFixed(2)+' A_1'], {fixed:true, anchorX:'middle', fontSize:function(){return 22*brd2.canvasHeight/800}, cssStyle:'fontFamily:Oswald;'});\r\n brd2.create('text', [()=>x0+0.25, ()=>ft(x0)+2, function(){return 'v_2 =' + (p1.Y()*p1.Y()/pt.Y()/pt.Y()).toFixed(2)+' m/s'}],\r\n {anchorX:'middle',cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(18*brd2.canvasWidth/800.)}, parse:true,fixed:true});\r\n //brd2.create('text', [-3.75, ()=>ft(-4)+2, function(){return 'v(@x=-4) =' + (p1.Y()*p1.Y()/p1.Y()/p1.Y()).toFixed(2)+' m/s'}],\r\n // {cssStyle:'fontFamily:Oswald;',fontSize:function(){return Math.round(12*brd2.canvasWidth/500.)}, parse:true,fixed:true});\r\n //brd2.create('text', [()=>x0, ()=>ft(x0)+1, 'x'], {strokeWidth:1, strokeColor:'grey'});\r\n brd2.create('segment', [[()=>x0, ()=>ft(x0)], [()=>x0, ()=>ft(x0)+2]], {strokeWidth:1, strokeColor:'grey'});\r\n brd2.unsuspendUpdate();\r\n }\r\n }\r\nexport default Boxes;\r\n","\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContinuityPrinciple.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContinuityPrinciple.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContinuityPrinciple.vue?vue&type=template&id=34750777&\"\nimport script from \"./ContinuityPrinciple.vue?vue&type=script&lang=js&\"\nexport * from \"./ContinuityPrinciple.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContinuityPrinciple.vue?vue&type=style&index=0&id=34750777&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}