|
[Sponsors] |
August 2, 2020, 17:06 |
Writing in regular time steps
|
#1 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 5 |
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 |
|
August 3, 2020, 03:44 |
|
#2 |
New Member
Vignesh S P
Join Date: Jul 2018
Location: Coimbatore, Tamil Nadu, India
Posts: 17
Rep Power: 7 |
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. |
|
August 10, 2020, 07:50 |
|
#3 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 5 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 05:28 |
Writing different time steps in different processors | sihaqqi | OpenFOAM Running, Solving & CFD | 2 | August 16, 2014 20:08 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |