|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,118
Rep Power: 19 ![]() |
Dear all,
I am working on a small conversion tool for a specific mesh type in OF into VTK format (UNSTRUCTURED_GRID). The file names are given a name and a incrementing index, though, I would also like to be able to put a string with the actual time in animations, etc. Therefore, I have added this part into the VTK file: Code:
FIELD FieldData 1 TIME 1 1 double 204.0048 My question is how I can get this data in a string in paraview, i.e. similar to the Annotate Time filter, though, this does not work on my case. I have uploaded a small VTK sample for your convenience here: http://www.student.dtu.dk/~ngja/vtkSample.tar.gz Thank you for your attention, Niels |
|
|
|
|
|
|
|
|
#2 | ||
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Niels,
I gave it a few shots in ParaView and Googled around to check on this topic... and I think I've seen where you've gotten this idea: http://www.visitusers.org/index.php?...e_in_VTK_files Problem is that this specific time information is something that VisIt implemented: Quote:
Code:
# vtk DataFile Version 2.0 faMesh ASCII DATASET UNSTRUCTURED_GRID FIELD FieldData 1 TIME 1 1 double 204.0028 POINTS 1763 float Quote:
Best regards, Bruno
__________________
|
|||
|
|
|
|||
|
|
|
#3 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,118
Rep Power: 19 ![]() |
Hi Bruno,
Thank you very much. This have given me some directions to work with. Most appreciated. Kind regards, Niels |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Legacy VTK for time dependent variables. | Splatzo | ParaView | 1 | February 22, 2013 04:02 |
| pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
| paraview ignores SPACING in STRUCTURED_POINTS vtk data? | jaffar | ParaView | 0 | November 27, 2012 09:36 |
| AMI speed performance | danny123 | OpenFOAM | 19 | October 24, 2012 07:44 |
| paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |