Obtain an explicit finite difference equation

Assignment Help Engineering Mathematics
Reference no: EM131050017

Problem 1. Use the second-order accurate central difference approximation and the first-order forward difference approximation to evaluate ∂(cos2x)/∂x at x = Π/6 to four decimal places. A step size of Δx = 0.2 is to be used.

Compare this to the actual value of the derivative and compute the percent error to three decimal places for each approximation, defined by

%Error = 100((Numerical Value - Analytical Value)/Analytical Value)

Your percent error should include the proper sign (positive or negative).

Problem 2. Consider the following two-dimensional convection-diffusion equation:

∂u/∂t = u.∂u/∂x + ν(∂2u/∂x2 + ∂2u/∂y2)

Obtain an explicit finite difference equation using first-order forward time, first-order backwards in space (for the convective term), and second-order central spatial differencing (for the diffusion terms). You do not have to derive the difference approximations; simply use them. Remember to include allsuper- and subscripts, as well as the "order" term including the lowest-order error term for each variable.

Problem 3. Consider a fluid bounded by two parallel plates extended to infinity such that no end effects are encountered. The walls and the fluid are initially at rest. The lower wall is suddenly accelerated in the x direction. The coordinate system is such that the lower wall coincides with the xz-plane to which the y axis is perpendicular. The spacing between the two plates is denoted by h.

The equation for this problem is

∂u/∂t = ν∂2u/∂y2

where ν is the kinematic viscosity of the fluid. It is required to compute the velocity profile u = u(y,t). The problem has the following initial and boundary conditions

Initial Condition:

t= 0, u = 1.0 m/s for y = 0

        u = 0.0 m/s for 0 < y ≤ h

Boundary Condition:

t ≥ 0, u = 1.0 m/s for y = 0

         u = 0.0 m/s for y = h

The fluid has a kinematic viscosity of 0.000217 m2/s and h = 40 mm. Your solution should be run until t = 1.08 seconds. Various time steps are to be used to investigate the numerical schemes and the effect of the time step on stability and accuracy.

Write a two code to solve this problem for the following schemes and conditions.

a) FTCS Explicit with time steps 0.002 and 0.00233 sec

b) FTCS Implicit with time steps 0.002 and 0.01 sec

If j = 1 at the lower surface and a step size of Δy = 0.001 m is used, then j at the upper surface will be 41. Note that n = 1 corresponds to t = 0.

For each case of each method, plot the velocity profile for four difference times on the same graph: 0.27 sec, 0.54 sec, 0.81sec and 1.08 sec. (You will have 4 plots in all, each with four curves.) Remember to use proper plotting techniques, including title, axis labels, units, legend, and legibility. Submit your plots in hardcopy, and a copy of your codes both in hardcopy and electronically on Canvas.

The file names for your codes should be:

firstname_lastname.ftcsexp.sp15.ext
firstname_lastname.ftcsimp.sp15.ext

where ext is the proper extension for the computer language you are using. MATLAB and other similar software is not permitted for this assignment.

?Hello I want the C++ code of this assignment. I need the all graph code in MAtalb, so Graph can be plotted in Matlab. so please send me the Matlab code for Graph and 2 C++ code for given Assignment?.?

Reference no: EM131050017

Questions Cloud

Find three current articles on the single topic : In a short concluding section, write a general summary of your literature search of the three articles, specifying where they agree and disagree and how your thinking has been altered, or supported, after studying the three articles.
Create a procedure namedfindthrees that returns 1 : Create a procedure namedFindThrees that returns 1 if an array has three consecutive values of 3 somewhere in the array.
Expected value of the number of blue balls : What is the probability that at least one of the balls is blue? If the experiment of choosing two balls from the urn were repeated many times over, what would be the expected value of the number of blue balls?
Evaluate the external validity of this study : In this study, participants were told to have a conversation about a time when "their lives were threatened." Do you think that the results of this study would be different if the conversation were about something else? How so? Why?
Obtain an explicit finite difference equation : MAE 3150: Aerospace Computational Techniques - Compare this to the actual value of the derivative and compute the percent error to three decimal places for each approximation
Explain how freud concept of the unconscious : Explained how Freud's concept of the unconscious might be applied in contemporary therapy. Identified at least two techniques that could effectively be used in working with the unconscious along with the expected outcomes.
Economic downturns and social unrest : In class groups explain what is wrong with these hypotheses. How would you improve them? (a) Some types of employees always tend to be late to work whereas others are good timekeepers.
Creation and design of new products : What is the Importance of Evaluation in the Creation and Design of New Products using DECIDE framework?
Managers and shop floor workers differ in job satisfaction : Which of the following hypotheses is a relationship type and which a difference type? Then in groups write some more examples of both types of hypotheses.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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