Questions tagged [vtk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
29 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: ...
0
votes
1answer
61 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 ...
1
vote
1answer
63 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 ...
19
votes
3answers
13k views

Binary vs. ASCII file size

I need to write some data from a computation, that will be read later by Paraview (.vtu or vtk file). When it comes to file size , should I go for the ASCII format or the Binary format ?
4
votes
1answer
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-...
0
votes
1answer
275 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 ...
0
votes
2answers
255 views

Loading VTK tetrahedron volumes into ParaView

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 ...
3
votes
2answers
675 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
0answers
91 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
198 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 ...
2
votes
1answer
295 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 ...
1
vote
1answer
128 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 ...
2
votes
2answers
2k 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
vote
0answers
573 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....
1
vote
1answer
609 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 ...
1
vote
1answer
743 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)....
4
votes
2answers
2k views

VTK file format to image file

Is there a way to convert vtk file without visualizing into a image file such as png in the bash terminal itself? I have found that for the vtk files that I visualize to take longer time than its ...
15
votes
4answers
14k 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 ...