← Back to team overview

yade-users team mailing list archive

Re: [Question #702235]: no vtk file exported

 

Question #702235 on Yade changed:
https://answers.launchpad.net/yade/+question/702235

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Xifan,

first, try to remove first slash in file location:
> VTKRecorder(iterPeriod=50,recorders=['all'],fileName='tmp/vtk/p1-')#instead of '/tmp/vtk/p1-'

and make sure that the directory exists.

Secondly, you remove VTKRecorder in this line:
> O.engines=O.engines[0:5]+[PyRunner(iterPeriod=20,command='history()',label='recorder')]+[PyRunner(iterPeriod=20,command='stop()',label='stop')]+O.engines[5:7]

Just type O.engines in the console, to verify what engines are actually
included.

Cheers,
Karol

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.