Re: [Paraview] post-process of CFL3D result with surfaces in paraview?

2017-11-30 Thread kenichiro yoshimi
Hi Cheng, You can specify the i-j-k min/max indices in a structured grid dataset to extract curviliner grid as wall using the vtkExtractGrid filter through Programmable. Specifically, after adding Programmable Filter and Changing the output type to vtkPolyDatat, there is something like the

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,

Re: [Paraview] surface construction with holes

2017-11-14 Thread kenichiro yoshimi
Hi Ufuk, vtkSurfaceReconstructionFilter with programmable filter detects holes in your data although they are somewhat inaccurate. As Ken mentioned, it would fail for other shapes with holes. But I think it is a little funny approach. import vtk pdi = self.GetInput() pdo = self.GetOutput()

Re: [Paraview] Changing line width or edge color with a filter

2017-10-16 Thread kenichiro yoshimi
Hi There may not be a filter to control them. But such options are found by clicking the advanced button (little gear icon) on the Properties tab: --- line width: Properties tab > Styling > Line width Edge Color: Properties tab > Edge Styling > Edge Color --- Regards 2017-10-17 0:28 GMT+09:00

Re: [Paraview] Volume average along 1-dimension

2017-10-05 Thread kenichiro yoshimi
Hi ashton, Perhaps the python programmable filter is needed for a 1D average you want to achieve. I have attached a state file as a similar example that firstly generates the cross sections along the z-axis by cutting a volume and then calculates the averages on them respectively. I hope this

Re: [Paraview] Changing default setting for cylinder filter

2017-10-01 Thread kenichiro yoshimi
Hi, Unfortunately vtkCylinderSource class doesn't seem to allow you to change default settings for the axis direction. Hence you should apply the transform filter after creating a cylinder. Thanks 2017-10-01 15:00 GMT+09:00 Muhammad Kashif Saeed : > Hi everyone, > I

Re: [Paraview] Compiling ParaView for Windows x64 Release

2017-08-26 Thread kenichiro yoshimi
Hi Nick, You need to put the missing Qt DLLs in the same directory as paraview.exe built as "Release". Note that it seems to be difficult to know the missing DLLs' names since some of them are not displayed directly as warning messages. Probably the following DLLs may be missing: --

Re: [Paraview] An exported csv file is bad

2017-08-05 Thread kenichiro yoshimi
Hi Wink, This problem has already been reported as a bug. https://gitlab.kitware.com/paraview/paraview/issues/17169 https://gitlab.kitware.com/paraview/paraview/issues/17203 Thanks 2017-08-04 5:26 GMT+09:00 Wink Saville : > In this directory is a simulation of a left femur I

Re: [Paraview] Bug in PLOT3D meta reader

2017-08-01 Thread kenichiro yoshimi
Hello Eric, If the number of blocks in dataset decreases over time steps then vtkMultiBlockPLOT3DReader seems to fail to count it. For your information, I tried commenting out the line 822 in ParaView-v5.4.0/VTK/IO/Parallel/vtkMultiBlockPLOT3DReader.cxx and this worked with your data. - if

Re: [Paraview] Opacity transfer function in pvpython

2017-07-22 Thread kenichiro yoshimi
Hi Ross, Specifying representation.ScalarOpacityFunction via the same piecewise function may be also needed: representation.ScalarOpacityFunction = CreatePiecewiseFunction(Points=[0.0, 0.0, 0.5, 0.0, 1.0, 1.0, 0.5, 0.0]) Thanks, yoshimi 2017-07-21 19:14 GMT+09:00 Ross Gardiner

Re: [Paraview] Extract by ID

2017-07-19 Thread kenichiro yoshimi
Hi bastil, This can be achieved through running a query (Edit > Find Data) on your data using the criteria "is one of" where you can specify multiple separated cell ids by a comma(,). After selecting the cells the Extract Selection filter will extract a set of them. Thanks, yoshimi 2017-07-20

