VTK_T_START and VTK_T_END are never used in MFIX-25.3 and versions before to write *vtu files

Hi,

I needed to write the *vtu for a time window and realised it did not work.

That is because while defined in the GUI in MFIX-25.3 and earlier versions, it was not used in vtk_out.f. I made the following addition in vtk_out.f that was in /cartesian_grid:

at l.126

!# ECPB
! Check if current time is within the VTK output time window
IF(MODE==0) THEN
IF(TIME < VTK_T_START(LCV)) RETURN
IF(VTK_T_END(LCV) > ZERO .AND. TIME > VTK_T_END(LCV)) RETURN
ENDIF
!# ECPB

  CALL START_IO

This works now. It also does not prevent writing the vtp when there is no value for the *START and **END defined by the user in the GUI. See the test attached. ps: time needs to be added in the USE run…

fluid_bed_tfm_2d_test_save.mfx (7.5 KB)

vtk_out.f (176.2 KB)

I have tested my fix with: fluid_bed_dem_2d tutorial and all is well. The force and particle data were already correctly writing data by taking into account the *START and *END values.

Thanks Eric, we will fix for the next release.