skipZeroTime with pvpython

Hi,
I want to do post-processing with pvpython. However, I can’t include t=0s. Here is my script:

from paraview.simple import *
import numpy as np
import matplotlib.pyplot as plt
import os

# Désactiver le reset automatique de la caméra
paraview.simple._DisableFirstRenderCameraReset()

data = OpenFOAMReader(FileName="toto.foam")
data.SkipZeroTime = 0 # Désactiver "Skip Zero Time" pour inclure le timestep 0
data.UpdatePipeline()

# Vérifier si le timestep 0 est chargé
timesteps = list(data.TimestepValues)
print("Timesteps :")
print(timesteps)

And here the output :

Timesteps :
[4.99961446, 10.00157588, 14.998545, 14.99854536, 19.99859462, 24.99756565, 24.997566, 30.00139752, 30.001398, 34.99991425, 39.99739586, 45.00138095, 50.000116, 50.00011646, 54.99873026, 59.997987, 59.99798724, 65.00247447, 69.99672406, 74.99736385, 79.999027, 79.99902705, 85.00099156, 89.9974804, 95.0011965, 95.001197, 99.99780378, 105.00091, 105.00091042, 109.99720227, 114.99963113, 120.00104599, 120.00105, 125.00183767, 125.00184, 129.99907636, 134.99718369, 139.99819576, 145.00226555, 149.9988067, 149.99881, 155.00010158, 159.99785383, 164.9987, 164.9987001, 170.00021711, 170.00022, 175.00054678, 180.00334686, 184.99932717, 190.00344211, 195.00220028, 199.99736, 199.99736044, 205.00024519, 205.00025, 209.9984, 209.99840201, 215.00029, 215.00029402, 219.99926763, 225.00065517, 225.00066, 229.9975, 229.9975008, 234.99780312, 240.00024738, 240.00025, 244.99854832, 244.99855, 249.99919564, 249.9992, 255.00346972, 255.00347, 259.99923964, 264.99881343, 269.99954241, 275.00328805, 280.00186093, 284.99734673, 290.00062924, 290.00063, 294.99889563, 299.9985775, 304.99751523, 304.99752, 310.00143138, 314.99859659, 319.99724018, 325.00202, 325.0020237, 329.99770455, 334.99690704, 339.99765243, 345.00049433, 349.99739875, 365.0021686]

Can you help me? I use paraview version 5.13.0
Thanks.

Rocco

Please share your openfoam folder after simulation