Re: [Paraview] Clever way to identify a ring of element?

2017-06-20 Thread kenichiro yoshimi
Hello Dennis, To apply the slice filter to a doughnut polygon creates line segments obtained by intersecting it with section planes. And then to apply the connectivity filter to the result gives curve rings consisting of consecutive line segments and each of rings is assigned a RegionId. You can

Re: [Paraview] VTU files for multi-body FEA models.

2017-06-09 Thread kenichiro yoshimi
Hi Jesse, Usually vtkMultiBlockDataSet is used so as to store multi-body datasets and the corresponding file format is a VTK vtkMultiBlockDataSet format (.vtm). But in time development model such as your case, you'd better use a ParaView Data format (.pvd) because vtm can't handle time

Re: [Paraview] Paraview freezes without any error message

2017-06-06 Thread kenichiro yoshimi
Hi Tanja, This freezing problem with 5.2.0 comes from the last line having no newline in example.vtk. Could you try to add a new line to the last line or try the recently released 5.4.0. Thanks, 2017-06-07 4:01 GMT+09:00 Tanja Gerasimenko : > Hello! > > I'm using Paraview

Re: [Paraview] Overriding the maximal cylinder source resolution

2017-05-29 Thread kenichiro yoshimi
Hi Tomislav, I find restriction on the resolution number of a cyliner source in vtkCylinderSource.h, that is: vtkSetClampMacro(Resolution,int,2,VTK_CELL_SIZE). This macro amounts to saying that the resolution is restricted to a range between 2 and VTK_CELL_SIZE(=512). Hence, I think it

Re: [Paraview] Extracting min/max values of current data range as a variable in python

2017-04-11 Thread kenichiro yoshimi
Hi, I also want to know if there is a simple way to do, since I only have the somewhat redundant code: --- source = GetActiveSource() #options for component: -1, 0, 1 and 2 => Mag, X, Y, Z component = -1 cdi = source.GetDataInformation().GetCompositeDataInformation() for i in

Re: [Paraview] Difference between two Exodus II files

2017-03-24 Thread kenichiro yoshimi
Hi, One solution is to call programmable filter from your python program. I haven't tried Exodus II format, but the below is working: readers = [] readers.append(OpenDataFile(PATH + 'aaa.vtp')) readers.append(OpenDataFile(PATH + 'bbb.vtp')) programmable = ProgrammableFilter(Input=readers)

Re: [Paraview] Unable to open .dat file in paraview

2017-03-09 Thread kenichiro yoshimi
Hi Brennen, This is not the error message but the warning. If dat file does not exist in the same directory as the cas, the reader is working correctly. Otherwise dat file name may be different from the cas file because vtkFLUENTReader uses the exactly the same name for both cas and dat files.

Re: [Paraview] Issues viewing PV5.0.0 Filters/Alphabetical submenu

2017-02-28 Thread kenichiro yoshimi
Hi, Has this issue been resolved? I think that this might be caused by a bug in Qt 4.8.6: https://bugreports.qt.io/browse/QTBUG-54921 Regards, yoshimi 2016-01-21 18:40 GMT+09:00 Fuerntratt, Hermann : > Hi, > I have built ParaView 5.0.0 > in VS2013, 64 bit >

Re: [Paraview] Coloring with vtkBlockColors

2017-02-27 Thread kenichiro yoshimi
Hi, In order to color blocks by "vtkBlockColors", I just need to call SetScalarColoring() like below: vtkSMPVRepresentationProxy::SetScalarColoring(repr->getProxy(), "vtkBlockColors", vtkDataObject::FIELD); This may work even if "vtkBlockColors" array info is not contained in

[Paraview] Coloring with vtkBlockColors

2017-02-23 Thread kenichiro yoshimi
Hello all, I have a question over making a ParaView plugin. I try to set coloring with "vtkBlockColors" for a multi-block data set by conventional method: - vtkPVDataSetAttributesInformation* attrInfo = dataInfo->GetFieldDataInformation(); vtkPVArrayInformation* arrayInfo =

