ECH3119 Numerical Methods And Optimization Process

Assignment Help MATLAB Programming
Reference no: EM132590862 , Length: 3 pages

ECH3119 Numerical Methods And Optimization Process

Question 1:
Write a computer program to compute the profile of the concentration in a given tank as shown in Figure 1.

1284_figure.jpg


Figure 1: diagram of the tank

The system can be described based on the following partial differential equations:

D (∂2c/∂x + ∂2c/∂y2) - kc = 0

and the boundary conditions are as shown. Use suitable value for Δx and Δy to get a accurate results and use value of 0.63 for D and 0.09 for k. Plot the results using a three-dimensional plotting routine where the horizontal plan contains the x and y axes and the z axis is the dependent variable c.

Question 2:

A layer of oil-water that is initially not flowing is placed in between two plates 10 cm apart as shown in Figure 2. At t = 0, the top plate is moved at a constant velocity of 7.5 cm/s. The partial differential equations governing the motions of the fluids are

557_figure1.jpg

Figure 2: Two plates with the oil-water layer

1170_figure2.jpg

Write a computer program to compute the velocity profile of the two fluid layers at t = 0.5, 1 and 1.5 s at distances x = 2, 4, 6 and 8 cm from the bottom plate. Note that μwater and μoil are 1.7 and 4.3 cp, respectively. Plot the velocity v for oil and water versus length x for various values of time t.

Question 3:

The Poisson equation as shown in the equation below governing the displacement of a uniform membrane subject to a tension and a uniform pressure:

2z/∂x + ∂2z/∂y2 = -P/T

Write a computer program to solve for the displacement of a 2-cm square membrane that has P/T = 0.6/cm and is fastened so that it has zero displacement along its four boundaries. Employ suitable value for Δx and Δy to obtain accurate results. Display your results as a contour plot. Simulate for P/T = 0.5/cm and P/T = 1.0/cm

Question 4:
Determine the temperature profile along an insulated composite rod that consist of two parts. The nondimensional transient heat conduction equations for the composite rod are given in the equations below:

2u/∂x = ∂u/∂t  0 ≤ x ≤ 1/3

r∂2u/∂x2 = ∂u/∂t  1/3 ≤ x ≤ 1

where u = temperature, x = axial coordinate, t = time, and r = ka/kb. ka and kb are the thermal conductivity for part a and b. The boundary and initial conditions are

Boundary Conditions

u (0, t ) = 1.5

u (1, t ) = 1.5

 

(∂u/∂x)a = (∂u/∂x)b   x = 1/3

Initial Conditions

u ( x, 0) = 0         0 ≤ x ≤ 1

Use second-order accurate finite-difference analogues for the derivatives with a Crank-Nicholson formulation to integrate in time. Write a MATLAB code for the solution, and select values of Δx and Δt for accurate results. Plot the temperature u versus length x for various values of time t. Generate a separate curve for the following values of parameter r = 1, 0.1 0.01, 0.001, and 0.0001.

Question 5:

Apply Alternate Direction Implicit (ADI) method to solve for the temperature profile in an insulated plate. The governing equation is

2u/∂x2 + ∂2u/∂y2 = ∂u/∂t

where u = temperature, x and y are spatial coordinates and t = time. The boundary and initial conditions are

Boundary Conditions

u ( x, 0, t ) = 0

u ( x,1, t ) = 1

 

u (0, y, t ) = 0

u (1, 0, t ) = 1

Initial Conditions

u ( x, y, 0) = 0    0 ≤ x < 1   0 ≤ y < 1

Write a MATLAB code to implement the solution. Plot the results using a three-dimensional plotting routine where the horizontal plan contains the x and y axes and the z axis is the dependent variable u. Construct several plots at various times, including the following: a) the initial conditions; b) one intermediate time, approximately halfway to steady state; and c) the steady-state condition.

Reference no: EM132590862

Questions Cloud

Construct a plot of the calibration curve : Construct a plot of the calibration curve and find the slope, intercept and the number of ppm of P in the sample.
What amount should be included in the current assets section : Prepaid insurance is for two years. What amount should be included in the current assets section of Janson's December 31, 2021, balance sheet
What was the segment margin for division l : The common fixed expenses were $50,000, and the company operating income was $20,000. What was the segment margin for Division L?
Information risk planning and management steps : In order to have a successful IG program, one of the eight (8) Information Risk Planning and Management steps is to develop metrics and measure results.
ECH3119 Numerical Methods And Optimization Process : ECH3119 Numerical Methods And Optimization Process Assignment Help and Solution - Write a computer program to compute the profile of the concentration
What were lyons company common fixed expenses : Operating income for the company was $25,000 and traceable fixed expenses were $40,000. What were Lyons Company's common fixed expenses?
Write a ionic equation for the reaction : Write a ionic equation for the reaction between an aqueous iodide and acidified hydrogen peroxide include physical state.
Information risk planning and management : One of the eight (8) Information Risk Planning and Management step is to develop metrics and measure results. Why are metrics required?
What would Symphony report as total current assets : Listed below are year-end account balances ($ in millions) taken from the records of Symphony Stores. What would Symphony report as total current assets

Reviews

len2590862

8/4/2020 3:33:28 AM

NUMERICAL METHODS AND OPTIMIZATION PROCESS (Chemical Engineering) The attached file has 5 Questions and You need to solve any 3 of them using MATLAB. ** MUST submit for each Question: 1- All m-file 2- All figures file 3- clear snapshot of the execution of the program 4- the flow chart of the program.

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