Re: [Paraview] VTK File Format

2016-10-05 Thread David Lonie
That's correct -- the cell information specifies the points by index. You
can find more information on the VTK file formats here:

http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf

HTH,
Dave

On Wed, Oct 5, 2016 at 9:19 AM, Sellmann, Kai Asaad <
asaad.sellm...@rwth-aachen.de> wrote:

> Hello everyone!
>
> I have created a vtk File with point coordinates, and cell definitions. As
> I am getting distorted surfaces I was wondering what it could be.
>
> The coordinates are nodal coordinates taken from a FE Model. The elements
> are defined by the IDs of their corresponding nodes.
>
>
> So it looks kinda like this
>
>
> ...
>
> CELLS 59256 651816
> 10 21615 1 32020 21623 2 3 4 21625 5 6
> 10 21623 21615 1 21624 21625 2 5 21627 21626 7
> 10 8 21623 21612 21615 9 21631 10 11 21625 21621
> 10 34096 12 34106 1 13 14 34110 15 16 17
> 10 22735 18 32680 32663 19 20 21 22 23 32682
>
> ...
>
>
> The 10 indicating the number of information "coming up".
>
> So first of all I am little bit confused and would like to know if the
> cells Information is refering to the prior defined Nodes and their IDs?
>
> For example the first line "10 21615 1 32020 21623 2 3 4 21625 5 6" means
> that the first cell consists of the Nodes 21615, 1, 32020, 21623, 2, 3, 4,
> 21625, 5 and 6, right? And these nodes are defined like this:
>
>
> ...
>
> POINTS 104667 FLOAT
> 0 0 0
> -0.00133054 -0.0651073 0.00296884
> -0.00366651 -0.0661655 0.00448453
> -0.00430551 -0.0647424 0.00148457
> -0.00664148 -0.0658006 0.00300025
> -0.00257653 -0.0641143 0.00448451
> -0.0055515 -0.0637484 0.00300024
> -0.00147854 -0.0663074 0.00448453
> -0.00974145 -0.0646966 0.00299095
>
> ...
>
>
> So the second node (1) of the first element would have the coordinates
> -0.00133054, -0.0651073 and 0.00296884, correct?
>
> If someone has an idea I could send you the .vtk-file
>
>
> Thnaks,
>
> asaad
>
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] VTK File Format

2016-10-05 Thread Sellmann, Kai Asaad
Hello everyone!

I have created a vtk File with point coordinates, and cell definitions. As I am 
getting distorted surfaces I was wondering what it could be.

The coordinates are nodal coordinates taken from a FE Model. The elements are 
defined by the IDs of their corresponding nodes.


So it looks kinda like this


...

CELLS 59256 651816
10 21615 1 32020 21623 2 3 4 21625 5 6
10 21623 21615 1 21624 21625 2 5 21627 21626 7
10 8 21623 21612 21615 9 21631 10 11 21625 21621
10 34096 12 34106 1 13 14 34110 15 16 17
10 22735 18 32680 32663 19 20 21 22 23 32682

...


The 10 indicating the number of information "coming up".

So first of all I am little bit confused and would like to know if the cells 
Information is refering to the prior defined Nodes and their IDs?

For example the first line "10 21615 1 32020 21623 2 3 4 21625 5 6" means that 
the first cell consists of the Nodes 21615, 1, 32020, 21623, 2, 3, 4, 21625, 5 
and 6, right? And these nodes are defined like this:


...

POINTS 104667 FLOAT
0 0 0
-0.00133054 -0.0651073 0.00296884
-0.00366651 -0.0661655 0.00448453
-0.00430551 -0.0647424 0.00148457
-0.00664148 -0.0658006 0.00300025
-0.00257653 -0.0641143 0.00448451
-0.0055515 -0.0637484 0.00300024
-0.00147854 -0.0663074 0.00448453
-0.00974145 -0.0646966 0.00299095

...


So the second node (1) of the first element would have the coordinates 
-0.00133054, -0.0651073 and 0.00296884, correct?

If someone has an idea I could send you the .vtk-file


Thnaks,

asaad

___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Specify render window size

2016-10-05 Thread Mathieu Westphal
No easy way to do that, but here is a method to be a bit more precise :

1. Create a single view of the size of all views
2. Check the view size in save screenshot window or via python ( eg 999x860)
3. do the computation (999/3  = 333)
4. Set a Tools->"Lock View Size custom" to the correct value (333x860), it
only resize the view, not the view layout
5. Create three view by divising vertically
6. Resize the view layouts manually to align vith the view edge, the
"eye-balling" is much more precise then.

Hope this helps

Regards,


Mathieu Westphal

On Wed, Oct 5, 2016 at 12:04 AM, Evan Kao  wrote:

> Hello all,
>
> Is there a way to specify the size of a layout or view?  For instance, I'd
> like to have 3 separate Render Views of the same size side-by-side, but
> there doesn't seem like a straightforward way to do this (as far as I know,
> it's trivial to get 2 or 4 by choosing Split Horizontal/Vertical, but not
> 3).  I try to manage by eye-balling it and then checking the size of each
> view when selecting "Saving Screenshot".
>
> Thanks,
> Evan Kao
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to combine multiple domain results into one?

2016-10-05 Thread Mathieu Westphal
Hello

You can select all your data, then use "Group DataSets" then "Merge Blocks".

Regards,

Mathieu Westphal

On Wed, Oct 5, 2016 at 2:17 AM, Frank Ding  wrote:

> This is a beginner question. I have 64-core run result files which have 64
> domain results for each output variables. Is there a way to combine them
> when reading into Paraview or after reading into Paraview?
>
>
>
>
>
> Thank you,
>
>
>
> Frank Ding, PhD | fd...@strongtie.com | Tel. 925.560.9233| Simpson
> Strong-Tie 
>
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview