create an output file only at the endTime
Hi!
I would like to create an output file at my last time step. I wondered if an command similar to Code:
if (runTime.outputTime()) Any help would be appreciated. Best regards, Cyp |
I believe you're looking for:
Code:
if (runTime.end()) |
Hi Marupio!
Thank you for your answer. I tried your suggestion but nothing is written inside my output file... |
You could also put your write command behind the time loop:
Code:
while (runTime.run()) |
All times are GMT -4. The time now is 21:14. |