CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Equations for finite difference, element & volume

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2001, 06:00
Default 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
  Reply With Quote

Old   April 1, 2001, 08:37
Default 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.
  Reply With Quote

Old   April 1, 2001, 09:36
Default 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

  Reply With Quote

Old   April 1, 2001, 11:20
Default 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.


  Reply With Quote

Old   April 2, 2001, 01:39
Default 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?

  Reply With Quote

Old   April 2, 2001, 02:13
Default 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.
  Reply With Quote

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

  Reply With Quote

Old   April 2, 2001, 13:12
Default 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.
  Reply With Quote

Old   April 3, 2001, 10:53
Default 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
  Reply With Quote

Old   April 3, 2001, 12:08
Default 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

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 14 September 18, 2011 13:46
Control Volume Finite Element Method gerardosrez Main CFD Forum 0 March 16, 2011 15:49
finite difference vs. finite volume?? morteza08 Main CFD Forum 2 May 25, 2010 16:59
undefined element volume ratio mike CFX 0 April 21, 2006 10:25
Finite Volume Vs Finite Difference Mukkarum Main CFD Forum 3 February 8, 2003 11:16


All times are GMT -4. The time now is 14:55.