paraview Questions
2
I have a sequence of legacy VTK files, e.g.: file_0.vtk, file_1.vtk, file_2.vtk, which I can open in ParaView as a time series (described here) as file_..vtk, and the sequence of files can be viewe...
Mincey asked 18/11, 2015 at 4:2
2
I'm aware that you can add readers for different datafile types to paraview, however, that all talks about doing a bunch of VTK stuff in c++ and (maybe worse) re-compiling paraview to make it aware...
1
Solved
I installed OpenFOAM on Ubuntu (which is itself on WSL Windows Subsystem for Linux).
I have a problem when trying to launch paraFoam and I have this error :
Invalid $PV_PLUGIN_PATH and -plugin-path...
1
Closest related question is this one: In Ipython, how can I pass arguments to a cell as though it were its own script?
I am writing an ipython notebook to make simulations and then create an anima...
2
I have a VTK file (unstructured grid) with points and cells.
I can import the file and read it into using the meshio python package.
If I type the command mesh.cells I see a dictionary called 'hexa...
Uribe asked 31/5, 2019 at 20:5
1
For example, I generate the data with:
i=0; while [ "$i" -lt 10 ]; do echo "$i,$((2*i)),$((4*i))"; i=$((i+1)); done > main.csv
which contains:
0,0,0
1,2,4
2,4,8
3,6,12
4,8,16
5,10,20
6,12,24...
Taxiway asked 1/5, 2019 at 7:57
5
Solved
For those that want to export a simple 3D numpy array (along with axes) to a .vtk (or .vtr) file for post-processing and display in Paraview or Mayavi there's a little module called PyEVTK that doe...
1
Solved
I am trying to use paraview to plot a xy plot. The plot I want is just a linear relationship between x and y. So I import my data file (data.csv) into paraview. My data is shown below:
X Y
0 0
1 1...
Halfmoon asked 2/3, 2019 at 19:59
0
I am trying to run a simple code for paraview from jupyter notebook as following:
from paraview.simple import *
cone = Cone()
Show(cone)
Render()
But this gives me an error
ERROR:In/home/con...
1
For a Lattice Boltzmann simulation of a lid-driven cavity (CFD) I'm decomposing my cubic domain into (also cubic) 8 subdomains, which are computed independently by 8 ranks. Each MPI rank is produci...
Woolsack asked 9/6, 2014 at 15:22
1
I have a general question as to how paraview reads a ASCII UNSTRUCTURED_GRID.
Does it sort through the cells and then points? or points then cells?
1
Solved
I'm currently trying to convert given Cartesian coordinates (x,y,z) to spherical coordinates (r, theta, phi) using the ParaView Calculator-Filter, where theta is the polar angle and phi the azimuth...
1
Performance-wise, the following code snippet works perfectly fine for me when plotting in mayavi.
import numpy as np
from mayavi import mlab
n = 5000
x = np.random.rand(n)
y = np.random.rand(n)
z...
Graduate asked 15/8, 2016 at 19:49
1
I have a scalar field in a 3D domain (fortunately it can be represented in a structured grid). However, one axis domain is considerably larger than the other two.
For sake of clarity, my 'vts' fil...
2
The default 3D rotation mode is a kind of rollerball mode. Is it possible to interactively rotate about a given axis (say x, y or z axis), instead? I see you can do it by typing numbers into the vi...
Employee asked 28/3, 2014 at 0:37
2
Solved
I would like to automate exporting csv files from vtk/vtu files.
Right now, the steps I take are:
open paraview
load in the pvd file that stores the information about all vtu files (one for eac...
1
I need to add my own, self made qt gui in paraview. I heard about paraview plugins that should allow that. But I do not find a tutorial on it. How can I add buttons, checkboxes, comboboxes in Parav...
Lavinialavinie asked 9/7, 2012 at 7:46
1
© 2022 - 2024 — McMap. All rights reserved.