Development of Java Programme for Fluid Flow

Similar documents
Chapter 3 PRESSURE AND FLUID STATICS

Hydrostatic Force on a Submerged Surface

FC-CIV HIDRCANA: Channel Hydraulics Flow Mechanics Review Fluid Statics

COURSE NUMBER: ME 321 Fluid Mechanics I Fluid statics. Course teacher Dr. M. Mahbubur Razzaque Professor Department of Mechanical Engineering BUET

Objectives deals with forces applied by fluids at rest or in rigid-body motion.

Irrigation &Hydraulics Department lb / ft to kg/lit.

FLUID MECHANICS Time: 1 hour (ECE-301) Max. Marks :30

Design, Building and Teaching with a Hydrostatic and Buoyancy Apparatus

Ch. 4 Motion in One direction Ch 6. Pressure in Fluids and Atmospheric Pressure Ch. 7. Up-thrust in Fluids Ch. 8. Floatation and Relative Density

Static Fluids. **All simulations and videos required for this package can be found on my website, here:

and its weight (in newtons) when located on a planet with an acceleration of gravity equal to 4.0 ft/s 2.

Unit code: H/ QCF level: 5 Credit value: 15 OUTCOME 3 - STATIC AND DYNAMIC FLUID SYSTEMS TUTORIAL 2 - STATIC FLUID SYSTEMS

Assistant Lecturer Anees Kadhum AL Saadi

Module 3: Hydrostatic forces on submerged bodies Lecture 7: Calculation of horizontal component, buoyancy. Forces on submerged bodies (continued)

Fluid Statics. Henryk Kudela. 1 Distribution of Pressure in the Fluid 1. 2 Hydrostatic pressure 3. 3 The Measurement of the Pressure 4

Homework of chapter (3)

Lab 5: Forces on Submerged Objects

Fluid Statics. AP Physics 2

Fluid Mechanics - Hydrostatics. AP Physics B

Student name: + is valid for C =. The vorticity

Fluid Mechanics. Chapter Three: Fluid Statics. Dr. Amer Khalil Ababneh

Concept of Fluid. Density. Pressure: Pressure in a Fluid. Pascal s principle. Buoyancy. Archimede s Principle. Forces on submerged surfaces

Analysis and Research of Mooring System. Jiahui Fan*

2 Available: 1390/08/02 Date of returning: 1390/08/17 1. A suction cup is used to support a plate of weight as shown in below Figure. For the conditio

γ water = 62.4 lb/ft 3 = 9800 N/m 3

. In an elevator accelerating upward (A) both the elevator accelerating upward (B) the first is equations are valid

Using sea bed roughness as a wave energy dissipater

Aerodynamic Analysis of a Symmetric Aerofoil

FLUID MECHANICS. Fluid Statics BUOYANCY. Fig. Buoyancy CENTER OF BUOYANCY

BUOYANCY, FLOATATION AND STABILITY

The Effect of Impeller Width on the Location of BEP in a Centrifugal Pump

Hours / 100 Marks Seat No.

3 1 PRESSURE. This is illustrated in Fig. 3 3.

Numerical Simulations of a Train of Air Bubbles Rising Through Stagnant Water

EXPERIMENT (2) BUOYANCY & FLOTATION (METACENTRIC HEIGHT)

Chapter 9 Fluids and Buoyant Force

Fluids, Pressure and buoyancy

LAB 13: FLUIDS OBJECTIVES

Chapter 3: Fluid Statics. 3-1 Pressure 3-2 Fluid Statics 3-3 Buoyancy and Stability 3-4 Rigid-Body Motion

1. Air is blown through a pipe AB at a rate of 15 litre per minute. The cross-sectional area of broad

PHYS 101 Previous Exam Problems

Additional Information

PHYSICS. Mr Rishi Gopie HYDROSTATICS

Chapter 13 Fluids. Copyright 2009 Pearson Education, Inc.

Stability and Computational Flow Analysis on Boat Hull

LAB 13: FLUIDS OBJECTIVES

Floating between two liquids 1,2

