Questions tagged [paraview]
Paraview is an open source scientific visualization application which can import, read, analyse and post-process a wide range of file types.
46 questions
1
vote
1
answer
63
views
Diplay smooth functions in paraview
I am working on an interpolation problem with a domain in R^2 and values in R. Essentially, I have a rectilinear grid with target values for each point. I have fitted a function against these values, ...
1
vote
1
answer
113
views
How can I make the color range symmetric around zero in Paraview?
I often use diverging colormaps (like the Paraview default "cool-to-warm") with a color range that is symmetric around zero, e.g. to visualize areas of tensile (red) and compressive (blue) ...
0
votes
0
answers
213
views
snappyHexMesh not meshing correct region
I created a simple model of cylindrical container to perform heat transfer simulation using FreeCAD for CAD modelling. I exported the model in stl format along with domain boundaries and faces. I have ...
0
votes
1
answer
612
views
How to draw a vertical line in Paraview Line Chart
I would like to insert a series of vertical lines to divide up a line chart. The figure below shows the chart so far, but instead of the orange diamonds I want vertical lines that go from top to ...
0
votes
1
answer
398
views
deal.ii - ParaView "warp by scalar" of my output is not continuous
During our finite element course, we've solved the linear elasticity problem in 2D on a square (GridGenerator::hyper_cube) with $Q_1$ bilinear finite elements in ...
0
votes
1
answer
36
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 ...
0
votes
0
answers
51
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] ...
1
vote
1
answer
585
views
Vector format export for screenshots
How to best export Scene/Screenshot in Paraview as a vector graphic?
It seems PDF and PS export are not working really good for me (Paraview 5.3/5.5/5.8), either the scene is cropped at the borders or ...
0
votes
0
answers
40
views
Save font selection for plots in Paraview
I adjusted plotting fonts in a Paraview scene, saved as .pvsm file, and loaded it in a different Paraview version. The fonts changed. Can this be avoided? Also ...
0
votes
2
answers
227
views
Convert seconds [s] to milliseconds [ms] in Paraview "Plot Selection over Time"
After composing my Paraview scene, I realised that I need to represent the units in a "Plot Selection Over Time" filter instead of seconds in milliseconds. How can one accomplish this?
1
vote
1
answer
217
views
Region of interest in Paraview
I am struggling with this:
In a render view in Paraview, is it possible to draw a square or rectangle around the region of interest and have this as a close up render view in another window then being ...
0
votes
0
answers
719
views
How to calculate the average velocity over a surface through time using paraview?
My problem is a little more complex, but here is a simplified similar model.
Let us consider a fire source inside a box and the hot gases (burnt or unburnt) from the combustion are going out of the ...
0
votes
1
answer
250
views
Getting streamline for a lid driven cavity flow in openFoam/ParaView
I have installed openFoam on Debian GNU/Linux and learning from official user guide. I have a problem with generating streamlines. I am trying to generate streamlines as explained in the post ...
1
vote
0
answers
61
views
Stress visualization for structured and unstrcutured mesh
I put together a FEM solver to do some structural analysis. At the moment I am trying to add stress visualization feature to my code. The post-processing is done with Paraview and the results with ...
4
votes
0
answers
488
views
Why wall shear stress calculated from LBM directly and the one calculated based on velocity profile are so different in some cases?
First of all, I hope you accept my apologizes if my question seems off topic here. But, I asked this question in ParaView forum and after a week still I did not receive any response yet, so I'm ...
1
vote
0
answers
41
views
Get interpolated values in user defined 2D grid Paraview
I have a 2D flow and would like to obtain the value of certain scalar field in a set of points forming a regular mesh. These points should not coincide with the nodes of the actual mesh used in the ...
1
vote
0
answers
113
views
3D log density plot in ParaView
I have a .csv file of thousands of (x,y,z) point particles that I would like to visualize in ParaView. I am able to plot a 3D scatterplot using the TableToPoints, and by decreasing point opacity I can ...
3
votes
2
answers
2k
views
Electromagnetism FEM (FEniCS) interpolation - leakage effect
As for the background of what is going on:
I'm using FEniCS that is dedicated FEM solver
The problem I'm solving is magnetostatic problem where the governing PDE is $$ \bf{\nabla} \times \frac{1}{\mu}...
1
vote
0
answers
201
views
Properly sizing ParaView plots for LaTeX [closed]
I would like to make a visualization with ParaView for a paper. In order to have a high quality look, I would like the image to be, say, 300 dpi (or vector graphics). Moreover, since I know the column ...
4
votes
1
answer
959
views
Visualization of 3D streamlines in ParaView
Essentially I want to use paraview to recreate a flow visualization like the one shown in the picture above. I am able to create the 3d flow lines using a pipeline that looks like
...
1
vote
0
answers
655
views
Computing a Flux Integral in Paraview
I am currently looking into post-processing of simulation data using Paraview. I would like to compute certain integrals of field quantities. As an example, consider the following surface integral of ...
0
votes
2
answers
624
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 ...
2
votes
0
answers
513
views
Showing date in Paraview's Annotate Time Filter
I have a time dependent data set where each frame corresponds to a certain date. I need to show the time annotation, much like what Annotate Time Filter does, but show the date instead of time as a ...
1
vote
1
answer
607
views
Recreating this 3D density plot in ParaView
I want to do somethings similar to the plot found at the bottom of this blogpost, which I found via this post in ParaView, which seems to have been the original Application used to generate the plot.
...
1
vote
1
answer
1k
views
C++ library unstructured mesh writer to VTK format (or similar)
I am working on a 2D unstructured code in C++. I am using gmsh to generate a 2D unstructured mesh and reading it into my program with a library called ...
0
votes
1
answer
249
views
Code to output VTK point data from decomposed domain for Paraview [closed]
I am developing a parallel 2D CFD code in C++ using PETSc and would like to use it as an opportunity to learn about VTK/Paraview. Right now, I have each processor output an ASCII file for the portion ...
0
votes
0
answers
89
views
Reconstruction of cells information when given mesh in polyMesh format [duplicate]
The polyMesh format used in OpenFOAM is an intelligent format for which 'cells' file, i.e. the file giving list of nodes that make a cell, is not needed. The way to reconstruct geometry data such as ...
2
votes
1
answer
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 ...
1
vote
0
answers
2k
views
3D visualization of the results of a 2D simulation in COMSOL
Considering that COMSOL forum is dead and CFD-online is not responsive, I'm gonna try asking my question here:
I have done a 2D simulation in COMSOL multiphysics. I have two independent variables x ...
1
vote
0
answers
510
views
Color legend location in eps files, exported from paraview v5.4 [closed]
I am getting this strange error with paraview 5.4.
For example, if I load one of the example visualisations:
and if I export it as eps or pdf, then the color legend is place in the bottom left ...
1
vote
1
answer
282
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 ...
1
vote
1
answer
3k
views
Rescaling x-axis data in Paraview
I am working with VTK legacy files containing vector information. The files have incremental extension representing a file series as defined by this link.
When applying the filter "Plot Selection ...
2
votes
1
answer
456
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
1
answer
304
views
Generate paraview plot of an ensight .case without launching the paraview gui
Disclaimer : This question is related to computational science, but it is a purely a post-processing question so if this is on the wrong board, please tell me
I would like to postprocess simulation ...
0
votes
1
answer
104
views
Regarding solution vector of the wave equation
I am simulating the wave equation using FEM. For a 2D wave equation, when I visualise my output in Paraview, I see a separate solution in 'x' and 'y' direction for each node on the mesh. Therefore, if ...
1
vote
2
answers
2k
views
"Elevation" plot of a 2D plot - paraview vtk
I have a usual vtk file with a mesh of triangles and a scalar velocity.
I want to obtain this type of plots:
something like an "elevation", but in paraview I just had obtained plane plots like
How ...
2
votes
1
answer
78
views
Using physical parameter as a Gaussian random variable in a simple Poisson problem
I want to vary the input parameter of a physical dynamic mechanics problem, as a Gaussian Random variable and view the resulting Probability Density Function (PDF). I used the Finite Element Method to ...
0
votes
1
answer
332
views
How to plot selection over time for only components, but not magnitute. of a vector in paraview?
I am doing a time evolution analysis for a structure and have already got the displacement result, which is a vector including x and y components. And I want to plot the time evolution of x and y ...
1
vote
1
answer
2k
views
Paraview: Multiple csv files to time series
I have multiple CSV files with point-coordinates and, possibly, multiple data values attached to them, i.e., the rows look like
x y z data1 data2 ...
Is there ...
0
votes
0
answers
424
views
3D animation of a vector field (ParaView) [duplicate]
I am trying to create an animation of a 3d vector field in ParaView.
All my data is in three matrices (201 x 201 x 201) corresponding to vectors components in x,y,z directions. And it's calculated in ...
1
vote
1
answer
888
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
1
answer
1k
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
1
answer
3k
views
Unwrap cylinder to plane in Paraview
I want to extract the data from the boundary surface of a cylinder (in a .vtu file) and plot it onto a plane, where the coordinates are theta (rotation angle) and Z(...
6
votes
2
answers
4k
views
Using numpy arrays in Paraview programmable filter
How can I access a field in Paraview's programmable filter as a numpy array?
I want to:
Import an existing field as a numpy array
Create a similar array for output
Register it as a new field for ...
5
votes
3
answers
10k
views
Python scripting in Paraview
I've been using the basic visualization features of Paraview.
Now, I want to go further by writing python macros to handle some specific tasks.
My question for the advanced users:
Are there any ...
20
votes
3
answers
20k
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 ?