Indeed, my smaller mesh had linear triangles. And changing that to quadratic 
triangles gives the same behavior (attachment).

What is the best way to circumvent this? 

The reason why I wanna use the vorticity function is the following: eddies 
appear all over the domain and using lines with the streamtracer filter gives 
regions with either no streamlines or regions that are very much crowded by 
streamlines. Therefore, having a vorticity field would be a suitable approach 
to have a nice and clean visualization of the flow field. 

Cheers 

 Am 21-May-2014 17:00:55 +0200 schrieb [email protected]: 
 It looks like these are quadratic triangles. I'm not sure that the compute 
derivatives filter works with that type of cell. Did your smaller grid also 
have quadratic cell types? 

 On Wed, May 21, 2014 at 9:51 AM, Andreas Hessenthaler wrote:

Hi Andy,

thanks for your quick reply. Please find the *.vtu file attached. 

Cheers
Andreas 

 Am 21-May-2014 15:24:30 +0200 schrieb [email protected]: 
 Can you share your data set? It will be difficult to diagnose without that. 

 On Wed, May 21, 2014 at 9:06 AM, Andreas Hessenthaler wrote:

Hi there,

I have the following problem: 

When I calculate the vorticity through Filters > Compute Derivatives > 
Vorticity for a simple example (driven cavity in 2D) with only few elements on 
an unstructured grid I get the correct values. 

Though, when I do the same for a bigger domain, i.e. more elements (~80 000 
nodes), I only get zero vorticity values. 

The grids and values are all read in from *.vtu files, with the exact same 
format, meshes are triangluar 2D (z-components set to 0.0). 

I can reproduce the behavior on different versions of ParaView: 3.14.1 & 4.1.0 
as well as different operating systems: Windows 7 ">
Andreas 
_______________________________________________
 Powered by www.kitware.com

 Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="BigEndian">
  <UnstructuredGrid>
    <Piece NumberOfPoints="81" NumberOfCells="32">
      <PointData Scalars="scalars">
        <DataArray type="Float64" NumberOfComponents="3" Name="velocity" 
Format="ascii">
          2.0e-0 -2.0e-0 0.0e-0
          2.0e-0 -1.0e-0 0.0e-0
          2.0e-0 0.0e-0 0.0e-0
          2.0e-0 1.0e-0 0.0e-0
          2.0e-0 2.0e-0 0.0e-0
          1.0e-0 -2.0e-0 0.0e-0
          1.0e-0 -1.0e-0 0.0e-0
          1.0e-0 0.0e-0 0.0e-0
          1.0e-0 1.0e-0 0.0e-0
          1.0e-0 2.0e-0 0.0e-0
          0.0e-0 -2.0e-0 0.0e-0
          0.0e-0 -1.0e-0 0.0e-0
          0.0e-0 0.0e-0 0.0e-0
          0.0e-0 1.0e-0 0.0e-0
          0.0e-0 2.0e-0 0.0e-0
          -1.0e-0 -2.0e-0 0.0e-0
          -1.0e-0 -1.0e-0 0.0e-0
          -1.0e-0 0.0e-0 0.0e-0
          -1.0e-0 1.0e-0 0.0e-0
          -1.0e-0 2.0e-0 0.0e-0
          -2.0e-0 -2.0e-0 0.0e-0
          -2.0e-0 -1.0e-0 0.0e-0
          -2.0e-0 0.0e-0 0.0e-0
          -2.0e-0 1.0e-0 0.0e-0
          -2.0e-0 2.0e-0 0.0e-0
          2.0e-0 -1.5e-0 0.0e-0
          2.0e-0 -0.5e-0 0.0e-0
          2.0e-0 0.5e-0 0.0e-0
          2.0e-0 1.5e-0 0.0e-0
          1.5e-0 -2.0e-0 0.0e-0
          1.5e-0 -1.5e-0 0.0e-0
          1.5e-0 -1.0e-0 0.0e-0
          1.5e-0 -0.5e-0 0.0e-0
          1.5e-0 0.0e-0 0.0e-0
          1.5e-0 0.5e-0 0.0e-0
          1.5e-0 1.0e-0 0.0e-0
          1.5e-0 1.5e-0 0.0e-0
          1.5e-0 2.0e-0 0.0e-0
          1.0e-0 -1.5e-0 0.0e-0
          1.0e-0 -0.5e-0 0.0e-0
          1.0e-0 0.5e-0 0.0e-0
          1.0e-0 1.5e-0 0.0e-0
          0.5e-0 -2.0e-0 0.0e-0
          0.5e-0 -1.5e-0 0.0e-0
          0.5e-0 -1.0e-0 0.0e-0
          0.5e-0 -0.5e-0 0.0e-0
          0.5e-0 0.0e-0 0.0e-0
          0.5e-0 0.5e-0 0.0e-0
          0.5e-0 1.0e-0 0.0e-0
          0.5e-0 1.5e-0 0.0e-0
          0.5e-0 2.0e-0 0.0e-0
          0.0e-0 -1.5e-0 0.0e-0
          0.0e-0 -0.5e-0 0.0e-0
          0.0e-0 0.5e-0 0.0e-0
          0.0e-0 1.5e-0 0.0e-0
          -0.5e-0 -2.0e-0 0.0e-0
          -0.5e-0 -1.5e-0 0.0e-0
          -0.5e-0 -1.0e-0 0.0e-0
          -0.5e-0 -0.5e-0 0.0e-0
          -0.5e-0 0.0e-0 0.0e-0
          -0.5e-0 0.5e-0 0.0e-0
          -0.5e-0 1.0e-0 0.0e-0
          -0.5e-0 1.5e-0 0.0e-0
          -0.5e-0 2.0e-0 0.0e-0
          -1.0e-0 -1.5e-0 0.0e-0
          -1.0e-0 -0.5e-0 0.0e-0
          -1.0e-0 0.5e-0 0.0e-0
          -1.0e-0 1.5e-0 0.0e-0
          -1.5e-0 -2.0e-0 0.0e-0
          -1.5e-0 -1.5e-0 0.0e-0
          -1.5e-0 -1.0e-0 0.0e-0
          -1.5e-0 -0.5e-0 0.0e-0
          -1.5e-0 0.0e-0 0.0e-0
          -1.5e-0 0.5e-0 0.0e-0
          -1.5e-0 1.0e-0 0.0e-0
          -1.5e-0 1.5e-0 0.0e-0
          -1.5e-0 2.0e-0 0.0e-0
          -2.0e-0 -1.5e-0 0.0e-0
          -2.0e-0 -0.5e-0 0.0e-0
          -2.0e-0 0.5e-0 0.0e-0
          -2.0e-0 1.5e-0 0.0e-0
        </DataArray>
      </PointData>
      <Points>
        <DataArray type="Float64" NumberOfComponents="3" Format="ascii">
          -2.0 -2.0 0.0
          -1.0 -2.0 0.0
          0.0 -2.0 0.0
          1.0 -2.0 0.0
          2.0 -2.0 0.0
          -2.0 -1.0 0.0
          -1.0 -1.0 0.0
          0.0 -1.0 0.0
          1.0 -1.0 0.0
          2.0 -1.0 0.0
          -2.0 0.0 0.0
          -1.0 0.0 0.0
          0.0 0.0 0.0
          1.0 0.0 0.0
          2.0 0.0 0.0
          -2.0 1.0 0.0
          -1.0 1.0 0.0
          0.0 1.0 0.0
          1.0 1.0 0.0
          2.0 1.0 0.0
          -2.0 2.0 0.0
          -1.0 2.0 0.0
          0.0 2.0 0.0
          1.0 2.0 0.0
          2.0 2.0 0.0
          -1.5 -2.0 0.0
          -0.5 -2.0 0.0
          0.5 -2.0 0.0
          1.5 -2.0 0.0
          -2.0 -1.5 0.0
          -1.5 -1.5 0.0
          -1.0 -1.5 0.0
          -0.5 -1.5 0.0
          0.0 -1.5 0.0
          0.5 -1.5 0.0
          1.0 -1.5 0.0
          1.5 -1.5 0.0
          2.0 -1.5 0.0
          -1.5 -1.0 0.0
          -0.5 -1.0 0.0
          0.5 -1.0 0.0
          1.5 -1.0 0.0
          -2.0 -0.5 0.0
          -1.5 -0.5 0.0
          -1.0 -0.5 0.0
          -0.5 -0.5 0.0
          0.0 -0.5 0.0
          0.5 -0.5 0.0
          1.0 -0.5 0.0
          1.5 -0.5 0.0
          2.0 -0.5 0.0
          -1.5 0.0 0.0
          -0.5 0.0 0.0
          0.5 0.0 0.0
          1.5 0.0 0.0
          -2.0 0.5 0.0
          -1.5 0.5 0.0
          -1.0 0.5 0.0
          -0.5 0.5 0.0
          0.0 0.5 0.0
          0.5 0.5 0.0
          1.0 0.5 0.0
          1.5 0.5 0.0
          2.0 0.5 0.0
          -1.5 1.0 0.0
          -0.5 1.0 0.0
          0.5 1.0 0.0
          1.5 1.0 0.0
          -2.0 1.5 0.0
          -1.5 1.5 0.0
          -1.0 1.5 0.0
          -0.5 1.5 0.0
          0.0 1.5 0.0
          0.5 1.5 0.0
          1.0 1.5 0.0
          1.5 1.5 0.0
          2.0 1.5 0.0
          -1.5 2.0 0.0
          -0.5 2.0 0.0
          0.5 2.0 0.0
          1.5 2.0 0.0
        </DataArray>
      </Points>
      <Cells>
        <DataArray type="Int64" Name="connectivity" Format="ascii">
           0 1 5 25 30 29
           5 1 6 30 31 38
           1 2 6 26 32 31
           6 2 7 32 33 39
           2 3 7 27 34 33
           7 3 8 34 35 40
           3 4 8 28 36 35
           8 4 9 36 37 41
           5 6 10 38 43 42
           10 6 11 43 44 51
           6 7 11 39 45 44
           11 7 12 45 46 52
           7 8 12 40 47 46
           12 8 13 47 48 53
           8 9 13 41 49 48
           13 9 14 49 50 54
           10 11 15 51 56 55
           15 11 16 56 57 64
           11 12 16 52 58 57
           16 12 17 58 59 65
           12 13 17 53 60 59
           17 13 18 60 61 66
           13 14 18 54 62 61
           18 14 19 62 63 67
           15 16 20 64 69 68
           20 16 21 69 70 77
           16 17 21 65 71 70
           21 17 22 71 72 78
           17 18 22 66 73 72
           22 18 23 73 74 79
           18 19 23 67 75 74
           23 19 24 75 76 80
        </DataArray>
        <DataArray type="Int64" Name="offsets" Format="ascii">
          6 12 18 24 30 36 42 48 54 60 66 72 78 84 90 96 102 108 114 120 126 
132 138 144 150 156 162 168 174 180 186 192
        </DataArray>
        <DataArray type="UInt8" Name="types" Format="ascii">
          22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
22 22 22 22 22 22 22 22 22
        </DataArray>
      </Cells>
    </Piece>
  </UnstructuredGrid>
</VTKFile>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to