Re: [Paraview] [EXT] RE: Python Annotations

2017-11-29 Thread Allie Vacanti
Is this what you're looking for?

https://blog.kitware.com/writing-equations-in-paraview-4-0-with-mathtext/

On Tue, Nov 28, 2017 at 8:23 PM, Quentin d'Avout 
wrote:

> Thank you Dennis.
>
> All, I'm looking for which code (if any) is used for special characters,
> superscripts, etc. to insert in annotations, graph legends, plots, etc.
>
> Any ideas welcome.
> Thanks
> Quentin
>
> On Fri, Nov 10, 2017 at 6:30 AM, Dennis Conklin <
> dennis_conk...@goodyear.com> wrote:
>
>> Quentin,
>>
>>
>>
>> Glad that helped.   I think any Cell, Point or Field variable is
>> available if you select the corresponding Array Association.   I don’t know
>> what special characters are allowed, maybe someone else can chime in here.
>>
>>
>>
>> Dennis
>>
>>
>>
>> *From:* Quentin d'Avout [mailto:quen...@arrivo-loop.com]
>> *Sent:* Thursday, November 09, 2017 9:25 PM
>> *To:* Dennis Conklin 
>> *Cc:* ParaView 
>> *Subject:* [EXT] RE: [Paraview] Python Annotations
>>
>>
>>
>>  *WARNING - External email; exercise caution.*
>>
>>
>>
>> Thanks Dennis. That works great. Any chance there is a list of the
>> useable variables?
>>
>>
>>
>> aAlso, Any good resource for special characters that we can insert in the
>> string (e.g. infiniti sign)?
>>
>>
>>
>> Quentin
>>
>>
>>
>> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Dennis
>> Conklin
>> *Sent:* Wednesday, November 8, 2017 10:23 AM
>> *To:* Paraview (paraview@paraview.org) 
>> *Subject:* Re: [Paraview] Python Annotations
>>
>>
>>
>> Quentin,
>>
>>
>>
>> Try this:
>>
>>
>>
>>- Example:  Plot Total Vertical force (REACTZ_901+REACTZ_902) in
>>animation
>>
>>
>>- Form is “Label %g” %(expression)
>>
>>
>>- Label is:“Vertical Force: %g”   where %g is format and will be
>>  replaced by value of expression
>>  - Expression is:  %(REACTZ_901[t_index]+REACTZ_902[t_index])
>>  where t_index is for current time only
>>  - See next slide
>>
>>
>>
>> [image: cid:image001.png@01D35985.135BEBB0]
>>
>>
>>
>> Dennis
>>
>
>
>
> --
>
> Quentin d’Avout | Aerodynamics
> [image: Arrivo Loop] 
>
> ___
> 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] [EXT] RE: Python Annotations

2017-11-28 Thread Quentin d'Avout
Thank you Dennis.

All, I'm looking for which code (if any) is used for special characters,
superscripts, etc. to insert in annotations, graph legends, plots, etc.

Any ideas welcome.
Thanks
Quentin

On Fri, Nov 10, 2017 at 6:30 AM, Dennis Conklin  wrote:

> Quentin,
>
>
>
> Glad that helped.   I think any Cell, Point or Field variable is available
> if you select the corresponding Array Association.   I don’t know what
> special characters are allowed, maybe someone else can chime in here.
>
>
>
> Dennis
>
>
>
> *From:* Quentin d'Avout [mailto:quen...@arrivo-loop.com]
> *Sent:* Thursday, November 09, 2017 9:25 PM
> *To:* Dennis Conklin 
> *Cc:* ParaView 
> *Subject:* [EXT] RE: [Paraview] Python Annotations
>
>
>
>  *WARNING - External email; exercise caution.*
>
>
>
> Thanks Dennis. That works great. Any chance there is a list of the useable
> variables?
>
>
>
> aAlso, Any good resource for special characters that we can insert in the
> string (e.g. infiniti sign)?
>
>
>
> Quentin
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Dennis
> Conklin
> *Sent:* Wednesday, November 8, 2017 10:23 AM
> *To:* Paraview (paraview@paraview.org) 
> *Subject:* Re: [Paraview] Python Annotations
>
>
>
> Quentin,
>
>
>
> Try this:
>
>
>
>- Example:  Plot Total Vertical force (REACTZ_901+REACTZ_902) in
>animation
>
>
>- Form is “Label %g” %(expression)
>
>
>- Label is:“Vertical Force: %g”   where %g is format and will be
>  replaced by value of expression
>  - Expression is:  %(REACTZ_901[t_index]+REACTZ_902[t_index])
>  where t_index is for current time only
>  - See next slide
>
>
>
> [image: cid:image001.png@01D35985.135BEBB0]
>
>
>
> Dennis
>



-- 

Quentin d’Avout | Aerodynamics
[image: Arrivo Loop] 
___
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] FEM

2017-11-28 Thread paul . carrico
Dear All 

I'm new in Paraview community. 

For a while, I'm thinking in developping my own template in order to
post-process results in Paraview, from my finite element solvers
(mechanical and thermal ones). 

>From an ascii file containing all the data (mesh informations and
nodal/element results), I'm thinking in writing (python) routines in VTK
format I guess. 

One can find a lot of information's on internet, but are ther some
specific docs/tools/class and so on on it? 

Thanks for any feedback 

Paul___
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] Is anyone using Octree Fractal (vtkHyperOctreeFractalSource)?

2017-11-28 Thread Allie Vacanti
Unless there is a reason not to, we will be deprecating this class soon as
per https://gitlab.kitware.com/paraview/paraview/issues/17791.

Let me know if you'd like it to stay.

Allie
___
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] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-28 Thread Kolja Petersen
Ok, vtkSMLiveInsituLinkProxy::NextTimestepAvailable calls PushUpdatedState,
again pushing from client to server. I pasted the code below for
convenience.
I don't get it, where the communication in the opposite direction is
initiated. I have tried before, but the RMI and Qt signals+events usage
makes it impossible to follow the sequence of procedure calls.

  211 void vtkSMLiveInsituLinkProxy::NextTimestepAvailable(vtkIdType
timeStep)  212 {  213   this->TimeStep = timeStep;  214   // Mark all
extract producer proxies as dirty.  215
vtkInternals::ExtractProxiesType::iterator iter;  216   for (iter =
this->Internals->ExtractProxies.begin();  217iter !=
this->Internals->ExtractProxies.end(); ++iter)  218   {  219
iter->second->MarkModified(iter->second.GetPointer());  220   }  221
222   this->PushUpdatedState();  223   224
this->InvokeEvent(vtkCommand::UpdateEvent);  225 }  226   227
//
 228 void vtkSMLiveInsituLinkProxy::PushUpdatedState()  229 {  230
if (this->StateDirty)  231   {  232
vtkSMLiveInsituLinkProxyDebugMacro(<< "Push new state to server.");
233 // push new state.  234 vtkPVXMLElement* root =
this->InsituProxyManager->SaveXMLState();  235 std::ostringstream
data;  236 root->PrintXML(data, vtkIndent());  237
root->Delete();  238   239 vtkClientServerStream stream;  240
stream << vtkClientServerStream::Invoke << VTKOBJECT(this) <<
"UpdateInsituXMLState"  241<< data.str().c_str() <<
vtkClientServerStream::End;  242
vtkSMLiveInsituLinkProxyDebugMacro(<< "Push new state to
server--done");  243 this->ExecuteStream(stream);  244   245
this->StateDirty = false;  246   }  247 }



Virenfrei.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Nov 27, 2017 at 9:09 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Catalyst live-session is managed this custom engineering from both the
> client and the server side. Hence it's not a mechanism that arbitrary
> filters can use to communicate events from server to client. If you're
> interested in how Catalyst live sessions manages this, start by
> looking at vtkSMLiveInsituLinkProxy and vtkLiveInsituLink classes.
> Following the code path for NEXT_TIMESTEP_AVAILABLE might be helpeful.
>
> Utkarsh
>
> On Thu, Nov 23, 2017 at 12:57 PM, Kolja Petersen
>  wrote:
> > Can anybody answer my question?
> > When Catalyst receives the next timestep update from some simulation
> every
> > few seconds or minutes, it sends its data to the pvserver process. The
> > pvserver somehow notifies the Paraview client, which will display the new
> > data.
> > If Utkarsh's comment is correct that no events can be forwarded from
> server
> > to client, then how does Paraview know that it should display the next
> > timestep?
> >
> > I need to implement a very similar use case, for which a better
> > understanding of the communication between the Catalyst session, the
> > pvserver and the Paraview client is of high importance.
> > Thanks
> > Kolja
> >
> > On Wed, Nov 22, 2017 at 7:54 PM, Kolja Petersen  >
> > wrote:
> >>
> >> Oh, well, but how is Catalyst forwarding new time step information from
> >> server to client?
> >> Time step updates can occur at any time. Which event mechanism notifies
> >> the client?
> >> Thanks
> >> Kolja
> >>
> >> On Wed, Nov 22, 2017 at 6:57 PM, Utkarsh Ayachit
> >>  wrote:
> >>>
> >>> This is not a use-case supported in ParaView. We don't forward events
> >>> from server to client.
> >>>
> >>> On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen
> >>>  wrote:
> 
>  Hello,
>  I would like to invoke a callback on a proxy in a pvpython session
> from
>  a server-side method.
> 
>  In my server-side class "vtkCustom" I have a method
>  void vtkCustom::SetData(int i){
>    ...
>    this->InvokeEvent(1999,NULL);
>    ...
>  }
> 
> 
>  On the client side, I create a proxy to a vtkCustom object, register
> an
>  observer and set the "Data" property, which should invoke
> eventid=1999:
>  ...
>  custom=pxm.NewProxy("myextensions","Custom")
>  pxm.RegisterProxy("myextensions","Custom",custom)
> 
>  def fun(obj,event):
>    print "CALLBACK",obj,event
> 
>  custom.AddObserver(1999,fun)
>  vtk.vtkSMPropertyHelper(custom.GetProperty("Data")).Set(42)
>  ...
> 
>  The observer function "fun" on the client is never invoked, although
> the
>  server-side invokes that event. I'm misunderstanding some concept of
>  Paraviews event mechanism for sure. Can you help me correct my steps?
>  Thanks
>  Kolja
> 
> 
>  

[Paraview] ANN: vtk.js, an Open-Source Toolkit for SciVis on the Web

2017-11-28 Thread Sebastien Jourdain
The Kitware team is pleased to announce vtk.js, a WebGL library taking the
best of VTK to the Web.
To learn more, click on the link for our blog post.

https://blog.kitware.com/vtk-js-the-visualization-toolkit-on-the-web/

And if you want to follow along the progress of the project, star it on
github!

https://github.com/Kitware/vtk-js

Feel free to leave feedback on the mailing list or issue tracker.

Thank you all for making VTK such a great platform for SciViz!

Sebastien
___
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] Segfault with simple C++ filter derived from vtkMultiTimeStepAlgorithm

2017-11-28 Thread Messner, Mark Christian
Utkarsh,


Thanks, that was a very helpful reference to vtkTemporalArrayOperatorFilter.


Mark


From: Utkarsh Ayachit 
Sent: Monday, November 27, 2017 1:16:22 PM
To: Messner, Mark Christian
Cc: paraview@paraview.org
Subject: Re: [Paraview] Segfault with simple C++ filter derived from 
vtkMultiTimeStepAlgorithm

Mark,

You're simply missing a call to `this->SetNumberOfOutputPorts(1)` in
your constructor. That will get past the segfault.

Besides that, look at `vtkTemporalArrayOperatorFilter` as an example
for how to overload `RequestDataObject` to create correct output
dataset type, `RequestInformation` to determine which timesteps are
available, and `RequestUpdateExtent` to request a set of timesteps.

Utkarsh

On Mon, Nov 27, 2017 at 11:41 AM, Messner, Mark Christian
 wrote:
> In my ongoing quest to get a filter to process multiple time steps worth of
> data into a single result field I've attempted to derive a C++ vtk filter
> from vtkMultiTimeStepAlgorithm.  However, the attached simple example
> segfaults out when I try to apply it in paraview.  All it should do is a
> shallow copy of input to output for now.  I don't have much luck getting a
> stacktrace from paraview but it appears to be bombing at:
>
>
> Program received signal SIGSEGV, Segmentation fault.
> getIconType (this=0x4109120)
> at
> /home/messner/Downloads/ParaView-v5.4.1/Qt/Components/pqPipelineModel.cxx:232
> 232return this->getIconType(source->getOutputPort(0))
>
>
> Can someone please help or point me to a minimal working example of a
> vtkMultiTimeStepAlgorithm filter?
>
>
> Thanks,
>
>
> Mark
>
>
>
> ___
> 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] [EXTERNAL] Re: boolean mesh filtering

2017-11-27 Thread Cory Quammen
Alan,

It would be possible to expose the boolean operations filter in ParaView
without much trouble. However, that filter is limited to
polydata-to-polydata intersection (a plus for Jeff's application), and
works best when the geometries overlap but do not share faces (a minus for
Jeff's application). For Jeff's needs, I don't think it would be that
useful.

Thanks,
Cory

On Mon, Nov 20, 2017 at 5:38 PM, Scott, W Alan  wrote:

> T.J.,
>
>
>
> This filter doesn’t appear to be in ParaView.  Am I missing something?
> Should we add it to ParaView?
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *TJ
> Corona
> *Sent:* Monday, November 20, 2017 1:22 PM
> *To:* Mauldin, Jeffrey A. 
> *Cc:* paraview@paraview.org
> *Subject:* [EXTERNAL] Re: [Paraview] boolean mesh filtering
>
>
>
> Hi Jeffrey,
>
>
>
> You may want to check out vtkBooleanOperationPolyDataFilter
> .
> It sounds like it may have the functionality you desire.
>
>
>
> Sincerely,
>
> T.J.
>
>
>
> Thomas J. Corona, Ph.D.
> Kitware, Inc.
> Senior R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4443 <(518)%20881-4443>
>
>
>
> On Nov 20, 2017, at 3:18 PM, Mauldin, Jeffrey A. 
> wrote:
>
>
>
> I have a need to do a Boolean intersection of two unstructured multiblock
> datasets.  It so happens in this case that the underlying element sets are
> polygonal meshes, so in this particular case I could also do what I want
> with a Boolean intersection of two polygonal meshes.  To be (hopefully)
> redundant, I have two meshes which share some points and cells and each of
> which have other points and cells which are not shared.  I would like a new
> mesh which consists of all the points and cells that are in both of these
> meshes.  I need this to work properly in parallel.
>
>
>
> I know enough to create a python-based filter (python programmable filter)
> to create this operation, but are there already existing Boolean mesh
> operations, and if not would those be a useful thing to add?
>
>
>
> ___
> 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
>
>


-- 
Cory Quammen
Staff R 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] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-11-27 Thread Utkarsh Ayachit
Afraid not. One potential work around would be you build the
transformation matrix and set that on the camera. You can build the
matrix yourself by changing the order of rotations.

Utkarsh

On Fri, Nov 24, 2017 at 1:43 PM, Léo Pessanha
 wrote:
> Thank you again for your help, Utkarsh!
>
> Your solution worked but it flicks a lot because of the gimbal lock, but I
> believe I could not get rid of that. Right?
>
> Thanks in advance!
>
> Leonardo Pessanha
> Laboratory of Computational Methods in Engineering
> Federal University of Rio de Janeiro - COPPE
> Rio de Janeiro, RJ, Brasil
>
>
> 2017-10-25 11:12 GMT-03:00 Utkarsh Ayachit :
>>
>> Leo,
>>
>> To handle 90-degree pitch or elevation, do the following:
>>
>> camera.Pitch(90)
>> camera.OrthogonalizeViewUp()
>> Render()
>>
>> Utkarsh
>>
>>
>> On Tue, Oct 24, 2017 at 2:50 PM, Léo Pessanha
>>  wrote:
>>>
>>> Thanks Utkarsh!
>>>
>>> This change would take a build right? Can't do it right now =/
>>>
>>> My goal is to know what should I do after a
>>>
 cameraInstance.Pitch(90)
>>>
>>>
>>> and before a
>>>
 Render()
>>>
>>>
>>> In order not to get the warning
>>>
 Resetting view-up since view plane normal is parallel
>>>
>>>
>>> I've tried
>>>
 cameraInstance.ComputeViewPlaneNormal()
>>>
>>>
>>> but with no sucess...
>>>
>>> Do you know why and can explain me the reason of this warning ?
>>> More important, how to get rid of it? hahaha
>>> My goal trying to print the camera attributes was to debug this info!
>>>
>>> Thanks in advance!
>>>
>>>
>>>
>>> Leonardo Pessanha
>>> Laboratory of Computational Methods in Engineering
>>> Federal University of Rio de Janeiro - COPPE
>>> Rio de Janeiro, RJ, Brasil
>>>
>>>
>>> 2017-10-23 13:01 GMT-02:00 Utkarsh Ayachit :

 Leo,

 You can't access it in Python since the Python script is not run on the
 server side. If your goal is to debug what thet camera is set to, you can
 put cout's to print the camera in
 `vtkCaveSynchronizedRenderers::HandleStartRender`. That's where the local
 camera on each rank is "prepped" for rendering a frame.

 Utkarsh

 On Mon, Oct 23, 2017 at 9:20 AM, Léo Pessanha
  wrote:
>
> Hi!
>
> I would like to know if there's a way to acess the
> information/attributes of the cameras there are created trough a .pvx file
>
> To acess the attributes in the camera of the active Layout/RenderView
> I do:
>
> 1 - Open Python Shell
> 2 - camera = GetActiveCamera()
> 3 - print(camera)
>
> And the output is:
>
> vtkOpenGLCamera (0x4a45e80)
>
> Debug: Off
>
> Modified Time: 405029
>
> Reference Count: 5
>
> Registered Events:
>
> Registered Observers:
>
> (none)
>
> ClippingRange: (1.63277, 5.56498)
>
> DirectionOfProjection: (0.526409, 0.492965, -0.692733)
>
> Distance: 3.37001
>
> EyeAngle: 2
>
> FocalDisk: 1
>
> FocalPoint: (0, 0, 0)
>
> ViewShear: (0, 0, 1)
>
> ParallelProjection: Off
>
> ParallelScale: 0.872667
>
> Position: (-1.77401, -1.6613, 2.33452)
>
> Stereo: Off
>
> Left Eye: 1
>
> Thickness: 3.93221
>
> ViewAngle: 30
>
> UseHorizontalViewAngle: 0
>
> UserTransform: (none)
>
> (none)
>
> FreezeFocalPoint: (none)
>
> ViewPlaneNormal: (-0.526409, -0.492965, 0.692733)
>
> ViewUp: (-0.0865543, 0.841596, 0.533127)
>
> WindowCenter: (0, 0)
>
> UseOffAxisProjection: (0)
>
> ScreenBottomLeft: (-0.5, -0.5, -0.5)
>
> ScreenBottomRight: (0.5, -0.5, -0.5)
>
> ScreenTopRight: (0.5, 0.5, -0.5)
>
> EyeSeparation: (0.06)
>
> WorldToScreenMatrix: (0x4a457c0
>
> Debug: Off
>
> Modified Time: 155883
>
> Reference Count: 1
>
> Registered Events: (none)
>
> Elements:
>
> 1 0 0 0
>
> 0 1 0 0
>
> 0 0 1 0
>
> 0 0 0 1
>
> )
>
> EyeTransformMatrix: (0x4a458b0
>
> Debug: Off
>
> Modified Time: 155885
>
> Reference Count: 1
>
> Registered Events: (none)
>
> Elements:
>
> 1 0 0 0
>
> 0 1 0 0
>
> 0 0 1 0
>
> 0 0 0 1
>
> )
>
> ModelTransformMatrix: (0x4a459a0
>
> Debug: Off
>
> Modified Time: 155887
>
> Reference Count: 1
>
> Registered Events: (none)
>
> Elements:
>
> 1 0 0 0
>
> 0 1 0 0
>
> 0 0 1 0
>
> 0 0 0 1
>
> )
>
> ProjectionTransform: (0x4a46280
>
> Debug: Off
>
> Modified Time: 405415
>
> Reference Count: 1
>
> Registered Events: (none)
>
> Inverse: (0)
>
> Matrix: (0x4a46330)
>

Re: [Paraview] Displaying volume outside of mesh as solid

2017-11-27 Thread Moreland, Kenneth
It looks like the email to the list at large is awaiting moderator approval for 
the attachment. In the meantime, here is the response without the referenced 
attachment.

-Ken

From: Moreland, Kenneth
Sent: Monday, November 27, 2017 10:05 AM
To: Quammen, Cory (External Contacts) ; sergey 

Cc: ParaView 
Subject: Re: [Paraview] Displaying volume outside of mesh as solid

Sergey,

What Cory said is true that ParaView cannot directly render empty spaces. 
However, you might be able to get something close enough with the backface 
styling rendering controls. These controls let you render surfaces whose 
“outside” is facing you different than surfaces whose “inside” is facing you. 
They are an advanced property under “Display” in the properties panel. The 
easiest way to get to them is to type “backface” in the search box on the 
properties panel (as shown in the attached screenshot).

Try changing the “Backface Representation” to “Cull Frontface”. That tells 
ParaView to not render any part of the surface where the outside is facing to 
you. That should remove the outer surface in the front and instead show the 
inner surface that should be facing your hollow volume. The attached screenshot 
shows me using this to show a sphere clipped out of the center of a grid. You 
will note that you also see the back faces of the larger grids. That is 
inevitable. There is no way for ParaView to know the difference between the 
faces of your mesh that are on the interior hollow region and those that are on 
the external empty space.

(Note, that if “Cull Frontface” does not seem to show anything different, try 
“Cull Backface”. That might work if your surfaces are for some reason inward 
facing. That shouldn’t be the case, though, when ParaView is rendering the 
surface of a volume.)

I hope that helps.

-Ken


From: ParaView 
> on behalf 
of Cory Quammen >
Date: Monday, November 27, 2017 at 9:18 AM
To: sergey >
Cc: ParaView >
Subject: [EXTERNAL] Re: [Paraview] Displaying volume outside of mesh as solid

There isn't anything in ParaView to view empty volumes. At some stage, the 
volume you are talking about needs to be represented by a grid or mesh for it 
to be visualized with ParaView. If you can generate a volumetric mesh outside 
of ParaView, then you could use all the visualization techniques in ParaView 
that apply to volume meshes. As a post-processing application, ParaView has 
essentially no built-in functions for generating volume meshes.

Hope that helps,
Cory

On Mon, Nov 20, 2017 at 7:42 PM, sergey 
> wrote:
Hello,

I am looking for a way to display a volume that is not covered by mesh
(its located somewhere in the middle of mesh).

By default such volumes (without mesh) are shown as empty area, and
meshed area is shown as solid.

I need to reverse the solid and empty areas, so that non-meshed volume
is shown as solid, and meshed volume as empty.

Mesh is in 3D.

Is there a way to do this?

Thank you very much.

Best,

Sergey

___
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 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] Misleading facts about Catalyst

2017-11-27 Thread Utkarsh Ayachit
Kolja,

> Last week I asked how the server side can notify the client of recent
> changes. Utkarsh wrote this wouldn't be supported by Paraview. After I
> clarified that exactly this is happening during a Catalyst Live simulation,
> the discussion was mute. I am still hoping for an answer how to notify the
> client of any changes that might happen on the server side for example as a
> result of some network activity.

I've responded to the thread. Please note that Thursday-Sunday was a
holiday in the US, hence mailing list responses were expected to be
slow.

> Another example, some days before, I was wondering why Catalyst datasets of
> considerable size take so long from the Insitu side to the Live
> Visualization side, given that the Catalyst User Guide gives the impression
> that everything is designed for high throughput. Someone insisted that
> everything is transported through MPI until I mentioned that Paraview is not
> designed for a dynamically added MPI communicator. Only then it was
> explained that Catalyst data exchange is going through TCP...

While I am not sure which conversation you're referring to or whom you
were having that conversation, it's believable that there was
confusion between which data transfers you were referring to. All
communication between filters in a Catalyst in situ session is via
MPI. Only when you start doing "live" is when you encounter TCP. With
Live, currently the data transfer between the insitu ranks and the
"pvserver" ranks used for visualization is via TCP. Live support, in
my mind, is still in the early life cycle and needs more development
for production use.

> The Catalyst development seems increasingly problematic. Have the Catalyst
> developers left Kitware, or what is going on? We are trying to work on
> improved solutions, but with the recent quality of comments we can't see
> this happening.

Catalyst is indeed being actively developed and maintained. While we
try our best, responding to every mailing list inquiry can be quite
difficult. We do offer consulting services [1] if you want to work
Catalyst development team directly.

Hope that helps.

Utkarsh

[1] https://www.kitware.com/what-we-offer/#consulting
___
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] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-27 Thread Utkarsh Ayachit
Catalyst live-session is managed this custom engineering from both the
client and the server side. Hence it's not a mechanism that arbitrary
filters can use to communicate events from server to client. If you're
interested in how Catalyst live sessions manages this, start by
looking at vtkSMLiveInsituLinkProxy and vtkLiveInsituLink classes.
Following the code path for NEXT_TIMESTEP_AVAILABLE might be helpeful.

