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

  Analysis of the changes to the external environment

Analysis of the changes to the external environment that may, or have, influenced the value chain for Australian wine producers over the last six (6) years.

  The function should compute and return

Define a function that takes as input parameters a function handle f, start and end values a and b, and a number of steps n. The function should compute and return the x and y values of the maximum of the function over the range a to b.

  Generate a sphere of diameter 3. create 3 vectors

Generate a sphere of diameter 3. Create 3 vectors representing the translation of this sphere along the x, y, and z axes. Generate the correct vectors given the description below: The sphere should be translated to (-10, -10, -10).

  Problems related to matlab

solve the system for the least-squares estimates of Δρi.

  Demand constraint project

Represents the penalization for the demand in e-vehicle that cannot be met. This term must be considered per time step lets assume that demand at time step

  Cholesky decomposition to find upper triangular matrix

Mech 3010: Numerical Methods and Programming - Use Cramer's Rule to solve for x Check answer using backslash operator and Cholesky decomposition to find upper triangular matrix U.

  Implement the support vector machine algorithm

Write a program to implement the Support Vector Machine algorithm. Train an SVM classifer with data from to3 and (04 in the following way - Train your classifier with just the first patterns in 03 and aht and find the separating hyperplane and the ..

  Compare two strings to determine if they are the same

Write a statement (or statements) that will compare two strings to determine if they are the same, ignoring whether the characters are upper or lower case.

  Write a function in matlab that lets the user define matrix

You need to write a function in matlab that lets the user define two matrices of any size, then multiplies those matrices without using the built-in matrix.

  Generate a table of conversions from kw to hp

Determine the cost of a 4-year education, assuming that the current cost for 1 year at a state school is $5000 - Generate a table of conversions from kW to hp

  Vb and matlab to calculate the cumulative days

Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inputs, by employing array vector in VB or a vector matrix in Matlab.

  Ece 12

oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

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