Re: [Paraview] animation: files, pgmable source

2017-12-06 Thread Utkarsh Ayachit
Randy,

You attempting to mix the Python scripting for data processing and
Python scripting for batch scripting. The two environments are
separate. Here's how I'd tackle it.

1. Make your "Programmable Source" become a temporal source i.e.
report to ParaView that it can produce timesteps matching the files
your file series. See [i]. If you get this right, you shuold be able
to render through all the files by hitting "Play" in the VCR control
in the UI.
2. Now you can write a batch script that either loads the predefined
pvsm state file or builds up the pipeline in Python itself and the
either uses `SaveScreenshot` or `SaveAnimation` to save out the
animation.

You can then mix in camera animations too. You can always use the
Python tracing in UI to figure out how to save images and/or animation
in the batch scripting environment.

Hope that helps.
Utkarsh

[i] 
https://blog.kitware.com/defining-time-varying-sources-with-paraviews-programmable-source/

On Wed, Dec 6, 2017 at 11:15 AM, Heiland, Randy  wrote:
> I’m probably missing a basic concept and hoping someone can enlighten me. I
> have a pipeline with a Programmable Source that reads in a (non-VTK
> formatted) file, I process it and then I have filters in my pipeline that
> act on that data. I want to be able to feed multiple files to the pipeline,
> save images and/or create animations. I naively created a Python function in
> the Pgmable Source, then save the PV State to a Python script, thinking I
> could call the function from the end of that script. Doesn’t seem to be
> possible. And I confess I’ve not given this deep thought - it’s easier to
> ask the experts :-)  Bottom line, we want to make this as dead simple for
> our own users.
>
> Fwiw, I’ve zipped up 2 files - a .pvsm and a sample data file here:
> http://pages.iu.edu/~heiland/physicell/pv_pcell.zip . You’d need to edit the
> “dir” path in the Pgmable Source.
>
> Initially, I just want to save images/animation (over multiple files) with a
> fixed camera view; later, it’d be nice to have simultaneous camera movement.
>
> thanks, Randy
>
> ___
> 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


Re: [Paraview] loading multiple state-files without hiding and resetting already loaded objects

2017-12-06 Thread Cory Quammen
Hi Roman,

Sorry I failed to follow up. Did you find a solution to this problem?

This line in your script looks funny to me:

d[props] = pvs.GetProperty(repr, props[0])

Shouldn't props[0] just be props?

Thanks,
Cory

On Fri, Nov 10, 2017 at 10:28 AM, Grothausmann, Roman Dr.
 wrote:
> Dear Cory,
>
> On 15/09/17 15:27, Grothausmann, Roman Dr. wrote:
>>
>> On 15/09/17 15:14, Cory Quammen wrote:
>>>
>>> Put a ** in front of reppro[i], e.g.,
>>>
>>> pvs.SetProperties(repr, **reppro[i])
>>
>> Hm, I now get:
>> TypeError: SetProperties() argument after ** must be a mapping, not list
>> Do I have to store the dict of object properties in another dict instead
>> of a list?
>
>
> With a dict of dicts
> https://github.com/romangrothausmann/ParaView_scripts/commit/3b309cc603433f02afc3e50656bd99f8b7cd0aa8#diff-2804420278bfff084788b82c715c452e
> I get:
>
>   File "/net/home/grothama/paraview/scripts/pvsm-multi.py", line 64, in main
> pvs.SetProperties(repr, **reppro[i]);
>   File
> "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/simple.py",
> line 568, in SetProperties
> setattr(proxy, param, params[param])
>   File
> "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py",
> line 317, in __setattr__
> setter(self, value)
>   File
> "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py",
> line 2528, in setProperty
> return self.SetPropertyWithName(propName, value)
>   File
> "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py",
> line 375, in SetPropertyWithName
> prop.SetData(arg)
>   File
> "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py",
> line 803, in SetData
> raise RuntimeError("This property requires %d values." %
> self.GetNumberOfElements())
> RuntimeError: This property requires 3 values.
>
> Any ideas what could still be wrong?
>
>
 On 07/09/17 23:37, Cory Quammen wrote:
>
>
> Hi Roman,
>
> It turns out ParaView was not designed for this use case because of
> certain difficulties discussed here:
>
> https://gitlab.kitware.com/paraview/paraview/issues/17442
>
> In your Python script, you could manually cash all the properties of
> the existing representations and restore them after loading the most
> recent state file.
>
> The functions
>
> reprs = GetRepresentations()
> repr = reprs.values()[0]
> props = repr.ListProperties()
> GetProperty(repr, props[0])
>
> would be helpful for this.
>
> Cory
>
>
> On Mon, Sep 4, 2017 at 8:42 AM, Grothausmann, Roman Dr.
>  wrote:
>>
>>
>> Dear mailing list members,
>>
>>
>> It seems that PV (and paraview.simple.LoadState) by default hides
>> already
>> loaded objects (and resets e.g. their coloring) when another
>> state-file
>> is
>> loaded.
>> Is there a way to load multiple state-files after one another without
>> hiding
>> and resetting already existent objects? I.e. a way to concatenate
>> multiple
>> state-files and leave their objects in the state as they got loaded
>> (e.g.
>> colored, hidden/visible)?
>> I do understand that loading a new state-file will reset the camera,
>> but
>> not
>> the rest.
>> Here's my initial attempt to achieve this with pvpython:
>>
>>
>> https://github.com/romangrothausmann/ParaView_scripts/blob/90eb4ca8499070bed941d50b89ebea82fd6a9e23/pvsm-multi.py
>>
>> Any help or hints are very much appreciated
>> Roman
>>
>> --
>> Dr. Roman Grothausmann
>>
>> Tomographie und Digitale Bildverarbeitung
>> Tomography and Digital Image Analysis
>>
>> Medizinische Hochschule Hannover
>> Institut für Funktionelle und Angewandte Anatomie
>> OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland
>>
>> Tel. +49 511 532-2900
>> grothausmann.ro...@mh-hannover.de
>> http://www.mh-hannover.de/anatomie.html
>> ___
>> 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
>
>
>
>
>

 --
 Dr. Roman Grothausmann

 Tomographie und Digitale Bildverarbeitung
 Tomography and Digital Image Analysis

 Medizinische Hochschule Hannover
 Institut für Funktionelle und Angewandte Anatomie
 OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland

 Tel. +49 511 532-2900
 grothausmann.ro...@mh-hannover.de
 http://

Re: [Paraview] How to read the file info in *pvd file

2017-12-06 Thread Ke Gao
Thanks Cory. That's what I'm planning to do. It's really helpful.

Ke

On Wed, Dec 6, 2017 at 2:27 PM, Cory Quammen 
wrote:

