vmtkmeshmergetimesteps

22 views
Skip to first unread message

Krentos Iliakopoulos

unread,
Jun 18, 2023, 6:32:05 PM6/18/23
to vmtk-users
Hi,

I try to trace particles using the  tutorial http://www.vmtk.org/tutorials/ParticleTracing.html . Following the steps one by one, when i tried to execute vmtkmeshmergetimesteps like:

vmtkmeshmergetimesteps -directory ~C:/Users/Desktop/thesis/thesis1/kalokalo/Simulations/kalokalo/5/kalokalo-converted-results
 -firststep 0 -laststep 2800 -intervalstep 10 -velocityvector 1 -vector velocity
 -pattern all_results_%5s.vtu -ofile total_results.vtu

i get the error message :

Traceback (most recent call last):
  File "C:\Users\DELL\anaconda3\envs\foo\lib\site-packages\vmtk\pypeserver.py", line 46, in RunPypeProcess
    pipe.Execute()
  File "C:\Users\DELL\anaconda3\envs\foo\lib\site-packages\vmtk\pype.py", line 324, in Execute
    scriptObject.Execute()
  File "C:\Users\DELL\anaconda3\envs\foo\lib\site-packages\vmtk\vmtkmeshmergetimesteps.py", line 116, in Execute
    if (self.Pattern%step).replace(' ','0') in fileList:
UnboundLocalError: local variable 'fileList' referenced before assignment

The pattern of the files is all_results_01234.vtu.
Any help regarding the UnboundLocalError would be much appreciated!
 
Kind Regards,
Krentos

andra...@gmail.com

unread,
Jun 20, 2023, 2:55:16 PM6/20/23
to vmtk-...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vmtk-users/4c42b66d-235b-494c-9d10-ae8065ce4a6cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages