Questions tagged [paraview]

ParaView is an open-source, multi-platform data analysis and visualization application.

ParaView is an open-source, multi-platform data analysis and visualization application. ParaView users can quickly build visualizations to analyze their data using qualitative and quantitative techniques. The data exploration can be done interactively in 3D or programmatically using ParaView’s batch processing capabilities.

ParaView was developed to analyze extremely large datasets using distributed memory computing resources. It can be run on supercomputers to analyze datasets of exascale size as well as on laptops for smaller data.

It uses as the visualization engine.

586 questions
2
votes
1 answer

Cannot connect to X server using docker on OSX

I am trying to install openFoam on Mac OS X 10.10.5 (http://www.openfoam.com/download/install-binary.php) by using Docker-toolbox. I can do without problems all the suggested steps, but then, when I try to run the example included in the…
Marco
  • 45
  • 1
  • 4
2
votes
3 answers

how to output an array from python to be shown by paraview

I have a 2d array of my coordinates, and at each coordinate I have values for pressure at that point. I want to export my data and set of coordinates in a way that I can later on open them in techplot or paraview. I have read a lot on vtk but could…
Soyol
  • 763
  • 2
  • 10
  • 29
2
votes
1 answer

Python scripting for ParaView: Colorbar placement

Is there any way to arbitrarily place a colorbar? Take for instance the following Python code into ParaView's shell: #### import the simple module from the paraview from paraview.simple import * #### disable automatic camera reset on…
pysolver
  • 525
  • 6
  • 17
2
votes
1 answer

binary vtk for Rectilinear_grid from fortran code can not worked by paraview

I used the code posted from stackoverflow and modified it as: program VTKBinary implicit none real*4 :: x(2) = (0., 1.) real*4 :: y(2) = (0., 1.) real*4 :: z(2) = (0., 1.) character :: buffer*80, lf*1, str1*8, str2*8, str3*8 integer ::…
Cfdfan
  • 23
  • 2
2
votes
1 answer

VTK - Volume Rendering from a Rectilinear Grid

I'm developing a C++ application that uses VTK for some visualization. I need to read a .vtr file (RectilinearGrid) and render it using VTK volume rendering features.I tried to do that with Paraview and it was VERY easy, I just had to apply a…
Oneiros
  • 4,328
  • 6
  • 40
  • 69
2
votes
1 answer

Paraview. How to create an additional vector with {Field 4, Field 5, Field 6}

I really try to know: How to create an additional vector (different of position) with {Field 4, Field 5, Field 6}? I mean, how can I create a vector from 3 csv file's specific float columns In order to do that: First I read my csv file. After I…
Bruce_Warrior
  • 1,161
  • 2
  • 14
  • 24
2
votes
1 answer

How to get IDs of selected cells in VTK python

I work on Programmable Filter which should change values of selected cells. How can I get IDs of selected cells to apply filter on them? from paraview import vtk pdi = self.GetPolyDataInput() numCells = pdi.GetNumberOfCells() for i in…
Andrew
  • 958
  • 13
  • 25
2
votes
2 answers

paraview python script : Delete(renderView1) does not free memory

I am trying to load multiple state files by running a python script with python shell. The script is the following #### import the simple module from the paraview from paraview.simple import * for time in range(0,200): renderView1 =…
Raj
  • 333
  • 1
  • 3
  • 11
2
votes
1 answer

Binary VTK for RECTILINEAR_GRID from fortran code

I am having a fortran code to generate a grid in binary VTK format. This code produces a binary VTK file like this one: # vtk DataFile Version 3.0 vtk output BINARY DATASET RECTILINEAR_GRID DIMENSIONS 2 2 1 X_COORDINATES 2 …
AlphaBeta
  • 33
  • 1
  • 8
2
votes
1 answer

Overlay a line plot on a 3D volume in Paraview

I want to visualise a line plot (extracted from a plot over line filter along the 'surface' of a model) over the line from which its data was extracted. The Plot Over Line filter allows colouring of the line by a data value, and minor…
a different ben
  • 3,900
  • 6
  • 35
  • 45
2
votes
3 answers

writing plotOverline csv data from paraview for all time steps with python script

I am trying to extract the data (as csv) from a line for all the time steps with the PlotOverLine filter in Paraview. In the GUI, I load the foam file, use the PlotOverLine filter and save the spread sheet view as csv file and click the next button…
Thangam
  • 169
  • 3
  • 11
2
votes
1 answer

How to write a paraview python programmable source that makes a multiblockDataset?

I'm trying to write a python programmable source in Paraview that will create a vtkMultiBlockDataSet. I see that my python script in the programmable source gets a symbol called output which is of type…
Adam
  • 153
  • 9
2
votes
1 answer

Add scalars to vtk file (vtk 3.0 legacy) in Python

I am trying to add a calculated scalar to an existing VTK file. A simplified version of my code is the following import vtk import os import numpy as np reader = vtk.vtkDataSetReader() …
Rojj
  • 1,170
  • 1
  • 12
  • 32
2
votes
1 answer

Extracting data in Python script from Paraview 4.2

I'm trying to extract data from a slice in a Python script using Paraview 4.2. I have something like this: from paraview.numpy_support import vtk_to_numpy from paraview.simple import * import os os.environ["DISPLAY"] =…
OlympusMonds
  • 138
  • 1
  • 7
2
votes
2 answers

How to convert vtk legacy files to vtu format

I want to convert legacy .vtk files into binary files, preferably .vtu files, because I am using an Unstructured Grid. To do so I adapted the ConvertFile-Example from http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ConvertFile #include #include…
phirus
  • 59
  • 1
  • 7