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

interFoam 1.6: Initial Co-Number too large

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2011, 06:07
Default interFoam 1.6: Initial Co-Number too large
  #1
Member
 
Lars Kiewidt
Join Date: Sep 2009
Location: Germany
Posts: 54
Rep Power: 16
LarsPT is on a distinguished road
Hi,

I do simulations of capillary flows with interFoam (OF-1.6). I observed Co-Numbers of 700 in the first time steps. So I decreased the maximum time step. Now the Co-Numbers are fine, way below 0.2, but the simulation takes a lot of time because of the small maximum time step limit. Is there a way to specify more advanced options for the automatic time step control or a different solutions to prevent such high Co-Numbers at the initial steps?

Thanks in advance!

Lars
LarsPT is offline   Reply With Quote

Old   January 10, 2011, 06:14
Default
  #2
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 15
nakul is on a distinguished road
Hi,

I hope this might help: Specify the keyword maxCo in your controlDict with its value being as per your choice but less than 1. Also with put this in controlDict

adjustableTimeStep yes;

This will automatically modify your time step to maintain the "maxCo" limit.
nakul is offline   Reply With Quote

Old   January 10, 2011, 12:54
Default
  #3
Member
 
Lars Kiewidt
Join Date: Sep 2009
Location: Germany
Posts: 54
Rep Power: 16
LarsPT is on a distinguished road
Thanks for your answer! I already know and use the automatic time step control.

My problem is that Co is too large only for the first three or four time steps. So I reduced maximum time step to avoid these high Co-Numbers. But now this small time step limits the time step before the Co limit is guilty. So the computation is too slow.

A workaround is that I stop the computation manually after some time and restart it with a higher time step limit. But this is not practical when you want to start a lot of cases.

So is there a more convenient solution to that problem?

Thanks,

Lars
LarsPT is offline   Reply With Quote

Old   January 11, 2011, 04:58
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
You could try using a very small initial deltaT, and setting your maximum deltaT to a reasonable time step. OpenFOAM will gradually increase your time step, so if you are just worried about the first few iterations this should work.
akidess is offline   Reply With Quote

Reply

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
Compressible Nozzle Flow sebastian OpenFOAM Running, Solving & CFD 14 September 21, 2016 11:47
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 13:50
ForcesCoeffs ronaldo OpenFOAM 4 September 14, 2009 08:11
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 06:55


All times are GMT -4. The time now is 07:51.