# Questions tagged [vtk]

For questions about using the Visualization ToolKit (VTK) program

23 questions
Filter by
Sorted by
Tagged with
191 views

### Computation of the tensor of curvature on surface mesh

Is there a formula which enables the computation the tensor of curvature knowing the following at each vertex and cell of a triangulated mesh: Normal vector Two arbitrary vectors in the tangent space ...
27 views

### Plot scalar and vectorial solution constant on each CELL=square in paraview/vtk

I have the velocity (vector) and pressure (scalar). This solution is constant in each CELL (square) of the mesh. I don't know why does not appear the pressure information when I open the file in ...
• 503
23 views

### Plot a function (constant on each square=CELL) in paraview using vtk file

I'm trying to plot the solution of a numerical method using a vtk file in paraview. The structure is very simple, and I going to explain with an example. I have a mesh of the unit square [0,1]x[0,1] ...
• 503
1 vote
394 views

### vtk python visualizing scalar data on quad mesh

I'd like to visualize scalar data located on the nodes of a quad mesh (2D) using VTK in Python3. The closest example I've found is vtk quad mesh, but it only seems to visualize the mesh, not data on ...
• 428
1 vote
98 views

### Understanding STRUCTURED_POINTS dataset in VTK

Based on my readings this is what I have gathered: Dimensions: Number of data points in the x, y, z directions Spacing: Space between points in each dimension Origin: Location of origin Cell data: ...
• 23
134 views

### Extracting data from VTK simulations using C++

I have been given a few numerical simulations regarding fluid mixing and have been asked to extract a few parameters from them using C++. Altogether there are about 1000 VTK files per simulation, and ...
• 23
1 vote
629 views

### Reading VTK file into C++ for analysis

I apologize in advance if this post is at all ignorant or elementary, I am a pure mathematician who is newly getting into the world of scientific computing. For my research, my advisor would like me ...
• 23
843 views

### Gmsh: Recombine 2D in script file or command line

I have many STL files and I want to reduce their size, so I use Gmsh in this way: gmsh -2 -bin -format vtk -o file.vtk file.stl -0 It reduces the size from 7 MB ...
• 1
468 views

I want to see tetrahedron volumes generated from STL meshes in ParaView (5.5.2). From a given STL (simple cube, for example), I can generate a volume mesh using gmsh, and export it as .vtk ...
• 111
1 vote
94 views

### How to measure euclidean distance between points with vtkDelaunay3D package? [closed]

I'm working with python vtkDelaunay3D package for a special purpose. I have set some points but I do not know how can I measure euclidean distance between points with this package. Is there anyone who ...
• 111
2k views

### Volume rendering 3D VTK *.vtu UnstructuredGrid file in Paraview

I would like to volumetrically render 3D scalar data in Paraview, and I'm not sure if my inability to do so is incorrect usage of VTK or Paraview. I have built a *.vtu VTK unstructured grid file ...
• 642
970 views

### How do I migrate from Legacy VTK (Structured Points) to XML (Structured Grid)?

The documentation is fairly confusing and I know that I need to keep track of the actual grid location of my data. Writing a python script to convert binary data into this vtk format. I want to leave ...
1 vote
216 views

### Viewing HDG FEM edge variables in vtk / paraview

For a 2D HDG code, I would like to be able to visualize the solution on the edge space between elements. Basically, this amounts to plotting the solution on the "green" nodes below. Is there a ...
• 642
397 views

### 15 noded triangular elements in paraview

I am modelling a soil medium in plane strain and would like to determine if paraview supports the 15-noded triangular element as shown on this link. On the documentation I am only seeing elements up ...
• 241
1 vote
154 views

### VTK: Missing Streamlines due to error in Runge-Kutta method?

We are using Kitware VTK to visualize our models. When we display streamlines, it sometimes happens that a single streamline is left out. This can be especially seen when duplicating a model several ...
3k views

### How do you generate data for VTK?

I'm currently developing a simulation and I intend to use VTK for visualisation. Furthermore, I fell a bit stupid right now, as I do not find a good example on how to generate the data for VTK. There ...
• 1,443
1k views

### What determines the usual chemistry textbook plots of atom orbitals?

In elementary chemistry textbooks you often have pictures like the following one: Are there any conventions how to get them? I am not sure, but I guess that it are contour plots with only one iso-...
• 231
1 vote
623 views

### best package choice for visualizing agent based model simulations in python

This is a visualization/programming design problem. I am working on building a geospatial agent based model, meaning that there are multiple agents interacting within some particular spatial container....
• 255
1 vote
727 views

### Visualizing the difference of two sets of VTK files

I have two sets of 300 VTK files and I want to get a graph comparing the average difference of the two sets. All files have a structured grid containing a scalar value named phi. At the end, I need a ...
• 13
1 vote
874 views

### VTK File: How do I save data on a cell face?

I am writing a program that creates a vtk file with a Rectilinear Grid. I am able to save data to each one of the cells using CELL_DATA, but now, I need to save data to each one of the cell faces (x6)....
• 21
17k views

### How do I calculate the numerical difference between two fields stored in two different VTK files with the same structure?

Suppose I have two VTK files, both in structured grid format. The structured grids are the same (they have the same list of points, in the same order), and there is a field, call it "Phi", in each VTK ...
• 29.8k