
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for solving a diffusion-reaction problem modeling the density of divacancies and vacancies in a metal using explicit euler time discretization and central difference in space. The problem involves the unification and breakup of di-vacancies and vacancies, with given boundary and initial conditions. The document asks to discretize the problem, solve it up to time t = 0.5, and analyze the accuracy, consistency, and stability of the scheme. It also requires students to bring their solutions and discussion of the results to class and email their working code.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Consider the following diffusion-reaction problem, which models the density of di - vacancies ( u ) and vacancies ( v ) in a metal, if two vacancies unite to form a di -vacancy with frequency proportional to v^2 and a di -vacancy breaks up to form two vacancies with frequencies proportional to u , 2 2
t^ xx^ yy t xx^ yy
u u u v u v v v v u
We assume the following boundary conditions on the unit square:
1 at 0,1 and 0, 0 at 1, u v u v x y y y y
and initial conditions
Discretize the problem using explicit Euler time discretization and central difference in space. For spatial discretization use uniform gird with โ x= โ y =0.02. Solve the problem up to a time of t = 0.5. Show the results for the following times t=0, 0.05, 0.1, 0.15, 0.25, 0.5. Also show the solution at the midpoint of the region as a function of time.
What is the accuracy of the solution in terms of โ t, โ x, โ y? Is the scheme consistent? Is your scheme stable? What is the maximum time step โ t max you can take in terms of โ x and โ y?
Hint: When analyzing stability, ignore the terms that do not contain derivatives. Also note that since it is a system, you should use ฯ 1 and ฯ 2 respectively for u and v.
P.S. Bring your solution and discussion of the results to class. Email your code to [email protected]. The program that you send should be a working program. All the codes will be checked whether they run or not. If they are erroneous, but run, points will be taken for the errors. If the code does not run (it has some syntax errors), an additional 25% will be taken off. The goal of this class is for you to be comfortable solving engineering problems. Please take your time and learn how to trust the computer.