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

Crank-Nicolson

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2005, 21:58
Default Crank-Nicolson
  #1
Glen
Guest
 
Posts: n/a
HI all,

I am trying to incorporate Crank-Nicolson scheme, into my code, I have a small doubt about the calulation of the source terms for the scheme, when I calculate the source term for the crank-nicolson scheme should I update the new source terms every time step or should I update the source term at every Iteration ?

The source term for Crank-Nicolson scheme is calculated as the summation of the product of (flux*velocity_old) for all the directions 4 in 2d and 6 in 3d, although the u_old,v_old,w_old are from previous time step, should the term (flux*velocity_old) be updated every iteration with the newly calcuated "flux", got by discretizing diffusion and convection co-efficients ?

Thanks in advance,

Glen.

  Reply With Quote

Old   June 25, 2005, 22:16
Default Re: Crank-Nicolson
  #2
styoung317
Guest
 
Posts: n/a
I guess the method to deal with the source term depends:if the 'flux' is dependent solely on 'velocity',then it should not be updated until next time step;while in-time update may be necessary for the situation that 'flux' changes also with other variables or parameters,and the variables or parameters are not constant during the iterations. I'm not sure about my answer,maybe trial-error is useful,
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crank Nicolson scheme msrinath80 OpenFOAM Running, Solving & CFD 6 November 14, 2010 14:59
crank nicolson....emergency morteza08 Main CFD Forum 5 June 1, 2010 09:21
Crank Nicolson scheme contd msrinath80 OpenFOAM Running, Solving & CFD 0 December 12, 2006 23:41
Crank Nicolson. ! Main CFD Forum 0 September 5, 2005 13:52
Convergence problem using crank nicolson method Carlos Gonzalez CFX 1 September 24, 2002 17:52


All times are GMT -4. The time now is 19:00.