CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum


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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2005, 20:58
Default Crank-Nicolson
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,


  Reply With Quote

Old   June 25, 2005, 21:16
Default Re: Crank-Nicolson
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 13:59
crank nicolson....emergency morteza08 Main CFD Forum 5 June 1, 2010 08:21
Crank Nicolson scheme contd msrinath80 OpenFOAM Running, Solving & CFD 0 December 12, 2006 22:41
Crank Nicolson. ! Main CFD Forum 0 September 5, 2005 12:52
Convergence problem using crank nicolson method Carlos Gonzalez CFX 1 September 24, 2002 16:52

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