[Paraview] Stream tracer in 2D

Moreland, Kenneth kmorel at sandia.gov
Tue Oct 7 15:18:02 EDT 2008


I can now see the problem (actually multiple problems).  The first problem
is that the spacing in the Z direction is a negative value.  That is
apparently not really supported and I'm seeing some screwy behavior based on
that.  Changing the spacing values to be all positive numbers fixes that
problem.

The second issue I see is that the streamline filter is not working properly
on 2D images that are defined in the x-z plane (as yours is).  That's a bug
in ParaView and I've submitted a bug report
(http://www.paraview.org/Bug/view.php?id=7787).  You can get around the
problem by either defining your images in the x-y plane or by converting to
an unstructured type (either Clean to Grid or Extract Surface will work) and
run the streamline filter on that.

-Ken


On 10/7/08 12:09 AM, "Hom Nath Gharti" <hng.email at gmail.com> wrote:

> Thanks. Here is the zipped data file.
>
> Many thanks,
> Hom Nath
>
> On Mon, Oct 6, 2008 at 5:09 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>> I cannot replicate your problem.  Can you send some data that demonstrates
>> it?
>>
>> -Ken
>>
>>
>> On 10/6/08 7:42 AM, "Hom Nath Gharti" <hng.email at gmail.com> wrote:
>>
>>> I have 2D scalar field as shown in figure scalar_2d.png.
>>> I apply 'Gradient' and 'Stream Tracer' filters respectively.
>>> stream_2d.png is the resulting figure. But obviously that's wrong. Is there
>>> something I am doing wrong?
>>>
>>> Many thanks,
>>> Hom Nath
>>>
>>
>>
>>    ****      Kenneth Moreland
>>     ***      Sandia National Laboratories
>> ***********
>> *** *** ***  email: kmorel at sandia.gov
>> **  ***  **  phone: (505) 844-8919
>>     ***      fax:   (505) 845-0833
>>
>>
>>
>
>


   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      fax:   (505) 845-0833





More information about the ParaView mailing list