[Paraview] Fwd: Gradient of Unstructed dataset

Masaaki SHOJIMA mshoji-tky at umin.ac.jp
Thu Mar 26 02:18:58 EDT 2015


Hi Berk,

After I loaded  "CGNSReader" , I achieved success in getting the gradient
of a certain scalar same with Ensight and SC/Tetra post . I used the
Paraview Nightly build g544b3a7 for mac. Thank you !!

But I could not found the CGNSReader in nightly builids for win 32bit and
win 64bit.
Win 32bit, g04df19f, and Win 64bit, g04df19f
In the windows version, I found GMVReader, but it didn't work with CGNS ( I
tried).

By the way, my final goal is to calculate the wall shear stress of vessel
from velocity and wall normals.
Now, the barrier has been removed by you, and I can calculate and visualize
the WSS in Paraview. I already see it in SC/Tetra post and Ensight. But
Paraview makes more beautiful graphics and I am very happy.

Thank you for  your kindness !!!

2015-03-26 15:18 GMT+09:00 Masaaki SHOJIMA <mshoji-tky at umin.ac.jp>:

> Hi Berk,
>
> After I loaded  "CGNSReader" , I achieved success in getting the gradient
> of a certain scalar same with Ensight and SC/Tetra post . I used the
> Paraview Nightly build g544b3a7 for mac. Thank you !!
>
> But I could not found the CGNSReader in nightly builids for win 32bit and
> win 64bit.
> Win 32bit, g04df19f, and Win 64bit, g04df19f
> In the windows version, I found GMVReader, but it didn't work with CGNS (
> I tried).
>
> By the way, my final goal is to calculate the wall shear stress of vessel
> from velocity and wall normals.
> Now, the barrier has been removed by you, and I can calculate and
> visualize the WSS in Paraview. I already see it in SC/Tetra post and
> Ensight. But Paraview makes more beautiful graphics and I am very happy.
>
> Thank you for  your kindness !!!
>
> Masaaki
>
> 2015-03-25 22:24 GMT+09:00 Berk Geveci <berk.geveci at kitware.com>:
>
>> Hi Masaaki,
>>
>> You don't have to wait. Simply download the latest nightly binary and the
>> go to Tools -> Manage Plugins. There you should see the CGNS plugin. Load
>> it. After that, when you open the CGNS file, it will give you an option to
>> use the plugin based reader.
>>
>> Best,
>> -berk
>>
>> On Tue, Mar 24, 2015 at 10:23 PM, Masaaki SHOJIMA <mshoji-tky at umin.ac.jp>
>> wrote:
>>
>>> Hi Berk,
>>>
>>> Thank you for your greatest efforts.
>>>
>>> It makes sense to me, but I have to wait for the future version since I
>>> dont have skills to integrate the CGNS reader plug-in into the Paraview
>>> binary...
>>>
>>> Thanks anyway and Best wishes,
>>>
>>> Masaaki
>>>
>>> 2015-03-25 2:13 GMT+09:00 Berk Geveci <berk.geveci at kitware.com>:
>>>
>>>> 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/20150326/e9a1140c/attachment.html>


More information about the ParaView mailing list