HW #10 posted, due Thursday, Dec 2, 11:59 p.m. (last HW that contributes to the final grade)

Department of Civil & Geological Engineering GEOE Engineering Geology

Tutorial 5 Relative equilibrium

Exam Question 9: Hydrostatics. March 6, Applied Mathematics: Lecture 8. Brendan Williamson. Introduction. Density, Weight and Volume

PRESSURE. Pressure: A normal force exerted by a fluid per unit area

Fluid Mechanics - Hydrostatics. Sections 11 5 and 6

L 13 Fluid Statics [2] More on fluids. How can a steel boat float. A ship can float in a cup of water! Today s weather

Experimental study on the gas tightness of a mined cavern with groundwater

Level 3 Cambridge Technical in Engineering 05822/05823/05824/05825/05873 Unit 3: Principles of mechanical engineering

Dec 6 3:08 PM. Density. Over the last two periods we discussed/observed the concept of density. What have we learned?

9 Mixing. I Fundamental relations and definitions. Milan Jahoda revision Radim Petříček, Lukáš Valenz

Fluids. James H Dann, Ph.D. Say Thanks to the Authors Click (No sign in required)

ENGINEERING COUNCIL CERTIFICATE LEVEL ENGINEERING SCIENCE C103 TUTORIAL 11 HYDROSTATICS

Experiment P18: Buoyant Force (Force Sensor)

Science 8 Chapter 9 Section 1

When a uniform pressure acts on a flat plate of area A and a force F pushes the plate, then the pressure p is : p = F/A

ANSWERS TO QUESTIONS IN THE NOTES AUTUMN 2018

Study on Fire Plume in Large Spaces Using Ground Heating

Notes Chapter 3. Buoyancy

Determination of the wind pressure distribution on the facade of the triangularly shaped high-rise building structure

The effect of back spin on a table tennis ball moving in a viscous fluid.

Grade 8 Science: Unit 2-Fluids Chapter 9: Force, Pressure Area

Wind Tunnel Instrumentation System

Application of Numerical Methods in Calculating the Depth of Submerged Ball in a RO Water System

U S F O S B u o y a n c y And Hydrodynamic M a s s

WIND-INDUCED LOADS OVER DOUBLE CANTILEVER BRIDGES UNDER CONSTRUCTION

LECTURE 16: Buoyancy. Select LEARNING OBJECTIVES:

Physics 1021 Experiment 4. Buoyancy

INTERNATIONAL JOURNAL OF CIVIL AND STRUCTURAL ENGINEERING Volume 1, No 4, 2010

Lecture Outline Chapter 15. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

Chapter 2 Hydrostatics and Control

SOFTWARE. Sesam user course. 12 May 2016 HydroD Hydrostatics & Stability. Ungraded SAFER, SMARTER, GREENER DNV GL 2016

CRITERIA OF BOW-DIVING PHENOMENA FOR PLANING CRAFT

Ship Resistance and Propulsion Prof. Dr. P. Krishnankutty Ocean Department Indian Institute of Technology, Madras

Available online at Procedia Engineering 200 (2010) (2009) In situ drag measurements of sports balls

Design & Analysis of Natural Laminar Flow Supercritical Aerofoil for Increasing L/D Ratio Using Gurney Flap

Lab. Manual. Fluid Mechanics. The Department of Civil and Architectural Engineering

