icoFoam - high number of iterations for pressure field computation
I ran an icoFoam job.
Geometry: flow channel (L=3100mm, B=250mm, H=20mm).
Like in the cavity tutorial case I've defined a moving top.
icoFoam case 1:
total simulation time = 2s
Unfortunately I didn't log the simulation progress.
According to the couple of last iteration steps print on the screen there is a tremendously high number of iterations for the pressure field computation in case 2 whereas in case 1 the number of iterations for pressure (just as for velocity) is in the beginning of the computation small and finally zero.
I read following thread:
I've tried to understand chapter seven (Ferziger, Peric) about pressure correction but am still too much of a beginner to be in the know.
I would like to understand the high number of iteration steps for pressure field in case 2.
Can anybody help?
Just for curiosity, what is the pressure gradient in your second case ? How much is the inlet and outlet in your final solution ?
I don't know how is icoFoam but some other solver have troubles if the pressure gradient is too small. Try to change your scheme maybe.
I've defined Inlet and outlet as walls. It's not for example like in an extruder where you get a flow produced by a given p and a moving wall (extruder screw).
Did I maybe misinterpret your question?
Try to plot the resituals to check what happen during your computation:
I've followed instructions of the 'how to plot residual' thread:
The icoFoam computation runs. The residuals of Ux, Uy, Uz and p have been plot.
simulation time: 3s, delta t : 0,002s
Plot of first run (simulation time: 2s, delta t: 0.002s):
Why stops the residual plot of Ux and Uz after about 150 iterations?
The simulation momentarily runs and the script 'Residual.txt' supplies, each time it is called, following message on the screen:
'warming: Skipping data file with no valid points'
Does that message have something to do with the fact the curves of Ux and Uz have already stopped beeing plot???
Have Ux and Uz already been converged?
Another fact, according to the entries in controlDict, confuses me:
Since I've set writeInterval to 2 I've expected that entries in the log file will be written after 2 timeSteps. But there is an entry for each timeStep in the log file. What does
'writeControl timeStep' actually mean?
Has the fact, that pressure computations needs about 1000 iterations per time step, something to do with the pressure correction method used in icoFoam?
Thanks for each reply! :o
did u find the answer of high iteration number? I am doing DNS of turbulent pipe flow. I am facing also the same problem.
Can you post your "controlDict", "fvsolution" & "fvschemes" files here?
Check with reduced deltaT.
|All times are GMT -4. The time now is 11:30.|