← Back to team overview

yade-users team mailing list archive

Re: [Question #690127]: Missing particles in VTK

 

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

Przemek posted a new comment:
Hi Jan,

this is txt file for 36 particles:

#format x_y_z_r_attrs
# x y z r temp
0	0	0	0.55	21.4949
0	1	0	0.55	21.551
0	2	0	0.55	21.6028
0	3	0	0.55	21.6451
0	4	0	0.55	21.6783
0	5	0	0.55	21.7061
1	0	0	0.55	21.5679
1	1	0	0.55	21.6467
1	2	0	0.55	21.7066
1	3	0	0.55	21.7512
1	4	0	0.55	21.7824
1	5	0	0.55	21.8009
2	0	0	0.55	21.6728
2	1	0	0.55	21.7612
2	2	0	0.55	21.8258
2	3	0	0.55	21.8707
2	4	0	0.55	21.8994
2	5	0	0.55	21.914
3	0	0	0.55	21.8076
3	1	0	0.55	21.8995
3	2	0	0.55	21.9645
3	3	0	0.55	22.0063
3	4	0	0.55	22.0305
3	5	0	0.55	22.0419
4	0	0	0.55	21.9781
4	1	0	0.55	22.0649
4	2	0	0.55	22.1265
4	3	0	0.55	22.1597
4	4	0	0.55	22.1744
4	5	0	0.55	22.181
5	0	0	0.55	22.2016
5	1	0	0.55	22.2554
5	2	0	0.55	22.3168
5	3	0	0.55	22.3314
5	4	0	0.55	22.3264
5	5	0	0.55	22.3268

And generated vtk:

# vtk DataFile Version 3.0.
comment
ASCII

DATASET POLYDATA
POINTS 35 double
0 1 0
0 2 0
0 3 0
0 4 0
0 5 0
1 0 0
1 1 0
1 2 0
1 3 0
1 4 0
1 5 0
2 0 0
2 1 0
2 2 0
2 3 0
2 4 0
2 5 0
3 0 0
3 1 0
3 2 0
3 3 0
3 4 0
3 5 0
4 0 0
4 1 0
4 2 0
4 3 0
4 4 0
4 5 0
5 0 0
5 1 0
5 2 0
5 3 0
5 4 0
5 5 0

POINT_DATA 35
SCALARS radius double 1
LOOKUP_TABLE default
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55
0.55

SCALARS temp double 1
LOOKUP_TABLE default
21.551
21.6028
21.6451
21.6783
21.7061
21.5679
21.6467
21.7066
21.7512
21.7824
21.8009
21.6728
21.7612
21.8258
21.8707
21.8994
21.914
21.8076
21.8995
21.9645
22.0063
22.0305
22.0419
21.9781
22.0649
22.1265
22.1597
22.1744
22.181
22.2016
22.2554
22.3168
22.3314
22.3264
22.3268

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