Middle East Technical University Department of Mechanical Engineering ME 305 Fluid Mechanics I Fall 2018 Section 4 (Dr.

Physics General Physics. Lecture 19 - Fluids. Fall 2016 Semester Prof. Matthew Jones

Background physics concepts (again)

STABILITY OF MULTIHULLS Author: Jean Sans

γ water = 62.4 lb/ft 3 = 9800 N/m 3

Fluids always move from high pressure to low pressure. Air molecules pulled by gravity = atmospheric pressure

[Barve, 4(7): July, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Assumptions 1 At specified conditions, air behaves as an ideal gas. 2 The volume of the tire remains constant.

Chapter 13 Fluids. Copyright 2009 Pearson Education, Inc.

Fluid Mechanics. Liquids and gases have the ability to flow They are called fluids There are a variety of LAWS that fluids obey

EVERYDAY EXAMPLES OF ENGINEERING CONCEPTS

Chapter 14 Fluids Mass Density Pressure Pressure in a Static Fluid Pascal's Principle Archimedes' Principle

Ship Stability. Ch. 8 Curves of Stability and Stability Criteria. Spring Myung-Il Roh

PRESSURE AND BUOYANCY

3. GRADUALLY-VARIED FLOW (GVF) AUTUMN 2018

Marine Kit 4 Marine Kit 4 Sail Smooth, Sail Safe

Transcription:

Development of Java Programme for Fluid Flow Prof P.G.Chitte 1, Naresh Vangiri 2, Tanmay Sahuji 3, Prathamesh Phadnis 4, Assistant Professor, Dept of Mechanical Engineering, Walchand Institute of Technology, Solapur, Maharashtra, India 1 U.G. Student, Dept of Mechanical Engineering, Walchand Institute of Technology, Solapur, Maharashtra, India 2 U.G. Student, Dept of Mechanical Engineering, Walchand Institute of Technology, Solapur, Maharashtra, India 3 Software Development (Team Lead), Amdocs, Pune, Maharashtra, India 3 ABSTRACT: Many fluid problems do not involve motion. They concern the pressure distribution in a static fluid and its effect on solid surfaces and on floating and submerged bodies. When the fluid velocity is zero, denoted as the hydrostatic condition, the pressure variation is due only to the weight of the fluid. Assuming a known fluid in a given gravity field, the pressure may easily be calculated by integration. Important applications in this program are Pressure distribution in the atmosphere and the oceans, Forces on submerged flat surfaces. KEYWORDS: Total Pressure, Centre of Pressure, Fluid Dynamics, Fluid Statics, Fluid Kinematics, Java. Nomenclature: Description Total Pressure Force Distance of C.G. of the area from free surface of liquid Centre of gravity of plane surface Total pressure force Centre of pressure Distance of centre of pressure from Free surface of liquid. Symbol A h G F P h* I. INTRODUCTION Fluid mechanics is the branch of science which deals with behaviour of fluids (liquids or gaseous) at rest as well as in motion. Thus this branch of science deals with the statics, kinematics and dynamics aspects of fluid. The study of the fluid at rest is called fluid statics. The study of the fluid in motion, where pressure forces are not considered, is called fluid kinematics and if pressure forces are also considered for the fluid motion, that branch of science is called fluid dynamics. In this programme hydrostatic problems are solved. This programme deals with fluid at rest. This means that there will be no relative motion between adjacent or neighbouring fluid layers. The velocity gradient which is equal to the change of the velocity between two adjacent fluid layers divided by distance between the Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19351

layers will be zero. The shear stress which is equal to µ, du/dy will also be equal to zero. Then the forces acting on fluid particles will be: Due to pressure of the fluid normal to the surface, and Due to gravity or self-weight of fluid particles. 1) Total Pressure Total pressure is defined as the force exerted by static fluid on the surface either plane or curved when the fluid comes in contact with the surfaces. This forces always acts normal to the surface. The total pressure force on the surface may be determined by dividing the entire surface into a number of small parallel strips. The force on the small strips is then calculated and total pressure force on the whole area is calculated by integrating force on small strip. For water the value of ρ=1000 kg/m 3 and g=9.81m/s2. Total Force is given by equation, F=ρAgh 2) Centre Of Pressure Fig.1 Representation of body submerged in liquid Source: Fluid Mechanics and Hydraulic Machine by Dr.R.K.Bansal. It is defined as the point of application of total pressure force on the surface. There are four cases of submerged surfaces on which the total pressure force centre of pressure is to be determined. The submerged surface may be: i. Vertical plane surface ii. Horizontal plane surface iii. Inclined plane surface iv. Curved plane surface Centre of pressure is calculated by using Principles of moments, which states that the moment of the resultant force about an axis is equal to sum of the moments of the components about the same axis. Centre of Pressure is given by equation, h*= I G /Ah +h Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19352

