CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > 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 Display Modes
Old   January 10, 2011, 05:07
Default interFoam 1.6: Initial Co-Number too large
  #1
Member
 
Lars Kiewidt
Join Date: Sep 2009
Location: Germany
Posts: 54
Rep Power: 7
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, 05:14
Default
  #2
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 6
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, 11:54
Default
  #3
Member
 
Lars Kiewidt
Join Date: Sep 2009
Location: Germany
Posts: 54
Rep Power: 7
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, 03:58
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 918
Rep Power: 16
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Compressible Nozzle Flow sebastian OpenFOAM Running, Solving & CFD 13 October 21, 2010 05:25
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50
ForcesCoeffs ronaldo OpenFOAM 4 September 14, 2009 07:11
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55


All times are GMT -4. The time now is 16:06.