Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [visualization]

Questions relating to graphing and displaying numerical data

0
votes
0answers
6 views

Compute cell values and isosurface constant from density values of particles

I am trying to reconstruct the surface for a fluid simulation based on a list of particles using the Marching Cubes algorithm. From different resources, such as http://paulbourke.net/geometry/...
1
vote
0answers
51 views

User friendly scipy optimize wrapper package?

I'm creating too much throw away code for interfacing with the scipy optimize package in a user friendly way. (See code below for example of interruptible optimization that keeps last optimization ...
0
votes
1answer
60 views

How to efficently plot a finite element mesh solution with matplotlib

I am looking for the most efficient way to plot a mesh using matplotlib given the following information, coordinates of each node, what nodes belong to each element, and the value each node has. Below ...
1
vote
0answers
38 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 ...
2
votes
1answer
49 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
0answers
16 views

Piecewise-linear Continuations vs Marching Squares/Cubes

It seems that both piecewise-linear continuation and marching squares are methods to produce iso-contours of a scalar function given the function's values on a grid. It seems that piecwise-linear ...
0
votes
1answer
47 views

Visualizing a trajectory in VMD

So, I've written a short python program simulating diffusion in 2D; in essence each particle is behaving like a random walker. The output is a 3D tensor, which for 4 particles and 10 timesteps, looks ...
3
votes
2answers
186 views

Recommended visualization tools for higher order finite element solutions?

Is there any software available which can directly render higher order finite element results? In particular, 3D finite elements would be preferable. It seems gmsh has some capability in this regard ...
3
votes
1answer
57 views

Plotting or Visualizing a Higher dimensional vector field

I am trying to visualize a higher dimensional vector field. Is there a way to do this. I asked this question here, I was told to post it here. As an example, one can use $$\begin{eqnarray} \dot{x}...
0
votes
0answers
141 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 ...
0
votes
1answer
227 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 ...
4
votes
2answers
490 views

3D contour mesh computation

I have the value of a function in three dimensions, $f(x, y, z)$, which varies smoothly. I would like to compute a 3D mesh where $f(x, y, z)$ has a particular value. Are there algorithms to do this? ...
0
votes
1answer
67 views

How to report non-monotonic runtimes in convergence plots

Let's say I have an algorithm that can be tuned by a parameter $h>0$ and is expected to converge as $h\to 0$. I want to study the computational complexity of this algorithm, i.e., how the ...
0
votes
1answer
104 views

temperature profile on axial direction of a chamber

I have a task to plot average temperature profile at each cross-section in the axial direction of a combustion chamber. I have $x$, $y$, $z$ coordinates data in excel as well as the corresponding ...
0
votes
1answer
160 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
2answers
220 views

How to represent CFD result when I use grid-centered FVM?

My variables are stored at the center of the cells. How can I transfer these values to grid points? If I calculate the algebraic average value there may be a shock.
1
vote
0answers
448 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 ...
3
votes
2answers
443 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 ...
3
votes
3answers
496 views

Pre/Post-processor for an academic finite element solver

I'm currently developing a finite element solver for academic/research purposes. Therefore I'm searching for a pre- and postprocessor in my toolchain. For a previous project I have used gmsh as a ...
5
votes
3answers
257 views

Visualizing the solutions of the Differential equations by varying different parameters

Actually I am interested in analyzing the soution to the ODE given as $\frac{dy}{dx} = A + By + C\sin(y) , y(l) = m$ and check how the solution gets affected like whether they exist or not depending ...
0
votes
1answer
226 views

4D visualization in MATLAB

I have a function of 3 variables like $V= f(r1,p,r2)$, I want to plot these 4 data in one graph to be able to capture behavior of V with respect to all three variables. I searched a little bit and ...
2
votes
2answers
339 views

In practice, what are the most useful ways to visualize 2d fluid flow, to tell what is happening in the simulation? Esp for verification and debugging

My simulation creates a 2d grid of vectors and scalars (EDIT of velocity, depth etc), at 60 frames per second. Is it correct? It looks sort of right... but who knows? How can I tell what's happening - ...
1
vote
1answer
2k 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
1answer
238 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
108 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 ...
0
votes
1answer
60 views

Dynamic Analysis and Visualization of Laminate Mindlin Plate

I am trying to make the jump from a FEM plot of a static load applied to Mindlin laminate plate to a surface visualization of various Mode Shapes of the Laminate Plate. For that, I understand that the ...
4
votes
2answers
238 views

Alternatives to Mathematica

looking to introduce a mathematics program in my work, I would have 2 uses: In a classroom (high school level), providing good visualisation of physics ideas, and making my lecture more interactive. ...
1
vote
1answer
212 views

Matlab: Creating a matrix that represents a colored, sinusoidally-modulated grating

I would like to draw a texture (in Matlab - Psychtoolbox) which is composed of a sinusoidally-modulated isoluminant (magenta & cyan) grating. I do have the RGB matrices of the two phases (for ...
10
votes
1answer
1k views

Visualization of quadtree & octree grids

So-called quadtree and octree grids are quite attractive for applications requiring adaptive mesh refinement. They are for example used in Gerris and Paramesh. Is anyone aware of a good file format ...
5
votes
2answers
6k views

CFD visualization workflow: Visit vs Paraview vs Tecplot and others

For those familiar with more of these tools than I am, what are the pros and cons of the various tools available? Right now I exclusively use Tecplot for CFD visualization, but it leaves a lot to be ...
1
vote
1answer
50 views

What are the computational solutions for periodic visualization of simulation?

I like to set my scientific simulation programs to generate a picture after a certain number of iterations, such that I can follow what is happening and maybe cancel the simulation before the ...
9
votes
3answers
951 views

Second order tensor field visualization software

Is there an overview available over tensor visualization software? My personal preference is: A software which is free, well documented, and offers visualization techniques for different physical ...
1
vote
0answers
525 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....
2
votes
2answers
87 views

What's the role of visualization?

I'm just starting at scientific computing and I'm seeing that results can be generated merely by plotting the variables. Of course more variables lead to more axes/dimensions so e.g. a three variable ...
2
votes
1answer
196 views

Creating a 3D spatial density map from simulation results

I want so visualize the spatial density for my simulation. The result of my simulation is a (time-dependent) system of large number (~100k) of moving particles in a confined space. Each particle has ...
3
votes
0answers
331 views

C60 orbital calculation

I am currently trying to reproduce the results published by Hands et al.1 using MATLAB. They calculated the bases of the C60 wave functions of HOMO, LUMO and LUMO+1. I did the following: I ...
1
vote
1answer
1k 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 ...
2
votes
2answers
510 views

Should a colorbar have constant values throughout a simulation?

The default option for matplotlib's pcolormesh (also true for VisIt and I think also true for Matlab) is to allow the maximum and minimum of a colorbar vary. Which ...
3
votes
0answers
35 views

Is there a library which allows for converting 4D implicit surfaces to simplexes?

I have a 4D surface in the form of the spin quadric. I would like to display this surface onto the screen. One of the method which I would like to use to present surface onto the screen is projection. ...
0
votes
0answers
402 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
2answers
71 views

Help on writing sofware: general guidelines, in particular separation of computation and visualization

Although I already did some work in the intersection of theory and simulation I'm still very new to this field and I need some guidance. If anybody can give some recommendations for introductory ...
0
votes
2answers
599 views

How-to: Epic visualizations of 3D fractals?

I have seen videos like this before in the past of things like "3D Mandlebulbs" and similar fractal sets, but can anyone tell me what sorts of programs are actually used create these visualizations? ...
1
vote
1answer
461 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 ...
0
votes
1answer
83 views

Rendering Huge Data with Renderman Interface Bytestream

I have tones of geometrical objects (spheres, meshes) I want to render: One way would be to first write a .rib file which could be certainly done and then push that file to a renderman compliant ...
7
votes
2answers
2k views

How can one produce a proper streamline plot?

I recently had trouble producing a proper streamline plot in Mathematica, and apparently the problem is a good bit harder than I appreciated. I would like to know if there exist general algorithms to ...
1
vote
1answer
659 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)....
1
vote
1answer
2k views

a circular plot from a vector which represents the temperature along the radius surface, which is the same for every radius

I have calculated the temperature of the section of a cylinder, which is subjected to a heat flow on its upper surface. Getting the temperature distribution in the 2D section. As shown in the ...
1
vote
0answers
221 views

Printing a plot in Octave-3.8.1 breaks LaTeX labels [closed]

Since upgrading to Octave 3.8 I have been unable to export plots with LaTeX labels. When the figure is displayed the labels render fine but when I try to export the figure using the ...
4
votes
2answers
6k views

Visualising Maxwell's equations using MATLAB

I asked this question to help me understand what is going on in one of Maxwell's equations. I am happy with following through the maths on paper now, but would like to use MATLAB to take it one step ...
6
votes
2answers
3k 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 ...