Re: [Paraview] Any suggestion for work environment to run Catalyst examples ???
Hi Andy, I tested it for parallel case and it gives same error. I am also planing to try to test another OS (i.e. Fedora, Ubuntu). By the way, it could be the issue related with VirtualBox (along with activated 3D acceleration) but i am not sure. Do you have any experience about it? Regards, --ufuk On 30/04/15 17:30, Andy Bauer wrote: Hi, It's tough to diagnose what's going on with the Catalyst examples. Can you try running pvbatch or pvserver in parallel? My guess is that could be the issue. Another possibility is confusion between header files. I don't regularly build on Macs so I don't have much experience there. I do know that the Catalyst examples are built on several architectures for testing. I hope to get a dashboard up in the near future to test this out better. Regards, Andy On Thu, Apr 30, 2015 at 9:21 AM, Ufuk Utku Turuncoglu (BE) u.utku.turunco...@be.itu.edu.tr mailto:u.utku.turunco...@be.itu.edu.tr wrote: Hi, I would like to run Catalyst examples but i failed in following attempts: *1 - MacOS 10.10.2 + **Enthought **Canopy_64bit 1.4.1.1995 + OpenMPI**1.8.4 + Paraview 4.3.1 source* When i trying to install Paraview 4.3.1, i am getting error related with qsqlite library after compiling %99 of the source. There are some discussion in the net but it does not solve the problem. * **2 - Centos 7.0 + output of package Python 2.7.5 + OpenMPI ***1.8.4 *+ **Paraview 4.3.1 (installed under VirtualBox)* It gives following error when i try to run the Catalyst examples. In this case, both Paraview and Catalyst examples are compiled without any problem ERROR: In /opt/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 812 vtkSocketCommunicator (0x13a6090): Could not receive tag. 1 when i try to use pre-compiled Paraview, then i am getting following error. ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/System/vtkSocket.cxx, line 572 vtkClientSocket (0x1deeb20): Socket error in call to send. Broken pipe. At this point, i just wonder about the details of work environment that runs Catalyst examples (found in Git repository) without any problem. Which operating system (Fedora, Ubuntu etc.) and version can be used? Which Python and Paraview version? Any particular library that will be used in the installation? Any success about running Catalyst examples? I just want to reproduce the results of the examples and first, i need to setup environment for it. Please let me know your experience about it. At this stage (with current documentation and information), it is impossible to not run the examples. Best Regard, --ufuk ___ Powered by www.kitware.com http://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] Labeling of axis
Thanks for your reply, i have uploaded a sample here https://mathmaster.mathe.tu-freiberg.de/index.php/s/UoQ506K29Db6b7E Notice how the axis labels are blurry while the colobar text looks fine. Zitat von Utkarsh Ayachit utkarsh.ayac...@kitware.com: Julia, Can you share a sample export result? It will make the problem a little clearer. Thanks On Wed, Apr 29, 2015 at 4:54 AM, Julia Weißflog julia.weissf...@geophysik.tu-freiberg.de wrote: Hello everybody, I use the tool 'Export Scene' in Paraview 4.3.1 to export a 2d clip to a vector graphic. All the time I got problems with the labeling of all axis. The numbers and labels (e.g. Y-Axis) are really blurry and not vectorized. How may I overcome this problem? Thank you for your help. Julia ___ 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 -- Dipl.-Geophys. Julia Weißflog TU Bergakademie Freiberg Institut für Geophysik und Geoinformatik Gustav-Zeuner-Straße 12 09596 Freiberg, Germany Tel.: +49(0)3731-39-3630 ___ 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] Labeling of axis
On Mon, May 4, 2015 at 3:20 AM, Julia Weißflog julia.weissf...@geophysik.tu-freiberg.de wrote: Thanks for your reply, i have uploaded a sample here https://mathmaster.mathe.tu-freiberg.de/index.php/s/UoQ506K29Db6b7E Notice how the axis labels are blurry while the colobar text looks fine. This is due to the Cube Axes rendering using an older text rendering method, vtkVectorText. These don't always export cleanly through the vector graphics backend. There is a replacement for the Cube Axes under development that uses newer methods for rendering text, and this should export much better, and be similar to the labels you see on the color legend. Also, there is experimental support in the old Cube Axes actor for using the newer text renderer. If you can access the cube actor in the python shell, calling SetUseTextActor3D(True) on it should switch it on. Hope this helps, Dave ___ 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] 4.3.1 warnings
I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 ___ 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] Image Doesn't load correctly
So I am still having a few issues with the reader. I have checked the output from the information Panel. And it seems as if all the information is the same. So maybe the data is getting deleted somehow (I'm not sure, but here is a snippet of my code); int vtkPVPROTOImageReader::RequestInformation ( vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) { vtkInformation* outInfo = outputVector-GetInformationObject(0); vtkDataObject::SetPointDataActiveScalarInfo(outInfo, VTK_UNSIGNED_CHAR, 1); return 1; } int vtkPVPROTOImageReader::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) { ... conversion code from protobuf /* Convert from protobuf to vtkImageData */ vtkSmartPointervtkImageData image = function converting to protobuf; vtkDataArray* scalars = image-GetPointData()-GetScalars(); scalars-SetName(ReconstructionData); /* Get the info object */ vtkInformation *outInfo = outputVector-GetInformationObject(0); outInfo-Set(vtkDataObject::DATA_TYPE_NAME(), vtkImageData); /* Get the output */ vtkImageData* output = vtkImageData::GetData(outputVector); // output-SetSpacing(image-GetSpacing()); // output-SetOrigin(image-GetOrigin()); // output-AllocateScalars(outInfo); // output-GetPointData()-SetScalars(image-GetPointData()-GetScalars()); // output-SetDimensions(image-GetDimensions()); output-ShallowCopy(image); int* dimensions = output-GetDimensions(); std::cout \nNumber of points: output-GetNumberOfPoints() std::endl; std::cout Number of cells: output-GetNumberOfCells() \n std::endl; // print out the pixel values to see if they are actually present for (int z = 0; z dimensions[2]; z++) { for (int y = 0; y dimensions[1]; y++) { for (int x = 0; x dimensions[0]; x++) { double* pixel = static_castdouble*(output-GetScalarPointer(x,y,z)); // do something with v std::cout pixel value: pixel[0] \n; } std::cout std::endl; } std::cout std::endl; } // write output to file and compare in visualization window... vtkSmartPointervtkXMLImageDataWriter vtk_writer = vtkSmartPointervtkXMLImageDataWriter::New(); vtk_writer-SetInputData(output); vtk_writer-SetFileName( /home/kdean/tmp/foo.vti ); vtk_writer-Update(); vtk_writer-Write(); return 1; } Another Problem I ran into: So I had to hardcode a file for the char *FileName into the RequestData Function in order to read any protobuf file. I ran a debugger on the code, and it seems like these functions from the header file (of the reader): vtkGetStringMacro(FileName); vtkSetStringMacro(FileName); they are never getting called. Thanks, Kevin here are my xml too... it looks right, but maybe I am missing something. On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You can also use the Information panel to see what arrays are being read in and what their ranges are. On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin kevin.d...@decisionsciencescorp.com wrote: looked at the spreadsheet view in the GUI, and it looks like none of the Point Data is actually being copied... On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin kevin.d...@decisionsciencescorp.com wrote: What's up Utkarsh? So I was able to write that plugin and convert my image to the vtkImageData. However, I am having trouble visualizing the image. However, when I write out the output from my reader, the image gets written correctly... Here are some pictures to show the differences. (All the information for the images is exactly the same) Do you have an idea of how I can try to fix it? Thanks. Kevin E. Dean This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. ServerManagerConfiguration ProxyGroup name=sources !-- -- SourceProxy name =vtkPVPROTOImageReader class=vtkPVPROTOImageReader label=vtkPVPROTOImageReader Documentation long_help=Read a DSC Reconstruction Data protobuf file. short_help=Read a DSC Reconstruction Data protobuf file. /Documentation StringVectorProperty
[Paraview] Getting the extreme value of the coordinates in pvpython
Hello community, I'm writing a pvpython script to export the 3rd component of the velocity vector on the z-axis of my domain. Here's a fragment of the script used. Not very refined, but does the trick. ==START OF SCRIPT #!/bin/pvpython try: paraview.simple except: from paraview.simple import * Nstep = 500 zEnd= 25 def velZaxis(filename): W = list(0 for i in range(0,Nstep)) z = list(0.0 for i in range(0,Nstep)) NS_quad_vtk = OpenDataFile(filename) PlotOverLine1 = PlotOverLine( Source=High Resolution Line Source ) PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] PlotOverLine1.Source.Point2 = [0.0, 0.0, zEnd] PlotOverLine1.Source.Resolution = Nstep for i in range (0,Nstep): z[i] = i*(zEnd/float(Nstep)) W[i]=servermanager.Fetch(PlotOverLine1,0).GetPointData().GetArray(U+V+W).GetTuple3(i)[2] return z, W ==END OF SCRIPT Now, I was wondering if someone could give me some tips on how to set the value of zEnd based on the actual maximum value in the geometry, instead of using a fixed value. Is there any recommended way to obtain this information? Thanks *Félix Salazar**felix.sala...@polymtl.ca felix.sala...@polymtl.ca* Étudiant au doctorat - PhD Student *École Polytechnique de Montréal* ___ 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] 4.3.1 warnings
Rick, If this is a debug build, it is to be expected. Two issues – one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview@paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 ___ 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] Image Doesn't load correctly
Hi Kevin. Your RequestInformation looks a little bare. Unless things have changed recently, you might need to set WHOLE_EXTENT, ORIGIN, SPACING, CAN_PRODUCE_SUB_EXTENT keys there. and if you support parallel IO honor the requested extent in RequestData. Burlen On 05/04/2015 09:52 AM, Dean, Kevin wrote: So I am still having a few issues with the reader. I have checked the output from the information Panel. And it seems as if all the information is the same. So maybe the data is getting deleted somehow (I'm not sure, but here is a snippet of my code); int vtkPVPROTOImageReader::RequestInformation ( vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) { vtkInformation* outInfo = outputVector-GetInformationObject(0); vtkDataObject::SetPointDataActiveScalarInfo(outInfo, VTK_UNSIGNED_CHAR, 1); return 1; } int vtkPVPROTOImageReader::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) { ... conversion code from protobuf /* Convert from protobuf to vtkImageData */ vtkSmartPointervtkImageData image = function converting to protobuf; vtkDataArray* scalars = image-GetPointData()-GetScalars(); scalars-SetName(ReconstructionData); /* Get the info object */ vtkInformation *outInfo = outputVector-GetInformationObject(0); outInfo-Set(vtkDataObject::DATA_TYPE_NAME(), vtkImageData); /* Get the output */ vtkImageData* output = vtkImageData::GetData(outputVector); // output-SetSpacing(image-GetSpacing()); // output-SetOrigin(image-GetOrigin()); // output-AllocateScalars(outInfo); // output-GetPointData()-SetScalars(image-GetPointData()-GetScalars()); // output-SetDimensions(image-GetDimensions()); output-ShallowCopy(image); int* dimensions = output-GetDimensions(); std::cout \nNumber of points: output-GetNumberOfPoints() std::endl; std::cout Number of cells: output-GetNumberOfCells() \n std::endl; // print out the pixel values to see if they are actually present for (int z = 0; z dimensions[2]; z++) { for (int y = 0; y dimensions[1]; y++) { for (int x = 0; x dimensions[0]; x++) { double* pixel = static_castdouble*(output-GetScalarPointer(x,y,z)); // do something with v std::cout pixel value: pixel[0] \n; } std::cout std::endl; } std::cout std::endl; } // write output to file and compare in visualization window... vtkSmartPointervtkXMLImageDataWriter vtk_writer = vtkSmartPointervtkXMLImageDataWriter::New(); vtk_writer-SetInputData(output); vtk_writer-SetFileName( /home/kdean/tmp/foo.vti ); vtk_writer-Update(); vtk_writer-Write(); return 1; } Another Problem I ran into: So I had to hardcode a file for the char *FileName into the RequestData Function in order to read any protobuf file. I ran a debugger on the code, and it seems like these functions from the header file (of the reader): vtkGetStringMacro(FileName); vtkSetStringMacro(FileName); they are never getting called. Thanks, Kevin here are my xml too... it looks right, but maybe I am missing something. On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com mailto:utkarsh.ayac...@kitware.com wrote: You can also use the Information panel to see what arrays are being read in and what their ranges are. On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin kevin.d...@decisionsciencescorp.com mailto:kevin.d...@decisionsciencescorp.com wrote: looked at the spreadsheet view in the GUI, and it looks like none of the Point Data is actually being copied... On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin kevin.d...@decisionsciencescorp.com mailto:kevin.d...@decisionsciencescorp.com wrote: What's up Utkarsh? So I was able to write that plugin and convert my image to the vtkImageData. However, I am having trouble visualizing the image. However, when I write out the output from my reader, the image gets written correctly... Here are some pictures to show the differences. (All the information for the images is exactly the same) Do you have an idea of how I can try to fix it? Thanks. Kevin E. Dean This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report
Re: [Paraview] [Paraview-developers] 3d surface roughness measurement
(Responding back to the ParaView user's list, which is more appropriate than the developer's list.) The documentation for the mathematical operation done by the curvature operation is given here: http://www.vtk.org/doc/nightly/html/classvtkCurvatures.html#details You can also get more general descriptions of Gaussian curvature and mean curvature estimation from various sources. Here is a description on Wikipedia: http://en.wikipedia.org/wiki/Curvature#Curvature_of_surfaces If I am reading the documentation correctly, the Gaussian curvature is giving you the bend of the surface in radians per distance squared, and the mean curvature is giving you the bend in radians per distance. Playing with the filter a bit, I notice that it is prone to give you unreasonably high values (in the positive or negative direction) for places where the surface is pinched or you have poorly shaped triangles in the mesh. -Ken On 5/4/15, 5:54 AM, Laura Masse dragon.p...@gmail.com wrote: Hi Kenneth, I take again this threat, I'm sorry for the long delay. The curvature filter seems is the thing I need, I would like to have a numerical indicator of the surface roughness. Curvature filter gives me two different indicator depending which were selected (Gaussian and Mean). In both cases I got data range, but I don´t understand the meaning of these ranges. For example in the case of Mean_Curvatura I got [-199,711, 165.178] Could be is the mean of the bend of all points ? I'm so confuse, please anyone can help me ? Otherwise, Is there a other way to have the roughness indicator ? Advanced thanks !!! - -- View this message in context: http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/3d-sur face-roughness-measurement-tp3657p3767.html Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Search the list archives at: http://markmail.org/search/?q=Paraview-developers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview-developers ___ 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] 4.3.1 warnings
Just talked to Utkarsh. My bad, I gave you wrong information, you did find a bug. I will work on fixing it. Thanks, Alan From: Angelini, Richard C (Rick) CIV USARMY ARL (US) [mailto:richard.c.angelini@mail.mil] Sent: Monday, May 04, 2015 1:55 PM To: Scott, W Alan; paraview@paraview.org Subject: Re: [EXTERNAL] [Paraview] 4.3.1 warnings This was not a debug build. It’s a standard CTH-11.0 generated dataset …. Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: Scott, Alan Scott wasc...@sandia.govmailto:wasc...@sandia.gov Date: Monday, May 4, 2015 at 2:18 PM To: Rick Angelini richard.c.angelini@mail.milmailto:richard.c.angelini@mail.mil, paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: RE: [EXTERNAL] [Paraview] 4.3.1 warnings Rick, If this is a debug build, it is to be expected. Two issues – one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview@paraview.orgmailto:paraview@paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 ___ 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] File in pipeline browser has changed; best way to reload
Hi all, I am doing something that most other modellers do: I am visualizing a file in my pipeline browser, but I ran a new simulation and now the file I am viewing should have changed. What is the best way to reload the file/get the new data from the file? So far my google searches have yielded this http://www.cfd-online.com/Forums/openfoam-paraview/78129-update-data-paraview.html#post446239 as the best result, but it seems quite clumsy. I've seen in other places people recommend clicking on update gui, but I don't see that button available anywhere in my version of paraview. Refresh times also doesn't seem to work. As you can tell, I'm a new paraview user! Thanks, Alex ___ 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] Getting the extreme value of the coordinates in pvpython
I added a few lines to my script to address this issue. I guess that I can't see the coordinates array directly in the NS_quad_vtk object due to the structure of the VTK file. I create a Calculator, calling the z coordinate as function definition, and then get the maximum of this object. Thanks, ==START OF SCRIPT #!/bin/pvpython try: paraview.simple except: from paraview.simple import * Nstep = 500 zEnd= 25 def velZaxis(filename): W = list(0 for i in range(0,Nstep)) z = list(0.0 for i in range(0,Nstep)) NS_quad_vtk = OpenDataFile(filename) try: TempCalc=Calculator() TempCalc.Function='coordsZ' TempCalc.ResultArrayName='PointZ' maxZ = Calc.PointData[PointZ].GetRange(0)[1] Delete(TempCalc) except Exception as e: maxZ= zEnd PlotOverLine1 = PlotOverLine( Source=High Resolution Line Source ) PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] PlotOverLine1.Source.Point2 = [0.0, 0.0, maxZ] PlotOverLine1.Source.Resolution = Nstep for i in range (0,Nstep): z[i] = i*(maxZ/float(Nstep)) W[i]=servermanager.Fetch(PlotOverLine1,0).GetPointData().GetArray(U+V+W).GetTuple3(i)[2] return z, W ==END OF SCRIPT *Félix Salazar**felix.sala...@polymtl.ca felix.sala...@polymtl.ca* Étudiant au doctorat - PhD Student *École Polytechnique de Montréal* * LADYF* Lab. de dynamique des fluides (514) 340 4711 ext 2489 Local: C-318.21.3 On Mon, May 4, 2015 at 12:58 PM, Felix Salazar felix.sala...@polymtl.ca wrote: Hello community, I'm writing a pvpython script to export the 3rd component of the velocity vector on the z-axis of my domain. Here's a fragment of the script used. Not very refined, but does the trick. ==START OF SCRIPT #!/bin/pvpython try: paraview.simple except: from paraview.simple import * Nstep = 500 zEnd= 25 def velZaxis(filename): W = list(0 for i in range(0,Nstep)) z = list(0.0 for i in range(0,Nstep)) NS_quad_vtk = OpenDataFile(filename) PlotOverLine1 = PlotOverLine( Source=High Resolution Line Source ) PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] PlotOverLine1.Source.Point2 = [0.0, 0.0, zEnd] PlotOverLine1.Source.Resolution = Nstep for i in range (0,Nstep): z[i] = i*(zEnd/float(Nstep)) W[i]=servermanager.Fetch(PlotOverLine1,0).GetPointData().GetArray(U+V+W).GetTuple3(i)[2] return z, W ==END OF SCRIPT Now, I was wondering if someone could give me some tips on how to set the value of zEnd based on the actual maximum value in the geometry, instead of using a fixed value. Is there any recommended way to obtain this information? Thanks *Félix Salazar**felix.sala...@polymtl.ca felix.sala...@polymtl.ca* Étudiant au doctorat - PhD Student *École Polytechnique de Montréal* ___ 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] 4.3.1 warnings
This was not a debug build. It’s a standard CTH-11.0 generated dataset …. Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: Scott, Alan Scott wasc...@sandia.govmailto:wasc...@sandia.gov Date: Monday, May 4, 2015 at 2:18 PM To: Rick Angelini richard.c.angelini@mail.milmailto:richard.c.angelini@mail.mil, paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: RE: [EXTERNAL] [Paraview] 4.3.1 warnings Rick, If this is a debug build, it is to be expected. Two issues – one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview@paraview.orgmailto:paraview@paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 ___ 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