Finite difference method, Mathematics


Two reservoirs of equal cross sectional areas (315 m2) and at equal elevations are connected by a pipe of length 20 m and cross sectional area 3 m2. The reservoir on the left (reservoir 1) is filled with a liquid of mass density 1000 kg/m3. The pressure at the bottom of reservoir 1 (that is, p1) is 39000 N/m2. The second reservoir and the connecting pipe are initially empty. The acceleration due to gravity is 9.8 m/s2.

The following assumptions apply. One can ignore the effects of friction, form losses and the elevation differences along the path of the connecting pipe. The fluid is incompressible and inviscid. Flow through the connecting pipe is started by the instantaneous, full opening of the valve at the bottom of reservoir 1.

Using the finite difference method, write a Fortran program that predicts the behavior of the system for 200 seconds following the opening of the valve. Assume a timestep size of

0.1 sec. The program must read the above data (with the exception of the acceleration due to gravity and problem duration time of 200 seconds) from an input file and generate an output file. Run the following four cases;

a) one for the above data,

b) identical to case (a) but with the cross-sectional area of the second reservoir, A2, modified to 200 m2,

c) identical to case (a) but with the length of the connecting pipe, L, modified to 40 m, and

d) identical to case (a) but with the cross sectional flow area of the connecting pipe, Ap, modified to 6 m2.

The output file must include the following information:

Modeling and Simulation for Mechanical and Nuclear Engineers -

  • the date and time of the run,
  • a summary of the input data values, including units of measurement,
  • the maximum value of the volumetric flow rate, qv, through the connecting pipe(m3/s),
  • the maximum depths of the water in meters in each reservoir during the transient,
  • the maximum pressure at the exit of each reservoir (p1 and p2) during the transient (N/m2), and
  • a table of the volumetric flow rate through the connecting pipe (m3/s), the depth of water in each reservoir in meters, and the pressures p1 and p2 as a function of time.

The deliverables are:

  • the Fortran source code listing,
  • the input and output files for the four cases, and
  • the following plots as a function of time for each case:

the volumetric flow rate through the connecting pipe,

a comparison of the values of p1 and p2, and

a comparison of the fluid depth in each reservoir.

Plots should have appropriately labeled axes. The y-axis parameter value may be normalized if you wish.

In the text of the transmitting email answer the following:

1. explain the differences in the results of the four cases in terms of changes to the system's fluid capacitance Cf and fluid inductance If, and

2. Explain how this system relates to that of the unsteady flow in a U-tube discussed in class. For example, all else being equal, does the period of oscillation of the liquid in this system, like that of the U-tube system, vary as the square root of the length of the connecting pipe? Back up your answer either by reference to the required cases or to additional cases that you run.

Posted Date: 2/18/2013 4:04:14 AM | Location : United States

Related Discussions:- Finite difference method, Assignment Help, Ask Question on Finite difference method, Get Answer, Expert's Help, Finite difference method Discussions

Write discussion on Finite difference method
Your posts are moderated
Related Questions
limit x APProaches infinity (1+1/x)x=e

The  ratio of the sum of first n terms of two AP's  is 7n+1:4n+27.  Find the ratio of their 11th  terms . Ans:    Let a 1 , a 2 ... and d 1 , d 2 be the I terms are Cd's of t

1. Solve the right triangle. B = 135     c = 3.72 A  ≈ ____°    (round to the nearest tenth as needed) 2.  Solve the right triangle, where  a =4 and b =10 The length of

Analysis of questionnaire completed by holiday makers showed that 0.75 classified their holiday as excellent at Malindi. The probability of hot weather in the resort is 0.6.  If th

Given the vectors u = 3 i - 2 j + k ,   v = i + 2 j - 4 k ,    w = -2 i + 4 j - 5 k use vector methods to answer the following: (a) Prove u , v and w can form

The larger of two supplementary angles exceeds the smaller by 180, find them. (Ans:990,810) Ans:    x + y = 180 0          x - y =  18 0        -----------------

1.Verify Liouville''s formula for y "-y" - y'' + y = 0 in (0, 1) ? 2.Find the normalized differential equation which has {x, xex} as its fundamental set. 3.6Find the general soluti

A line has the equation 2y=-3x+1. Find an equation of a line parallel to this line that has a y-intercept of -2.