Re: [Paraview] [EXTERNAL] Re: Create animation and center geometry

2016-09-27 Thread kenichiro yoshimi
, Ryan Dale <rdja...@sandia.gov>: > Yoshimi, > > Thanks for the script! This does exactly what I was wanting to do. > > One further question, where in the script can I define the size of the images > to save? > > Best, Ryan > >> On Sep 26, 2016, at 10:40 PM, ken

Re: [Paraview] Create animation and center geometry

2016-09-26 Thread kenichiro yoshimi
Hi, Ryan You try the script as follows from [Tools]-[Python Shell] after reading datasets into ParaView. -save_screenshots.py- from paraview.simple import * # Change 10 to the amount of timesteps for num in range(0,10): print 'Save screenshot ' + str(num) renderView1 =

[Paraview] Question mark button launches a blank window with 5.1.0

2016-06-24 Thread kenichiro yoshimi
Hi all, I use ParaView 5.1.0 version installed from a binary file ParaView-5.1.0-Qt4-OpenGL2-Windows-64bit.exe. Unfortunately, this version's "ParaView Online Help" launched by clicking on Question mark button is not available because the opened window is blank. This problem did not occur with

[Paraview] Inconsistent new view with the defalut

2015-11-24 Thread kenichiro yoshimi
Hi Everyone, I am using 5.0.0-RC1 64-bit on Windows. I save the parallel projection setting as default: - Toggle the advanced properties. - Open view (Render view). - Check "Camera Parallel Projection". - Click on the save button shows "Save current view settings values as default". After

Re: [Paraview] Glyph for normalized zero vectors

2015-07-28 Thread kenichiro yoshimi
the glyph filter to get rid of the zero-magnitude glyphs. HTH, Cory On Tue, Jul 28, 2015 at 8:46 AM, Gaspare Argento gaspare.arge...@gmail.com wrote: Hi all, I have the same problem. Any tips could help. Thanks, Gaspare 2015-07-28 4:06 GMT+02:00 kenichiro yoshimi rccm.kyosh...@gmail.com

[Paraview] Glyph for normalized zero vectors

2015-07-26 Thread kenichiro yoshimi
Hi all, I apply the Glyph filter to the velocity field with zero vectors at the walls. At that time, to plot the normalized vectors, I set the Scale Mode property to off. But Glyph filter is drawing arrows oriented along (1, 0, 0) for zero vectors. Do you have any idea that I could plot

[Paraview] Trouble Mapping Data

2014-02-24 Thread kenichiro yoshimi
Dear all, In Color Map Editor panel, Mapping Data window fails to display the mapping when I am trying to load data including scalars larger than 1.0e+11 with ParaView 4.1.0. However, with ParaView 3.98 and earlier, there is no problem. Any help is greatly appreciated. Kind Regards, yoshimi

Re: [Paraview] Merging very close Points

2013-09-02 Thread kenichiro yoshimi
. But in order to be able to use said plugin you would need to compile ParaView from source. Not sure whether you would want to go to such lengths. Sven kenichiro yoshimi wrote, On 02.09.2013 07:47: Hi all, I want to merge the very close (or coincident) points in PV. For instance

[Paraview] Merging very close Points

2013-09-01 Thread kenichiro yoshimi
Hi all, I want to merge the very close (or coincident) points in PV. For instance, there are very close two points and one point apart from them, i.e., an ASCII VTK File: -- vtk output ASCII DATASET UNSTRUCTURED_GRID POINTS 3 float 1 1 1 0 0 0 0 0 1e-014 CELLS 3 6 1 0 1 1 1 2 CELL_TYPES 3

[Paraview] I cannot get fortran ensight gold files to work

2012-12-07 Thread kenichiro yoshimi
Hi Ryan, If you set C Binary in EnSight Gold header, you must open the file in Fortran code with form='BINARY' instead of form='UNFORMATTED'. I think the problem is whether there are BYTE COUNT or not. Yoshimi ___ Powered by www.kitware.com Visit

Re: [Paraview] Unable to write out EnSight format with VTK_POLYHEDRON

2011-12-08 Thread kenichiro yoshimi
. On Thu, Dec 1, 2011 at 9:23 PM, kenichiro yoshimi rccm.kyosh...@gmail.com wrote: Hello, I tried to save data including VTK_POLYHEDRON meshes through Save Data with EnSight format, but the polyhedrons couldn't be written. Probably, the reason is that vtkEnSightWriter doesn't support

[Paraview] Unable to write out EnSight format with VTK_POLYHEDRON

2011-12-01 Thread kenichiro yoshimi
Hello, I tried to save data including VTK_POLYHEDRON meshes through Save Data with EnSight format, but the polyhedrons couldn't be written. Probably, the reason is that vtkEnSightWriter doesn't support VTK_POLYHEDRON. In my case, I change the following and work well: 1. replace all

[Paraview] ParaView-3.12.0-Win64-x86.exe for Win32?

2011-11-10 Thread kenichiro yoshimi
Hi, I tried to install the 3.12 for Win64 using ParaView-3.12.0-Win64-x86.exe, but it says Version 3.12.0 32-bit. Is there a Win64-bit executable for the Windows 64 bit machine? Thanks, yoshimi ___ Powered by www.kitware.com Visit other Kitware

[Paraview] Is there a way to clip with capping in ParaView?

2011-10-27 Thread kenichiro yoshimi
Hello, It is very useful to clip any object in the ParaView. But, it would be more useful if an option was available so that the user could cap a clipped polydata with a polygon, like a VTK Example: (http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/CapClip). Is there a way (or a feature) to clip

[Paraview] Plot3D reader with Function file

2011-01-14 Thread kenichiro yoshimi
When A file reader has more than one type of solution file (e.g. PLOT3D Solution (.q) file and PLOT3D Function (.f) file), how do I apply the way Animating legacy VTK file series (http://www.vtk.org/Wiki/Animating_legacy_VTK_file_series) to all types? For now, I can only do single type at one

[Paraview] Plot3D reader with Function file

2011-01-12 Thread kenichiro yoshimi
Hi, I need to read time series data with Plot3D Function format. ParaView uses a vtkMulitBlockPLOT3DReader to read Plot3D files, but it does not support Function file. So I modified this source to read them referring to a vtkPLOT3DReader which supports Function format. After that, I confirmed

Re: [Paraview] Rescale to Data Range fails

2010-06-28 Thread kenichiro yoshimi
in the ~/.config/ParaView/ directory.  If you rename/remove the files in that directory the problem should go away (those files will be regenerated the next time you run paraview without the -dr flag).  Let me know if that doesn't work. Andy On Sun, Jun 27, 2010 at 10:15 PM, kenichiro yoshimi

Re: [Paraview] Rescale to Data Range fails

2010-06-27 Thread kenichiro yoshimi
as follows and see if the problem goes away? ./paraview -dr Utkarsh On Fri, Jun 25, 2010 at 2:39 AM, kenichiro yoshimi rccm.kyosh...@gmail.com wrote: Hi all, I just tried the following using ParaView 3.8.0:  1. Sources-Wavelet-Apply  2. Object Inspector: Dispaly tab-Representation

[Paraview] Rescale to Data Range fails

2010-06-25 Thread kenichiro yoshimi
Hi all, I just tried the following using ParaView 3.8.0: 1. Sources-Wavelet-Apply 2. Object Inspector: Dispaly tab-Representation: Wireframe - Color by: RTData But Data Range displays [0, 1] inspite of [37.3531, 276.829] and Rescale to Data Range button does't work. Is this a ParaView bug?