II. LITERATURE REVIEW Muhammad Azim Mohd Shariffudiin et al. and Mohamed Nassir [1] has studied the hydrostatic force on curved plate submerged in liquid by experimental setup. In this paper they discussed about the total force acting and centre of pressure acting on curved plate which is submerged in liquid. Henryk kudela et.al [2] has studied the hydrostatic force acting on horizontal plate submerged in liquid. Henryk submerged the horizontal plate in liquid and calculated the centre of pressure and total force on that submerged body. Atiqullah and Norman Russel et.al [3] has designed and manufactures the Hydrostatic and Buoyancy Apparatus for the laboratory experiment purpose at Southern Polytechnic State University Marietta. By using this apparatus they performed experiment on hydrostatic pressure on curved body submerged in liquid. 1) JAVA DEVELOPMENT PROGRAMME III. RELATED WORK import java.util.*; public class f{ public static void main(string args[]) { Scanner n=new Scanner(System.in); System.out.println("Fluid Mechanics"); int s; double a,a1,a2,b,d,f,a,h,h1,h2,h3,i,s1,i1,i2,i3,i4,g1,g2,g3; System.out.println("This programe will tell us pressure force & centre of pressure"); System.out.println("Enter 1 if your object is Rectangle"); System.out.println("Enter 2 if your object is Traingle"); System.out.println("Enter 3 if your object is circle"); System.out.println("Enter 4 if your object is Trapezium"); s=n.nextint(); switch(s) { case 1: System.out.println("You have selected rectangular object"); System.out.println("Enter width"); b=n.nextdouble(); System.out.println("Enter depth"); Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19353

d=n.nextdouble(); System.out.println("Enter its distance from free water surface"); s1=n.nextdouble(); A=b*d; h=s1+(d/2); F=9810*A*h; System.out.println("Its distance of C.G. from free surface="+h+"m"); System.out.println("Pressure force=" +F + "Newton"); I=(b*d*d*d)/(12); h=(s1+d/2); h1=h+((i)/(a*h)); System.out.println("Moment of Inertia=" +I+"m^4"); System.out.println("Centre of pressure=" +h1 +"metre"); break; case 2: System.out.println("You have selected triangular object"); System.out.println("Enter base"); b=n.nextdouble(); System.out.println("Enter depth"); d=n.nextdouble(); System.out.println("Enter its distance from free water surface"); s1=n.nextdouble(); A=(0.5)*b*d; h=(0.3333*d)+s1; F=1000*9.81*A*h; System.out.println("Area of rectangle=" +A+"m^2"); System.out.println("Its distance of C.G. from free surface="+h+"m"); System.out.println("Pressure force=" +F+"Newton"); I=(b*d*d*d)/(36); h1=h+((i)/(a*h)); System.out.println("Moment of Inertia=" +I+"m^4"); System.out.println("Centre of pressure=" +h1+"metre"); break; Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19354

case 3: System.out.println("You have selected circular object"); System.out.println("Enter diameter of circle"); d=n.nextdouble(); System.out.println("Its distance between free water surface & its centre"); s1=n.nextdouble(); A=(0.78539816)*d*d; h=s1; System.out.println("Area of rectangle=" +A+"m^2"); System.out.println("Its distance of C.G. from free surface="+h+"m"); F=1000*9.81*A*h; System.out.println("Pressure force=" +F+"Newton"); I=(0.04908)*d*d*d*d; h1=h+((i)/(a*h)); System.out.println("Moment of Inertia=" +I+"m^4"); System.out.println("Centre of pressure=" +h1+"metre"); break; case 4: System.out.println("You have selected trapezoidal object"); System.out.println("Enter smaller side"); a=n.nextdouble(); System.out.println("Enter bigger side"); b=n.nextdouble(); System.out.println("Enter its distance from free water surface"); d=n.nextdouble(); A=0.5*(a+b)*d; g1=((2*a)+b)/(a+b); g2=d*0.3333; g3=g1*g2; F=9810*A*g3; System.out.println("Area of rectangle=" +A+"m^2"); System.out.println("Its distance of C.G. from free surface="+g3+"m"); System.out.println("Pressure force=" +F+"Newton"); Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19355

i1=(a*a)+(4*a*b)+(b*b); i2=(36)*(a+b); i3=i1/i2; i4=(i3)*(d*d*d); h1=(i4)/(a*g3); h2=(h1)+g3; System.out.println("Moment of Inertia=" +i4+"m^4"); System.out.println("Centre of pressure=" +h2+"metre"); break; default :System.out.println("Enter between 1-4 only"); }}} 2) Practical Problem Statement: A heavy car plunges into a lake during an accident and lands at the bottom of the lake on its wheels (As shown in Fig) The door is 1.2 m high and 1 m wide, and the top edge of the door is 8 m below the free surface of the water. Determine the hydrostatic force on the door and the location of the pressure centre, and discuss if the driver can open the door. Solution: A car is submerged in water. The hydrostatic force on the door is to be determined, and the likelihood of the driver opening the door is to be assessed. Assumptions 1) The bottom surface of the lake is horizontal. 2) The passenger cabin is well-sealed so that no water leaks inside. 3) The door can be approximated as a vertical rectangular plate. 4) The pressure in the passenger cabin remains at atmospheric value since there is no water leaking in, and thus no compression of the air inside. Therefore, atmospheric pressure cancels out in the calculations since it acts on both sides of the door. 5) The weight of the car is larger than the buoyant force acting on it. Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19356

