MSE2094
Analytic Methods in Material Science
Assignment #5: Diffusion Model of Carbon in Iron Revisited
DUE: March 5, 1998
Objective: Learn how to modify an existing numerical diffusion model to more precisely predict the carbon concentration gradient in iron.
Given: Example Problem 5.2 in your text book "Materials Science and Engineering: An Introduction", 3rd Edition by William D. Callister Jr.
-
- Fortran program:
- Link to the Fortran77 program or the Fortran90 program and save the file on your computer.
- Don't forget to edit out the html markup lines before you compile.
Modify: Fortran program for more accurate results
-
- Modify the Fortran program so that a node in the finite difference grid is located at a point that is exactly 0.5 mm below the surface.
- All modifications to the existing Fortran program should be noted with comment statements. You may want to go back to the Numerical Implementation of Finite DifferenceTheorey Section for some guidance on how to make these changes.
- Comment out or delete the files TIMES.DAT and CONCEN.ASCII and save only the
file DIFF.OUT. From the results stored in DIFF.OUT file draw a simple plot, with Microsoft Excel, that shows the gradient of the carbon concentration in WT% from the surface to a point 0.5 mm below the surface. Superimpose the exact solution on the same plot and comment on the source of difference between the analytic and numeric results. Include a copy of DIFF.OUT in your final report along with your Fortran program.
-
Part I (300 pts): Deliverables
- Titile page with your name, date and name of the assignment. (15pnts)
- One page summary of your findings with a graph comparing the numerical solution to the exact solution.(85 pnts)
- Procedure and conclusions (100 pnts)
- Computer Program highlighting changes you made to the existing program with appropriate comment statements. (100 pnts)
- Extra credit (50pnts) if you submit your homework as a web page.
R.D. Kriz
College of Engineering
Virginia Tech
Revised 03/5/98
http://www.eng.vt.edu/eng/materials/classes/MSE2094_NoteBook/HomeWork/assign5.html