pimpleFoam adjustable timestep
Hi guys!
I was running a simulation with pimpleFoam. Everything is ok except the maximum Courant number remains small(~0.1) even if I set the maxco to be 1. The current time step is 0.02(it is stable and doesn't change) and it is also smaller than maxDeltaT that I set to be 0.1. If I would like to increase my simulation speed, that is, to make the Maxco number close to 1, can anyone tell me what should I do? Thanks a lot! Jeremy Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Hi Jeremy,
Did you try to increase 'maxdeltaT'? |
Hi,
@bling In general, OpenFOAM wants to make at least 5 time steps between saves, since you writeInterval is 0.1, your maximum time step is 0.02. So, to increase time step, increase your writeInterval. |
Quote:
I have set maxCo=10, however it starts low (1e-4) and doesn't increase. In fact it flat-lines. Why won't the Courant number increase if the solution isn't in trouble? RH. |
The time step will not be larger than write interval.
|
I don't know form where you the "5" have. I would say
deltaT <= writeInterval If you need soma valuses for the first steps you may change the write interval during the simulation. At least if you use only one processor it should change during the run. |
I have the same issue, icoFoam runs with constant time step smaller than the maximum time step even though the Courant number is smaller than the max courant number. Here is the controlDict file:
Code:
FoamFile Code:
Time = 11.628 Could there be an issue with the field averaging or other operation? Can anyone please help me? |
icoFoam does not support adjustable time stepping. You can actually check which solver application uses it, by checking its .C file and searching setDeltaT.H in that file. If it exists, the solver supports it.!
|
All times are GMT -4. The time now is 19:11. |