> Did you make progress on this? You should just be able to use your
> favorite Python XML module to locate all the  elements and
> find the "file" attributes to get the *pvtu file names. Then you can
> parse those *pvtu XML files to get whatever information you want. One
> such module is documented here:
> https://docs.python.org/2/library/xml.etree.elementtree.html.
>
> HTH,
> Cory
>
> On Wed, Nov 15, 2017 at 1:17 PM, Ke Gao  wrote:
> > Actually, what I want to do is using python script to read *pvd file
> first
> > to get the name info of *pvtu files. Then use the *pvtu file name to read
> > through all of them one by one to extract the info I want. I'm not sure
> if
> > there is a better way to realize this.
> >
> > Many thanks.
> >
> > On Wed, Nov 15, 2017 at 11:05 AM, Cory Quammen  >
> > wrote:
> >>
> >> The file names are embedded in the same XML element as the time step:
> >>
> >> 
> >>
> >> But I'll be that's not how you want to access them.
> >>
> >> Next question: From where do you want to access the file names? A Python
> >> script? In the UI?
> >>
> >> On Wed, Nov 15, 2017 at 12:35 PM, Ke Gao  wrote:
> >>>
> >>> Hi,
> >>>
> >>> I mean how to get the file name info such as "Sout_1012.pvtu",
> >>> "Sout_1013.pvtu". Currently I can only read the timestep info such as
> >>> "+1.9880e+03".
> >>>
> >>> Many thanks.
> >>>
> >>>
> >>> 
> >>>   
> >>>   
> >>>  >>> file="Sout_1012.pvtu"/>
> >>>  >>> file="Sout_1013.pvtu"/>
> >>>  >>> file="Sout_1014.pvtu"/>
> >>>
> >>> On Wed, Nov 15, 2017 at 10:33 AM, Cory Quammen <
> cory.quam...@kitware.com>
> >>> wrote:
> 
>  What do you mean by "file info"? File name? Size of the file? Data
>  arrays in the file?
> 
>  - Cory
> 
>  On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao  wrote:
> >
> > Does anyone know how to read the file info from *pvd file? I know how
> > to get the time step values, just using the keyword of
> “TimestepValues”,
> > however, I tried different ways, still haven’t figured out how to
> read the
> > file info.
> >
> >
> > Thanks
> >
> > 
> >   
> >   
> >  > file="Sout_1012.pvtu"/>
> >  > file="Sout_1013.pvtu"/>
> >  > file="Sout_1014.pvtu"/>
> > --
> >
> > 
> 
> ..
> > Ke Gao
> >
> > ___
> > 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
> >
> 
> 
> 
>  --
>  Cory Quammen
>  Staff R&D Engineer
>  Kitware, Inc.
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> 
> 
> ..
> >>> Ke Gao
> >>
> >>
> >>
> >>
> >> --
> >> Cory Quammen
> >> Staff R&D Engineer
> >> Kitware, Inc.
> >
> >
> >
> >
> > --
> > 
> 
> ..
> > Ke Gao
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
>



-- 
..
Ke Gao
___
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


Re: [Paraview] How to read the file info in *pvd file

2017-12-06 Thread Cory Quammen
Did you make progress on this? You should just be able to use your
favorite Python XML module to locate all the  elements and
find the "file" attributes to get the *pvtu file names. Then you can
parse those *pvtu XML files to get whatever information you want. One
such module is documented here:
https://docs.python.org/2/library/xml.etree.elementtree.html.

HTH,
Cory

On Wed, Nov 15, 2017 at 1:17 PM, Ke Gao  wrote:
> Actually, what I want to do is using python script to read *pvd file first
> to get the name info of *pvtu files. Then use the *pvtu file name to read
> through all of them one by one to extract the info I want. I'm not sure if
> there is a better way to realize this.
>
> Many thanks.
>
> On Wed, Nov 15, 2017 at 11:05 AM, Cory Quammen 
> wrote:
>>
>> The file names are embedded in the same XML element as the time step:
>>
>> 
>>
>> But I'll be that's not how you want to access them.
>>
>> Next question: From where do you want to access the file names? A Python
>> script? In the UI?
>>
>> On Wed, Nov 15, 2017 at 12:35 PM, Ke Gao  wrote:
>>>
>>> Hi,
>>>
>>> I mean how to get the file name info such as "Sout_1012.pvtu",
>>> "Sout_1013.pvtu". Currently I can only read the timestep info such as
>>> "+1.9880e+03".
>>>
>>> Many thanks.
>>>
>>>
>>> 
>>>   
>>>   
>>> >> file="Sout_1012.pvtu"/>
>>> >> file="Sout_1013.pvtu"/>
>>> >> file="Sout_1014.pvtu"/>
>>>
>>> On Wed, Nov 15, 2017 at 10:33 AM, Cory Quammen 
>>> wrote:

 What do you mean by "file info"? File name? Size of the file? Data
 arrays in the file?

 - Cory

 On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao  wrote:
>
> Does anyone know how to read the file info from *pvd file? I know how
> to get the time step values, just using the keyword of “TimestepValues”,
> however, I tried different ways, still haven’t figured out how to read the
> file info.
>
>
> Thanks
>
> 
>   
>   
>  file="Sout_1012.pvtu"/>
>  file="Sout_1013.pvtu"/>
>  file="Sout_1014.pvtu"/>
> --
>
> ..
> Ke Gao
>
> ___
> 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
>



 --
 Cory Quammen
 Staff R&D Engineer
 Kitware, Inc.
>>>
>>>
>>>
>>>
>>> --
>>>
>>> ..
>>> Ke Gao
>>
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.
>
>
>
>
> --
> ..
> Ke Gao



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
___
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


[Paraview] Memory issue for remote visualization

2017-12-06 Thread Dennis Conklin
All,

As we start down the road to parallel visualization, our first baby steps are 
to try remote visualization.

In Redhat, I ssh onto a node with ~30 gigs of memory available (free -m)   I 
start pvserver.
Back on my machine I launch paraview541 and connect to the server.  The Memory 
Inspector shows 2.1 GB of total system ram on the server.
If I try to load a model of any size, the server bombs on a segmentation error 
(memory).

If I log onto the remote node with 30 GB free memory, I can only run standalone 
paraview if I use the -mesa-llvm command line.   When I do this,  Memory 
Inspector in standalone Paraview says there is only 2.1 GB of total system 
memory.

Am I missing something - I don't see  how this is ever going to work if neither 
a remote paraview or a remote pvserver can see and/or access the available free 
memory on the remote machine.

Thanks for any hints

Dennis
___
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


[Paraview] Windows Mixed Reality

2017-12-06 Thread Ken Martin
Just a FYI, I just had a chance to test out a new Windows Mixed Reality
headset and it seems to work well with VTK and ParaView through the SteamVR
driver. I was testing the new Dell Visor headset and controller. The
controllers show up properly and the controls map to reasonable settings.
Tracking was surprisingly good.


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
___
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


[Paraview] animation: files, pgmable source

2017-12-06 Thread Heiland, Randy
I’m probably missing a basic concept and hoping someone can enlighten me. I 
have a pipeline with a Programmable Source that reads in a (non-VTK formatted) 
file, I process it and then I have filters in my pipeline that act on that 
data. I want to be able to feed multiple files to the pipeline, save images 
and/or create animations. I naively created a Python function in the Pgmable 
Source, then save the PV State to a Python script, thinking I could call the 
function from the end of that script. Doesn’t seem to be possible. And I 
confess I’ve not given this deep thought - it’s easier to ask the experts :-)  
Bottom line, we want to make this as dead simple for our own users.

Fwiw, I’ve zipped up 2 files - a .pvsm and a sample data file here: 
http://pages.iu.edu/~heiland/physicell/pv_pcell.zip . You’d need to edit the 
“dir” path in the Pgmable Source.

Initially, I just want to save images/animation (over multiple files) with a 
fixed camera view; later, it’d be nice to have simultaneous camera movement.

thanks, Randy
___
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


Re: [Paraview] wallShearStress Calculation in Paraview

2017-12-06 Thread Andy Bauer
There's no general way to compute gradients normal to the surface so you
need to compute the gradient on the simulation's cells (e.g. volumetric
cells for 3D). You can use the Gradient Of Unstructured Data set to do
that. Then extract the surface as Mathi said, use the Normals filter to
compute the normals, use the Calculator filter to multiply the normals by
the gradient and the viscosity and you'll have the wall shear stress over
the entire boundary surface. You can then select the cells you want to show
the WSS over the exact portion of the desired boundary.

On Wed, Dec 6, 2017 at 9:05 AM, Ezhilmathi Krishnasamy <
ezhkr...@student.liu.se> wrote:

> Hi Ahmet,
>
> What you can do that is, use the filter name called extract surface.
> once you get that surface either you can export those values in form of
> from elements or from the points.
>
> It might work, or you may get more clear explanation from this forum.
>
> Cheers,
> Mathi
>
>
>
> On 6 December 2017 at 15:00, Ahmet Ahmet  wrote:
>
>> Hello everyone,
>>
>> I have results with OpenFOAM including p,T,U outputs. Due to some
>> reasons, I can't use wallShearStress or wallgradU utility in OF. So, I have
>> to calculate it on Paraview. I saw many topics related to that on google,
>> but I could not find a satisfactory answer. My case is 3-D, compressible
>> and laminar but we can think about incompressible and may be 2-D.
>>
>> I think the most important part for WSS is to calculate velocity
>> gradient. My unsolved problem is to calculate that. How can I calculate
>> gradients on the wall? I have no-slip wall, that is u=0 and with *Gradient
>> of Unstructured DataSet/Compute Derivatives *filters, I obtained 0 on
>> the wall. I think the values in the nearest mesh to the wall should be
>> accounted for. To do that, what should I do?
>>
>> *Note:*
>>
>>1. The walls are not aligned with a coordinate axis. For this part, I
>>tried to extract the wall surface and generate normal vectors.
>>2. As an alternative to get directly on wall, I tried to get slice a
>>little bit over the wall surface and then take surface vector on slice 
>> then
>>gradient of unstructured dataset on surface vector. That gives me a result
>>but I am not sure it's true.
>>
>>
>> This may be simple for you, sorry for that.
>> Thank you in advance,
>> Ahmet
>>
>> ___
>> 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
>
>
___
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


Re: [Paraview] wallShearStress Calculation in Paraview

2017-12-06 Thread Stephen Wornom
Thanks, but did you forget to include the name of the forum? 
Stephen 

- Original Message -

> From: "Ezhilmathi Krishnasamy" 
> To: "Ahmet Ahmet" 
> Cc: "ParaView" 
> Sent: Wednesday, December 6, 2017 3:05:56 PM
> Subject: Re: [Paraview] wallShearStress Calculation in Paraview

> Hi Ahmet,

> What you can do that is, use the filter name called extract surface.
> once you get that surface either you can export those values in form of from
> elements or from the points.

> It might work, or you may get more clear explanation from this forum.

> Cheers,
> Mathi

> On 6 December 2017 at 15:00, Ahmet Ahmet < ahmetskyl...@gmail.com > wrote:

> > Hello everyone,
> 

> > I have results with OpenFOAM including p,T,U outputs. Due to some reasons,
> > I
> > can't use wallShearStress or wallgradU utility in OF. So, I have to
> > calculate it on Paraview. I saw many topics related to that on google, but
> > I
> > could not find a satisfactory answer. My case is 3-D, compressible and
> > laminar but we can think about incompressible and may be 2-D.
> 

> > I think the most important part for WSS is to calculate velocity gradient.
> > My
> > unsolved problem is to calculate that. How can I calculate gradients on the
> > wall? I have no-slip wall, that is u=0 and with Gradient of Unstructured
> > DataSet/Compute Derivatives filters, I obtained 0 on the wall. I think the
> > values in the nearest mesh to the wall should be accounted for. To do that,
> > what should I do?
> 

> > Note:
> 

> > 1. T he walls are not aligned with a coordinate axis. For this part, I
> > tried
> > to extract the wall surface and generate normal vectors.
> 
> > 2. As an alternative to get directly on wall, I tried to get slice a little
> > bit over the wall surface and then take surface vector on slice then
> > gradient of unstructured dataset on surface vector. That gives me a result
> > but I am not sure it's true.
> 

> > This may be simple for you, sorry for that.
> 
> > Thank you in advance,
> 
> > Ahmet
> 

> > ___
> 
> > 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
___
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


Re: [Paraview] Update Programmable Source

2017-12-06 Thread Cory Quammen
> Is there a possibility to perform a cyclic update of a Programmable Source?

What do you mean? Do you mean update a Programmable Source once every
time period?

>
>
>
>
>
> Best,
>
> Lukas
>
>
>
>
>
>
>
> ___
> 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
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
___
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


Re: [Paraview] wallShearStress Calculation in Paraview