Utkarsh

On Thu, Nov 23, 2017 at 12:57 PM, Kolja Petersen
 wrote:
> Can anybody answer my question?
> When Catalyst receives the next timestep update from some simulation every
> few seconds or minutes, it sends its data to the pvserver process. The
> pvserver somehow notifies the Paraview client, which will display the new
> data.
> If Utkarsh's comment is correct that no events can be forwarded from server
> to client, then how does Paraview know that it should display the next
> timestep?
>
> I need to implement a very similar use case, for which a better
> understanding of the communication between the Catalyst session, the
> pvserver and the Paraview client is of high importance.
> Thanks
> Kolja
>
> On Wed, Nov 22, 2017 at 7:54 PM, Kolja Petersen 
> wrote:
>>
>> Oh, well, but how is Catalyst forwarding new time step information from
>> server to client?
>> Time step updates can occur at any time. Which event mechanism notifies
>> the client?
>> Thanks
>> Kolja
>>
>> On Wed, Nov 22, 2017 at 6:57 PM, Utkarsh Ayachit
>>  wrote:
>>>
>>> This is not a use-case supported in ParaView. We don't forward events
>>> from server to client.
>>>
>>> On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen
>>>  wrote:

 Hello,
 I would like to invoke a callback on a proxy in a pvpython session from
 a server-side method.

 In my server-side class "vtkCustom" I have a method
 void vtkCustom::SetData(int i){
   ...
   this->InvokeEvent(1999,NULL);
   ...
 }


 On the client side, I create a proxy to a vtkCustom object, register an
 observer and set the "Data" property, which should invoke eventid=1999:
 ...
 custom=pxm.NewProxy("myextensions","Custom")
 pxm.RegisterProxy("myextensions","Custom",custom)

 def fun(obj,event):
   print "CALLBACK",obj,event

 custom.AddObserver(1999,fun)
 vtk.vtkSMPropertyHelper(custom.GetProperty("Data")).Set(42)
 ...

 The observer function "fun" on the client is never invoked, although the
 server-side invokes that event. I'm misunderstanding some concept of
 Paraviews event mechanism for sure. Can you help me correct my steps?
 Thanks
 Kolja


 Virenfrei. www.avast.com

 ___
 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] Misleading facts about Catalyst

2017-11-27 Thread Kolja Petersen
Heya,
I'd need some more reliable input on the Catalyst design.

Last week I asked how the server side can notify the client of recent
changes. Utkarsh wrote this wouldn't be supported by Paraview. After I
clarified that exactly this is happening during a Catalyst Live simulation,
the discussion was mute. I am still hoping for an answer how to notify the
client of any changes that might happen on the server side for example as a
result of some network activity.

Another example, some days before, I was wondering why Catalyst datasets of
considerable size take so long from the Insitu side to the Live
Visualization side, given that the Catalyst User Guide gives the impression
that everything is designed for high throughput. Someone insisted that
everything is transported through MPI until I mentioned that Paraview is
not designed for a dynamically added MPI communicator. Only then it was
explained that Catalyst data exchange is going through TCP...

The Catalyst development seems increasingly problematic. Have the Catalyst
developers left Kitware, or what is going on? We are trying to work on
improved solutions, but with the recent quality of comments we can't see
this happening.
Thank you
Kolja



Virenfrei.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
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] Segfault with simple C++ filter derived from vtkMultiTimeStepAlgorithm

2017-11-27 Thread Utkarsh Ayachit
Mark,

You're simply missing a call to `this->SetNumberOfOutputPorts(1)` in
your constructor. That will get past the segfault.

Besides that, look at `vtkTemporalArrayOperatorFilter` as an example
for how to overload `RequestDataObject` to create correct output
dataset type, `RequestInformation` to determine which timesteps are
available, and `RequestUpdateExtent` to request a set of timesteps.

Utkarsh

On Mon, Nov 27, 2017 at 11:41 AM, Messner, Mark Christian
 wrote:
> In my ongoing quest to get a filter to process multiple time steps worth of
> data into a single result field I've attempted to derive a C++ vtk filter
> from vtkMultiTimeStepAlgorithm.  However, the attached simple example
> segfaults out when I try to apply it in paraview.  All it should do is a
> shallow copy of input to output for now.  I don't have much luck getting a
> stacktrace from paraview but it appears to be bombing at:
>
>
> Program received signal SIGSEGV, Segmentation fault.
> getIconType (this=0x4109120)
> at
> /home/messner/Downloads/ParaView-v5.4.1/Qt/Components/pqPipelineModel.cxx:232
> 232return this->getIconType(source->getOutputPort(0))
>
>
> Can someone please help or point me to a minimal working example of a
> vtkMultiTimeStepAlgorithm filter?
>
>
> Thanks,
>
>
> Mark
>
>
>
> ___
> 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] [EXTERNAL] SWKey: Way to Enlarge Upper Left Display Panel Icons for Picking Points and Cells?

2017-11-27 Thread Scott, W Alan
Understand.  My monitor resolution (i.e., retinas) behind my just discovered, 
early cataracts, isn't getting better either.  But, you would be surprised how 
many people complained about the font size of text in 5.3'ish.  Thus, the bug 
report on text size, and the bug report on icon size.

By the way, I discovered that one of my problems in Linux land was that 
anti-aliased fonts were not on.  Just use a zoom tool if you are interested in 
finding if you have the issue.  After a bit of googling, I got it to work.  
Greatly helped the fonts - but they still needed the ability to scale.

Alan

> -Original Message-
> From: Samuel Key [mailto:samuel...@bresnan.net]
> Sent: Monday, November 27, 2017 11:01 AM
> To: Scott, W Alan ; ParaView
> 
> Subject: Re: [EXTERNAL] [Paraview] SWKey: Way to Enlarge Upper Left
> Display Panel Icons for Picking Points and Cells?
> 
> Greetings Alan!
> 
> Thanks for registering this cosmetic(?) upgrade request. It is going to get
> even worse for me since Santa C is bring a Samsung 49" CHG90 QLED
> ParaView Monitor for Christmas.
> 
> Best regards,
> 
> Sam
> 
> 
> On 11/27/2017 10:48 AM, Scott, W Alan wrote:
> > Hi Sam,
> >
> > Nope, you can't increase the size of the icons.  I wrote it up, and it
> > is on the to-do list.
> > https://gitlab.kitware.com/paraview/paraview/issues/17343
> >
> > Alan
> >
> >> -Original Message-
> >> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
> >> Samuel Key
> >> Sent: Saturday, November 25, 2017 1:10 PM
> >> To: ParaView 
> >> Subject: [EXTERNAL] [Paraview] SWKey: Way to Enlarge Upper Left
> >> Display Panel Icons for Picking Points and Cells?
> >>
> >> Hi,
> >>
> >> I am using PV V5.4.1 64bit on MS Windows 7 Pro.
> >>
> >> My display has a resolution 2560 x 1440. I have located the
> >> Edit>Settings...>Tab:General and selected the 'Override Font option.'
> >> Edit>I
> >> moved it from 8 to 9. Nice! For my eyes, it is a big improvement.
> >>
> >> However, when it comes to the Upper-Left display panel icons for
> >> Picking Points and Cells, I either need to use the pop-up hint for
> >> the buttons or get at least within 12 inches of the screen with my
> >> bi-focal eyeglasses to see clearly the icon representing the button's
> function.
> >> (By the way, the icons are excellent representations of the button
> >> function.)
> >>
> >> Is there a way to enlarge this particular button bar to obtain
> >> slightly larger icons?
> >>
> >> Thanks in advance for the bother,
> >>
> >> Samuel W Key
> >> Fma Development
> >> 1005 39th Ave NE
> >> Great Falls, Montana 59404
> >> ___
> >> 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] [EXTERNAL] SWKey: Way to Enlarge Upper Left Display Panel Icons for Picking Points and Cells?

2017-11-27 Thread Samuel Key

Greetings Alan!

Thanks for registering this cosmetic(?) upgrade request. It is going to 
get even worse for me since Santa C is bring a Samsung 49" CHG90 QLED 
ParaView Monitor for Christmas.


Best regards,

Sam


On 11/27/2017 10:48 AM, Scott, W Alan wrote:

Hi Sam,

Nope, you can't increase the size of the icons.  I wrote it up, and it is on 
the to-do list.  https://gitlab.kitware.com/paraview/paraview/issues/17343

Alan


-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
Samuel Key
Sent: Saturday, November 25, 2017 1:10 PM
To: ParaView 
Subject: [EXTERNAL] [Paraview] SWKey: Way to Enlarge Upper Left Display
Panel Icons for Picking Points and Cells?

Hi,

I am using PV V5.4.1 64bit on MS Windows 7 Pro.

My display has a resolution 2560 x 1440. I have located the
Edit>Settings...>Tab:General and selected the 'Override Font option.' I
moved it from 8 to 9. Nice! For my eyes, it is a big improvement.

However, when it comes to the Upper-Left display panel icons for Picking
Points and Cells, I either need to use the pop-up hint for the buttons
or get at least within 12 inches of the screen with my bi-focal
eyeglasses to see clearly the icon representing the button's function.
(By the way, the icons are excellent representations of the button
function.)

Is there a way to enlarge this particular button bar to obtain slightly
larger icons?

Thanks in advance for the bother,

Samuel W Key
Fma Development
1005 39th Ave NE
Great Falls, Montana 59404
___
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] [EXTERNAL] SWKey: Way to Enlarge Upper Left Display Panel Icons for Picking Points and Cells?

2017-11-27 Thread Scott, W Alan
Hi Sam,

Nope, you can't increase the size of the icons.  I wrote it up, and it is on 
the to-do list.  https://gitlab.kitware.com/paraview/paraview/issues/17343

Alan

> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
> Samuel Key
> Sent: Saturday, November 25, 2017 1:10 PM
> To: ParaView 
> Subject: [EXTERNAL] [Paraview] SWKey: Way to Enlarge Upper Left Display
> Panel Icons for Picking Points and Cells?
> 
> Hi,
> 
> I am using PV V5.4.1 64bit on MS Windows 7 Pro.
> 
> My display has a resolution 2560 x 1440. I have located the
> Edit>Settings...>Tab:General and selected the 'Override Font option.' I
> moved it from 8 to 9. Nice! For my eyes, it is a big improvement.
> 
> However, when it comes to the Upper-Left display panel icons for Picking
> Points and Cells, I either need to use the pop-up hint for the buttons
> or get at least within 12 inches of the screen with my bi-focal
> eyeglasses to see clearly the icon representing the button's function.
> (By the way, the icons are excellent representations of the button
> function.)
> 
> Is there a way to enlarge this particular button bar to obtain slightly
> larger icons?
> 
> Thanks in advance for the bother,
> 
> Samuel W Key
> Fma Development
> 1005 39th Ave NE
> Great Falls, Montana 59404
> ___
> 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] [EXTERNAL] Animation Camera Assistance

2017-11-27 Thread Scott, W Alan
Try the Sandia ParaView Tutorials, located here: 
https://www.paraview.org/Wiki/SNL_ParaView_Tutorials, then Advanced Animations.

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Elijah 
Andrews
Sent: Monday, November 27, 2017 8:47 AM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Animation Camera Assistance

Hello all,

I'm looking for some help with this question: 
https://stackoverflow.com/questions/47465192/camera-rotation-animation

I've copied the text here for your convenience:

I have simulated a rotating cube filled with particles by moving the gravity 
vector rather than changing all of the geometry. I want to use the ParaView 
animation tools to rotate the camera to keep the gravity vector pointing down 
so it all looks right. When moving the camera (not animations) I would use the 
rotate 90 degrees tools.

How would I achieve this effect for an animation?

Many thanks,
Elijah Andrews
___
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] Segfault with simple C++ filter derived from vtkMultiTimeStepAlgorithm

2017-11-27 Thread Messner, Mark Christian
In my ongoing quest to get a filter to process multiple time steps worth of 
data into a single result field I've attempted to derive a C++ vtk filter from 
vtkMultiTimeStepAlgorithm.  However, the attached simple example  segfaults out 
when I try to apply it in paraview.  All it should do is a shallow copy of 
input to output for now.  I don't have much luck getting a stacktrace from 
paraview but it appears to be bombing at:


Program received signal SIGSEGV, Segmentation fault.
getIconType (this=0x4109120)
at 
/home/messner/Downloads/ParaView-v5.4.1/Qt/Components/pqPipelineModel.cxx:232
232return this->getIconType(source->getOutputPort(0))



Can someone please help or point me to a minimal working example of a 
vtkMultiTimeStepAlgorithm filter?


Thanks,


Mark



strainrangeaxi.tar.bz2
Description: strainrangeaxi.tar.bz2
___
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] Displaying volume outside of mesh as solid

2017-11-27 Thread Cory Quammen
There isn't anything in ParaView to view empty volumes. At some stage, the
volume you are talking about needs to be represented by a grid or mesh for
it to be visualized with ParaView. If you can generate a volumetric mesh
outside of ParaView, then you could use all the visualization techniques in
ParaView that apply to volume meshes. As a post-processing application,
ParaView has essentially no built-in functions for generating volume meshes.

Hope that helps,
Cory

On Mon, Nov 20, 2017 at 7:42 PM, sergey  wrote:

> Hello,
>
> I am looking for a way to display a volume that is not covered by mesh
> (its located somewhere in the middle of mesh).
>
> By default such volumes (without mesh) are shown as empty area, and
> meshed area is shown as solid.
>
> I need to reverse the solid and empty areas, so that non-meshed volume
> is shown as solid, and meshed volume as empty.
>
> Mesh is in 3D.
>
> Is there a way to do this?
>
> Thank you very much.
>
> Best,
>
> Sergey
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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 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] How to plot pressure map on an airfoil or circle?

2017-11-27 Thread Cory Quammen
Hi Eman,

The Warp By Scalar filter will warp a geometry, such as a circle, according
to a scalar field at each point in the geometry. The geometry must have a
Normals array set for this to work.

The Glyph filter can draw arrows scaled according to the scalar value at
your circular geometry.

HTH,
Cory

On Sun, Nov 19, 2017 at 11:18 AM, emanmoba Mb  wrote:

> Hello everyone,
>
> I have some scalar data on the surface of a circle and I want to plot it
> on the circle, something similar to the attached images (like a pressure
> map around airfoil). Does anyone know how I can do it in ParaView?
>
> https://image.ibb.co/d9WnA6/para.png
> http://dhaerotech.com/Images/Clark%20Y%20Aileron%20Forces.jpg
> https://cyclistsforsustainablebicycles.files.wordpress.com/2009/08/
> airfoil.gif
>
> Thanks a lot.
> Eman
>
> ___
> 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 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] Animation Camera Assistance

2017-11-27 Thread Elijah Andrews
Hello all,

I'm looking for some help with this question: https://stackoverflow.com/ques
tions/47465192/camera-rotation-animation

I've copied the text here for your convenience:

I have simulated a rotating cube filled with particles by moving the
gravity vector rather than changing all of the geometry. I want to use the
ParaView animation tools to rotate the camera to keep the gravity vector
pointing down so it all looks right. When moving the camera (not
animations) I would use the rotate 90 degrees tools.

How would I achieve this effect for an animation?

Many thanks,
Elijah Andrews
___
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] SWKey: Way to Enlarge Upper Left Display Panel Icons for Picking Points and Cells?

2017-11-27 Thread David E DeMarle
Please file a feature request via gitlab issue tracker. Those icons
are really small to begin with and my eyes are not what they used to
be too.
David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sat, Nov 25, 2017 at 3:10 PM, Samuel Key  wrote:
> Hi,
>
> I am using PV V5.4.1 64bit on MS Windows 7 Pro.
>
> My display has a resolution 2560 x 1440. I have located the
> Edit>Settings...>Tab:General and selected the 'Override Font option.' I
> moved it from 8 to 9. Nice! For my eyes, it is a big improvement.
>
> However, when it comes to the Upper-Left display panel icons for Picking
> Points and Cells, I either need to use the pop-up hint for the buttons or
> get at least within 12 inches of the screen with my bi-focal eyeglasses to
> see clearly the icon representing the button's function. (By the way, the
> icons are excellent representations of the button function.)
>
> Is there a way to enlarge this particular button bar to obtain slightly
> larger icons?
>
> Thanks in advance for the bother,
>
> Samuel W Key
> Fma Development
> 1005 39th Ave NE
> Great Falls, Montana 59404
> ___
> 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] ParaView: Qt runtime errors

2017-11-27 Thread Nenad Vujicic
Hello everyone,

I'm experiencing one strange situation with some of my ParaView plugin
exporters. When I create the scene, go to File->Export Scene, select output
filename and file-format, push OK and then it creates output file, but it
also reports some QT runtime errors in Output Window:

QWindowsWindow::setGeometry: Unable to set geometry 229x100+1024+492 on
QWindgetWindow/'QDialogClassWindow'. Resulting Geometry: 229x99+1025+592
(frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 178x99,
maximum size: 16777215x16777215).

I get this error 2 times reported.

I first noticed this on my custom build, but, when I tried Kitware's
binaries (the latest one: ParaView-5.4.1-Qt5-OpenGL2-MPI-Windows-64bit), I
also got these errors. Here is list of my steps:

1. Create Sphere source and apply Elevation Filter onto it,
2. File->Export, select WEBGL Files (*.webgl) file type and push OK button.

I tested on Windows 10 Pro x64, but, also, have confirmation it occurs
under Windows 7 x64. Btw, it also occurs on ParaView v5.4.0.

Does anyone have any idea?

Best regards,
Nenad.
___
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] SWKey: Way to Enlarge Upper Left Display Panel Icons for Picking Points and Cells?

2017-11-25 Thread Samuel Key

Hi,

I am using PV V5.4.1 64bit on MS Windows 7 Pro.

My display has a resolution 2560 x 1440. I have located the 
Edit>Settings...>Tab:General and selected the 'Override Font option.' I 
moved it from 8 to 9. Nice! For my eyes, it is a big improvement.


However, when it comes to the Upper-Left display panel icons for Picking 
Points and Cells, I either need to use the pop-up hint for the buttons 
or get at least within 12 inches of the screen with my bi-focal 
eyeglasses to see clearly the icon representing the button's function. 
(By the way, the icons are excellent representations of the button 
function.)


Is there a way to enlarge this particular button bar to obtain slightly 
larger icons?


Thanks in advance for the bother,

Samuel W Key
Fma Development
1005 39th Ave NE
Great Falls, Montana 59404
___
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] cygwin installation

2017-11-24 Thread Zohar Levi via ParaView

  
  

The doc says that cygwin isn't supported:

https://www.paraview.org/Wiki/ParaView:Build_And_Install

Is there a special reason for that?

I thought to give it a try anyway. cmake ran successfully. When I
run make, I get a compilation error about not being able to find
strdup even though cmake confirmed it. Any ideas?
  

___
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] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-11-24 Thread Léo Pessanha
Thank you again for your help, Utkarsh!

Your solution worked but it flicks a lot because of the gimbal lock, but I
believe I could not get rid of that. Right?

Thanks in advance!

Leonardo Pessanha
Laboratory of Computational Methods in Engineering
Federal University of Rio de Janeiro - COPPE
Rio de Janeiro, RJ, Brasil


2017-10-25 11:12 GMT-03:00 Utkarsh Ayachit :

> Leo,
>
> To handle 90-degree pitch or elevation, do the following:
>
> camera.Pitch(90)
> camera.OrthogonalizeViewUp()
> Render()
>
> Utkarsh
>
>
> On Tue, Oct 24, 2017 at 2:50 PM, Léo Pessanha <
> leonardopessanh...@gmail.com> wrote:
>
>> Thanks Utkarsh!
>>
>> This change would take a build right? Can't do it right now =/
>>
>> My goal is to know what should I do after a
>>
>> cameraInstance.Pitch(90)
>>>
>>
>> and before a
>>
>> Render()
>>>
>>
>> In order not to get the warning
>>
>> Resetting view-up since view plane normal is parallel
>>>
>>
>> I've tried
>>
>> cameraInstance.ComputeViewPlaneNormal()
>>>
>>
>> but with no sucess...
>>
>> Do you know why and can explain me the reason of this warning ?
>> More important, how to get rid of it? hahaha
>> My goal trying to print the camera attributes was to debug this info!
>>
>> Thanks in advance!
>>
>>
>>
>> Leonardo Pessanha
>> Laboratory of Computational Methods in Engineering
>> Federal University of Rio de Janeiro - COPPE
>> Rio de Janeiro, RJ, Brasil
>>
>>
>> 2017-10-23 13:01 GMT-02:00 Utkarsh Ayachit :
>>
>>> Leo,
>>>
>>> You can't access it in Python since the Python script is not run on the
>>> server side. If your goal is to debug what thet camera is set to, you can
>>> put cout's to print the camera in 
>>> `vtkCaveSynchronizedRenderers::HandleStartRender`.
>>> That's where the local camera on each rank is "prepped" for rendering a
>>> frame.
>>>
>>> Utkarsh
>>>
>>> On Mon, Oct 23, 2017 at 9:20 AM, Léo Pessanha <
>>> leonardopessanh...@gmail.com> wrote:
>>>
 Hi!

 I would like to know if there's a way to acess the
 information/attributes of the cameras there are created trough a .pvx file

 To acess the attributes in the camera of the active Layout/RenderView
 I do:

 1 - Open Python Shell
 2 - camera = GetActiveCamera()
 3 - print(camera)

 And the output is:

 vtkOpenGLCamera (0x4a45e80)

 Debug: Off

 Modified Time: 405029

 Reference Count: 5

 Registered Events:

 Registered Observers:

 (none)

 ClippingRange: (1.63277, 5.56498)

 DirectionOfProjection: (0.526409, 0.492965, -0.692733)

 Distance: 3.37001

 EyeAngle: 2

 FocalDisk: 1

 FocalPoint: (0, 0, 0)

 ViewShear: (0, 0, 1)

 ParallelProjection: Off

 ParallelScale: 0.872667

 Position: (-1.77401, -1.6613, 2.33452)

 Stereo: Off

 Left Eye: 1

 Thickness: 3.93221

 ViewAngle: 30

 UseHorizontalViewAngle: 0

 UserTransform: (none)

 (none)

 FreezeFocalPoint: (none)

 ViewPlaneNormal: (-0.526409, -0.492965, 0.692733)

 ViewUp: (-0.0865543, 0.841596, 0.533127)

 WindowCenter: (0, 0)

 UseOffAxisProjection: (0)

 ScreenBottomLeft: (-0.5, -0.5, -0.5)

 ScreenBottomRight: (0.5, -0.5, -0.5)

 ScreenTopRight: (0.5, 0.5, -0.5)

 EyeSeparation: (0.06)

 WorldToScreenMatrix: (0x4a457c0

 Debug: Off

 Modified Time: 155883

 Reference Count: 1

 Registered Events: (none)

 Elements:

 1 0 0 0

 0 1 0 0

 0 0 1 0

 0 0 0 1

 )

 EyeTransformMatrix: (0x4a458b0

 Debug: Off

 Modified Time: 155885

 Reference Count: 1

 Registered Events: (none)

 Elements:

 1 0 0 0

 0 1 0 0

 0 0 1 0

 0 0 0 1

 )

 ModelTransformMatrix: (0x4a459a0

 Debug: Off

 Modified Time: 155887

 Reference Count: 1

 Registered Events: (none)

 Elements:

 1 0 0 0

 0 1 0 0

 0 0 1 0

 0 0 0 1

 )

 ProjectionTransform: (0x4a46280

 Debug: Off

 Modified Time: 405415

 Reference Count: 1

 Registered Events: (none)

 Inverse: (0)

 Matrix: (0x4a46330)

 Debug: Off

 Modified Time: 405416

 Reference Count: 1

 Registered Events: (none)

 Elements:

 3.76067 0 0 0

 0 3.73205 0 0

 0 0 -1.83046 -4.62147

 0 0 -1 0

 Input: (0)

 InverseFlag: 0

 NumberOfConcatenatedTransforms: 1

 0: vtkSimpleTransform at 0x6ecdae0

 )


 *How to get these informations of the cameras created from a .pvx file?*



 Thanks in advance,
 Leonardo Pessanha

Re: [Paraview] Paraview Simple Superquadric

2017-11-24 Thread Mathieu Westphal
Hello

you could use Glyph with custom source, but your superquadrics will not get
parametarized the way you want.
There is no direct way to do that, it could be done with a rather
complicated programmable python filter, wich would
create the superquadric and configurate them for each of your tensors.


Best,

Mathieu Westphal

On Thu, Nov 23, 2017 at 10:45 PM,  wrote:

> Rephrasing my question:
>
>
> Attached a tensorsTest.vtu file which contains
>
>
> "positions"
>
>
> "axesScales", "phiAndTheta" and orientationTensors.
>
>
> So, how do I set superquadric glyph over this input data?
>
>
> I would like to use something like
>
>
> ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='*Superquadric*')
>
> Any help would be great
> Deepak​
> --
> *From:* ParaView  on behalf of
> d.r.tunugun...@utwente.nl 
> *Sent:* Thursday, November 23, 2017 10:24 PM
> *To:* paraview@paraview.org
> *Subject:* [Paraview] Paraview Simple Superquadric
>
>
> Dear Paraview users,
>
>
> I am trying to use paraview simple via python shell.
>
>
> Is it possible to pass superquadric source as a glyph?
>
>
> For example:
>
>
> ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='*Superquadric*')
>
>
> I am aware of the TensorGlyph, but it does not have access to properties
> such as PhiRoundness or ThetaRoundess.​
>
>
> Any help would be great.
>
> Deepak
>
>
>
> ___
> 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] Paraview Simple Superquadric

2017-11-23 Thread d.r.tunuguntla
Rephrasing my question:


Attached a tensorsTest.vtu file which contains


"positions"


"axesScales", "phiAndTheta" and orientationTensors.


So, how do I set superquadric glyph over this input data?


I would like to use something like


ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='Superquadric')

Any help would be great
Deepak?

From: ParaView  on behalf of 
d.r.tunugun...@utwente.nl 
Sent: Thursday, November 23, 2017 10:24 PM
To: paraview@paraview.org
Subject: [Paraview] Paraview Simple Superquadric


Dear Paraview users,


I am trying to use paraview simple via python shell.


Is it possible to pass superquadric source as a glyph?


For example:


ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='Superquadric')


I am aware of the TensorGlyph, but it does not have access to properties such 
as PhiRoundness or ThetaRoundess.?


Any help would be great.

Deepak



tensorsTest.vtu
Description: tensorsTest.vtu
___
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] Paraview Simple Superquadric

2017-11-23 Thread d.r.tunuguntla
Dear Paraview users,


I am trying to use paraview simple via python shell.


Is it possible to pass superquadric source as a glyph?


For example:


ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='Superquadric')


I am aware of the TensorGlyph, but it does not have access to properties such 
as PhiRoundness or ThetaRoundess.?


Any help would be great.

Deepak

___
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] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-23 Thread Kolja Petersen
Can anybody answer my question?
When Catalyst receives the next timestep update from some simulation every
few seconds or minutes, it sends its data to the pvserver process. The
pvserver somehow notifies the Paraview client, which will display the new
data.
If Utkarsh's comment is correct that no events can be forwarded from server
to client, then how does Paraview know that it should display the next
timestep?

I need to implement a very similar use case, for which a better
understanding of the communication between the Catalyst session, the
pvserver and the Paraview client is of high importance.
Thanks
Kolja

On Wed, Nov 22, 2017 at 7:54 PM, Kolja Petersen 
wrote:

> Oh, well, but how is Catalyst forwarding new time step information from
> server to client?
> Time step updates can occur at any time. Which event mechanism notifies
> the client?
> Thanks
> Kolja
>
> On Wed, Nov 22, 2017 at 6:57 PM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> This is not a use-case supported in ParaView. We don't forward events
>> from server to client.
>>
>> On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen > > wrote:
>>
>>> Hello,
>>> I would like to invoke a callback on a proxy in a pvpython session from
>>> a server-side method.
>>>
>>> In my server-side class "vtkCustom" I have a method
>>> void vtkCustom::SetData(int i){
>>>   ...
>>>   this->InvokeEvent(1999,NULL);
>>>   ...
>>> }
>>>
>>>
>>> On the client side, I create a proxy to a vtkCustom object, register an
>>> observer and set the "Data" property, which should invoke eventid=1999:
>>> ...
>>> custom=pxm.NewProxy("myextensions","Custom")
>>> pxm.RegisterProxy("myextensions","Custom",custom)
>>>
>>> def fun(obj,event):
>>>   print "CALLBACK",obj,event
>>>
>>> custom.AddObserver(1999,fun)
>>> vtk.vtkSMPropertyHelper(custom.GetProperty("Data")).Set(42)
>>> ...
>>>
>>> The observer function "fun" on the client is never invoked, although the
>>> server-side invokes that event. I'm misunderstanding some concept of
>>> Paraviews event mechanism for sure. Can you help me correct my steps?
>>> Thanks
>>> Kolja
>>>
>>>
>>>
>>> 
>>>  Virenfrei.
>>> www.avast.com
>>> 
>>> <#m_-5360357721745673276_m_-5828339282545804963_m_-8161186613008835523_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> ___
>>> 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] Filter for deformation

2017-11-23 Thread Li, Teng
Hi Sam,

Thanks for your reply. Please find the attached picture in which I use scale 
10. I think not only the e44 is too big, but also the blue region is out of 
boundary. Could you please tell me why?

Best,
Teng


Teng Li

Master Candidate in Structures

Department of Civil and Environmental Engineering

University of Illinois at Urbana-Champaign

205 North Mathews Ave, Urbana, IL. 61801

Phone:(217)8196210, Email: teng...@illinois.edu




From: ParaView [paraview-boun...@paraview.org] on behalf of Samuel Key 
[samuel...@bresnan.net]
Sent: Thursday, November 23, 2017 8:20 AM
To: paraview@paraview.org
Subject: Re: [Paraview] Filter for deformation


Teng--

In my experience, using the WARP filter with a scale value of 1.0 on the 
displacement vector will give the actual distorted mesh at the time step, or 
load step being examined by ParaView.

If you are seeing "mesh overlaps" with the WARP filter as described above, then 
it is likely one of several conditions:

(1) The simulation datum set already contains the deformed mesh at each 
time/state-of-loading. (Check with whomever wrote the results output routine in 
your software.)

(2) The loads specified are larger than the structure can properly support,

(3) The simulation software may contain contact (aka sliding interface) 
capability that is not being used or improperly specified,

(4) 

--Sam

On 11/22/2017 9:28 PM, Li, Teng wrote:
Hi all,

Can anyone tell me how to see the deformed shape? Right now, I can use wrap 
filter to magnify the displacement. But if I the magnified factor is too small, 
I can't see the small deformation. However, if I use much a bigger factor, the 
deformation will be too big that the mesh elements will have some overlap. So I 
wander which filter I can use to see the deformation directly.

Best,
Teng


Teng Li

Master Candidate in Structures

Department of Civil and Environmental Engineering

University of Illinois at Urbana-Champaign

205 North Mathews Ave, Urbana, IL. 61801

Phone:(217)8196210, Email: teng...@illinois.edu





___
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] Filter for deformation

2017-11-23 Thread Samuel Key

Teng--

In my experience, using the WARP filter with a scale value of 1.0 on the 
displacement vector will give the actual distorted mesh at the time 
step, or load step being examined by ParaView.


If you are seeing "mesh overlaps" with the WARP filter as described 
above, then it is likely one of several conditions:


(1) The simulation datum set already contains the deformed mesh at each 
time/state-of-loading. (Check with whomever wrote the results output 
routine in your software.)


(2) The loads specified are larger than the structure can properly support,

(3) The simulation software may contain contact (aka sliding interface) 
capability that is not being used or improperly specified,


(4) 

--Sam


On 11/22/2017 9:28 PM, Li, Teng wrote:

Hi all,

Can anyone tell me how to see the deformed shape? Right now, I can use 
wrap filter to magnify the displacement. But if I the magnified factor 
is too small, I can't see the small deformation. However, if I use 
much a bigger factor, the deformation will be too big that the mesh 
elements will have some overlap. So I wander which filter I can use to 
see the deformation directly.


Best,
Teng

Teng Li

Master Candidate in Structures

Department of Civil and Environmental Engineering

University of Illinois at Urbana-Champaign

205 North Mathews Ave, Urbana, IL. 61801

Phone:(217)8196210, Email: teng...@illinois.edu





___
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] Equally spaced points on a slice (for the streamlines)

2017-11-23 Thread Andrew
Hello, Kenichiro Yoshimi, and thanks for your help.
I tried the Smooth filter just now. It works, but it seems to be not
appropriate with very irregular point distributions. Things look only a bit
better with it.
I also tried this filter after Mask Points with Random sampling +
Randomized ID strides that generates more even distribution than initial
seed. But the Smooth filter tells that, in this case, it has "nothing to
smooth".
Mask points filter works being applied after the Smooth (with default 20
iterations) but it's not better than just Mask Point on initial slice with
Random Sampling + Randomized ID strides.
The way that look simple is just to create glyphs with Uniform spatial
distribution option and to apply the Streamlines to these glyphs as source
points. But here is an another "snake in the grass": although there is an
appropriate number of glyphs when I visualize them, the Streamline filter
tries to draw lines from every point of initial slice, not from "glyphed"
points.
So I still stay with Mask Points + Random sampling + Randomized ID strides.

2017-11-23 11:48 GMT+03:00 kenichiro yoshimi :

