# Equations for finite difference, element & volume

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 1, 2001, 06:00 Equations for finite difference, element & volume #1 W.L.C. Guest   Posts: n/a I am a college student. Recently, I have worked out the equations for finite difference, finite element and finite volume to calculate the fluid diffusion problem. When I had based on those equations to develop the program for calculation, I found something incorrect in my program, but I don't know whether my equation incorrect or not. Can someone help me to check my equations? Student WLC

 April 1, 2001, 08:37 Re: Equations for finite difference, element & vol #2 Sebastien Perron Guest   Posts: n/a Try to solve very simple problems with known analytical solutions. It will be easier to track downbugs in your program or mistakes in you equations.

 April 1, 2001, 09:36 Re: Equations for finite difference, element & vol #3 W.L.C. Guest   Posts: n/a Sebastien Perron, Thanks. I have tried the implicit scheme (theta = 1) and crank-nicolson (theta = 0.5), the results seems to be reasonable. But when I did the explicit scheme (theta = 0), the result of the scheme tends to diverge. Would it be possible help me to check my equations? Student WLC

 April 1, 2001, 11:20 Re: Equations for finite difference, element & vol #4 Sebastien Perron Guest   Posts: n/a When you use an explicit scheme, there is stability condition related to the time step. Hence, if your time step is too large, the scheme might diverge. What kind of problem are you solving? (Permanent or transcient flow). We could give you more help if you'd give us more info on the type of problem you are trying to solve. 

 April 2, 2001, 01:39 Re: Equations for finite difference, element & vol #5 WLC Guest   Posts: n/a Sebastien Perron, Thanks for your kindly help. I am doing the transcient flow (diffusion) simulation by comparing the numical solution to exact solution. May I forward my equations to you for further evaluation?

 April 2, 2001, 02:13 Re: Equations for finite difference, element & vol #6 John C. Chien Guest   Posts: n/a (1). Transient diffusion equation (heat conduction) and the approximate solutions,explicit and implicit, stability, etc... can be found in the book of "Applied Numerical Methods", by Brice Carnahan, H.A. Luther and James Wilkes,John Wiley publisher. (2). Chapter 7,has all the information about the theory, finite-difference formulation, examples, Fortran codes, stability and discussions.

 April 2, 2001, 07:53 Re: Equations for finite difference, element & vol #7 W.L.C. Guest   Posts: n/a Unfortunately, my college does not have this book.

 April 2, 2001, 13:12 Re: Equations for finite difference, element & vol #8 John C. Chien Guest   Posts: n/a (1). Looks like that Amazon.com has the book listed and it can be shipped in 24 hours. It is a newer edition. (2). You could ask your library to locate the book in other libraries and then borrow it from that library through inter-library loan, I guess. (3). You can also ask your school or professors to purchase it first.

 April 3, 2001, 10:53 Re: Equations for finite difference, element & vol #9 W.L.C. Guest   Posts: n/a I will check the other college library. But I caanot find thos book in the list of amazon.com

 April 3, 2001, 12:08 Re: Equations for finite difference, element & vol #10 John C. Chien Guest   Posts: n/a (1). You can also try barnes&noble book store online. (2). Applied Numerical Methods In Stock:Ships within 24 hours . Brice Carnahan,H.A. Luther,James O. Wilkes / Hardcover / Krieger Publishing Company / January 1990 Our Price: \$79.50