2017-12-06 Thread Ezhilmathi Krishnasamy
Hi Ahmet,

What you can do that is, use the filter name called extract surface.
once you get that surface either you can export those values in form of
from elements or from the points.

It might work, or you may get more clear explanation from this forum.

Cheers,
Mathi



On 6 December 2017 at 15:00, Ahmet Ahmet  wrote:

> Hello everyone,
>
> I have results with OpenFOAM including p,T,U outputs. Due to some reasons,
> I can't use wallShearStress or wallgradU utility in OF. So, I have to
> calculate it on Paraview. I saw many topics related to that on google, but
> I could not find a satisfactory answer. My case is 3-D, compressible and
> laminar but we can think about incompressible and may be 2-D.
>
> I think the most important part for WSS is to calculate velocity gradient.
> My unsolved problem is to calculate that. How can I calculate gradients on
> the wall? I have no-slip wall, that is u=0 and with *Gradient of
> Unstructured DataSet/Compute Derivatives *filters, I obtained 0 on the
> wall. I think the values in the nearest mesh to the wall should be
> accounted for. To do that, what should I do?
>
> *Note:*
>
>1. The walls are not aligned with a coordinate axis. For this part, I
>tried to extract the wall surface and generate normal vectors.
>2. As an alternative to get directly on wall, I tried to get slice a
>little bit over the wall surface and then take surface vector on slice then
>gradient of unstructured dataset on surface vector. That gives me a result
>but I am not sure it's true.
>
>
> This may be simple for you, sorry for that.
> Thank you in advance,
> Ahmet
>
> ___
> 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


[Paraview] wallShearStress Calculation in Paraview

2017-12-06 Thread Ahmet Ahmet
Hello everyone,

I have results with OpenFOAM including p,T,U outputs. Due to some reasons,
I can't use wallShearStress or wallgradU utility in OF. So, I have to
calculate it on Paraview. I saw many topics related to that on google, but
I could not find a satisfactory answer. My case is 3-D, compressible and
laminar but we can think about incompressible and may be 2-D.

I think the most important part for WSS is to calculate velocity gradient.
My unsolved problem is to calculate that. How can I calculate gradients on
the wall? I have no-slip wall, that is u=0 and with *Gradient of
Unstructured DataSet/Compute Derivatives *filters, I obtained 0 on the
wall. I think the values in the nearest mesh to the wall should be
accounted for. To do that, what should I do?

*Note:*

   1. The walls are not aligned with a coordinate axis. For this part, I
   tried to extract the wall surface and generate normal vectors.
   2. As an alternative to get directly on wall, I tried to get slice a
   little bit over the wall surface and then take surface vector on slice then
   gradient of unstructured dataset on surface vector. That gives me a result
   but I am not sure it's true.


This may be simple for you, sorry for that.
Thank you in advance,
Ahmet
___
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


Re: [Paraview] Warp by vector not fully working

2017-12-06 Thread Doina Gumeniuc (224252 MAHS)
SOLVED!


From: ParaView  on behalf of Doina Gumeniuc 
(224252 MAHS) <224...@via.dk>
Sent: December 6, 2017 10:10:26 AM
To: paraview@paraview.org
Subject: Re: [Paraview] Warp by vector not fully working


Sorry! Silly me, I needed point instead of comma. Could you please let me know 
the way to introduce more displacement fields? Thank you!


From: ParaView  on behalf of Doina Gumeniuc 
(224252 MAHS) <224...@via.dk>
Sent: December 6, 2017 9:48:35 AM
To: paraview@paraview.org
Subject: [Paraview] Warp by vector not fully working


Hi all!

I have a structure from points and lines. The POINT_DATA contains some 
displacement vectors. When I load it in Paraview and use Warp by Vector, it 
does not give me any displacement or change in color.

Is my code wrong?

Please see my file attached.


Also, I would like to add under POINT_DATA more vector fields (example, VECTORS 
mode1 float, VECTORS mode2 float and so on..but it reads only the first field 
of vectors, how can I solve that?)


Thank you all in advance!
___
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


Re: [Paraview] Warp by vector not fully working

2017-12-06 Thread Doina Gumeniuc (224252 MAHS)
Sorry! Silly me, I needed point instead of comma. Could you please let me know 
the way to introduce more displacement fields? Thank you!


From: ParaView  on behalf of Doina Gumeniuc 
(224252 MAHS) <224...@via.dk>
Sent: December 6, 2017 9:48:35 AM
To: paraview@paraview.org
Subject: [Paraview] Warp by vector not fully working


Hi all!

I have a structure from points and lines. The POINT_DATA contains some 
displacement vectors. When I load it in Paraview and use Warp by Vector, it 
does not give me any displacement or change in color.

Is my code wrong?

Please see my file attached.


Also, I would like to add under POINT_DATA more vector fields (example, VECTORS 
mode1 float, VECTORS mode2 float and so on..but it reads only the first field 
of vectors, how can I solve that?)


Thank you all in advance!
___
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


[Paraview] Warp by vector not fully working

2017-12-06 Thread Doina Gumeniuc (224252 MAHS)
Hi all!

I have a structure from points and lines. The POINT_DATA contains some 
displacement vectors. When I load it in Paraview and use Warp by Vector, it 
does not give me any displacement or change in color.

Is my code wrong?

Please see my file attached.


Also, I would like to add under POINT_DATA more vector fields (example, VECTORS 
mode1 float, VECTORS mode2 float and so on..but it reads only the first field 
of vectors, how can I solve that?)


Thank you all in advance!


Turbine.vtk
Description: Turbine.vtk
___
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


Re: [Paraview] Optimus and Windows 10

2017-12-06 Thread Paul Melis

Thanks, good to know. We'll try 5.2 (qt4) if the issue surfaces again,

Paul

On 05-12-17 14:13, Aron Helser wrote:

Yes, that Intel driver bug is known to affect ParaView:
https://gitlab.kitware.com/paraview/paraview/issues/17499

Regards,
Aron

On Tue, Dec 5, 2017 at 6:40 AM, Jonathan Borduas 
mailto:jonathan.bord...@caboma.com>> wrote:


Was the laptop running with the intel gpu ? If so, it might be
related to an Intel driver bug that was reported on the QT and Intel
websites.

https://bugreports.qt.io/browse/QTBUG-40485


https://software.intel.com/en-us/node/744153


Jonathan Borduas

_
From: Paul Melis mailto:paul.me...@surfsara.nl>>
Sent: Tuesday, December 5, 2017 04:16
Subject: [Paraview] Optimus and Windows 10
To: mailto:paraview@paraview.org>>



Hi,

In our paraview course two weeks ago we had a student that had trouble
running Paraview 5.4.1 (official windows 64-bit binaries) under windows
10. The symptoms were that the main menu bar was invisible and that the
mouse cursor did not match up with the position of the click event,
making it very hard to do anything. It seemed the menu bar somehow had
shifted under the window title bar, causing the misalignment.

As this laptop was an optimus system we figured it might have something
to do with that. After some fiddling we found that right-clicking on
paraview.exe and picking Run with graphics processor ->
High-performance
NVIDIA processor solved the problem.

Is this a known issue?

Regards,
Paul

-- 


Paul Melis
| Visualization group leader & developer | SURFsara |
| Science Park 140 | 1098 XG Amsterdam |
| T 020 800 1312 | paul.me...@surfsara.nl
 | www.surfsara.nl
 |
___
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






--

Paul Melis
| Visualization group leader & developer | SURFsara |
| Science Park 140 | 1098 XG Amsterdam |
| T 020 800 1312 | paul.me...@surfsara.nl | www.surfsara.nl |
___
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


[Paraview] Update Programmable Source

2017-12-06 Thread FIXED-TERM Eberle Lukas (CC-PS/ECL5)
Hi,

Is there a possibility to perform a cyclic update of a Programmable Source?


Best,
Lukas




___
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