[Paraview] loading multiple pvd files - create an xml vtp file that will load all the vtp files

Su, Simon M CTR USARMY ARL (US) simon.m.su.ctr at mail.mil
Thu Oct 23 14:23:14 EDT 2014


Hello,

Please see below for a list of file that I write to vtp format in parallel. So the number of files I get is dependent on how many processes I used to write the data out. When loading the pieces,

Material-volume-fraction---1_Merged_000.vtp ..... Material-volume-fraction---1_Merged_030.vtp

ParaView loader is intelligent enough to group the files into 1 file group that I can click to load them.

However, in some cases the file grouping are not available to me and I end up having to click on all the files pieces to load the whole visualization piece that I am interested in. From the

Material-volume-fraction---1_Merged_000.vtp xml format, I can see that it is loading all the pieces in

files Material-volume-fraction---1_Merged_000_0.vtp  .. Material-volume-fraction---1_Merged_000_3.vtp

how can I write a Material-volume-fraction---1_Merged.vtp file that has all the pieces spread out in the files

Material-volume-fraction---1_Merged_000.vtp ..... Material-volume-fraction---1_Merged_030.vtp ?

Are there utility that I can use to generate the vtp xml file? or I have to code it up by hand?

Any help is much appreciated

thanks
-simon


====================================================================================

-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_000.vtp
-rw------- 1 simonsm users  2387349 May 23 13:18 Material-volume-fraction---1_Merged_000_0.vtp
-rw------- 1 simonsm users  1778725 May 23 13:18 Material-volume-fraction---1_Merged_000_1.vtp
-rw------- 1 simonsm users     2805 May 23 13:18 Material-volume-fraction---1_Merged_000_2.vtp
-rw------- 1 simonsm users     2805 May 23 13:18 Material-volume-fraction---1_Merged_000_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_001.vtp
-rw------- 1 simonsm users   276919 May 23 13:18 Material-volume-fraction---1_Merged_001_0.vtp
-rw------- 1 simonsm users   255538 May 23 13:18 Material-volume-fraction---1_Merged_001_1.vtp
-rw------- 1 simonsm users   283476 May 23 13:18 Material-volume-fraction---1_Merged_001_2.vtp
-rw------- 1 simonsm users   248965 May 23 13:18 Material-volume-fraction---1_Merged_001_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_002.vtp
-rw------- 1 simonsm users   294932 May 23 13:18 Material-volume-fraction---1_Merged_002_0.vtp
-rw------- 1 simonsm users   236913 May 23 13:18 Material-volume-fraction---1_Merged_002_1.vtp
-rw------- 1 simonsm users   286037 May 23 13:18 Material-volume-fraction---1_Merged_002_2.vtp
-rw------- 1 simonsm users   246192 May 23 13:18 Material-volume-fraction---1_Merged_002_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_003.vtp
-rw------- 1 simonsm users   308410 May 23 13:18 Material-volume-fraction---1_Merged_003_0.vtp
-rw------- 1 simonsm users   224929 May 23 13:18 Material-volume-fraction---1_Merged_003_1.vtp
-rw------- 1 simonsm users   311348 May 23 13:18 Material-volume-fraction---1_Merged_003_2.vtp
-rw------- 1 simonsm users   222535 May 23 13:18 Material-volume-fraction---1_Merged_003_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_004.vtp
-rw------- 1 simonsm users   316539 May 23 13:18 Material-volume-fraction---1_Merged_004_0.vtp
-rw------- 1 simonsm users   218368 May 23 13:18 Material-volume-fraction---1_Merged_004_1.vtp
-rw------- 1 simonsm users   319790 May 23 13:18 Material-volume-fraction---1_Merged_004_2.vtp
-rw------- 1 simonsm users   215373 May 23 13:18 Material-volume-fraction---1_Merged_004_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_005.vtp
-rw------- 1 simonsm users   317601 May 23 13:18 Material-volume-fraction---1_Merged_005_0.vtp
-rw------- 1 simonsm users   207750 May 23 13:18 Material-volume-fraction---1_Merged_005_1.vtp
-rw------- 1 simonsm users   305459 May 23 13:18 Material-volume-fraction---1_Merged_005_2.vtp
-rw------- 1 simonsm users   219908 May 23 13:18 Material-volume-fraction---1_Merged_005_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_006.vtp
-rw------- 1 simonsm users   328800 May 23 13:18 Material-volume-fraction---1_Merged_006_0.vtp
-rw------- 1 simonsm users   215271 May 23 13:18 Material-volume-fraction---1_Merged_006_1.vtp
-rw------- 1 simonsm users   323746 May 23 13:18 Material-volume-fraction---1_Merged_006_2.vtp
-rw------- 1 simonsm users   220650 May 23 13:18 Material-volume-fraction---1_Merged_006_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_007.vtp
-rw------- 1 simonsm users   352780 May 23 13:18 Material-volume-fraction---1_Merged_007_0.vtp
-rw------- 1 simonsm users   224689 May 23 13:18 Material-volume-fraction---1_Merged_007_1.vtp
-rw------- 1 simonsm users   353205 May 23 13:18 Material-volume-fraction---1_Merged_007_2.vtp
-rw------- 1 simonsm users   225473 May 23 13:18 Material-volume-fraction---1_Merged_007_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_008.vtp
-rw------- 1 simonsm users   411938 May 23 13:18 Material-volume-fraction---1_Merged_008_0.vtp
-rw------- 1 simonsm users   252460 May 23 13:18 Material-volume-fraction---1_Merged_008_1.vtp
-rw------- 1 simonsm users   354602 May 23 13:18 Material-volume-fraction---1_Merged_008_2.vtp
-rw------- 1 simonsm users   247965 May 23 13:18 Material-volume-fraction---1_Merged_008_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_009.vtp
-rw------- 1 simonsm users   474651 May 23 13:18 Material-volume-fraction---1_Merged_009_0.vtp
-rw------- 1 simonsm users   261574 May 23 13:18 Material-volume-fraction---1_Merged_009_1.vtp
-rw------- 1 simonsm users   490329 May 23 13:18 Material-volume-fraction---1_Merged_009_2.vtp
-rw------- 1 simonsm users   186282 May 23 13:18 Material-volume-fraction---1_Merged_009_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_010.vtp
-rw------- 1 simonsm users   535644 May 23 13:18 Material-volume-fraction---1_Merged_010_0.vtp
-rw------- 1 simonsm users   283020 May 23 13:18 Material-volume-fraction---1_Merged_010_1.vtp
-rw------- 1 simonsm users   538664 May 23 13:18 Material-volume-fraction---1_Merged_010_2.vtp
-rw------- 1 simonsm users   205897 May 23 13:18 Material-volume-fraction---1_Merged_010_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_011.vtp
-rw------- 1 simonsm users   561044 May 23 13:18 Material-volume-fraction---1_Merged_011_0.vtp
-rw------- 1 simonsm users   312516 May 23 13:18 Material-volume-fraction---1_Merged_011_1.vtp
-rw------- 1 simonsm users   563540 May 23 13:18 Material-volume-fraction---1_Merged_011_2.vtp
-rw------- 1 simonsm users   310835 May 23 13:18 Material-volume-fraction---1_Merged_011_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_012.vtp
-rw------- 1 simonsm users   627747 May 23 13:18 Material-volume-fraction---1_Merged_012_0.vtp
-rw------- 1 simonsm users   341561 May 23 13:18 Material-volume-fraction---1_Merged_012_1.vtp
-rw------- 1 simonsm users   626824 May 23 13:18 Material-volume-fraction---1_Merged_012_2.vtp
-rw------- 1 simonsm users   340930 May 23 13:18 Material-volume-fraction---1_Merged_012_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_013.vtp
-rw------- 1 simonsm users   690196 May 23 13:18 Material-volume-fraction---1_Merged_013_0.vtp
-rw------- 1 simonsm users   383751 May 23 13:18 Material-volume-fraction---1_Merged_013_1.vtp
-rw------- 1 simonsm users   682791 May 23 13:18 Material-volume-fraction---1_Merged_013_2.vtp
-rw------- 1 simonsm users   374141 May 23 13:18 Material-volume-fraction---1_Merged_013_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_014.vtp
-rw------- 1 simonsm users   771537 May 23 13:18 Material-volume-fraction---1_Merged_014_0.vtp
-rw------- 1 simonsm users   395242 May 23 13:18 Material-volume-fraction---1_Merged_014_1.vtp
-rw------- 1 simonsm users   631732 May 23 13:18 Material-volume-fraction---1_Merged_014_2.vtp
-rw------- 1 simonsm users   496985 May 23 13:18 Material-volume-fraction---1_Merged_014_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_015.vtp
-rw------- 1 simonsm users   851331 May 23 13:18 Material-volume-fraction---1_Merged_015_0.vtp
-rw------- 1 simonsm users   421645 May 23 13:18 Material-volume-fraction---1_Merged_015_1.vtp
-rw------- 1 simonsm users   644639 May 23 13:18 Material-volume-fraction---1_Merged_015_2.vtp
-rw------- 1 simonsm users   572823 May 23 13:18 Material-volume-fraction---1_Merged_015_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_016.vtp
-rw------- 1 simonsm users   844784 May 23 13:18 Material-volume-fraction---1_Merged_016_0.vtp
-rw------- 1 simonsm users   501078 May 23 13:18 Material-volume-fraction---1_Merged_016_1.vtp
-rw------- 1 simonsm users   793161 May 23 13:18 Material-volume-fraction---1_Merged_016_2.vtp
-rw------- 1 simonsm users   512324 May 23 13:18 Material-volume-fraction---1_Merged_016_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_017.vtp
-rw------- 1 simonsm users   919813 May 23 13:18 Material-volume-fraction---1_Merged_017_0.vtp
-rw------- 1 simonsm users   522214 May 23 13:18 Material-volume-fraction---1_Merged_017_1.vtp
-rw------- 1 simonsm users   841893 May 23 13:18 Material-volume-fraction---1_Merged_017_2.vtp
-rw------- 1 simonsm users   543854 May 23 13:18 Material-volume-fraction---1_Merged_017_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_018.vtp
-rw------- 1 simonsm users   935025 May 23 13:18 Material-volume-fraction---1_Merged_018_0.vtp
-rw------- 1 simonsm users   558037 May 23 13:18 Material-volume-fraction---1_Merged_018_1.vtp
-rw------- 1 simonsm users   891893 May 23 13:18 Material-volume-fraction---1_Merged_018_2.vtp
-rw------- 1 simonsm users   593873 May 23 13:18 Material-volume-fraction---1_Merged_018_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_019.vtp
-rw------- 1 simonsm users  1032963 May 23 13:18 Material-volume-fraction---1_Merged_019_0.vtp
-rw------- 1 simonsm users   533044 May 23 13:18 Material-volume-fraction---1_Merged_019_1.vtp
-rw------- 1 simonsm users  1022794 May 23 13:18 Material-volume-fraction---1_Merged_019_2.vtp
-rw------- 1 simonsm users   574583 May 23 13:18 Material-volume-fraction---1_Merged_019_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_020.vtp
-rw------- 1 simonsm users  1076039 May 23 13:18 Material-volume-fraction---1_Merged_020_0.vtp
-rw------- 1 simonsm users   549074 May 23 13:18 Material-volume-fraction---1_Merged_020_1.vtp
-rw------- 1 simonsm users   987766 May 23 13:18 Material-volume-fraction---1_Merged_020_2.vtp
-rw------- 1 simonsm users   718499 May 23 13:18 Material-volume-fraction---1_Merged_020_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_021.vtp
-rw------- 1 simonsm users  1170888 May 23 13:18 Material-volume-fraction---1_Merged_021_0.vtp
-rw------- 1 simonsm users   576954 May 23 13:18 Material-volume-fraction---1_Merged_021_1.vtp
-rw------- 1 simonsm users  1167430 May 23 13:18 Material-volume-fraction---1_Merged_021_2.vtp
-rw------- 1 simonsm users   576311 May 23 13:18 Material-volume-fraction---1_Merged_021_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_022.vtp
-rw------- 1 simonsm users  1220152 May 23 13:18 Material-volume-fraction---1_Merged_022_0.vtp
-rw------- 1 simonsm users   599996 May 23 13:18 Material-volume-fraction---1_Merged_022_1.vtp
-rw------- 1 simonsm users  1217851 May 23 13:18 Material-volume-fraction---1_Merged_022_2.vtp
-rw------- 1 simonsm users   602726 May 23 13:18 Material-volume-fraction---1_Merged_022_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_023.vtp
-rw------- 1 simonsm users  1273128 May 23 13:18 Material-volume-fraction---1_Merged_023_0.vtp
-rw------- 1 simonsm users   621312 May 23 13:18 Material-volume-fraction---1_Merged_023_1.vtp
-rw------- 1 simonsm users  1243798 May 23 13:18 Material-volume-fraction---1_Merged_023_2.vtp
-rw------- 1 simonsm users   652838 May 23 13:18 Material-volume-fraction---1_Merged_023_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_024.vtp
-rw------- 1 simonsm users  1170259 May 23 13:18 Material-volume-fraction---1_Merged_024_0.vtp
-rw------- 1 simonsm users   641654 May 23 13:18 Material-volume-fraction---1_Merged_024_1.vtp
-rw------- 1 simonsm users  1396175 May 23 13:18 Material-volume-fraction---1_Merged_024_2.vtp
-rw------- 1 simonsm users   728459 May 23 13:18 Material-volume-fraction---1_Merged_024_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_025.vtp
-rw------- 1 simonsm users  1203867 May 23 13:18 Material-volume-fraction---1_Merged_025_0.vtp
-rw------- 1 simonsm users   663060 May 23 13:18 Material-volume-fraction---1_Merged_025_1.vtp
-rw------- 1 simonsm users  1445490 May 23 13:18 Material-volume-fraction---1_Merged_025_2.vtp
-rw------- 1 simonsm users   744663 May 23 13:18 Material-volume-fraction---1_Merged_025_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_026.vtp
-rw------- 1 simonsm users  1400281 May 23 13:18 Material-volume-fraction---1_Merged_026_0.vtp
-rw------- 1 simonsm users   678254 May 23 13:18 Material-volume-fraction---1_Merged_026_1.vtp
-rw------- 1 simonsm users  1318587 May 23 13:18 Material-volume-fraction---1_Merged_026_2.vtp
-rw------- 1 simonsm users   774407 May 23 13:18 Material-volume-fraction---1_Merged_026_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_027.vtp
-rw------- 1 simonsm users  1452928 May 23 13:18 Material-volume-fraction---1_Merged_027_0.vtp
-rw------- 1 simonsm users   691845 May 23 13:18 Material-volume-fraction---1_Merged_027_1.vtp
-rw------- 1 simonsm users  1372582 May 23 13:18 Material-volume-fraction---1_Merged_027_2.vtp
-rw------- 1 simonsm users   774480 May 23 13:18 Material-volume-fraction---1_Merged_027_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_028.vtp
-rw------- 1 simonsm users  1371912 May 23 13:18 Material-volume-fraction---1_Merged_028_0.vtp
-rw------- 1 simonsm users   707038 May 23 13:18 Material-volume-fraction---1_Merged_028_1.vtp
-rw------- 1 simonsm users  1375771 May 23 13:18 Material-volume-fraction---1_Merged_028_2.vtp
-rw------- 1 simonsm users   943017 May 23 13:18 Material-volume-fraction---1_Merged_028_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_029.vtp
-rw------- 1 simonsm users  1423992 May 23 13:18 Material-volume-fraction---1_Merged_029_0.vtp
-rw------- 1 simonsm users   718310 May 23 13:18 Material-volume-fraction---1_Merged_029_1.vtp
-rw------- 1 simonsm users  1530159 May 23 13:18 Material-volume-fraction---1_Merged_029_2.vtp
-rw------- 1 simonsm users   808720 May 23 13:18 Material-volume-fraction---1_Merged_029_3.vtp
-rw------- 1 simonsm users     1194 May 23 13:18 Material-volume-fraction---1_Merged_030.vtp
-rw------- 1 simonsm users  1465504 May 23 13:18 Material-volume-fraction---1_Merged_030_0.vtp
-rw------- 1 simonsm users   725670 May 23 13:18 Material-volume-fraction---1_Merged_030_1.vtp
-rw------- 1 simonsm users  1577352 May 23 13:18 Material-volume-fraction---1_Merged_030_2.vtp
-rw------- 1 simonsm users   816794 May 23 13:18 Material-volume-fraction---1_Merged_030_3.vtp




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20141023/3fc6d1dd/attachment-0001.html>


More information about the ParaView mailing list