CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Crank Nicolson scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2006, 23:36
Default This question has been asked i
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
This question has been asked in the past, however nobody has responded to it. I would appreciate if someone could help in this regard.

Why does the Courant number < 1 condition need to be respected if one uses pure Crank Nicolson (i.e. blending coefficient = 1 in OpenFOAM).

Crank Nicolson is a second-order implicit scheme. Based on Von Neumann stability analysis, it should be possible to march in time using larger time-steps if one respects the condition below:



Can someone explain? Am I wrong here??
msrinath80 is offline   Reply With Quote

Old   December 13, 2006, 17:04
Default I am no expert but I think it
  #2
Senior Member
 
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17
billy is on a distinguished road
I am no expert but I think it is because of PISO. Although, Crank Nicolson is stable, the PISO algorithm requires a good initial guess in each iteration to be stable.
billy is offline   Reply With Quote

Old   December 14, 2006, 04:47
Default Hy Msrinath80, I am no expe
  #3
Senior Member
 
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17
jens_klostermann is on a distinguished road
Hy Msrinath80,

I am no expert either, but in a German Textbook ("Numerik im Maschinenbau" by Schäfer) it says "...there can be stability problems with Crank Nicholson ist the solution of the problem is not smooth in space..." with further reference to the book of Hirsch.

Hop it helps

Jens
jens_klostermann is offline   Reply With Quote

Old   December 14, 2006, 10:29
Default Thanks Billy and Jens.
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Thanks Billy and Jens.
msrinath80 is offline   Reply With Quote

Old   April 2, 2007, 11:16
Default Hello everybody, I want to us
  #5
Member
 
Ralph
Join Date: Mar 2009
Posts: 40
Rep Power: 17
ralph is on a distinguished road
Hello everybody,
I want to use the Crank-Nicholson scheme for my calculations.
For using it, do I just have to enter the keyword "CrankNicholson" in the dictionary "fvSchemes"?
Or do I have to implement a mixing of fvm and fvc terms in the equation I want to solve, as written on page 43 of the programmers guide?
In the programmers guide they say:
solve
(
fvm::ddt(phi)
==
kappa*0.5*(fvm::laplacian(phi) + fvc::laplacian(phi))
)

Thanks in advance,
Ralph
ralph is offline   Reply With Quote

Old   April 9, 2009, 18:08
Default
  #6
New Member
 
Join Date: Apr 2009
Posts: 13
Rep Power: 17
student_58 is on a distinguished road
Hello everybody;
Crank nicolson method is an implicit method.So we solve this harder than explicit methods.Also crank nickolson is second order accurate.To me, it is right choice.
I want to make a program of this method.I know its theory.But when ı want to write codes, ı cannot make easily.I need some tutorials or programs(Matlab language).Where can ı find these?...
student_58 is offline   Reply With Quote

Old   November 14, 2010, 14:59
Default doubt on crankNicholson scheme
  #7
Member
 
Aldo Iannetti
Join Date: Feb 2010
Posts: 48
Rep Power: 16
aldo.iannetti is on a distinguished road
Hi,
Can anyone show me the cranckNicholsonDdtScheme.C lines where the blending with the Euler implicit happens?
thanks
aldo.iannetti is offline   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 contd msrinath80 OpenFOAM Running, Solving & CFD 0 December 12, 2006 23:41
Crank Nicolson. ! Main CFD Forum 0 September 5, 2005 13:52
Crank-Nicolson Glen Main CFD Forum 1 June 25, 2005 22:16
Convergence problem using crank nicolson method Carlos Gonzalez CFX 1 September 24, 2002 17:52
Crank-Nicolson technique for Conservation form of equations Yogesh Talekar Main CFD Forum 2 July 20, 1999 02:45


All times are GMT -4. The time now is 15:11.