yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05407
Re: [Question #185092]: VTK velocity PBCs
Question #185092 on Yade changed:
https://answers.launchpad.net/yade/+question/185092
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi Chiara,
for such purposes I created export.VTKExporter class, see
scripts/tests/vtkEsporter.py as an example. Use something like:
avgVel=Vector3(...)
vtkExporter = export.VTKExporter('fileName')
O.engines=[
...
PyRunner(...,command="vtkExporter.exportSpheres(what=[('realVel','avgVel-b.state.vel')])"),
...
]
If you use it, please report me any problems
Good luck
Jan
Chiara Modenese píše v St 18. 01. 2012 v 12:30 +0000:
> New question #185092 on Yade:
> https://answers.launchpad.net/yade/+question/185092
>
> Hi all,
>
> in VTKRecorder engine I see that velocities can be recorded among other parameters. However, I think that if the mean velocity field is applied, then the recorded velocity is the total one. What should be done in order to record only the fluctuating part of velocity? I have never touched the cpp code of that engine so if you could provide me with some suggestions about how to do it that would be great.
>
> Thanks,
> Chiara
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.