View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015324 | ParaView | (No Category) | public | 2015-02-14 15:44 | 2016-08-12 09:59 | ||||
Reporter | Svensen | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015324: bug in "plot over time" | ||||||||
Description | I've make simulation using OpenFOAM 2.3.0. After that I've converted my results into VTK using foamToVTK utility. The problem occures when I try to make 'plot over time' for the velocity at the inlet. There appears a lot of warning like: Warning: In /home/sergey/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Common/Core/vtkDataArrayTemplate.txx, line 404 vtkIdTypeArray (0x52dc6c0): Input and output array data types do not match. and also sampled data for velocity in the line view is not correct. In the attached file there is a screenshot | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | vtk_error.png [^] (136,087 bytes) 2015-02-14 15:44
| ||||||||
Relationships | |
Relationships |
Notes | |
(0034218) Svensen (reporter) 2015-02-16 02:11 |
Using the OpenFOAM but tracker. I've find the solution to the problem. The bug is in how the paraview find the fields in VTK. It seams that paraview find them by the index, not their real name. The explanation - Remember when you ran foamToVTK? Well, you might not have noticed these lines: Time: 0 volScalarFields : p volVectorFields : U ... Time: 0.001 volScalarFields : p volVectorFields : ddt0(U) U U_0 See that there are 2 new fields as time snapshot 0.001? Well, that's what ParaView is complaining about. In addition, ParaView's filter messes up during the data collection over each time snapshot and assumes that the first field on the list of vector fields in the VTK files, refer to the same field. Therefore, what you're seeing is in fact U for t=0 and ddt0(U) for t=0.01 and above. And that is why it gives that crazy error message. The error does not happen when using the ".OpenFOAM" reader, because it sorts the fields in a different way from foamToVTK. A work around is to run foamToVTK like this: foamToVTK -fields '(p U)' as this will only export to VTK the fields "p" and "U". -------------- It looks like this is actually a bug on ParaView's side, which is not properly looking up fields by name, when running the filter "plot selection over time". It's instead looking by numeric index, hence the error messages. I've tested with ParaView 4.3.1 and this error still occurs. |
(0038774) Kitware Robot (administrator) 2016-08-12 09:59 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-02-14 15:44 | Svensen | New Issue | |
2015-02-14 15:44 | Svensen | File Added: vtk_error.png | |
2015-02-16 02:11 | Svensen | Note Added: 0034218 | |
2016-08-12 09:59 | Kitware Robot | Note Added: 0038774 | |
2016-08-12 09:59 | Kitware Robot | Status | backlog => closed |
2016-08-12 09:59 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:59 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |