Skip to main content
5 votes
Accepted

"Elevation" plot of a 2D plot - paraview vtk

A good way to achieve this is to use the Warp By Vector filter to warp your field in the Z direction using the value of your scalar. Just to give a brief overview, The warp by vector warps your field ...
BlaB's user avatar
  • 1,157
4 votes
Accepted

C++ library unstructured mesh writer to VTK format (or similar)

I think you are looking for Kitware VTK, basically, the main library for interaction with VTK files. Examples page will contain a lot of samples, including the one you are looking for: output of an ...
Anton Menshov's user avatar
  • 8,672
4 votes

Vector format export for screenshots

Exporting to vector formats from ParaView is tricky, I have done it in the past but it depends on external dependencies (GL2PS, I think). For that I suggest you check the post in ParaView Discourse. ...
nicoguaro's user avatar
  • 8,524
4 votes
Accepted

Region of interest in Paraview

For the first part: try Sources of ParaView to mark your region of interest. You can insert Cylinders or Boxes into your view, and modify (translate, rotate or scale) them using the Transform filter.
Dohn Joe's user avatar
  • 559
3 votes
Accepted

Recreating this 3D density plot in ParaView

You will have to interpolate the points to a 3D grid (a regular grid will do) and then do the volume rendering. See https://www.visitusers.org/index.php?title=Volume_Rendering for some examples.
Biswajit Banerjee's user avatar
3 votes
Accepted

Visualization of 3D streamlines in ParaView

StackOverflow has a similar question to yours. Although, it is not exactly the same. The following is a pipeline for what you want: ...
nicoguaro's user avatar
  • 8,524
3 votes
Accepted

How to draw a vertical line in Paraview Line Chart

I would add an extra variable, that goes between the max and min of your other variables and only changes value when your method changes, and, thus, connects them as a sum of step functions. In some ...
Bill Barth's user avatar
  • 10.9k
3 votes
Accepted

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

It is not surprising that VTK can't generate a volume rendering for the poly_vertex cell type since there is no topology associated with that type of cell. The way finite element integration point ...
Bill Greene's user avatar
  • 6,144
3 votes
Accepted

15 noded triangular elements in paraview

Unfortunately (unless things have changed very recently) VTK doesn't fully support anything higher than second order cells in terms of mesh visualisation and filtering. Various common workarounds ...
origimbo's user avatar
  • 2,249
2 votes

"Elevation" plot of a 2D plot - paraview vtk

We can use the UNSTRUCTURED_GRID dataset attribute format in VTK. Here I'm going to provide you a very simple example. Suppose that you had a set of vertices of the triangle mesh and a scalar field ...
tqviet's user avatar
  • 151
1 vote

Diplay smooth functions in paraview

IIRC you can input analytical functions into the calculator and plot them along side your numerical values. The input may be quantized nonetheless. See for example: using calculator in paraview
MPIchael's user avatar
  • 2,985
1 vote
Accepted

How can I make the color range symmetric around zero in Paraview?

I came up with a Paraview macro that sets a symmetric color range based on the color range that is currently set (maximum absolute value). Note that the macro does not rescale the range based on the ...
pimpom's user avatar
  • 21
1 vote

deal.ii - ParaView "warp by scalar" of my output is not continuous

It seems like you are using deal-ii for your simulations. Its a well established fem solver and there is a very less chance that the mistake is with the FEM solver. However, Please check the BC that ...
ThivinAnandh's user avatar
1 vote
Accepted

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

You should have only one CELL_DATA tag in your file. Remove the second one to fix your problem. Some (partial) doc can be found here
Nico Vuaille's user avatar
1 vote

Convert seconds [s] to milliseconds [ms] in Paraview "Plot Selection over Time"

The long way, modifying only the display: manually set the ticks with the advanced option Bottom Axis Use Custom Label The quickest way, modifying the actual ...
Nico Vuaille's user avatar
1 vote

Getting streamline for a lid driven cavity flow in openFoam/ParaView

Your initial and end points for the line are the same, thus you only have one line that "emanates" from it. To have multiple streamlines you need multiple seed points. You need to have a ...
nicoguaro's user avatar
  • 8,524
1 vote
Accepted

Loading VTK tetrahedron volumes into ParaView

What I want to do can be done by adding cell information to the VTK file, or in ParaView by using Filter->Clip with the "crinkle cut" activated.
Ander Biguri's user avatar
1 vote

Loading VTK tetrahedron volumes into ParaView

For volume rendering in ParaView your vtk file should contain a scalar, vector, or tensor data array. Otherwise, it does not show anything to you. You can create a test data array by going to Filters -...
GGG's user avatar
  • 173
1 vote

Code to output VTK point data from decomposed domain for Paraview

I use VisIt to see vtk files but this may work with Paraview also. Each partition saves its own file which is a standard format and you name them with partition number, e.g., ...
cfdlab's user avatar
  • 3,028
1 vote
Accepted

Viewing HDG FEM edge variables in vtk / paraview

Yes -- in VTK you can output data as lines even if you are in 2d (and in 3d). You can see an example here, as part of the deal.II tutorial program step-51: https://dealii.org/developer/doxygen/deal.II/...
Wolfgang Bangerth's user avatar
1 vote

Rescaling x-axis data in Paraview

As @TylerOlsen suggests, it is probably a good idea to do this particular plot using another tool. But if you insist on doing it using Paraview, you can Apply a Temporal Shift Scale Filter; and Then ...
nicoguaro's user avatar
  • 8,524
1 vote

Generate paraview plot of an ensight .case without launching the paraview gui

Following the comments from origimbo, the solution is actually very simple. You just need to generate a sufficient script using the trace option of paraview, if this script is functional (load your ...
BlaB's user avatar
  • 1,157
1 vote
Accepted

Using physical parameter as a Gaussian random variable in a simple Poisson problem

In the loop over your instances of 100 random values for $k$, you could write the value for $k$ into a file, and call your finite element code; the finite element code could then open the file, read ...
Wolfgang Bangerth's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible