Writing in regular time steps
Hi every one.
I am trying to adjust my control-Dict to write my data on 0.01 second of my simulation. I am using PISO solver and MaxCO feature. So I used "AdjustableTimestep" for writing my data. I got my P,U and other things in 0.01 seconds as I wanted, but in Postprocessing folder, I got my forcecoefficients in a very irregular time steps, which should be actual time steps adjusted by my MaxCO. Do you know why it happens? How can I solve it? Thank you for you kind help Milad |
Hi milad1990,
I think adding writeControl and and writeInterval to the forceCoeffs will get you the force coefficients at specified time of simulation. writeControl runTime; writeInterval 1; the above will write for every 1s of simulation time. |
Hi VigneshSP
Thanks for your reply. The problem however, was not that. Because I was using 'MAX CO' feature I found that OpenFOAM could not follow "Adjustable time step" in "0.001" increment that I determined in ControlDict. Also RunTime feature is not working too. btw, thank you |I solved my problem since I write my data in f=100hz, I can just write my forces and force coefficients in "output time" and its working. Thank you |
All times are GMT -4. The time now is 19:36. |