Analytical Results: Fig.2 Practical Problem Representation Source: Fluid Mechanics Fundamentals and Application by Yunus.A.Cengel, John. M. Cimbala. Fig.3 Analytical results Calculated Source: Fluid Mechanics Fundamentals and Application by Yunus.A.Cengel, John. M. Cimbala. Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19357

IV. EXPERIMENTAL RESULTS Following results are obtained with the help of java programme for the practical problem given above. V. CONCLUSION At the end of this project we came to conclusion that- 1) From above results we observed that the values obtained by manually as well as by using java Programme both are same. Hence above java programme can be used to calculate any problems related Hydrostatic force. 2) Centre of pressure (i.e., h*) lies below the centre of gravity of vertical surface. 3) The distance of centre of pressure from free surface of liquid is independent of the density of the liquid. 4) The concepts of OOP s and Java are helpful for simplifying the numerical problems such as Fluid flow etc. REFERENCES [1] Cengel,Y.A & Cimbala,J.M. (2014) In Fluid mechanics: Fundamentals and Applications(3rded.,pp.38-- 59).New York, NY: McGraw-- Hill Higher Education. [2] Atiqullah, M. and Russell, N. (2010) "Design, Building and Teaching with a Hydrostatic and Buoyancy Apparatus", paper presented at Fall 2010 Mid- Atlantic ASEE Conference, Villanova University, 15-16 October. Marietta, GA.: Southern Polytechnic State University. [3] Muhammad Azim Mohd Shariffuddin, Mohamed Nassir Design an Experiment for Hydrostatic Force Measurements Engineering Undergraduate Research Catalyst Conference Issue 7, Volume 4 (2013). [4] B. R. Munson, D.F Young and T. H. Okiisshi, 1998. Fundamentals of Fluid Mechanics, John Wiley and Sons, Inc. [5] Singh, S. (2009) Experiments in Fluid Mechanics. New Delhi: PHI Learning Private Limited, p.10. [6] R.K.Bansal (2010) Revised Ninth Edition, Fluid Mechanics and Hydraulic Machine, Laxmi Publications Ltd. [7] Eide, A. et al. (2008) Engineering Fundamentals & Problem Solving. 5 th ed. New York: McGraw-Hill, p.218-219. [8] Tadmor. R., & Yadav, P.S. (2007) As-Placed Contact Angles for Sessile Drops. Journal of Colloid and Interface Science, 317(1), 241-246. doi:10.1016/j.jcis.2007.09.029@2007 [9] Humpherys. A.S. (1991). Centre of Pressure Gates for Irrigation. Applied Engineering in Agriculture, 7(2), 185-192. (doi:10.13031/2013.26209)@1991 Copyright to IJIRSET DOI:10.15680/IJIRSET.2017.0610006 19358