[Paraview] Fwd: Gradient of Unstructed dataset

Berk Geveci berk.geveci at kitware.com
Tue Mar 24 13:13:17 EDT 2015


Hi Masaaki and others that may be interested,

I identified the issue. The default CGSN reader that we use (which is from
VisIt originally) produces incorrect results. The pressure values are
incorrect. If you load the CGNS reader plugin and open the CGNS file with
that, you will see the correct results. I tested this with the nightly
binary of ParaView. I will ask someone in the ParaView team to disable the
VisIt CGNS reader and move the plugin into ParaView proper so that we can
use it by default.

Best,
-berk

On Wed, Mar 18, 2015 at 8:59 AM, Berk Geveci <berk.geveci at kitware.com>
wrote:

> Thanks Masaaki. I will look into it.
>
> I wish that I could say the same about northern New York State. The high
> temperature for today and tomorrow is 30F (-1C). Most of the snow melted
> though so spring is coming :-)
>
> -berk
>
> On Tue, Mar 17, 2015 at 8:04 PM, Masaaki SHOJIMA <mshoji-tky at umin.ac.jp>
> wrote:
>
>> Hi Berk, Armin, Michael and friends
>>
>> It is getting warm and flowers are starting to bloom in japan, this
>> morning.
>>
>> Nightly Builds of Paraview was downloaded on 2015-Mar-18
>> (ParaView-Windows-64bit-NIGHTLY.zip).
>>
>> Gradient of Pressure was calculated using "Gradient of Unstrucutred
>> Dataset" filter and Z component of Grad (pressure) was visualized.
>>
>> Unfortunately, Nightly build did not settle the problem...
>> The computed values by nightly builds were also half compared to those of
>> Ensight.
>>
>> Could you take a look of the result in the attached PDF?
>>
>> Thanks for your continuous help.
>>
>> Masaaki
>>
>> 2015-03-17 22:01 GMT+09:00 Berk Geveci <berk.geveci at kitware.com>:
>>
>>> Hi Masaaki,
>>>
>>> I will hold off testing on my end until you have a chance to test with
>>> nightly binaries. Please let us know how it goes.
>>>
>>> Regards,
>>> -berk
>>>
>>> On Tue, Mar 17, 2015 at 8:09 AM, <dkxls23 at gmail.com> wrote:
>>>
>>>> You could test it with the nighly builds from the dashboard. That way
>>>> you don't have to compile anything.
>>>>
>>>> You can find more information here:
>>>> http://www.paraview.org/Wiki/ParaView_Nightly_Binaries
>>>>
>>>> -Armin
>>>>
>>>>
>>>>
>>>> On Tue Mar 17 12:27:27 2015 GMT+0200, Masaaki SHOJIMA wrote:
>>>> > Hi, Michael,
>>>> >
>>>> > I found a web-page regarding the CGNS reader, in which you are making
>>>> > important comments.
>>>> > http://comments.gmane.org/gmane.comp.science.paraview.user/23957
>>>> >
>>>> > I have to wait for the next version, is it right?
>>>> >
>>>> > Thanks
>>>> >
>>>> > Masaaki
>>>> >
>>>> > 2015-03-17 16:02 GMT+09:00 Mickael Philit <mickey.phy at gmail.com>:
>>>> >
>>>> > >  Hello,
>>>> > >
>>>> > > sorry to intrude,
>>>> > > I think the problem may come from the CGNS loader of ParaView.
>>>> > > When using the CGNS plugin from ParaView development version, you
>>>> get the
>>>> > > same picture as Ensight.
>>>> > > My two cents
>>>> > >
>>>> > > Mickael
>>>> > >
>>>> > >
>>>> > > On 17/03/2015 05:04, Masaaki SHOJIMA wrote:
>>>> > >
>>>> > >  Hi Berk,
>>>> > >
>>>> > > I appreciate your kindness
>>>> > >
>>>> > > Here, I attaches the data.
>>>> > > Compare Gradient.pdf (252KB)
>>>> > >
>>>> > > A calculated field by SC/Tetra solver is uploaded in Dropbox.
>>>> (Calc.zip)
>>>> > > Please download the data. It contains FLD format for SC/Tetra post
>>>> and
>>>> > > CGNS format for Ensight and Paraview.
>>>> > > https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0
>>>> > >
>>>> > > (1) I calculated the flow and the pressure in a simple cylinder for
>>>> a test
>>>> > > ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.
>>>> > >
>>>> > > (2) Data were transfered to Ensight and Paraview in CGNS format.
>>>> > >
>>>> > > (3) Pressure was mapped on the surface and compared between
>>>> SC/Tetra post,
>>>> > > Ensight and Paraview. All application provided same results.
>>>> > >
>>>> > > (4) Gradient (pressure) was calculated in each post and z-component
>>>> of
>>>> > > Gradient (pressure) was visualized with same colored contour. Only
>>>> paraview
>>>> > > provided a different image because the computed gradients in
>>>> paraview had
>>>> > > half values compared to SC/Tetra post and Ensight.
>>>> > >
>>>> > > (5) Gradient (velocity-X) was also calculated in each post and the
>>>> > > X-component of Grad (velocity-X) was visualized. Same results as
>>>> shown in 4.
>>>> > >
>>>> > >
>>>> > > Thanks a lot.
>>>> > >
>>>> > > Masaaki
>>>> > >
>>>> > >
>>>> > >
>>>> > >
>>>> > > _______________________________________________
>>>> > > 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
>>>> > >
>>>> > >
>>>> > >
>>>> >
>>>>
>>>> --
>>>> Sent from my Jolla
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150324/34735edb/attachment.html>


More information about the ParaView mailing list