Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-20 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Status: Answered => Solved

JOHN confirmed that the question is solved:
thanks for the amazing replies 
much appreciated

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread Bruno Chareyre
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Bruno Chareyre proposed the following answer:
If you manage to introduce other useful options on your side let us know, we 
can add them to the source code.
Bruno

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread Bruno Chareyre
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Status: Open => Answered

Bruno Chareyre proposed the following answer:
>how do i recompile?
https://yade-dem.org/doc/installation.html

> Forgive me for the naive question
You are welcome. :)

B

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

JOHN posted a new comment:
I apologise, i meant modetobinary**

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Status: Solved => Open

JOHN is still having a problem:
thank you 
Forgive me for the naive question
if i alter the source code of yade, how do i recompile?
Incidently i was thinking of setDataModetoAppend()

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Status: Answered => Solved

JOHN confirmed that the question is solved:
Thanks Bruno Chareyre, that solved my question.

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-08 Thread Bruno Chareyre
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
The vtu comes from "writer.Write()" [1] where writer is a 
vtkXMLUnstructuredGridWriter from Vtk lib.

The config parameters currently are VTKRecorder::compressor and 
VTKRecorder::ascii, based on which:
...
if(compress) writer->SetCompressor(compressor);
if(ascii) writer->SetDataModeToAscii();
...

If you know other usefull options available in vtk6 they can easily be
inserted in the source code with the same method.

Cheers

Bruno

[1]
https://github.com/yade/trunk/blob/master/pkg/dem/VTKRecorder.cpp#L926

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-08 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Description changed to:
Good evening,
I was rummaging around in the vtu files and saw that the encoding is base64.xI 
cant see the advantage of base64 and it increases the file size (to my mind) 
needlesly. Is there a way to use binary vtu or vtk files for the output? Or 
alternatively, is this way (base64) faster/better/safer?
For the record I am using this command
 VTKRecorder(fileName='./vis/3d-vtk-',recorders=['spheres'],realPeriod=1),
Also, as the simulation takes veeery long, I would ideally not want to drag 
python scripts into this (at least not more than absolutely necessary :-))
Thank you very much for your time
Best Regards
John

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-08 Thread JOHN
Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

Description changed to:
Good evening,
I was rummaging around in the vtu files and saw that the encoding is base64.xI 
cant see the advantage of base64 and it increases the file size (to my mind) 
needlesly. Is there a way to use binary vtu or vtk files for the output?
For the record I am using this command
 VTKRecorder(fileName='./vis/3d-vtk-',recorders=['spheres'],realPeriod=1),
Also, as the simulation takes veeery long, I would ideally not want to drag 
python scripts into this (at least not more than absolutely necessary :-))
Thank you very much for your time
Best Regards
John

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp