[Paraview] Resample DataSet
Jacques Papper
jpapper at ara.co.uk
Tue Nov 11 13:45:32 EST 2008
The number of points should be the same since I interpolate the data
from one grid onto the other grid first before doing the difference.
Jacques
Dominik Szczerba wrote:
> The calculator filter assumes the same number of points, whereas this
> is not the case. Note that x1-x2 is undefined if size(x1) != size(x2).
> Better way to go is to compare bulk values e.g. integrated pressure
> over some distinc region or 2D intersection plots along some line.
>
> Dominik
>
> Jacques Papper wrote:
>> Hi Dominik,
>>
>> What I mean is that if I load :
>> grid1, data1
>> grid2, data2
>> and
>> interpolate data1 onto grid2
>> Then data2 is no longer in the list of variables (see attached picture),
>> and I can't use the calculator to do data2-data1
>>
>> Jacques
>>
>>
>>
>> Dominik Szczerba wrote:
>>> Yes I am doing something similar. What does it mean 'no longer have
>>> access to data2'?
>>> Dominik
>>>
>>> Jacques Papper wrote:
>>>> Hi,
>>>>
>>>> I'm trying to interpolate a pressure field from one grid to another
>>>> and then compute the difference between the original pressure field
>>>> and the interpolated one.
>>>> So if I have :
>>>> grid1, data1
>>>> grid2, data2
>>>>
>>>> I want to
>>>> 1. interpolate data1 onto grid2
>>>> 2. compute data2-data1
>>>>
>>>> I try to use the Resample Dataset filter which seems to work for
>>>> step 1, but then I no longer have access to data2! Am I doing
>>>> something wrong , or do I need to code up the filter so that it
>>>> copies the data associated with grid2 ?
>>>> If anyone has done something similar in the past -- please help :) !
>>>>
>>>> Jacques
>>>>
>>>> ---------------------------
>>>> This email contains information that is private and confidential
>>>> and is intended only for the addressee. If you are not the
>>>> intended recipient please delete it and notify us immediately by
>>>> e-mailing the sender.
>>>> Note: All email sent to or from this address may be accessed by
>>>> someone other than the recipient, for system management and
>>>> security reasons.
>>>> Aircraft Research Association Ltd. Registered in England,
>>>> Registration No 503668 Registered Office: Manton Lane, Bedford MK41
>>>> 7PF England VAT No GB 196351245
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> ParaView mailing list
>>>> ParaView at paraview.org
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>>
>> ---------------------------
>> This email contains information that is private and confidential and
>> is intended only for the addressee. If you are not the intended
>> recipient please delete it and notify us immediately by e-mailing the
>> sender.
>> Note: All email sent to or from this address may be accessed by
>> someone other than the recipient, for system management and security
>> reasons.
>> Aircraft Research Association Ltd. Registered in England,
>> Registration No 503668 Registered Office: Manton Lane, Bedford MK41
>> 7PF England VAT No GB 196351245
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>
---------------------------
This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jpapper.vcf
Type: text/x-vcard
Size: 263 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081111/45e09395/attachment.vcf>
More information about the ParaView
mailing list