> Hi  Andrew,
>
> Would you try to apply the set of filters with Smooth, Subdivide and
> Mask Points to a slice surface? The smoothing process helps to secure
> an evenly distribution of points on a slice.
>
> Thanks
>
> 2017-11-22 21:17 GMT+09:00 Andrew :
> > Hello.
> > Sorry for being so slow, got lots of work with reports...
> > Just tried Mandelbrot filter applied to a slice. With defaults, it
> created a
> > kind of fractal rotated and translated relative to original slice.
> Should I
> > use some particular settings to just resample? Also, tried Wavelet and
> > Gaussian resample. These filters create volumes being appliet to the
> slice
> > so it seems that they doesnt fit my needs. Any suggestions? Is there some
> > simple filter to resample arbitrary surface in ParaView.
> > Thanks for your attention. (Now I use Mask Points with the same problem
> of
> > un-even point distribution, the best results are with Random sampling +
> > randomised ID strides, but without limiting the maximum number of points;
> > instead of this limit I preview points with glyphs and then feed these
> point
> > to the Stream tracer with custom source)
> >
> > 2017-10-25 9:41 GMT+03:00 Andrew :
> >>
> >> Hello, sorry for being late.
> >> The slice may be oriented arbitrary, it may be not a flat but cylinder
> >> slice e.t.c. But often I need just axis-aligned slices. Thanks for
> >> suggestion about sources.
> >>
> >> 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit  >:
> >>>
> >>> Is the slice axis aligned? If so, you can use a regular source eg.
> >>> Wavelet or Mandlebrot to generate the evenly spaced points by setting
> the
> >>> extents appropriately.
> >>>
> >>> Utkarsh
> >>>
> >>> On Mon, Oct 23, 2017 at 2:41 AM, Andrew  wrote:
> 
>  Hello.
>  I need to distribute points on a slice equally to start streamlines
> from
>  these points. The problem is that the Mask Points filter seems to not
> to
>  have such option. I tried all combinations of randomizing in this
> filter but
>  the problem persist. My mesh is unstructured tetra with inflation
> layers on
>  wall so there are lots of cells (points) at the wall and almost all
>  streamlines start in near-wall region while I need their starting
> points to
>  be equally distributed along the slice. Is there a way to do it in
> ParaView?
>  Thanks for attention...
> 
>  ___
>  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


Re: [Paraview] Equally spaced points on a slice (for the streamlines)

2017-11-23 Thread kenichiro yoshimi
Hi  Andrew,

Would you try to apply the set of filters with Smooth, Subdivide and
Mask Points to a slice surface? The smoothing process helps to secure
an evenly distribution of points on a slice.

Thanks

2017-11-22 21:17 GMT+09:00 Andrew :
> Hello.
> Sorry for being so slow, got lots of work with reports...
> Just tried Mandelbrot filter applied to a slice. With defaults, it created a
> kind of fractal rotated and translated relative to original slice. Should I
> use some particular settings to just resample? Also, tried Wavelet and
> Gaussian resample. These filters create volumes being appliet to the slice
> so it seems that they doesnt fit my needs. Any suggestions? Is there some
> simple filter to resample arbitrary surface in ParaView.
> Thanks for your attention. (Now I use Mask Points with the same problem of
> un-even point distribution, the best results are with Random sampling +
> randomised ID strides, but without limiting the maximum number of points;
> instead of this limit I preview points with glyphs and then feed these point
> to the Stream tracer with custom source)
>
> 2017-10-25 9:41 GMT+03:00 Andrew :
>>
>> Hello, sorry for being late.
>> The slice may be oriented arbitrary, it may be not a flat but cylinder
>> slice e.t.c. But often I need just axis-aligned slices. Thanks for
>> suggestion about sources.
>>
>> 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit :
>>>
>>> Is the slice axis aligned? If so, you can use a regular source eg.
>>> Wavelet or Mandlebrot to generate the evenly spaced points by setting the
>>> extents appropriately.
>>>
>>> Utkarsh
>>>
>>> On Mon, Oct 23, 2017 at 2:41 AM, Andrew  wrote:

 Hello.
 I need to distribute points on a slice equally to start streamlines from
 these points. The problem is that the Mask Points filter seems to not to
 have such option. I tried all combinations of randomizing in this filter 
 but
 the problem persist. My mesh is unstructured tetra with inflation layers on
 wall so there are lots of cells (points) at the wall and almost all
 streamlines start in near-wall region while I need their starting points to
 be equally distributed along the slice. Is there a way to do it in 
 ParaView?
 Thanks for attention...

 ___
 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


[Paraview] Filter for deformation

2017-11-22 Thread Li, Teng
Hi all,

Can anyone tell me how to see the deformed shape? Right now, I can use wrap 
filter to magnify the displacement. But if I the magnified factor is too small, 
I can't see the small deformation. However, if I use much a bigger factor, the 
deformation will be too big that the mesh elements will have some overlap. So I 
wander which filter I can use to see the deformation directly.

Best,
Teng


Teng Li

Master Candidate in Structures

Department of Civil and Environmental Engineering

University of Illinois at Urbana-Champaign

205 North Mathews Ave, Urbana, IL. 61801

Phone:(217)8196210, Email: teng...@illinois.edu


___
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] Fwd: OpenGL version

2017-11-22 Thread Ken Martin
All versions of paraview should work with OpenGL 4.1 so that error message
is really odd. Given that updating the driver fixes the issue, it could be
a driver bug. How old is the driver that is working with your other monitor?

On Wed, Nov 22, 2017 at 1:49 PM, Devang Chauhan  wrote:

> Hi All,
>
> Can someone please recommend me version of Paraview that can work with
> OpenGL version 4.1.0? In order to address this myself, I have been
> downloading and testing older versions. I went down to paraview version
> 5.0.
>
> Updating the graphic driver is one of the solutions and it works but doing
> that unfortunately creates issues with two monitors I attach to my laptop
> PC. So I would like to stick with this OpenGL version please.
>
> If somebody can help me identify the compatible version that would be a
> great help. I also attached the error I receive when I start paraview.
>
> - Devang
>
>
> ___
> 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
>
>


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


Re: [Paraview] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-22 Thread Kolja Petersen
Oh, well, but how is Catalyst forwarding new time step information from
server to client?
Time step updates can occur at any time. Which event mechanism notifies the
client?
Thanks
Kolja

On Wed, Nov 22, 2017 at 6:57 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> This is not a use-case supported in ParaView. We don't forward events from
> server to client.
>
> On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen 
> wrote:
>
>> Hello,
>> I would like to invoke a callback on a proxy in a pvpython session from a
>> server-side method.
>>
>> In my server-side class "vtkCustom" I have a method
>> void vtkCustom::SetData(int i){
>>   ...
>>   this->InvokeEvent(1999,NULL);
>>   ...
>> }
>>
>>
>> On the client side, I create a proxy to a vtkCustom object, register an
>> observer and set the "Data" property, which should invoke eventid=1999:
>> ...
>> custom=pxm.NewProxy("myextensions","Custom")
>> pxm.RegisterProxy("myextensions","Custom",custom)
>>
>> def fun(obj,event):
>>   print "CALLBACK",obj,event
>>
>> custom.AddObserver(1999,fun)
>> vtk.vtkSMPropertyHelper(custom.GetProperty("Data")).Set(42)
>> ...
>>
>> The observer function "fun" on the client is never invoked, although the
>> server-side invokes that event. I'm misunderstanding some concept of
>> Paraviews event mechanism for sure. Can you help me correct my steps?
>> Thanks
>> Kolja
>>
>>
>>
>> 
>>  Virenfrei.
>> www.avast.com
>> 
>> <#m_-5828339282545804963_m_-8161186613008835523_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> ___
>> 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] Fwd: OpenGL version

2017-11-22 Thread Devang Chauhan
Hi All,

Can someone please recommend me version of Paraview that can work with
OpenGL version 4.1.0? In order to address this myself, I have been
downloading and testing older versions. I went down to paraview version
5.0.

Updating the graphic driver is one of the solutions and it works but doing
that unfortunately creates issues with two monitors I attach to my laptop
PC. So I would like to stick with this OpenGL version please.

If somebody can help me identify the compatible version that would be a
great help. I also attached the error I receive when I start paraview.

- Devang
___
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] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-22 Thread Utkarsh Ayachit
This is not a use-case supported in ParaView. We don't forward events from
server to client.

On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen 
wrote:

> Hello,
> I would like to invoke a callback on a proxy in a pvpython session from a
> server-side method.
>
> In my server-side class "vtkCustom" I have a method
> void vtkCustom::SetData(int i){
>   ...
>   this->InvokeEvent(1999,NULL);
>   ...
> }
>
>
> On the client side, I create a proxy to a vtkCustom object, register an
> observer and set the "Data" property, which should invoke eventid=1999:
> ...
> custom=pxm.NewProxy("myextensions","Custom")
> pxm.RegisterProxy("myextensions","Custom",custom)
>
> def fun(obj,event):
>   print "CALLBACK",obj,event
>
> custom.AddObserver(1999,fun)
> vtk.vtkSMPropertyHelper(custom.GetProperty("Data")).Set(42)
> ...
>
> The observer function "fun" on the client is never invoked, although the
> server-side invokes that event. I'm misunderstanding some concept of
> Paraviews event mechanism for sure. Can you help me correct my steps?
> Thanks
> Kolja
>
>
>
> 
>  Virenfrei.
> www.avast.com
> 
> <#m_-8161186613008835523_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> 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] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-22 Thread Kolja Petersen
Hello,
I would like to invoke a callback on a proxy in a pvpython session from a
server-side method.

In my server-side class "vtkCustom" I have a method
void vtkCustom::SetData(int i){
  ...
  this->InvokeEvent(1999,NULL);
  ...
}


On the client side, I create a proxy to a vtkCustom object, register an
observer and set the "Data" property, which should invoke eventid=1999:
...
custom=pxm.NewProxy("myextensions","Custom")
pxm.RegisterProxy("myextensions","Custom",custom)

def fun(obj,event):
  print "CALLBACK",obj,event

custom.AddObserver(1999,fun)
vtk.vtkSMPropertyHelper(custom.GetProperty("Data")).Set(42)
...

The observer function "fun" on the client is never invoked, although the
server-side invokes that event. I'm misunderstanding some concept of
Paraviews event mechanism for sure. Can you help me correct my steps?
Thanks
Kolja



Virenfrei.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
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] [EXTERNAL] Disable automatic mesh warping

2017-11-22 Thread Scott, W Alan
Unrelated to your question, but you may want to upgrade to PV 5.4.1.  It’s 
being a reliable, trustworthy workhorse.

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of John Mangeri
Sent: Wednesday, November 22, 2017 2:52 AM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Disable automatic mesh warping

Hello,
I am working in a reduced unit system where the computed strain fields are 
around order 1. I could write postprocessors to rescale before visualization 
but that would increase my computational time.
Is there a way to turn off the automatic warping that ParaView performs on 
disp_k (k =x, y, z) fields?
I tried to use the WarpByVector filter with scale of 0.1 or smaller and that 
did not seem to work properly. I should mention I'm on version 5.0 (my favorite 
for a variety of reasons), so maybe the this WarpByVector issue is resolved in 
newer versions.
Thanks,
John
___
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] Disable automatic mesh warping

2017-11-22 Thread Moreland, Kenneth
John,

Sam’s advice is sound, but I am curious where your data is coming from. 
ParaView usually does not automatically apply displacements by warping. The 
only exception I know of is the Exodus II reader, and in that case you can turn 
off the warping by unchecking the Apply Displacements checkbox.

Otherwise, it might be that the displacements are already applied in your data 
file. In which case Sam’s suggestion for undoing them with a negative warp 
should do the trick.

-Ken

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Samuel Key
Sent: Wednesday, November 22, 2017 7:25 AM
To: paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] Disable automatic mesh warping


John--

Have tried the Warp filter with a scale of -1.0?

--Sam

On 11/22/2017 2:52 AM, John Mangeri wrote:
Hello,
I am working in a reduced unit system where the computed strain fields are 
around order 1. I could write postprocessors to rescale before visualization 
but that would increase my computational time.
Is there a way to turn off the automatic warping that ParaView performs on 
disp_k (k =x, y, z) fields?
I tried to use the WarpByVector filter with scale of 0.1 or smaller and that 
did not seem to work properly. I should mention I'm on version 5.0 (my favorite 
for a variety of reasons), so maybe the this WarpByVector issue is resolved in 
newer versions.
Thanks,
John




___

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] Disable automatic mesh warping

2017-11-22 Thread Samuel Key

John--

Have tried the Warp filter with a scale of -1.0?

--Sam


On 11/22/2017 2:52 AM, John Mangeri wrote:

Hello,

I am working in a reduced unit system where the computed strain fields 
are around order 1. I could write postprocessors to rescale before 
visualization but that would increase my computational time.


Is there a way to turn off the automatic warping that ParaView 
performs on disp_k (k =x, y, z) fields?


I tried to use the WarpByVector filter with scale of 0.1 or smaller 
and that did not seem to work properly. I should mention I'm on 
version 5.0 (my favorite for a variety of reasons), so maybe the this 
WarpByVector issue is resolved in newer versions.


Thanks,
John


___
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] Defining DataItem attribute "Dimensions" as an element is not working

2017-11-22 Thread Marco Lucchesi
Hi folks,

I am new to XML and therefore I am killing myself with making XDMF files
working. I have a (working) XDMF that contains a  looking like:


  
  grid.h5:/x_grid
  
...


I am a bit annoyed by the static definition of the attribute "Dimensions",
that I would naively define as an element:


  
   200 
  grid.h5:/x_grid
  
...


such that, later on, I could use an  to import the value from
an external source, and use an XPath to define the element Dimensions.
However, Paraview does not like this second version, giving me errors like:

ERROR: In
/home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/Xdmf2/vtkXdmfReader.cxx,
line 409
vtkXdmfReader (0x36249d0): Failed to read data.

Now, I am new to XML, so I could have misunderstood the relation between
attributes and elements.
Would you please advise me about this issue? Or, do you know a better
strategy to dynamically import geometries?

Many thanks,

Marco
___
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] Equally spaced points on a slice (for the streamlines)

2017-11-22 Thread Andrew
Hello.
Sorry for being so slow, got lots of work with reports...
Just tried Mandelbrot filter applied to a slice. With defaults, it created
a kind of fractal rotated and translated relative to original slice. Should
I use some particular settings to just resample? Also, tried Wavelet and
Gaussian resample. These filters create volumes being appliet to the slice
so it seems that they doesnt fit my needs. Any suggestions? Is there some
simple filter to resample arbitrary surface in ParaView.
Thanks for your attention. (Now I use Mask Points with the same problem of
un-even point distribution, the best results are with Random sampling +
randomised ID strides, but without limiting the maximum number of points;
instead of this limit I preview points with glyphs and then feed these
point to the Stream tracer with custom source)

2017-10-25 9:41 GMT+03:00 Andrew :

> Hello, sorry for being late.
> The slice may be oriented arbitrary, it may be not a flat but cylinder
> slice e.t.c. But often I need just axis-aligned slices. Thanks for
> suggestion about sources.
>
> 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit :
>
>> Is the slice axis aligned? If so, you can use a regular source eg.
>> Wavelet or Mandlebrot to generate the evenly spaced points by setting the
>> extents appropriately.
>>
>> Utkarsh
>>
>> On Mon, Oct 23, 2017 at 2:41 AM, Andrew  wrote:
>>
>>> Hello.
>>> I need to distribute points on a slice equally to start streamlines from
>>> these points. The problem is that the Mask Points filter seems to not to
>>> have such option. I tried all combinations of randomizing in this filter
>>> but the problem persist. My mesh is unstructured tetra with inflation
>>> layers on wall so there are lots of cells (points) at the wall and almost
>>> all streamlines start in near-wall region while I need their starting
>>> points to be equally distributed along the slice. Is there a way to do it
>>> in ParaView?
>>> Thanks for attention...
>>>
>>> ___
>>> 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] Degrees of freedom

2017-11-22 Thread Doina Gumeniuc (224252 MAHS)
Hi Samuel,

Thank you so much! This is extremely helpful ^_^


From: Samuel Key 
Sent: November 21, 2017 10:38:15 PM
To: Doina Gumeniuc (224252 MAHS); paraview@paraview.org
Subject: Re: [Paraview] Degrees of freedom


Doina--


In what follows, I will skip talking about a 3-nod quadratic line as a way to 
display a cured beam or a deformed beam. (I live in a world of large 
deformation simulations and I like to display that type of behavior.)


The concept of FIELD (aka GLOBAL) simulation results, for example, results that 
come from or related to overall behavior like total Kinetic Energy (KE), are 
well supported by the Exodus-II format and are absent from the EnSight format 
and the VTK format for simulation results. I will confine my comments to what I 
have to offer to just POINT data and CELL data.


It is convenient to divide simulation results into three categories for 
virtually all of the data formats that PV can read.

(1) GEOMETRY data

(2) POINT data

(3) CELL data


The following is the VTK-XML ASCII format. (See the attached file 
'resultsvtk.f')


(1) GEOMETRY. ParaView is quite happy with just GEOMETRY data.(It is a nice way 
to start when one is trying to write a datum set for ParaView. ParaView will 
display an object with only the geometry data.)


(1a) Write the entire Point inventory from 1 to n where n = number of nodal 
points  in terms of coordinate 3-tuples [(x1,y1,z1,), ...,(xn,yn,zn)]


(1b) Write the entire Cell inventory of connectivity n-tuples (as array 
offsets!)

(1c) Write the 'starting location' for the n-tuples in (1b)

(1d) Write the VTK cell-type values for the n-tuples in (1b)


ParaView now has everything it needs to display your geometry.


(2) Write POINT data information.

(2a) In the case of 'mode shapes,' write the mode's displacement 3-tuples (aka 
Vectors, name="Mode1")

[(UxM1,UyM1,UzM1),...,(UxMn,UyMn,UzMn)]

(2b) Repeat with name="Mode2", and so fourth (aka und so weiter)


ParaView now has the enough information to animate the mode shapes. 
Instructions are here

( https://public.kitware.com/pipermail/paraview/2017-October/041077.html ) for 
producing animations of the mode shapes.


Hope this helps.


--Sam


On 11/21/2017 7:15 AM, Doina Gumeniuc (224252 MAHS) wrote:

Hi Samuel,


Thank you for your reply.

I have different frequencies, 50 in total. If I use FIELD POINT DATA and then 
for arrayname 1 and so on, I use the Freq1, Freq2... then for 6Dofs, I use 
vectors in x,y,z for translation and Phi-x,Phi-y, Phi-z for rotation would 
it make sense in paraview? I can hopefully then warp by vectors using the data 
for each frequency.


Thank you! I hope I was clear.


From: ParaView 
 on behalf 
of Samuel Key 
Sent: November 18, 2017 7:00:51 PM
To: paraview@paraview.org
Subject: Re: [Paraview] Degrees of freedom


Doina--


At the risk of underestimating ParaView's functionalities, I can tell you what 
will work. For displaying geometry,  PV only needs Point (aka nodal point) 
x,y,z-coordinates, a Cell (aka Finite Element, ...)  type  and for each Cell an 
n-tuple of Point "array locations", for example, EnSight-format::{1,2,4,3,7,8,} 
or VTK-format::{0,1,3,2,6,7}.


The VTK format uses C-language 'array offsets' for Cell connectivity n-tuples. 
The EnSight format uses FORTRAN-language array locations for Finite Element 
connectivity n-tuples. It is just the way it is.


Variables are either located at Points or in Cells (conceptually Cell centers). 
The arrays supplied for variables must span all of the Points or all of the 
Cells. (I do not know how to use or about the acceptability of "partially" 
specified variable datum sets.) For Points with 6-DOFs versus 3-DOFs, if you 
want to see the three rotational DOFs, use POINT DATA arrays and fill in the 
Phi-x, Phi-y, Phi-z values using zeros for at those Points without a rotation.


If you want to visually display a 2-node, 6-DOF beam's geometry (a curved beam 
or a deformed beam) , one solution is too use a VTK Cell type 
'VTK_QUADRATIC_EDGE = 21'  for the beam. This will require you to 
add-on-the-fly to the simulation results a beam center-Point with 
x,y,z-coordinates and displacements for the beam's center Point using the 
beam's interpolation functions. (PV has a Warp Filter that will let you then 
scale up the deflections for visualization purposes.)


Should you have access to source code for the simulations, I can supply FORTRAN 
language routines that write VTK ASCII-formatted simulation results. (My 
personal preference is the EnSight format.)


--Sam



On 11/18/2017 6:12 AM, Doina Gumeniuc (224252 MAHS) wrote:

Hi all!

I am still learning the use of paraview and I have got to such a question: How 
to show in a vtk input file the degrees of freedom of 

[Paraview] Disable automatic mesh warping

2017-11-22 Thread John Mangeri
Hello,

I am working in a reduced unit system where the computed strain fields are
around order 1. I could write postprocessors to rescale before
visualization but that would increase my computational time.

