Develop a finite difference method formula

Assignment Help MATLAB Programming
Reference no: EM132319931

Instruction

- Students will develop CFD programs to solve simple problems in this project.
- There are two parts in this project, each student needs to complete the work assigned in each part and submit a written report.
- The report must be in the format of Miscrosft Word file and submitted through vUWS. Reports in hard copy will not be accepted.

Part one: Simple initial value problem

Assignment (please read the problem description before doing the assignment)

(1) Find out the equation of motion of the cylinder. The derivation procedure of the equation must be included in the report.

(2) Develop a numerical method for predicting the vibration of the cylinder. The procedure of deriving the FDM formula must be included in the report.

(3) Develop a MATLAB program for solving the problem. The MATLAB program code must be included in the report.

(4) Keeping the damping coefficient of c = 100 N-m/s, conduct numerical simulations for KC=2 to 20 with an interval of 2 and find out the variation of the power with the KC number.

(5) Keeping the KC number to be constant of KC=10, conduct numerical simulations for c=0 to 2000 N-m/s with an interval of 50 and find the variation of the power with c.

(6) In the report, show the time histories of the vibration for all the calculated cases.

(7) Discuss how KC and c affects the power generation.

Problem description

An energy extraction device includes a cylinder elastically mounted on a spring and the electricity generator. The cylinder vibrates only in a direction parallel to the flow and drives an electricity generator. The electricity generator extracts the energy from the cylinder in the same way as a damper. It is modelled as a damper with a damping constant c when the vibration is studied. The flow velocity is a combined steady and oscillatory flow

u(t) = U0 + Umsin(2Πt/T)

where U0 is the steady flow velocity, Um is the amplitude of the oscillatory flow velocity, T is the period of the oscillatory flow and t is the time.

The KC number is defined as

KC = UmT/D

                                                                             Flow velocity u = U0 + Umsin(ωt)

96_figure1.jpg

The electricity generator can modelled by a damper that extract energy from the motion of the cylinder with a constant damping constant of c. The structural damping is considered to be negligibly small. The energy extracted from the motion by the electricity generator (damper) can be calculated by

P = 1/T 0T cV2dt

where P is the power of the system, F is the hydrodynamic force on the cylinder, V is the vibration speed of the cylinder. In the numerical simulation, the power can be calculated by

P = 1/N ∑Nn=1 c(Vn)2

where N is the total time step in one stable oscillatory flow period, Fn and Vn represent n-th step within one oscillatory flow period. The power must be calculated by stable numerical solution. The hydrodynamic force on the cylinder can be predicted by the Morison equation

Fwater = CAmd (dVr/dt) + 1/2ρCDAP|Vr|Vr

                 ↑                       ↑

              Finertia                Fdrag

where Vr = u-V is the velocity of the flow relative to the cylinder, CA and CD and inertia and drag coefficients, respectively, md is the displaced fluid mass and Ap is the projected area. The calculating parameters are listed in the table below.

Table 1 Parameter table

Note: In the table, the number j stands for the last digit of your student ID. For example, if your student ID is 2345673, 10+j = 13.

Amplitude of the oscillatory flow velocity, Um

1 +  j/10  m/s

Steady flow velocity U0

0.1×Um m/s

Diameter of the cylinder, D

10+j     cm

Length of the cylinder, L

1 m

Mass of the cylinder, m

50 kg

Density of the water, ρ

1024 kg/m3

Stiffness of the spring (total), K

200 N/m

Damping coefficient (total), c

10 N?m/s

Added mass coefficient (assume to be constant)

1

Drag coefficient (assume to be constant)

1.8

Part two: One-dimensional convection diffusion problem

Assignment (please read the problem description before doing the assignment)

- Develop a finite difference method (FDM) formula for solving the equation. The procedure of deriving the FDM formula must be included in the report.

- Develop a MATLAB program and use this program to do the simulation and answer the following questions. Divide the soil depth into 200 cells when solving the problem numerically. You must attach the MATLAB program in your report.

- If α=0.0002 m2/s, find out when the temperature at the depth of 1.5 m reaches 25°C.

- If the temperature at the depth of 1.5 m reaches 25°C is defined as T1.5, do the simulations for α in the range of 0.0002 m2/s to 0.001 m2/s with an interval of 0.0001 m2/s and discuss how α on T1.5 and why.

Problem description

Note: In the paragraph below, the number j stands for the last digit of your student ID. For example, if your student ID is 2345673, 10+j = 13.

The water on the ground flows into the soil through the pore space of the soil (the space between soil particles). The flow velocity is very small of 0.002×(1+j) m/s and it does not change along the vertical direction. Initially, the temperature is (10+j) °C in the whole soil volume (including soil and the water in the soil). The temperature of the water on top of the ground level is 30°C and remains constant. The warm water moves into the soil and increases the temperature in the soil.

1562_figure.jpg

A coordinate x is defined and its origin is on the ground level and pointing downwards. The governing equation is the convection diffusion equation

∂T/∂t = -u∂T/∂x + α∂2T/∂x2

where

T is the temperature in the soil
t is the time
u is the water flow velocity
α is the heat diffusion coefficient (the influence of the soil has been considered).

Boundary condition is T = 30°C at the top boundary and ∂T/∂x = 0 at the bottom boundary (at x= 2 m).

Reference no: EM132319931

Questions Cloud

Create a presentation addressing a social problem : During the on-ground, residency portion of the Skills Lab I, you will have attended sessions covering topics relevant to generalist practice in social work.
Make the climographs similar to the examples provided : Use Microsoft Excel to graph the information provided and make the climographs similar to the examples provided with temperature as a line graph
Describe a diverse population that you would like to work : Provide an innovative introduction of yourself. Include your name and any interesting background information related to your ethnicity and/or any other aspects.
Improve the outcomes of organization : What can you and fellow employees do to improve the outcomes of your organization (or another local organization) through improved
Develop a finite difference method formula : Develop a finite difference method formula for solving the equation. The procedure of deriving the FDM formula must be included in the report
Preparing a resource proposal-a proposed resource : Describe the process you should follow when preparing a resource proposal - a proposed resource purchase or expenditure item.
Worst of the three nations : As manager of the international department for your company, you have been asked by the local Chamber of Commerce to deliver a speech on foreign trade.
Rating of a company footwear : Which one of the following is not one of the factors that affect the S/Q rating of a company's footwear?
Acquisition of the new service line : You are a practice administrator for a large physician group that is acquiring, or purchasing, a local service line such as a home health agency

Reviews

len2319931

6/11/2019 12:04:51 AM

Criteria High Distinction Distinction Each student must 85 - 100 75 - 84 complete the report The student shows All the concepts are and submit it by a strong ability of clearly written in a the due date. Late writing excellent logical way. The submission will lead to a deduction in engineering reports. The numerical data and all the calculations are the marks. method is described correct. The report clearly and does not have accurately. Enough technical numerical results are presented in a logical way to support the conclusions. mistakes/errors.

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd