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

CrankNicolson discretization and Courant number

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2015, 07:08
Default CrankNicolson discretization and Courant number
  #1
Senior Member
 
Join Date: Jan 2015
Posts: 150
Rep Power: 11
Svensen is on a distinguished road
in book it's written that CrankNicolson method is unconditionally stable.

But using this method in icoFoam solver my solution after ~100 iterations explodes... Courant number is >60 at start and increasing (because I have an increasing transient inlet velocity). Yes, Courant number is big, but as I said before CrankNicolson method is unconditionally stable..

So what a problem with simulation ?? Maybe someone got such problem before.
Svensen is offline   Reply With Quote

Old   February 8, 2015, 09:00
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

For what type of equations it is unconditionally stable (see the book)?
alexeym is offline   Reply With Quote

Old   February 8, 2015, 09:29
Default
  #3
Senior Member
 
Join Date: Jan 2015
Posts: 150
Rep Power: 11
Svensen is on a distinguished road
According to "Introduction to Computational Fluid Dynamics" 2nd edition" it is written "...schemes with – 1 2 ≤ θ ≤ 1, including the Crank–Nicolson scheme, are unconditionally stable for all values of the time step" ...
Svensen is offline   Reply With Quote

Old   November 15, 2019, 08:30
Default
  #4
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 7
calf.Z is on a distinguished road
Quote:
Originally Posted by Svensen View Post
According to "Introduction to Computational Fluid Dynamics" 2nd edition" it is written "...schemes with – 1 2 ≤ θ ≤ 1, including the Crank–Nicolson scheme, are unconditionally stable for all values of the time step" ...
I am still confused about the instability of CrankNicolson 0.9. Any suggestion?
calf.Z is offline   Reply With Quote

Reply

Tags
crank-nicolson, icofoam, openfoam 2.3.0


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
Running stably with a large Courant number using pimpleFoam mlawson OpenFOAM 11 November 29, 2014 10:37
should Courant number always be kept below 1? wc34071209 OpenFOAM Running, Solving & CFD 16 March 9, 2014 19:31
OpenFOAM, Courant number and implicit methods fsaltara OpenFOAM 8 December 28, 2012 04:16
ddt explicit or implicit with courant number!! mrshb4 OpenFOAM 0 December 13, 2010 11:13
Courant number msrinath80 OpenFOAM Running, Solving & CFD 1 May 29, 2006 17:20


All times are GMT -4. The time now is 09:52.