Is there a way to turn off the automatic warping that ParaView performs on
disp_k (k =x, y, z) fields?

I tried to use the WarpByVector filter with scale of 0.1 or smaller and
that did not seem to work properly. I should mention I'm on version 5.0 (my
favorite for a variety of reasons), so maybe the this WarpByVector issue is
resolved in newer versions.

Thanks,
John
___
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] Python programmable filter to process results over time

2017-11-21 Thread Messner, Mark Christian
I'm trying to make a programmable filter to do some post-processing that 
involves accumulating data from multiple time steps.


This isn't really what I'm trying to do but as an example of something that 
would get me most of the way there say I want to sum up the values of a field 
over a range of time steps and then display that cumulative sum as a field 
itself.


My googling seems to indicate this is now possible with the programmable filter 
but hasn't turned up any simple example of how to do it.  Does someone have 
such an example or can someone point me in the right direction on how to do 
this (if it's indeed possible)?


Thanks,


Mark
___
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] Input multiple arrays for processing in ProgrammableFilter

2017-11-21 Thread Messner, Mark Christian
Thanks, that  works.


Mark


From: Utkarsh Ayachit 
Sent: Tuesday, November 21, 2017 4:40 PM
To: Messner, Mark Christian
Cc: paraview@paraview.org
Subject: Re: [Paraview] Input multiple arrays for processing in 
ProgrammableFilter

Mark,

Add another property on the filter and add `default_values="1"`
attribute it.  For example see this [1].

Utkarsh

[1] 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L5759-5780
ParaViewCore/ServerManager/SMApplication/Resources/filters.xml · master · 
ParaView / 
ParaView
gitlab.kitware.com
Parallel Data Analysis and Visualization Application based on VTK.





On Tue, Nov 21, 2017 at 3:34 PM, Messner, Mark Christian
 wrote:
> Following the example in the wiki
> (https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays)
ParaView/Plugin HowTo - 
KitwarePublic
www.paraview.org
Introduction. ParaView comes with plethora of functionality bundled in: several 
readers, multitude of filters, quite a few different types of views etc.


> I can add a dropdown to my xml plugin to grab an array to process with a
> programmable filter.  But I want to process two arrays.  How can I do this?
> It's obviously related to the "idx" parameter of SetInputArrayToProcess in
> vtkAlgorithm but I can't figure out how to make the paraview GUI cooperate.
>
>
> Thanks,
>
>
> Mark
>
>
> ___
> 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] Input multiple arrays for processing in ProgrammableFilter

2017-11-21 Thread Utkarsh Ayachit
Mark,

Add another property on the filter and add `default_values="1"`
attribute it.  For example see this [1].

Utkarsh

[1] 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L5759-5780



On Tue, Nov 21, 2017 at 3:34 PM, Messner, Mark Christian
 wrote:
> Following the example in the wiki
> (https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays)
> I can add a dropdown to my xml plugin to grab an array to process with a
> programmable filter.  But I want to process two arrays.  How can I do this?
> It's obviously related to the "idx" parameter of SetInputArrayToProcess in
> vtkAlgorithm but I can't figure out how to make the paraview GUI cooperate.
>
>
> Thanks,
>
>
> Mark
>
>
> ___
> 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] Input multiple arrays for processing in ProgrammableFilter

2017-11-21 Thread Messner, Mark Christian
Following the example in the wiki 
(https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays)
 I can add a dropdown to my xml plugin to grab an array to process with a 
programmable filter.  But I want to process two arrays.  How can I do this?  
It's obviously related to the "idx" parameter of SetInputArrayToProcess in 
vtkAlgorithm but I can't figure out how to make the paraview GUI cooperate.


Thanks,


Mark
___
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] Degrees of freedom

2017-11-21 Thread Doina Gumeniuc (224252 MAHS)
Hi Samuel,


Thank you for your reply.

I have different frequencies, 50 in total. If I use FIELD POINT DATA and then 
for arrayname 1 and so on, I use the Freq1, Freq2... then for 6Dofs, I use 
vectors in x,y,z for translation and Phi-x,Phi-y, Phi-z for rotation would 
it make sense in paraview? I can hopefully then wrap by vectors using the data 
for each frequency.


Thank you! I hope I was clear.


From: ParaView  on behalf of Samuel Key 

Sent: November 18, 2017 7:00:51 PM
To: paraview@paraview.org
Subject: Re: [Paraview] Degrees of freedom


Doina--


At the risk of underestimating ParaView's functionalities, I can tell you what 
will work. For displaying geometry,  PV only needs Point (aka nodal point) 
x,y,z-coordinates, a Cell (aka Finite Element, ...)  type  and for each Cell an 
n-tuple of Point "array locations", for example, EnSight-format::{1,2,4,3,7,8,} 
or VTK-format::{0,1,3,2,6,7}.


The VTK format uses C-language 'array offsets' for Cell connectivity n-tuples. 
The EnSight format uses FORTRAN-language array locations for Finite Element 
connectivity n-tuples. It is just the way it is.


Variables are either located at Points or in Cells (conceptually Cell centers). 
The arrays supplied for variables must span all of the Points or all of the 
Cells. (I do not know how to use or about the acceptability of "partially" 
specified variable datum sets.) For Points with 6-DOFs versus 3-DOFs, if you 
want to see the three rotational DOFs, use POINT DATA arrays and fill in the 
Phi-x, Phi-y, Phi-z values using zeros for at those Points without a rotation.


If you want to visually display a 2-node, 6-DOF beam's geometry (a curved beam 
or a deformed beam) , one solution is too use a VTK Cell type 
'VTK_QUADRATIC_EDGE = 21'  for the beam. This will require you to 
add-on-the-fly to the simulation results a beam center-Point with 
x,y,z-coordinates and displacements for the beam's center Point using the 
beam's interpolation functions. (PV has a Warp Filter that will let you then 
scale up the deflections for visualization purposes.)


Should you have access to source code for the simulations, I can supply FORTRAN 
language routines that write VTK ASCII-formatted simulation results. (My 
personal preference is the EnSight format.)


--Sam



On 11/18/2017 6:12 AM, Doina Gumeniuc (224252 MAHS) wrote:

Hi all!

I am still learning the use of paraview and I have got to such a question: How 
to show in a vtk input file the degrees of freedom of elements? Some of the 
beams have 6 degrees of freedom, some of the other elements...less or nothing 
at all. IS there any possibility?

Thank you a lot 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


___
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] Displaying volume outside of mesh as solid

2017-11-20 Thread sergey

Hello,

I am looking for a way to display a volume that is not covered by mesh
(its located somewhere in the middle of mesh).

By default such volumes (without mesh) are shown as empty area, and
meshed area is shown as solid.

I need to reverse the solid and empty areas, so that non-meshed volume
is shown as solid, and meshed volume as empty.

Mesh is in 3D.

Is there a way to do this?

Thank you very much.

Best,

Sergey

___
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] [EXTERNAL] Re: boolean mesh filtering

2017-11-20 Thread Scott, W Alan
T.J.,

This filter doesn't appear to be in ParaView.  Am I missing something?  Should 
we add it to ParaView?

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of TJ Corona
Sent: Monday, November 20, 2017 1:22 PM
To: Mauldin, Jeffrey A. 
Cc: paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] boolean mesh filtering

Hi Jeffrey,

You may want to check out 
vtkBooleanOperationPolyDataFilter.
 It sounds like it may have the functionality you desire.

Sincerely,
T.J.

Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443


On Nov 20, 2017, at 3:18 PM, Mauldin, Jeffrey A. 
> wrote:

I have a need to do a Boolean intersection of two unstructured multiblock 
datasets.  It so happens in this case that the underlying element sets are 
polygonal meshes, so in this particular case I could also do what I want with a 
Boolean intersection of two polygonal meshes.  To be (hopefully) redundant, I 
have two meshes which share some points and cells and each of which have other 
points and cells which are not shared.  I would like a new mesh which consists 
of all the points and cells that are in both of these meshes.  I need this to 
work properly in parallel.

I know enough to create a python-based filter (python programmable filter) to 
create this operation, but are there already existing Boolean mesh operations, 
and if not would those be a useful thing to add?

___
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] XDMF file with multiple temporal collections

2017-11-20 Thread David E DeMarle
Try dropping your standalone external geometry and topology and just place
them in the first timestep's grid. It might make the reader happier.
Like so...

http://www.w3.org/2001/XInclude; Version="3.3">
  

  


  0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1


  9 0 1 3 2 4 5 7 6


  0 0 0 0 0 0 0 0

...
  
  

 
 

...


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Nov 16, 2017 at 9:49 AM, Nicolas Cedilnik  wrote:

> Hello all,
>
> I'm trying to generate a valid (at least, well-read by paraview) XDMF
> file. It represents a single topology/geometry, with multiple scalars,
> varying over time.
>
> I've attached the file I'm trying to read with paraview. It behaves almost
> as I want, but oddly enough, only with scalars tagged as "partial" by
> paraview.
>
> One of the scalars "animation", the first one in the XDMF file, is
> completely buggy, possibly with values from other scalars.
>
> Is there something wrong with my XDMF file or is this a bug in paraview?
>
> Thanks for your help,
>
> -- Nicolas
>
>
> ___
> 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] boolean mesh filtering

2017-11-20 Thread TJ Corona
Hi Jeffrey,

You may want to check out vtkBooleanOperationPolyDataFilter 
.
 It sounds like it may have the functionality you desire.

Sincerely,
T.J.

Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443

> On Nov 20, 2017, at 3:18 PM, Mauldin, Jeffrey A.  wrote:
> 
> I have a need to do a Boolean intersection of two unstructured multiblock 
> datasets.  It so happens in this case that the underlying element sets are 
> polygonal meshes, so in this particular case I could also do what I want with 
> a Boolean intersection of two polygonal meshes.  To be (hopefully) redundant, 
> I have two meshes which share some points and cells and each of which have 
> other points and cells which are not shared.  I would like a new mesh which 
> consists of all the points and cells that are in both of these meshes.  I 
> need this to work properly in parallel.
>  
> I know enough to create a python-based filter (python programmable filter) to 
> create this operation, but are there already existing Boolean mesh 
> operations, and if not would those be a useful thing to add?
>  
> ___
> 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] boolean mesh filtering

2017-11-20 Thread Mauldin, Jeffrey A.
I have a need to do a Boolean intersection of two unstructured multiblock 
datasets.  It so happens in this case that the underlying element sets are 
polygonal meshes, so in this particular case I could also do what I want with a 
Boolean intersection of two polygonal meshes.  To be (hopefully) redundant, I 
have two meshes which share some points and cells and each of which have other 
points and cells which are not shared.  I would like a new mesh which consists 
of all the points and cells that are in both of these meshes.  I need this to 
work properly in parallel.

I know enough to create a python-based filter (python programmable filter) to 
create this operation, but are there already existing Boolean mesh operations, 
and if not would those be a useful thing to add?

___
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] Error reading timeseries with spatial grid collection with XDMF

2017-11-20 Thread Nikolaos Beratlis
I tried reading them with XDMF 3 reader and it works fine.

Thank you for the suggestions.

Nikos

On Mon, Nov 20, 2017 at 2:14 PM, David E DeMarle 
wrote:

> It might be that the reader doesn't like or want that both of your times
> are 0.0.
> ...
> 
> ...
> 
> ...
> but your third case doesn't fit that hypothesis.
>
> Otherwise your file looks ok at first glance. I'ld have to debug the
> reader on your data to figure out what is going wrong.
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> 
> Clifton Park, NY 12065
> 
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Sun, Nov 12, 2017 at 11:15 PM, Joachim Pouderoux <
> joachim.pouder...@kitware.com> wrote:
>
>> Nikos,
>>
>> It looks like you are using the Xdmf2 based reader.
>> Did you give a chance to the one based on Xdmf3?
>> What version of ParaView are you using?
>> Can you provide a full dataset we could use to reproduce the issue?
>>
>> Best,
>>
>>
>> *Joachim Pouderoux*, PhD
>>
>> *Technical Expert - Scientific Computing Team*
>> *Kitware SAS *
>>
>>
>> 2017-11-11 19:31 GMT+01:00 Nikolaos Beratlis :
>>
>>> Hi,
>>>
>>> I have a cartesian structured grid made of two sub-domains and a two
>>> snap shots in a time that I would like to read in Paraview. The data and
>>> grid files are stored in HDF5 file and I use a XDMF file to read them in a
>>> Paraview. The XDMF files looks like this:
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0001
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0002
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0001
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0002:/zone0002
>>> 
>>> 
>>> 
>>>
>>> 
>>>
>>> 
>>> 
>>> 
>>>
>>> The file is read in Paraview. When I advance in to the second instant in
>>> time I get the following error:
>>>
>>> Failed to read attribute data.
>>>
>>> Paraview shows data from the first subset (zone0001), it can't read the
>>> data from the second subset (zone0002).
>>>
>>>
>>> When I read only on instant in time like this:
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0001
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0002
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>>
>>> the file is read successfully and no errors show up.
>>>
>>> Also when I read two time instants but with only one subset (zone0001)
>>> Paraview doesn't throw any errors.
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0001
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/YC
>>> 
>>> >> Format="HDF">
>>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>>> 
>>> 
>>> 
>>> >> Format="HDF">
>>> ../Q_VPreg.h5sp.0001:/zone0001
>>> 
>>> 
>>> 
>>>
>>> 
>>>
>>> 
>>> 
>>> 
>>>
>>>
>>> Does anyone see the problem in the code?
>>>
>>> Kind regards,
>>>
>>> Nikos
>>>
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source 

Re: [Paraview] Error reading timeseries with spatial grid collection with XDMF

2017-11-20 Thread David E DeMarle
It might be that the reader doesn't like or want that both of your times
are 0.0.
...

...

...
but your third case doesn't fit that hypothesis.

Otherwise your file looks ok at first glance. I'ld have to debug the reader
on your data to figure out what is going wrong.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Sun, Nov 12, 2017 at 11:15 PM, Joachim Pouderoux <
joachim.pouder...@kitware.com> wrote:

> Nikos,
>
> It looks like you are using the Xdmf2 based reader.
> Did you give a chance to the one based on Xdmf3?
> What version of ParaView are you using?
> Can you provide a full dataset we could use to reproduce the issue?
>
> Best,
>
>
> *Joachim Pouderoux*, PhD
>
> *Technical Expert - Scientific Computing Team*
> *Kitware SAS *
>
>
> 2017-11-11 19:31 GMT+01:00 Nikolaos Beratlis :
>
>> Hi,
>>
>> I have a cartesian structured grid made of two sub-domains and a two snap
>> shots in a time that I would like to read in Paraview. The data and grid
>> files are stored in HDF5 file and I use a XDMF file to read them in a
>> Paraview. The XDMF files looks like this:
>>
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0002
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0002:/zone0002
>> 
>> 
>> 
>>
>> 
>>
>> 
>> 
>> 
>>
>> The file is read in Paraview. When I advance in to the second instant in
>> time I get the following error:
>>
>> Failed to read attribute data.
>>
>> Paraview shows data from the first subset (zone0001), it can't read the
>> data from the second subset (zone0002).
>>
>>
>> When I read only on instant in time like this:
>>
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0002
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0002
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0002
>> 
>> 
>> 
>> 
>>
>> 
>> 
>> 
>>
>> the file is read successfully and no errors show up.
>>
>> Also when I read two time instants but with only one subset (zone0001)
>> Paraview doesn't throw any errors.
>>
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/XC-zone0001
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/YC
>> 
>> > Format="HDF">
>> ../grid_VPreg_vxvyvz.h5sp:/ZC-zone0001
>> 
>> 
>> 
>> > Format="HDF">
>> ../Q_VPreg.h5sp.0001:/zone0001
>> 
>> 
>> 
>>
>> 
>>
>> 
>> 
>> 
>>
>>
>> Does anyone see the problem in the code?
>>
>> Kind regards,
>>
>> Nikos
>>
>>
>> ___
>> 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: 

Re: [Paraview] SWKey: File extension for PV Readers?

2017-11-20 Thread David E DeMarle
Not yet.

You could add one by editing the appropriate "ReaderFactory extensions"...
line of ParaviewCore/ServerManager/SMApplication/Resource/proxies_xdmf3.xml
in your builds.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Nov 14, 2017 at 5:32 PM, Samuel Key  wrote:

> Hi,
>
> I have an xyz.xmf file that loads just fine. By renaming the file to
> xyz.xmf3 I was able to get directly to Xdmf3 reader.
>
> Is there a file extension that can be used to get directly to the Xdmf3
> 'Top Level Partition' option?
>
> Thanks in advance for the bother.
>
> Samuel Key
> FMA Development
> 1005 39th Ave NE
> Great Falls, MT
> USA
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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] Good file format for point data on a surface over 60, 000 timesteps

2017-11-20 Thread Tyson Whitehead

On 20/11/17 12:49 PM, Berk Geveci wrote:

What kind of visualizations are they looking to do? It may be a good idea to 
treat time differently here given that it is the most dense dimensions. I am 
thinking of some sort of tabular format that can then be used with filtering to 
extract a time step. Potentially, even a database may work depending on what 
the end visualization product will be.


My understanding is they want to start by making a movie of the recorded 
pressure values interpolated (as some color ramp) across the structure surface 
and as this is what they are currently doing with their MATLAB code.

I ultimately expect they may come up with something else once they get the data 
in though and are able to play around with it (enabling playing around with it 
being a big part of why they are wanting to get it into ParaView).

While the local expert, I've only really go very very basic experience so far 
(all I've really done is work through the various tutorials and teach them in 
workshops), so I'm interested in any advice.

Compared to the tutorials, the strange thing about this data is the large 
number of time steps, that it is spatially irregular and sparse, and that it 
doesn't fully define the underlying object geometry (i.e., the geometry of the 
surface extends out past the last sample points due to each measurement point 
requiring drilling holes for measurement taps in the physical object).

Currently I'm think, if we can come up with a decent way of importing the data 
as a point set, of

https://blog.kitware.com/dataset-resampling-filters/

1. import the sample data as a point data set
2. use the point volume interpolate (or resample to image?) to create a mesh 
from it
3. use the re-sample with dataset to put that onto the actual physical geometery
4. save animation to get the desired movie

Is there a better way to do this?  Should I try and create some sort of 
irregular grid out of the sample data to avoid step 2?

Thanks!  -Tyson


___
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] paraview osmesa render on supercomputer nodes

2017-11-20 Thread 程迪
Yes, the network environment in TianHe-2 is weird.

However, the problem can be solved manually by set ssh port forwarding like
this:

1. start pvserver on cn123 in direct connection mode and let it listen to
port 1
2. manually modify the local port forward in my PC as: -L1::1
3. use paraview gui in my PC to connect to localhost:1

I think it makes sense.

程迪
研发中心 工程师
中国航天空气动力技术研究院
电话:+86-l58Ol5949ll
地址:北京市丰台区云岗西路17号院
邮编:100074
Di Cheng
Engineer of Research Center
China Academy of Aerospace Aerodynamics
Phone: +86-l58Ol5949ll

Address: No.17, YunGang West Road, Fengtai District, Beijing, China

Zip Code:100074

On Mon, Nov 20, 2017 at 12:30 PM, David E DeMarle 
wrote:

> ---
>
> This syntax isn't clear to me:
> > srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
> --disable-xdisplay-test
> ---ssh -N -f -L15801:localhost:15801 though internal connection-->
> Where are you trying to run ssh on to open up this second (between login
> and compute) tunnel?
>
> ---
> ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx,
> line 206
> vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already
> in use.
>
> Indicates that pvserver is trying to grab a socket that some other process
> owns. You might be competing with one of your other pvserver processes
> (from an earlier run or perhaps a misconfigured non-mpi pvserver task
> running on the same node from this srun invocation) or possibly your ssh
> tunnel process.
>
> ---
>
> Forward connections from desktop to login to compute are harder to setup
> in most cases because in general you don't know what compute node (and
> sometimes login node) you will get.
>
> ---
>
> I recommend using something simple like netcat to send and receive
> messages across each tunnel. If you can type on one side and see the text
> on the other, then paraview should be able to use the connection.
>
> ---
>
> Please let us know how it goes. We would love to see ParaView running on
> Tianhe-2!
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> 
> Clifton Park, NY 12065
> 
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Mon, Nov 20, 2017 at 11:23 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> Di,
>>
>> While it's not entirely obvious to me what could be going wrong, you
>> may to check these docs out instead:
>> https://www.paraview.org/Wiki/Reverse_connection_and_port_fo
>> rwarding#A_Forward_Connection_Over_an_ssh_Tunnel
>>
>> Utkarsh
>>
>> On Sat, Nov 18, 2017 at 7:04 AM, 程迪  wrote:
>> > Hi everyone,
>> >
>> > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2
>> > supercomputer. My trouble is to connect the pvserver running on
>> computing
>> > nodes while I am on login node with ssh tunnelling (-L).
>> >
>> > Here is what I did
>> >
>> > My computer (win7 64 bit)
>> > ---ssh -L15801:localhost:15801 through VPN--->
>> > LN31 (login node, RHEL maybe, using slurm)
>> >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
>> >> --disable-xdisplay-test
>> > ---ssh -N -f -L15801:localhost:15801 though internal connection-->
>> > CN (computing node)
>> >
>> > And here is the error:
>> >
>> > ```
>> > Waiting for client...
>> > Connection URL: cs://cn10687:15801
>> > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket
>> .cxx,
>> > line 206
>> > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address
>> already
>> > in use.
>> >
>> > ERROR: In
>> > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCo
>> re/Core/vtkTCPNetworkAccessManager.cxx,
>> > line 349
>> > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket.
>> >
>> > Exiting...
>> > ```
>> >
>> > It seems not working. I am pretty sure that the PC -- ssh -L through
>> VPN -->
>> > LN works well. What happend in LN -- ssh -L --> CNxxx link?
>> >
>> > I have searched the internet for something, I found that LLNL did some
>> work
>> > on it
>> > [https://hpc.llnl.gov/data-vis/vis-software/paraview/running
>> -paraview-in-client-server-mode].
>> >
>> > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run
>> > paraview in RC mode, does it make any sense?
>> >
>> > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this
>> > method.
>> >
>> > Di Cheng
>> > Visting scholar at UConn ME Combustion Diagnostic Lab
>> > Engineer of Research Center of China Academy of Aerospace Aerodynamics
>> > Phone: +86-l58Ol5949ll
>> >
>> > Address: No.17, YunGang West Road, Fengtai District, Beijing, China
>> 
>> >
>> > Zip Code:100074
>> 

Re: [Paraview] Good file format for point data on a surface over 60, 000 timesteps

2017-11-20 Thread Berk Geveci
What kind of visualizations are they looking to do? It may be a good idea
to treat time differently here given that it is the most dense dimensions.
I am thinking of some sort of tabular format that can then be used with
filtering to extract a time step. Potentially, even a database may work
depending on what the end visualization product will be.

On Fri, Nov 17, 2017 at 6:44 PM, Tyson Whitehead 
wrote:

> Hi,
>
> I'm trying to help one of our users (HPC center) use ParaView to work
> with their wind tunnel data.  They have a large number of time samples
> (60,000) from a series of surfaces with from a small number of sample
> points (64).
>
> The sample points are irregular but structured as they are laid out to
> be more dense in areas that should see more differences (i.e., at best
> you could say it was a non-uniform grid with several of the points not
> used).
>
> What file format should this data be put in to import into ParaView?
>
> The VTK legacy formats and XML description formats seem painful to use
> with this number of timesteps and I believe (please correct if wrong)
> that the NetCDF wants a regular grid.
>
> Thanks!  -Tyson
> ___
> 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] paraview osmesa render on supercomputer nodes

2017-11-20 Thread David E DeMarle
---

This syntax isn't clear to me:
> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
--disable-xdisplay-test
---ssh -N -f -L15801:localhost:15801 though internal connection-->
Where are you trying to run ssh on to open up this second (between login
and compute) tunnel?

---
ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx,
line 206
vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already
in use.

Indicates that pvserver is trying to grab a socket that some other process
owns. You might be competing with one of your other pvserver processes
(from an earlier run or perhaps a misconfigured non-mpi pvserver task
running on the same node from this srun invocation) or possibly your ssh
tunnel process.

---

Forward connections from desktop to login to compute are harder to setup in
most cases because in general you don't know what compute node (and
sometimes login node) you will get.

---

I recommend using something simple like netcat to send and receive messages
across each tunnel. If you can type on one side and see the text on the
other, then paraview should be able to use the connection.

---

Please let us know how it goes. We would love to see ParaView running on
Tianhe-2!

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Nov 20, 2017 at 11:23 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Di,
>
> While it's not entirely obvious to me what could be going wrong, you
> may to check these docs out instead:
> https://www.paraview.org/Wiki/Reverse_connection_and_port_
> forwarding#A_Forward_Connection_Over_an_ssh_Tunnel
>
> Utkarsh
>
> On Sat, Nov 18, 2017 at 7:04 AM, 程迪  wrote:
> > Hi everyone,
> >
> > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2
> > supercomputer. My trouble is to connect the pvserver running on computing
> > nodes while I am on login node with ssh tunnelling (-L).
> >
> > Here is what I did
> >
> > My computer (win7 64 bit)
> > ---ssh -L15801:localhost:15801 through VPN--->
> > LN31 (login node, RHEL maybe, using slurm)
> >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
> >> --disable-xdisplay-test
> > ---ssh -N -f -L15801:localhost:15801 though internal connection-->
> > CN (computing node)
> >
> > And here is the error:
> >
> > ```
> > Waiting for client...
> > Connection URL: cs://cn10687:15801
> > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/
> vtkSocket.cxx,
> > line 206
> > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address
> already
> > in use.
> >
> > ERROR: In
> > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/
> vtkTCPNetworkAccessManager.cxx,
> > line 349
> > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket.
> >
> > Exiting...
> > ```
> >
> > It seems not working. I am pretty sure that the PC -- ssh -L through VPN
> -->
> > LN works well. What happend in LN -- ssh -L --> CNxxx link?
> >
> > I have searched the internet for something, I found that LLNL did some
> work
> > on it
> > [https://hpc.llnl.gov/data-vis/vis-software/paraview/
> running-paraview-in-client-server-mode].
> >
> > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run
> > paraview in RC mode, does it make any sense?
> >
> > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this
> > method.
> >
> > Di Cheng
> > Visting scholar at UConn ME Combustion Diagnostic Lab
> > Engineer of Research Center of China Academy of Aerospace Aerodynamics
> > Phone: +86-l58Ol5949ll
> >
> > Address: No.17, YunGang West Road, Fengtai District, Beijing, China
> >
> > Zip Code:100074
> >
> >
> > ___
> > 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: 

Re: [Paraview] paraview osmesa render on supercomputer nodes

2017-11-20 Thread Utkarsh Ayachit
Di,

While it's not entirely obvious to me what could be going wrong, you
may to check these docs out instead:
https://www.paraview.org/Wiki/Reverse_connection_and_port_forwarding#A_Forward_Connection_Over_an_ssh_Tunnel

Utkarsh

On Sat, Nov 18, 2017 at 7:04 AM, 程迪  wrote:
> Hi everyone,
>
> I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2
> supercomputer. My trouble is to connect the pvserver running on computing
> nodes while I am on login node with ssh tunnelling (-L).
>
> Here is what I did
>
> My computer (win7 64 bit)
> ---ssh -L15801:localhost:15801 through VPN--->
> LN31 (login node, RHEL maybe, using slurm)
>> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
>> --disable-xdisplay-test
> ---ssh -N -f -L15801:localhost:15801 though internal connection-->
> CN (computing node)
>
> And here is the error:
>
> ```
> Waiting for client...
> Connection URL: cs://cn10687:15801
> ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx,
> line 206
> vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already
> in use.
>
> ERROR: In
> /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx,
> line 349
> vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket.
>
> Exiting...
> ```
>
> It seems not working. I am pretty sure that the PC -- ssh -L through VPN -->
> LN works well. What happend in LN -- ssh -L --> CNxxx link?
>
> I have searched the internet for something, I found that LLNL did some work
> on it
> [https://hpc.llnl.gov/data-vis/vis-software/paraview/running-paraview-in-client-server-mode].
>
> They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run
> paraview in RC mode, does it make any sense?
>
> However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this
> method.
>
> Di Cheng
> Visting scholar at UConn ME Combustion Diagnostic Lab
> Engineer of Research Center of China Academy of Aerospace Aerodynamics
> Phone: +86-l58Ol5949ll
>
> Address: No.17, YunGang West Road, Fengtai District, Beijing, China
>
> Zip Code:100074
>
>
> ___
> 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] Degrees of freedom

2017-11-18 Thread Doina Gumeniuc (224252 MAHS)
Hi all!

I am still learning the use of paraview and I have got to such a question: How 
to show in a vtk input file the degrees of freedom of elements? Some of the 
beams have 6 degrees of freedom, some of the other elements...less or nothing 
at all. IS there any possibility?

Thank you a lot 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] paraview osmesa render on supercomputer nodes

2017-11-18 Thread 程迪
Hi everyone,

I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2
supercomputer. My trouble is to connect the pvserver running on computing
nodes while I am on login node with ssh tunnelling (-L).

Here is what I did

My computer (win7 64 bit)
---ssh -L15801:localhost:15801 through VPN--->
LN31 (login node, RHEL maybe, using slurm)
> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering
--disable-xdisplay-test
---ssh -N -f -L15801:localhost:15801 though internal connection-->
CN (computing node)

And here is the error:

```
Waiting for client...
Connection URL: cs://cn10687:15801
ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx,
line 206
vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already
in use.

ERROR: In
/HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx,
line 349
vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket.

Exiting...
```

It seems not working. I am pretty sure that the PC -- ssh -L through VPN
--> LN works well. What happend in LN -- ssh -L --> CNxxx link?

I have searched the internet for something, I found that LLNL did some work
on it [
https://hpc.llnl.gov/data-vis/vis-software/paraview/running-paraview-in-client-server-mode
].

They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run
paraview in RC mode, does it make any sense?

However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this
method.

Di Cheng
Visting scholar at UConn ME Combustion Diagnostic Lab
Engineer of Research Center of China Academy of Aerospace Aerodynamics
Phone: +86-l58Ol5949ll

Address: No.17, YunGang West Road, Fengtai District, Beijing, China

Zip Code:100074
___
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] Anaconda python Environment setup to use paraview python

2017-11-17 Thread Schau, Kyle A
Ke

I have not had luck with anaconda and utilizing paraview python tools. The 
problems comes from compilation options. To run the paraview modules the python 
you are using needs to be compiled with the option --enable-unicode set at 
compile time. The python that ships with Anaconda does not come with this. 
Specifically, I think that for ParaView versions > 5 you need to enable 
universal character set 4 for everything to work. I use PV 4.4 with a self 
built python 2.7.13 and the only compile option -enable-Unicode and it works 
great.

Kyle

Get Outlook for iOS

From: ParaView  on behalf of Ke Gao 

Sent: Friday, November 17, 2017 1:30:02 PM
To: ParaView
Subject: [Paraview] Anaconda python Environment setup to use paraview python

Hi,

I'm using Anaconda python 2.7 to call paraview python library on RedHat Linux, 
every time I run "from paraview.simple import *" or '"from vtk import *", I 
will get a "Segmentation fault" error. Can anybody tell me what's wrong, and 
can you share your python path setup in .bashre file?

My .bashrc file is like this:

# add paraview
export 
PATH=$PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/
# add paraview python to PYTHONPATH
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4
export 
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/
export 
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/
export 
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/vtk/
export 
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/

Thank you very much.

___
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] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Scott, W Alan
https://www.idealshare.net/video-converter/avi-windows-media-player.html

and

https://www.lifewire.com/avi-file-2619737


Explains this issue.

Alan

From: "dennis_conk...@goodyear.com" 
Date: Friday, November 17, 2017 at 12:24 PM
To: W Scott , "paraview@paraview.org" 

Subject: RE: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Great catch – avi opens with VLC, not with Windoze Media Player

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 2:18 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working 
in v5.4.1, working in v4.4

A bit more detail.  I also received the garbage that Dennis did.  When running 
Rendering Settings as use offscreen memory, all was well.  When running use off 
screen memory off, I got all of this verbiage.  But, my .avi’s were good.

Dennis – try opening your .avi’s with VLC.  Does that work?

Here is the verbiage:
[avi @ 0x79d2760] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x79d2760] Encoder did not produce proper pts, making some up.
[avi @ 0xc05c8c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx,
 line 166
vtkSMSaveAnimationProxy (0x796b310): The requested resolution '(1196, 766)' has 
been changed to '(1196, 764)' to match format specification.

Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx,
 line 166
vtkSMSaveAnimationProxy (0x52167f0): The requested resolution '(1196, 766)' has 
been changed to '(1196, 764)' to match format specification.



Alan

From: ParaView 
> on behalf 
of W Scott >
Date: Friday, November 17, 2017 at 11:55 AM
To: "dennis_conk...@goodyear.com" 
>, 
"paraview@paraview.org" 
>
Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working 
in v5.4.1, working in v4.4


Kitware – any ideas?  Doesn’t the Kitware binaries use an internal .avi codec?

Dennis – note that this is SuperComputing week.  Kitware has been running a 
sparse staff at work.

Alan

p.s. – Kitware booth rocked.  The immersive 3d demo was awesome!



From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 11:51 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

I’m using Kitware builds, local server – weird! This was reported by a user 
and I have duplicated it here
Dennis

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 1:40 PM
To: Dennis Conklin 
>; Paraview 
(paraview@paraview.org) 
>
Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Dennis,
I tried, and cannot replicate.  I am on Redhat also.  Are you using your own 
builds, or Kitware binaries?  I am using 5.4.1 Kitware binaries, local server.  
If not, try Kitware binaries?

Alan

From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 5:55 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin 
>; Paraview 

Re: [Paraview] Good file format for point data on a surface over 60, 000 timesteps

2017-11-17 Thread Samuel Key

Tyson,

You won't get a common answer, but here is my $00.02. The EnSight format 
has a nice feature that every variable has its own file. So, each 
'sample point' will have its own file. The file names can be as you 
want, numeric or alphabetic. The EnSight format has a geometry file, but 
if you want to use single vertex cells it won't become very large.  If 
you want to be a little more graphical, you could use 64 4-node quads 
with their respective coordinate positions. Additionally, you could add 
a relatively coarse mesh of the structure. (ParaView has a Filter that 
will take a point set (your 64 single-point cells) and construct a 
triangular mesh to provide some geometry.


The EnSight format uses a meta-file (aka *.case file) that references 
all of the files in the datum set, example attached. It will be some 
work the first time around, but well worth it in my opinion.


(I use this file-format myself for million-element 3-D meshes for 
transient dynamic simulations. I would not leave home without it.)


Samuel Key
FMA Development
1005 39th Ave NE
Great Falls, MT 59404



On 11/17/2017 11:44 AM, Tyson Whitehead wrote:

Hi,

I'm trying to help one of our users (HPC center) use ParaView to work
with their wind tunnel data.  They have a large number of time samples
(60,000) from a series of surfaces with from a small number of sample
points (64).

The sample points are irregular but structured as they are laid out to
be more dense in areas that should see more differences (i.e., at best
you could say it was a non-uniform grid with several of the points not
used).

What file format should this data be put in to import into ParaView?

The VTK legacy formats and XML description formats seem painful to use
with this number of timesteps and I believe (please correct if wrong)
that the NetCDF wants a regular grid.

Thanks!  -Tyson
___
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



FORMAT
type: ensight gold
GEOMETRY
model:   1  1  fmaego.results.geomchange_coords_only
VARIABLE
vector per node: 1  1  Displacement  fmaego.results.ndis
vector per node: 1  1  Velocity  fmaego.results.nvel
vector per node: 1  1  Acceleration  fmaego.results.nacc
scalar per element:  1  1  Material  fmaego.results.emat
scalar per element:  1  1  Material-Statefmaego.results.esta
scalar per element:  1  1  Pressure  fmaego.results.eprs
scalar per element:  1  1  Bulk-Strain   fmaego.results.elnv
scalar per element:  1  1  Strain-Energy-Density fmaego.results.esed
scalar per element:  1  1  Effective-Stress  fmaego.results.edev
vector per element:  1  1  Stress*Velfmaego.results.estv
tensor symm per element: 1  1  Stressfmaego.results.estr
TIME
time set:1
number of steps:   101
time values:  1.412425480266E-08  2.400133725957E-04
  4.800116413781E-04  7.200087675218E-04  9.600085065557E-04
  1.200013506904E-03  1.440004395631E-03  1.680012453687E-03
  1.920003546411E-03  2.160008706146E-03  2.42268722E-03
  2.64825978E-03  2.880008516105E-03  3.120007260160E-03
  3.360004355506E-03  3.600011259104E-03  3.840002535435E-03
  4.080002209989E-03  4.320008836543E-03  4.560001245923E-03
  4.800013108817E-03  5.040001157019E-03  5.280014080032E-03
  5.520013787104E-03  5.760010120856E-03  6.06744585E-03
  6.240010362247E-03  6.480011393759E-03  6.720005078932E-03
  6.960009814293E-03  7.23845679E-03  7.440002044729E-03
  7.680008165642E-03  7.920003445528E-03  8.160001173762E-03
  8.47812238E-03  8.64624252E-03  8.88733655E-03
  9.120008566836E-03  9.360009135538E-03  9.65315679E-03
  9.840004635407E-03  1.008001339743E-02  1.032000754625E-02
  1.056001376543E-02  1.080001393196E-02  1.104001032624E-02
  1.12801058E-02  1.152000634945E-02  1.176000815323E-02
  1.20831238E-02  1.224000912002E-02  1.248000571827E-02
  1.272000588352E-02  1.296001289990E-02  1.32451785E-02
  1.344000690212E-02  1.368000696938E-02  1.392000271408E-02
  1.416000989430E-02  1.44070735E-02  1.464000160285E-02
  1.488000797845E-02  1.512000435611E-02  1.536000661064E-02
  1.56307197E-02  1.584000938572E-02  1.608000643769E-02
  1.632000546980E-02  

Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Dennis Conklin
Alan,

Great catch – avi opens with VLC, not with Windoze Media Player

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 2:18 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working 
in v5.4.1, working in v4.4

A bit more detail.  I also received the garbage that Dennis did.  When running 
Rendering Settings as use offscreen memory, all was well.  When running use off 
screen memory off, I got all of this verbiage.  But, my .avi’s were good.

Dennis – try opening your .avi’s with VLC.  Does that work?

Here is the verbiage:
[avi @ 0x79d2760] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x79d2760] Encoder did not produce proper pts, making some up.
[avi @ 0xc05c8c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx,
 line 166
vtkSMSaveAnimationProxy (0x796b310): The requested resolution '(1196, 766)' has 
been changed to '(1196, 764)' to match format specification.

Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx,
 line 166
vtkSMSaveAnimationProxy (0x52167f0): The requested resolution '(1196, 766)' has 
been changed to '(1196, 764)' to match format specification.



Alan

From: ParaView 
> on behalf 
of W Scott >
Date: Friday, November 17, 2017 at 11:55 AM
To: "dennis_conk...@goodyear.com" 
>, 
"paraview@paraview.org" 
>
Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working 
in v5.4.1, working in v4.4


Kitware – any ideas?  Doesn’t the Kitware binaries use an internal .avi codec?

Dennis – note that this is SuperComputing week.  Kitware has been running a 
sparse staff at work.

Alan

p.s. – Kitware booth rocked.  The immersive 3d demo was awesome!



From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 11:51 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

I’m using Kitware builds, local server – weird! This was reported by a user 
and I have duplicated it here
Dennis

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 1:40 PM
To: Dennis Conklin 
>; Paraview 
(paraview@paraview.org) 
>
Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Dennis,
I tried, and cannot replicate.  I am on Redhat also.  Are you using your own 
builds, or Kitware binaries?  I am using 5.4.1 Kitware binaries, local server.  
If not, try Kitware binaries?

Alan

From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 5:55 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin 
>; Paraview 
(paraview@paraview.org) 
>
Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in 
v5.4.1, working in v4.4

 WARNING - External email; exercise caution.



Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to 

Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Scott, W Alan
A bit more detail.  I also received the garbage that Dennis did.  When running 
Rendering Settings as use offscreen memory, all was well.  When running use off 
screen memory off, I got all of this verbiage.  But, my .avi’s were good.

Dennis – try opening your .avi’s with VLC.  Does that work?

Here is the verbiage:
[avi @ 0x79d2760] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x79d2760] Encoder did not produce proper pts, making some up.
[avi @ 0xc05c8c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx,
 line 166
vtkSMSaveAnimationProxy (0x796b310): The requested resolution '(1196, 766)' has 
been changed to '(1196, 764)' to match format specification.

Warning: In 
/home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx,
 line 166
vtkSMSaveAnimationProxy (0x52167f0): The requested resolution '(1196, 766)' has 
been changed to '(1196, 764)' to match format specification.



Alan

From: ParaView  on behalf of W Scott 

Date: Friday, November 17, 2017 at 11:55 AM
To: "dennis_conk...@goodyear.com" , 
"paraview@paraview.org" 
Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working 
in v5.4.1, working in v4.4


Kitware – any ideas?  Doesn’t the Kitware binaries use an internal .avi codec?

Dennis – note that this is SuperComputing week.  Kitware has been running a 
sparse staff at work.

Alan

p.s. – Kitware booth rocked.  The immersive 3d demo was awesome!



From: "dennis_conk...@goodyear.com" 
Date: Friday, November 17, 2017 at 11:51 AM
To: W Scott , "paraview@paraview.org" 

Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

I’m using Kitware builds, local server – weird! This was reported by a user 
and I have duplicated it here
Dennis

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 1:40 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Dennis,
I tried, and cannot replicate.  I am on Redhat also.  Are you using your own 
builds, or Kitware binaries?  I am using 5.4.1 Kitware binaries, local server.  
If not, try Kitware binaries?

Alan

From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 5:55 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin 
>; Paraview 
(paraview@paraview.org) 
>
Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in 
v5.4.1, working in v4.4

 WARNING - External email; exercise caution.



Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to replicate 
(including size of the viewport, when shown in the Save Animation window, 
whether this is a custom build, the OS, and a dataset?  If I can replicate, I 
will write it up.

Otherwise, you write it up, I will mark appropriately?

Alan

From: ParaView 
> on behalf 
of "dennis_conk...@goodyear.com" 
>
Date: Wednesday, November 15, 2017 at 10:55 AM
To: "paraview@paraview.org" 
>
Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, 
working in v4.4

Anyone else seeing this?

I’m getting the same msg I was getting in v4.4 (but in v4.4 it still produced 

Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Scott, W Alan

Kitware – any ideas?  Doesn’t the Kitware binaries use an internal .avi codec?

Dennis – note that this is SuperComputing week.  Kitware has been running a 
sparse staff at work.

Alan

p.s. – Kitware booth rocked.  The immersive 3d demo was awesome!



From: "dennis_conk...@goodyear.com" 
Date: Friday, November 17, 2017 at 11:51 AM
To: W Scott , "paraview@paraview.org" 

Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

I’m using Kitware builds, local server – weird! This was reported by a user 
and I have duplicated it here
Dennis

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 1:40 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Dennis,
I tried, and cannot replicate.  I am on Redhat also.  Are you using your own 
builds, or Kitware binaries?  I am using 5.4.1 Kitware binaries, local server.  
If not, try Kitware binaries?

Alan

From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 5:55 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin 
>; Paraview 
(paraview@paraview.org) 
>
Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in 
v5.4.1, working in v4.4

 WARNING - External email; exercise caution.



Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to replicate 
(including size of the viewport, when shown in the Save Animation window, 
whether this is a custom build, the OS, and a dataset?  If I can replicate, I 
will write it up.

Otherwise, you write it up, I will mark appropriately?

Alan

From: ParaView 
> on behalf 
of "dennis_conk...@goodyear.com" 
>
Date: Wednesday, November 15, 2017 at 10:55 AM
To: "paraview@paraview.org" 
>
Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, 
working in v4.4

Anyone else seeing this?

I’m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a 
useable animation).


[avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up.

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


Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Dennis Conklin
Alan,

I’m using Kitware builds, local server – weird! This was reported by a user 
and I have duplicated it here
Dennis

From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Friday, November 17, 2017 1:40 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Dennis,
I tried, and cannot replicate.  I am on Redhat also.  Are you using your own 
builds, or Kitware binaries?  I am using 5.4.1 Kitware binaries, local server.  
If not, try Kitware binaries?

Alan

From: "dennis_conk...@goodyear.com" 
>
Date: Friday, November 17, 2017 at 5:55 AM
To: W Scott >, 
"paraview@paraview.org" 
>
Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin 
>; Paraview 
(paraview@paraview.org) 
>
Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in 
v5.4.1, working in v4.4

 WARNING - External email; exercise caution.



Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to replicate 
(including size of the viewport, when shown in the Save Animation window, 
whether this is a custom build, the OS, and a dataset?  If I can replicate, I 
will write it up.

Otherwise, you write it up, I will mark appropriately?

Alan

From: ParaView 
> on behalf 
of "dennis_conk...@goodyear.com" 
>
Date: Wednesday, November 15, 2017 at 10:55 AM
To: "paraview@paraview.org" 
>
Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, 
working in v4.4

Anyone else seeing this?

I’m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a 
useable animation).


[avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up.

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] Good file format for point data on a surface over 60, 000 timesteps

2017-11-17 Thread Tyson Whitehead
Hi,

I'm trying to help one of our users (HPC center) use ParaView to work
with their wind tunnel data.  They have a large number of time samples
(60,000) from a series of surfaces with from a small number of sample
points (64).

The sample points are irregular but structured as they are laid out to
be more dense in areas that should see more differences (i.e., at best
you could say it was a non-uniform grid with several of the points not
used).

What file format should this data be put in to import into ParaView?

The VTK legacy formats and XML description formats seem painful to use
with this number of timesteps and I believe (please correct if wrong)
that the NetCDF wants a regular grid.

Thanks!  -Tyson
___
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] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Scott, W Alan
Dennis,
I tried, and cannot replicate.  I am on Redhat also.  Are you using your own 
builds, or Kitware binaries?  I am using 5.4.1 Kitware binaries, local server.  
If not, try Kitware binaries?

Alan

From: "dennis_conk...@goodyear.com" 
Date: Friday, November 17, 2017 at 5:55 AM
To: W Scott , "paraview@paraview.org" 

Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working 
in v5.4.1, working in v4.4

Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in 
v5.4.1, working in v4.4

 WARNING - External email; exercise caution.



Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to replicate 
(including size of the viewport, when shown in the Save Animation window, 
whether this is a custom build, the OS, and a dataset?  If I can replicate, I 
will write it up.

Otherwise, you write it up, I will mark appropriately?

Alan

From: ParaView 
> on behalf 
of "dennis_conk...@goodyear.com" 
>
Date: Wednesday, November 15, 2017 at 10:55 AM
To: "paraview@paraview.org" 
>
Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, 
working in v4.4

Anyone else seeing this?

I’m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a 
useable animation).


[avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up.

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] Anaconda python Environment setup to use paraview python

2017-11-17 Thread Ke Gao
Hi,

I'm using Anaconda python 2.7 to call paraview python library on RedHat
Linux, every time I run "from paraview.simple import *" or '"from vtk
import *", I will get a "Segmentation fault" error. Can anybody tell me
what's wrong, and can you share your python path setup in .bashre file?

My .bashrc file is like this:

# add paraview
export
PATH=$PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/
# add paraview python to PYTHONPATH
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4
export
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/
export
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/
export
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/vtk/
export
PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/

Thank you very much.
___
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] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-17 Thread Dennis Conklin
Alan,

Version 5.4.1,   Redhat, can.ex2
Viewsize was 1196 x 766 – let me know if you can replicate.
I tried deleting my PV ini files in hopes that would fix it, but no joy!

Dennis



From: Scott, W Alan [mailto:wasc...@sandia.gov]
Sent: Thursday, November 16, 2017 4:27 PM
To: Dennis Conklin ; Paraview 
(paraview@paraview.org) 
Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in 
v5.4.1, working in v4.4

 WARNING - External email; exercise caution.



Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to replicate 
(including size of the viewport, when shown in the Save Animation window, 
whether this is a custom build, the OS, and a dataset?  If I can replicate, I 
will write it up.

Otherwise, you write it up, I will mark appropriately?

Alan

From: ParaView 
> on behalf 
of "dennis_conk...@goodyear.com" 
>
Date: Wednesday, November 15, 2017 at 10:55 AM
To: "paraview@paraview.org" 
>
Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, 
working in v4.4

Anyone else seeing this?

I’m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a 
useable animation).


[avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up.

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


Re: [Paraview] [EXTERNAL] Re: pvbatch

2017-11-16 Thread Scott, W Alan
OK, this … sort of  … worked.  I was able to use the Kitware download (Yay!).  
I called pvbatch (surprisingly, it was built by Kitware for Linux), and then 
used flags --mesa-llvm and --use-offscreen-rendering.  I believe 
--use-offscreen-rendering will be replaced in the future by 
--force-offscreen-rendering in PV 5.5.0.

Thanks Cory, and everyone else that chimed in.

Alan

From: Cory Quammen 
Date: Wednesday, November 15, 2017 at 10:46 AM
To: W Scott 
Cc: Ben Boeckel , "paraview@paraview.org" 

Subject: Re: [Paraview] [EXTERNAL] Re: pvbatch

Alan,

You should be able to run

pvpython --force-offscreen-rendering script.py

and no render window will appear. The help for --force-offscreen-rendering says:

  "If supported by the build and platform, create headless (offscreen) render 
windows for rendering results."

I believe this should work on linux systems, but you should try it out on the 
system on which you want to force offscreen rendering just to be sure before 
using it to produce classified images.

pvbatch running the same script will indeed not pop up a render window even 
without the --force-offscreen-rendering option.

Let us know how it goes,
Cory

On Mon, Nov 13, 2017 at 5:04 PM, Scott, W Alan 
> wrote:
Ben,
I believe this is a change from the past.  Here is what I desire – how do I get 
it?

I want to run pv(pythonScript).  I want it to produce output.  I want it to run 
off screen, not showing on the console display or current display.  This is 
especially important on classified systems.  MPI is not available.

Not too long ago, my understanding was this was pvbatch.  pvpython used either 
the console display or current display as it’s rendering space.  This does not 
catch my needs.

Alan

On 11/13/17, 9:04 AM, "Ben Boeckel" 
> wrote:

On Sun, Nov 12, 2017 at 22:42:29 +, Scott, W Alan wrote:
> What are the magic cmake switches, for superbuild, that are used to
> build a non MPI, Mesa version of pvbatch?  Where is this documented?

pvpython is the non-MPI version of pvbatch. The superbuild docs could
probably be improved here. Currently, the mention is:

ParaView supports multiple rendering engines including `egl`,
`mesa`, `osmesa`, and `qt5`. All of these are incompatible with each
other. If none of these are chosen, a UI-less ParaView will be built
(basically just `pvpython`). On Windows and macOS, only the `qt5`
rendering engine is available.

--Ben


___
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 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] [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-16 Thread Scott, W Alan
Dennis,
I believe that the first line isn’t important.
I believe that the second line is fatal.  This is what we were seeing with 
5.4.0, that I thought we fixed.  Mind passing me directions to replicate 
(including size of the viewport, when shown in the Save Animation window, 
whether this is a custom build, the OS, and a dataset?  If I can replicate, I 
will write it up.

Otherwise, you write it up, I will mark appropriately?

Alan

From: ParaView  on behalf of 
"dennis_conk...@goodyear.com" 
Date: Wednesday, November 15, 2017 at 10:55 AM
To: "paraview@paraview.org" 
Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, 
working in v4.4

Anyone else seeing this?

I’m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a 
useable animation).


[avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up.

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] Structured meshes with Material Volume Fractions

2017-11-16 Thread Scott, W Alan
Does anyone have a very small dataset that is structured meshes, that use 
multiple material volume fractions?

Also, are we missing a functionality processing these datsets?  In other words, 
do we need a filter that will contour over many material volume fractions 
within the same filter?

Thanks,

Alan
___
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] XDMF file with multiple temporal collections

2017-11-16 Thread Nicolas Cedilnik

Hello all,

I'm trying to generate a valid (at least, well-read by paraview) XDMF 
file. It represents a single topology/geometry, with multiple scalars, 
varying over time.


I've attached the file I'm trying to read with paraview. It behaves 
almost as I want, but oddly enough, only with scalars tagged as 
"partial" by paraview.


One of the scalars "animation", the first one in the XDMF file, is 
completely buggy, possibly with values from other scalars.


Is there something wrong with my XDMF file or is this a bug in paraview?

Thanks for your help,

-- Nicolas



http://www.w3.org/2001/XInclude; Version="3.0">
  

  
/tmp/test-calib/1_vt_1_endo_smooth/triangles.bin
  


  
/tmp/test-calib/1_vt_1_endo_smooth/points.bin
  


  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-fimh-style_0.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-fimh-style_1.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-fimh-style_2.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-fimh-style_3.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-fimh-style_4.bin
  

  


  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-cma-es_0.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-cma-es_1.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-cma-es_2.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-cma-es_3.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/eikonal-cma-es_4.bin
  

  


  




  
/tmp/test-calib/1_vt_1_endo_smooth/rhythmia_0.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/rhythmia_1.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/rhythmia_2.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/rhythmia_3.bin
  

  
  




  
/tmp/test-calib/1_vt_1_endo_smooth/rhythmia_4.bin
  

  

  

___
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] vtkDiscreteMarchingCubes point/cell arrays from XML-PV plugin

2017-11-16 Thread Grothausmann, Roman Dr.

Dear mailing list members,


Based on AcceleratedAlgorithms.xml I created an XML-PV plugin to make use of
vtkDiscreteMarchingCubes 
(https://github.com/romangrothausmann/ParaView_XML-plugins/blob/1574430ce/vtkDiscreteMarchingCubes.xml). 
It basically works as expected, but does not yield any point/cell arrays in its 
result, that I would need for coloring of e.g. the different labels (i.e. 
ComputeScalars). I found a post that said that PV only lists arrays that have a 
name, but as far as I understand, vtkDiscreteMarchingCubes does name its output 
arrays.

What else could be missing in the XML-code?

Many thanks for any help or hints.
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


Re: [Paraview] OpenGL inside VMWare virtual machine

2017-11-16 Thread Ben Boeckel
On Wed, Nov 15, 2017 at 11:40:43 -0500, Ken Martin wrote:
> Basically there is a bug in Qt on windows where it refuses to see the 3.2
> context from Mesa because it is not a compatibility context.

On startup, Qt makes a context without a profile. Mesa gives it the best
compatibility profile it can: 2.0. Qt then interprets this as the
highest OpenGL version available and clamps all requests to this
version. The entire behavior is mystifying to me, but the issue has been
filed here:

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

--Ben
___
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] Viewing Delft3D output in ParaView

2017-11-15 Thread Ahmed Bilal
Hello Everyone.
Is there a way to see Delft 3D output in ParaView. Delft 3D produces its
outout in  NFIES compliant (*.dat) format. Any plugin to directly view
these files. Or any way to convert these files into NetCDF for viewing in
ParaView.

Thanks in advance.

Best regards,


*Ahmed Bilal*
___
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] OpenGL inside VMWare virtual machine

2017-11-15 Thread Cornelis Bockemühl
Question not any more relevant: setting an environment variable before
starting paraview does indeed the trick: it works now indeed as
expected!

Thanks and regards,
Cornelis

Am Mittwoch, den 15.11.2017, 18:54 +0100 schrieb Cornelis Bockemühl:
> Thanks for the hint: I will definitely try this!
> > > Only one question: you write environment which sounds like an
environment variable, but maybe you mean a variable ti be set in the
CMake configuration!?!
> 
> Regards, Cornelis
> 
> 
> > Am 15.11.2017 17:40 schrieb "Ken Martin" :
> > > > This could  be a PV Qt interaction. Try
setting MESA_GL_VERSION_OVERRIDE=3.2 in your environment
> > > > > > Basically there is a bug in Qt on windows where it refuses to see
the 3.2 context from Mesa because it is not a compatibility
context.
> > 
> > 
> > > > On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockemühl  wrote:
> > > Dear all,
> > > > > > > > > > > > > > > > > > I know that I cannot go for any performance 
> > > > > > > > > > > > > > > > > > record with this
setup, but having both systems available without reboot has
advantages if it is about testing some new development. WOULD
have - if it fully worked! So far it looks like I am "almost
there" - however not knowing whether the last 10 meters will be
feasible at all...
> > > 
> > > This is my setup:
> > > 
> > > > > > Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting
the following in the About dialog:
> > > OpenGL Vendor: Intel Open Source Technology Center
> > > OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5
> > > OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
> > > 
> > > > > > On this system Paraview (latest version, self compiled) runs just
fine.
> > > 
> > > > > > Guest system inside VMWare Player version 14: Windows 10, with
Paraview reporting the following:
> > > OpenGL Vendor: VMware, Inc.
> > > OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786)
> > > OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;
> > > 
> > > > > > Here Paraview immediately complains on startup, reporting the
following in the message output dialog: see below.
> > > 
> > > > > > > > > > > > For me the version numbers look ok (OpenGL 3.3 is more 
> > > > > > > > > > > > than 3.2,
and Mesa 11.2.0 is more than 10.6.5), but there is some
"fineprint" about shader capabilities that are going a bit above
my understanding...
> > > 
> > > Anybody able to help with this?
> > > 
> > > > > > Any possibility to "cheat" somehow? Note that I am certainly not
going to render billions of data in this configuration!
> > > 
> > > Or should I abandon this tricky setup altogether?
> > > 
> > > Thanks and regards,
> > > Cornelis
> > > 
> > > > > > Here the error output from the Windows Paraview inside the VMWare
virtual machine:
> > > 
> > > > > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-
v5.4.1\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 831
> > > > > > > > > > > > > > > > > > vtkGenericOpenGLRenderWindow 
> > > > > > > > > > > > > > > > > > (02438C350630): GL version 2.1
with the gpu_shader4 extension is not supported by your graphics
driver but is required for the new OpenGL rendering backend.
Please update your OpenGL driver. If you are using Mesa please
make sure you have version 10.6.5 or later and make sure your
driver in Mesa supports OpenGL 3.2.
> > > 
> > > > > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-
v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408
> > > vtkShaderProgram (02438C1B80C0): 1: #version 150
> > > 2: #ifdef GL_ES
> > > 3: #if __VERSION__ == 300
> > > 4: #define attribute in
> > > 5: #define varying out
> > > 6: #endif // 300
> > > 7: #else // GL_ES
> > > 8: #define highp
> > > 9: #define mediump
> > > 10: #define lowp
> > > 11: #if __VERSION__ == 150
> > > 12: #define attribute in
> > > 13: #define varying out
> > > 14: #endif
> > > 15: #endif // GL_ES
> > > 16: 
> > > 17: 
> > > > > > > > > 18:
/*===
==
> > > 19: 
> > > 20:   Program:   Visualization Toolkit
> > > 21:   Module:vtkPolyDataVS.glsl
> > > 22: 
> > > 23:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
> > > 24:   All rights reserved.
> > > > > > 25:   See Copyright.txt or http://www.kitware.com/Copyright.htm
for details.
> > > 26: 
> > > > > > 27:  This software is distributed WITHOUT ANY WARRANTY;
without even
> > > > > > 28:  the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR
> > > > > > 29:  PURPOSE.  See the above copyright notice for more
information.
> > > 30: 
> > > > > > > > > 31:
=
*/
> > > 32: 
> > > 33: attribute vec4 vertexMC;
> > > 34: 
> > > 35: // frag position in VC
> > > 36: //VTK::PositionVC::Dec
> > > 37: 
> > > 38: // optional normal declaration
> > > 39: //VTK::Normal::Dec
> > > 40: 
> > > 41: // extra lighting parameters
> > > 42: //VTK::Light::Dec
> > > 43: 
> > > 

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

2017-11-15 Thread Ke Gao
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 Engineer
>>> Kitware, Inc.
>>>
>>
>>
>>
>> --
>> 
>> 
>> ..
>> Ke Gao
>>
>
>
>
> --
> Cory Quammen
> Staff R 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-11-15 Thread Cory Quammen
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.
>
>
> 
>   
>   
> 
> 
> 
>
> 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 Engineer
>> Kitware, Inc.
>>
>
>
>
> --
> 
> 
> ..
> Ke Gao
>



-- 
Cory Quammen
Staff R 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] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Aashish Chaudhary
the code I pointed to is based on a older version of the VTK and ParaView
and needs to be ported to newer VTK and ParaView. I do not expect it will
be lot of work but some work and we can help you over the email if needed.

Thanks


On Wed, Nov 15, 2017 at 12:56 PM Sonya Davydycheva  wrote:

> Thank you Aashish,
>
> But the link you provided includes:
>
>- GoCad ASCII Files (*.gp, *.ts, *.pl, *.vs, *.vts, *.vo, *.sg)
>
> (see Bottom of Supported Readers).
> Does it mean GoCAD files are doable already? Or, something still needs to
> be added to Paraview, to read them?
>
> Sonya Davydycheva 
> (713)498-6139
>
>
> On Wed, Nov 15, 2017 at 11:51 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> the actual code location is here:
>> https://github.com/ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader
>>
>>
>> Let us know if you decide to bring in this code into VTK / ParaView as we
>> will be very interested in it as well.
>>
>> Thanks,
>>
>>
>> On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> I do not think that GoCAR ASCII (ts) files are directly readable in
>>> ParaView. Although there is a reader in this repo
>>> http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats
>>>  that
>>> you could bring into ParaView / VTK. If that is the case, we would be happy
>>> to help bringing in the reader in VTK / ParaView.
>>>
>>> thanks
>>>
>>>
>>> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva 
>>> wrote:
>>>
 Hello,

 1) Is it possible to read/import GoCAD file *.ts (triangulated
 surfaces) using ParaView, with a possibility to further read its data in
 ascii format, or convert to a 3D function of space point (x,y,z)?

 2) The same question about Earth Vision grid and the respective files
 *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
 using ParaView?

 Thank you,

 Sonya Davydycheva 
 (713)498-6139

 ___
 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] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Sonya Davydycheva
Thank you Aashish,

But the link you provided includes:

   - GoCad ASCII Files (*.gp, *.ts, *.pl, *.vs, *.vts, *.vo, *.sg)

(see Bottom of Supported Readers).
Does it mean GoCAD files are doable already? Or, something still needs to
be added to Paraview, to read them?

Sonya Davydycheva 
(713)498-6139


On Wed, Nov 15, 2017 at 11:51 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> the actual code location is here: https://github.com/
> ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader
>
> Let us know if you decide to bring in this code into VTK / ParaView as we
> will be very interested in it as well.
>
> Thanks,
>
>
> On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> I do not think that GoCAR ASCII (ts) files are directly readable in
>> ParaView. Although there is a reader in this repo http://paraviewgeo.
>> objectivity.ca/documentation/user-manual/supported-formats that you
>> could bring into ParaView / VTK. If that is the case, we would be happy to
>> help bringing in the reader in VTK / ParaView.
>>
>> thanks
>>
>>
>> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva 
>> wrote:
>>
>>> Hello,
>>>
>>> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces)
>>> using ParaView, with a possibility to further read its data in ascii
>>> format, or convert to a 3D function of space point (x,y,z)?
>>>
>>> 2) The same question about Earth Vision grid and the respective files
>>> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
>>> using ParaView?
>>>
>>> Thank you,
>>>
>>> Sonya Davydycheva 
>>> (713)498-6139
>>>
>>> ___
>>> 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] Animation .avi output not working in v5.4.1, working in v4.4

2017-11-15 Thread Dennis Conklin
Anyone else seeing this?

I'm getting the same msg I was getting in v4.4 (but in v4.4 it still produced a 
useable animation).


[avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up.

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


Re: [Paraview] OpenGL inside VMWare virtual machine

2017-11-15 Thread Cornelis Bockemühl
Thanks for the hint: I will definitely try this!

Only one question: you write environment which sounds like an environment
variable, but maybe you mean a variable ti be set in the CMake
configuration!?!

Regards, Cornelis

Am 15.11.2017 17:40 schrieb "Ken Martin" :

> This could  be a PV Qt interaction. Try setting MESA_GL_VERSION_OVERRIDE=3.2
> in your environment
>
> Basically there is a bug in Qt on windows where it refuses to see the 3.2
> context from Mesa because it is not a compatibility context.
>
> On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockemühl <
> cornelis.bockemu...@gmail.com> wrote:
>
>> Dear all,
>>
>> I know that I cannot go for any performance record with this setup, but
>> having both systems available without reboot has advantages if it is about
>> testing some new development. WOULD have - if it fully worked! So far it
>> looks like I am "almost there" - however not knowing whether the last 10
>> meters will be feasible at all...
>>
>> This is my setup:
>>
>> Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the
>> following in the About dialog:
>> OpenGL Vendor: Intel Open Source Technology Center
>> OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5
>> OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
>>
>> On this system Paraview (latest version, self compiled) runs just fine.
>>
>> Guest system inside VMWare Player version 14: Windows 10, with Paraview
>> reporting the following:
>> OpenGL Vendor: VMware, Inc.
>> OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786)
>> OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;
>>
>> Here Paraview immediately complains on startup, reporting the following
>> in the message output dialog: see below.
>>
>> For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa
>> 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader
>> capabilities that are going a bit above my understanding...
>>
>> Anybody able to help with this?
>>
>> Any possibility to "cheat" somehow? Note that I am certainly not going to
>> render billions of data in this configuration!
>>
>> Or should I abandon this tricky setup altogether?
>>
>> Thanks and regards,
>> Cornelis
>>
>> Here the error output from the Windows Paraview inside the VMWare virtual
>> machine:
>>
>> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\O
>> penGL2\vtkOpenGLRenderWindow.cxx, line 831
>> vtkGenericOpenGLRenderWindow (02438C350630): GL version 2.1 with the
>> gpu_shader4 extension is not supported by your graphics driver but is
>> required for the new OpenGL rendering backend. Please update your OpenGL
>> driver. If you are using Mesa please make sure you have version 10.6.5 or
>> later and make sure your driver in Mesa supports OpenGL 3.2.
>>
>> ERROR: In 
>> Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx,
>> line 408
>> vtkShaderProgram (02438C1B80C0): 1: #version 150
>> 2: #ifdef GL_ES
>> 3: #if __VERSION__ == 300
>> 4: #define attribute in
>> 5: #define varying out
>> 6: #endif // 300
>> 7: #else // GL_ES
>> 8: #define highp
>> 9: #define mediump
>> 10: #define lowp
>> 11: #if __VERSION__ == 150
>> 12: #define attribute in
>> 13: #define varying out
>> 14: #endif
>> 15: #endif // GL_ES
>> 16:
>> 17:
>> 18: /*==
>> ===
>> 19:
>> 20:   Program:   Visualization Toolkit
>> 21:   Module:vtkPolyDataVS.glsl
>> 22:
>> 23:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
>> 24:   All rights reserved.
>> 25:   See Copyright.txt or http://www.kitware.com/Copyright.htm for
>> details.
>> 26:
>> 27:  This software is distributed WITHOUT ANY WARRANTY; without even
>> 28:  the implied warranty of MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR
>> 29:  PURPOSE.  See the above copyright notice for more information.
>> 30:
>> 31: 
>> =*/
>> 32:
>> 33: attribute vec4 vertexMC;
>> 34:
>> 35: // frag position in VC
>> 36: //VTK::PositionVC::Dec
>> 37:
>> 38: // optional normal declaration
>> 39: //VTK::Normal::Dec
>> 40:
>> 41: // extra lighting parameters
>> 42: //VTK::Light::Dec
>> 43:
>> 44: // Texture coordinates
>> 45: //VTK::TCoord::Dec
>> 46:
>> 47: // material property values
>> 48: //VTK::Color::Dec
>> 49:
>> 50: // clipping plane vars
>> 51: //VTK::Clip::Dec
>> 52:
>> 53: // camera and actor matrix values
>> 54: uniform mat4 MCDCMatrix;
>> 55:
>> 56: // Apple Bug
>> 57: //VTK::PrimID::Dec
>> 58:
>> 59: // Value raster
>> 60: //VTK::ValuePass::Dec
>> 61:
>> 62: void main()
>> 63: {
>> 64:   //VTK::Color::Impl
>> 65:
>> 66:   //VTK::Normal::Impl
>> 67:
>> 68:   //VTK::TCoord::Impl
>> 69:
>> 70:   //VTK::Clip::Impl
>> 71:
>> 72:   //VTK::PrimID::Impl
>> 73:
>> 74: gl_Position = MCDCMatrix * vertexMC;
>> 75:
>> 76:
>> 77:   //VTK::ValuePass::Impl
>> 78:
>> 79:   //VTK::Light::Impl
>> 

Re: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Aashish Chaudhary
the actual code location is here:
https://github.com/ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader


Let us know if you decide to bring in this code into VTK / ParaView as we
will be very interested in it as well.

Thanks,


On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> I do not think that GoCAR ASCII (ts) files are directly readable in
> ParaView. Although there is a reader in this repo
> http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats 
> that
> you could bring into ParaView / VTK. If that is the case, we would be happy
> to help bringing in the reader in VTK / ParaView.
>
> thanks
>
>
> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva 
> wrote:
>
>> Hello,
>>
>> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces)
>> using ParaView, with a possibility to further read its data in ascii
>> format, or convert to a 3D function of space point (x,y,z)?
>>
>> 2) The same question about Earth Vision grid and the respective files
>> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
>> using ParaView?
>>
>> Thank you,
>>
>> Sonya Davydycheva 
>> (713)498-6139
>>
>> ___
>> 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] [EXTERNAL] Re: pvbatch

2017-11-15 Thread Cory Quammen
Alan,

You should be able to run

pvpython --force-offscreen-rendering script.py

and no render window will appear. The help for --force-offscreen-rendering
says:

  "If supported by the build and platform, create headless (offscreen)
render windows for rendering results."

I believe this should work on linux systems, but you should try it out on
the system on which you want to force offscreen rendering just to be sure
before using it to produce classified images.

pvbatch running the same script will indeed not pop up a render window even
without the --force-offscreen-rendering option.

Let us know how it goes,
Cory

On Mon, Nov 13, 2017 at 5:04 PM, Scott, W Alan  wrote:

> Ben,
> I believe this is a change from the past.  Here is what I desire – how do
> I get it?
>
> I want to run pv(pythonScript).  I want it to produce output.  I want it
> to run off screen, not showing on the console display or current display.
> This is especially important on classified systems.  MPI is not available.
>
> Not too long ago, my understanding was this was pvbatch.  pvpython used
> either the console display or current display as it’s rendering space.
> This does not catch my needs.
>
> Alan
>
> On 11/13/17, 9:04 AM, "Ben Boeckel"  wrote:
>
> On Sun, Nov 12, 2017 at 22:42:29 +, Scott, W Alan wrote:
> > What are the magic cmake switches, for superbuild, that are used to
> > build a non MPI, Mesa version of pvbatch?  Where is this documented?
>
> pvpython is the non-MPI version of pvbatch. The superbuild docs could
> probably be improved here. Currently, the mention is:
>
> ParaView supports multiple rendering engines including `egl`,
> `mesa`, `osmesa`, and `qt5`. All of these are incompatible with
> each
> other. If none of these are chosen, a UI-less ParaView will be
> built
> (basically just `pvpython`). On Windows and macOS, only the `qt5`
> rendering engine is available.
>
> --Ben
>
>
> ___
> 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 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] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Aashish Chaudhary
I do not think that GoCAR ASCII (ts) files are directly readable in
ParaView. Although there is a reader in this repo
http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats
that
you could bring into ParaView / VTK. If that is the case, we would be happy
to help bringing in the reader in VTK / ParaView.

thanks


On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva  wrote:

> Hello,
>
> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces)
> using ParaView, with a possibility to further read its data in ascii
> format, or convert to a 3D function of space point (x,y,z)?
>
> 2) The same question about Earth Vision grid and the respective files
> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
> using ParaView?
>
> Thank you,
>
> Sonya Davydycheva 
> (713)498-6139
>
> ___
> 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] How to read the file info in *pvd file

2017-11-15 Thread Ke Gao
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.



  
  




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 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-11-15 Thread Cory Quammen
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
>
> 
>   
>   
> 
> 
> 
> --
> 
> 
> ..
> 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 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] OpenGL inside VMWare virtual machine

2017-11-15 Thread Ken Martin
This could  be a PV Qt interaction. Try setting MESA_GL_VERSION_OVERRIDE=3.2
in your environment

Basically there is a bug in Qt on windows where it refuses to see the 3.2
context from Mesa because it is not a compatibility context.

On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockemühl <
cornelis.bockemu...@gmail.com> wrote:

> Dear all,
>
> I know that I cannot go for any performance record with this setup, but
> having both systems available without reboot has advantages if it is about
> testing some new development. WOULD have - if it fully worked! So far it
> looks like I am "almost there" - however not knowing whether the last 10
> meters will be feasible at all...
>
> This is my setup:
>
> Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the
> following in the About dialog:
> OpenGL Vendor: Intel Open Source Technology Center
> OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5
> OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
>
> On this system Paraview (latest version, self compiled) runs just fine.
>
> Guest system inside VMWare Player version 14: Windows 10, with Paraview
> reporting the following:
> OpenGL Vendor: VMware, Inc.
> OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786)
> OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;
>
> Here Paraview immediately complains on startup, reporting the following in
> the message output dialog: see below.
>
> For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa
> 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader
> capabilities that are going a bit above my understanding...
>
> Anybody able to help with this?
>
> Any possibility to "cheat" somehow? Note that I am certainly not going to
> render billions of data in this configuration!
>
> Or should I abandon this tricky setup altogether?
>
> Thanks and regards,
> Cornelis
>
> Here the error output from the Windows Paraview inside the VMWare virtual
> machine:
>
> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\
> OpenGL2\vtkOpenGLRenderWindow.cxx, line 831
> vtkGenericOpenGLRenderWindow (02438C350630): GL version 2.1 with the
> gpu_shader4 extension is not supported by your graphics driver but is
> required for the new OpenGL rendering backend. Please update your OpenGL
> driver. If you are using Mesa please make sure you have version 10.6.5 or
> later and make sure your driver in Mesa supports OpenGL 3.2.
>
> ERROR: In 
> Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx,
> line 408
> vtkShaderProgram (02438C1B80C0): 1: #version 150
> 2: #ifdef GL_ES
> 3: #if __VERSION__ == 300
> 4: #define attribute in
> 5: #define varying out
> 6: #endif // 300
> 7: #else // GL_ES
> 8: #define highp
> 9: #define mediump
> 10: #define lowp
> 11: #if __VERSION__ == 150
> 12: #define attribute in
> 13: #define varying out
> 14: #endif
> 15: #endif // GL_ES
> 16:
> 17:
> 18: /*==
> ===
> 19:
> 20:   Program:   Visualization Toolkit
> 21:   Module:vtkPolyDataVS.glsl
> 22:
> 23:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
> 24:   All rights reserved.
> 25:   See Copyright.txt or http://www.kitware.com/Copyright.htm for
> details.
> 26:
> 27:  This software is distributed WITHOUT ANY WARRANTY; without even
> 28:  the implied warranty of MERCHANTABILITY or FITNESS FOR A
> PARTICULAR
> 29:  PURPOSE.  See the above copyright notice for more information.
> 30:
> 31: 
> =*/
> 32:
> 33: attribute vec4 vertexMC;
> 34:
> 35: // frag position in VC
> 36: //VTK::PositionVC::Dec
> 37:
> 38: // optional normal declaration
> 39: //VTK::Normal::Dec
> 40:
> 41: // extra lighting parameters
> 42: //VTK::Light::Dec
> 43:
> 44: // Texture coordinates
> 45: //VTK::TCoord::Dec
> 46:
> 47: // material property values
> 48: //VTK::Color::Dec
> 49:
> 50: // clipping plane vars
> 51: //VTK::Clip::Dec
> 52:
> 53: // camera and actor matrix values
> 54: uniform mat4 MCDCMatrix;
> 55:
> 56: // Apple Bug
> 57: //VTK::PrimID::Dec
> 58:
> 59: // Value raster
> 60: //VTK::ValuePass::Dec
> 61:
> 62: void main()
> 63: {
> 64:   //VTK::Color::Impl
> 65:
> 66:   //VTK::Normal::Impl
> 67:
> 68:   //VTK::TCoord::Impl
> 69:
> 70:   //VTK::Clip::Impl
> 71:
> 72:   //VTK::PrimID::Impl
> 73:
> 74: gl_Position = MCDCMatrix * vertexMC;
> 75:
> 76:
> 77:   //VTK::ValuePass::Impl
> 78:
> 79:   //VTK::Light::Impl
> 80: }
> 81:
>
>
> ERROR: In 
> Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx,
> line 409
> vtkShaderProgram (02438C1B80C0): 0:1(10): error: GLSL 1.50 is not
> supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> 

Re: [Paraview] [EXT] Re: Exodus multiblock dataset block numbers vs block

2017-11-15 Thread Dennis Conklin
Shawn,

I grok the origin of the non-intuitive, better omitted than displayed, highly 
confusing, should be replaced with block names, block numbers.However, in 
my Programmable filter I just have a single block and I need the index into the 
block name – I’m not sure it exists anywhere that I can access.

Dennis

From: Shawn Waldon [mailto:shawn.wal...@kitware.com]
Sent: Wednesday, November 15, 2017 10:01 AM
To: Dennis Conklin 
Cc: Paraview (paraview@paraview.org) 
Subject: [EXT] Re: [Paraview] Exodus multiblock dataset block numbers vs block

 WARNING - External email; exercise caution.



Hi Dennis,
I can answer part of your question.  The block number is the index in a 
pre-order traversal of the tree of blocks in the dataset.  The root is element 
0, its first child is 1, that block's first child (or if none, the root's 
second child) is 2 and so on.  Your blocks with data are likely two levels down 
since your index has that offset (and your code backs this up since you are 
asking for the metadata of a child of the root's block 0).
HTH,
Shawn

On Wed, Nov 15, 2017 at 9:51 AM, Dennis Conklin 
> wrote:
All,

Okay, maybe not the clearest email I’ve ever written!

See the attached image:  Here I have loaded a single block out of a multi-block 
dataset.

It is the 24th block in the dataset.
It was assigned the block_ID 101 at creation (we separate different blocks into 
different number ranges)
So, it is shown in the Spreadsheet view as Block Number 25 (24+1)

However, I need the Block_Name of this block.   The block name is stored under:
Input.GetBlock(0).GetMetaData(23).Get(vtk.vtkCompositeDataSet.NAME())
   (23=24-1)

In order to retrieve the name, I need to find the Block Number 25 (and subtract 
2 from it).

I have been unable to find this block_number.I can’t count blocks to find 
out the block_number, because my Programmable filter only has this 1 block in 
it.

So, does anyone know where this “Block Number” is stored?I’m wishing at 
this point that the Exodus reader had stored the block names in a dictionary 
with BlockID (ObjectID) as the key – then I could find  the name.

Any clues on how to determine the Block Number?

Thanks
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

___
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


<    1   2   3   4   5   6   7   8   9   10   >