Well, the curl of the gradient of a scalar field should always be zero,
assuming that the scalar field is twice differentiable. If you still want
to do that though you can do the following:

   1. Apply the Gradient of Unstructured Data Set filter on the scalar
   variable. You can leave the Result Array Name as Gradients.
   2. Use the Python Calculator filter's curl function. The expression will
   be "curl(Gradients)".


On Fri, Aug 21, 2015 at 11:38 AM, Kharche, Sanjay <[email protected]>
wrote:

>
> Hi Andy
>
>
> Yes, I should rephrase.
>
>
> In my codes, I first calculate the spatial gradient of the scalar field.
>
> I need the curl of that at each FD location in my structured mesh.
>
>
> cheers
>
> Sanjay
>
>
> ------------------------------
> *From:* Andy Bauer <[email protected]>
> *Sent:* 21 August 2015 03:25
> *To:* Kharche, Sanjay
> *Cc:* [email protected]
> *Subject:* Re: [Paraview] calculating the curl of a scalar field
>
> Hi Sanjay,
>
> How is the curl computed on scalar data? From my understanding, the curl
> must be done on a vector.
>
> Andy
>
> On Fri, Aug 21, 2015 at 8:58 AM, Kharche, Sanjay <[email protected]
> > wrote:
>
>>
>> Hi
>>
>>
>> I have time series data of a scalar field. Is there any way I can use
>> paraview to calculate the curl of this
>>
>> scalar data?
>>
>>
>> cheers
>>
>> Sanjay
>>
>> _______________________________________________
>> 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

Reply via email to