[Paraview] Re: extract probe data

David E DeMarle dave.demarle at kitware.com
Wed Feb 22 12:40:37 EST 2006


In the probe filter's csv output, the X/T coordinate is the distance 
along the sampling line. This is not the same thing as the X dimension 
in the visualization unless the line happens to starts at X=0 and is 
parrallel to the X axis. You likely just need to remember that X/T means 
Y or Z in your case, dependending on how you've oriented the probe line.

----

Berk and Utkarsh are correct, we should add something that copies 
geometry to attribute data in ParaView to make the probe's output more 
explicit.

----

If you analyze the exact X, Y and Z values along with your attribute 
data immediately you can try something completely different:

1) use two orthogonal cut planes to define your cut line
2) save data into a legacy vtk file
3) run the following vtk script to convert to ascii to make life easier

vtkDataSetReader r
r SetFileName "binary.vtk"
vtkDataSetWriter w
w SetFileName "ascii.vtk"
w SetInput [r GetOutput]
w Write
exit

4) match up the Points with the Scalars in your favorite editor, 
spreadsheet or scripting language.

cheers,
Dave DeMarle


>
>On 2/22/06, Adrian Magda <amagda at gmail.com> wrote:
>  
>
>>There is any other option to extract data for further postprocessing from
>>vtk files? I have a RECTILINEAR_GRID vtk file format.
>>
>>Thanks
>>Adrian
>>
>>
>>    
>>
>>>I running Paraview 2.4.2 on Ubuntu Linux, p4 machine .
>>>
>>>here is my question:
>>>
>>>When i try to probe a scalar (for example the temperature) to a line and
>>>      
>>>
>>export it I always get the scalar and the x direction coordinate. How can i
>>get the Y or Z direction coordinate since in my case the probe line is
>>perpendicular on X axis?
>>    
>>
>>>thanks
>>>
>>>Adrian
>>>      
>>>
>>
>>--
>>########################################
>>
>>
>>   Diplom. Eng Adrian Magda
>>
>>
>>   Institut für Wärme- und Brennstofftechnik
>>   Franz-Liszt-Straße 35
>>   38106 Braunschweig, Germany
>>
>>
>>   Telefon:  +49 -531 391-3031(office)
>>   Telefax:  +49 -531 391-5932
>>
>>
>>########################################
>>_______________________________________________
>>ParaView mailing list
>>ParaView at paraview.org
>>http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>>
>>    
>>
>_______________________________________________
>ParaView mailing list
>ParaView at paraview.org
>http://www.paraview.org/mailman/listinfo/paraview
>
>  
>



More information about the ParaView mailing list