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

solving with Courant Number became larger and larger

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2012, 22:26
Question solving with Courant Number became larger and larger
  #1
New Member
 
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14
whyingwang is on a distinguished road
Hello,
recently I use icoFoam to solv a channel flow.I am comfused because when it calculate ,I find the Courant Number become larger and large.
At first Courant Number mean: 1.40671e-05 max: 0.0146915
But after 12 steps it become Courant Number mean: 1.57099e86 max: 2.66405e91
And then it stops.
I want to know why it happend,how can I circumvent it.

P.S.
in controlDict,I set runTimeModifiable true,see below:
runTimeModifiable true;

adjustTimeStep yes;

maxCo 1;

maxDeltaT 7.5e-7;
whyingwang is offline   Reply With Quote

Old   November 5, 2012, 03:06
Default
  #2
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
Hi,

did you try a smaller Courant-number, like 0.1 for example?


regards
treima
treima is offline   Reply With Quote

Old   November 5, 2012, 10:10
Default
  #3
New Member
 
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14
whyingwang is on a distinguished road
Quote:
Originally Posted by treima View Post
Hi,

did you try a smaller Courant-number, like 0.1 for example?


regards
treima
thanks,
you means when I set the delta T,I make the Courant-number equals 0.1.
or I set the maxCo 0.1 directly.
whyingwang is offline   Reply With Quote

Old   November 6, 2012, 03:06
Default
  #4
Member
 
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14
treima is on a distinguished road
I mean the setting of the maxCo directly to 0.1 (or another small value).

Have you tried this?
treima is offline   Reply With Quote

Old   November 7, 2012, 19:43
Default
  #5
New Member
 
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14
whyingwang is on a distinguished road
Quote:
Originally Posted by treima View Post
I mean the setting of the maxCo directly to 0.1 (or another small value).

Have you tried this?
Thanks,
Yes, I tied.But I fixed this problem at another point.
At last I found that the pre-compiled icoFoam does not support adjustable timestep control.I need to re-compile this icoFoam.
After adding
#include "readTimeControls.H"
and
#include "setDeltaT.H"
after
#include "initContinuityErrs.H" and #include "setDeltaT.H"
respectively.
Now I can control the Courant Number below any number.
whyingwang is offline   Reply With Quote

Reply

Tags
courant number


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
Hydrostatic Pressure and Gravity miliante OpenFOAM Running, Solving & CFD 132 October 7, 2012 23:50
directMapped problem panda60 OpenFOAM Bugs 4 July 8, 2010 11:23
Global Courant Number of VOF flatfoosie FLUENT 1 August 15, 2009 23:41
Global Courant Number flatfoosie Main CFD Forum 0 August 14, 2009 06:24
about Courant number Daniel Main CFD Forum 4 February 9, 2008 02:58


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