Meshalyzer is a program for displaying unstructured grids, visualizing data on the grid, as well as examining the structure of the grid. It is an ever changing and ongoing project that has been in development since 2001.
Meshalyzer uses the Fast Light Tool Kit (“FLTK”) to provide modern GUI functionality. It supports 3D graphics via OpenGL TM and its build-in GLUT emulation. Before getting the software from a GitHub repository, a version 1.3.x of FLTK needs to be provided on your system by either installing it through the package manager or compiling it from the sources:
cd <installation-directory>
wget http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-1-source.tar.gz
tar -xzvf fltk-1.3.4-1-source.tar.gz
cd fltk-1.3.4-1
./configure --enable-xft --enable-shared
make
sudo make install
cd ..
Note
FLTK has some additional dependencies in order to be successfully compiled. A list of typically missing packages is given here. Be aware that the package names could slightly deviate across common operating systems.
Hence, get Meshalyzer from the freely available GitHub repository and finish your installation.
cd <installation-directory>
git clone https://github.com/cardiosolv/meshalyzer
cd meshalyzer
make
Meshalyzer assumes that there is a model, defined by a set of vertices, which is to be displayed. Beyond that, everything is optional. The vertices may be connected to form structures, specifically cables, triangular elements, quadrilaterals, tetrahedra, hexahedra, prisms, or simple line segments. Scalar data may be associated with every point on the grid and may be used to colour any of the connected structures. An auxiliary set of points may also be defined on which to display vector data,
Furthermore, the points may be divided into different regions which may have their attributes independently manipulated. Regions are delimited by tagged volume elements (see Sref{sec:voleles}), or may be specified by a range of vertices (see~Sref{sec:regfile}), As well, all the structures formed by those vertices are part of the region. Vertices may belong to more than one region, and there is at least one region in a grid. If a region is not specified, all structures belong to the default region. If there is a element direction file (.lon file), and no volume elements are tagged, elements with no direction will be region 0, and other elements will be region 1.
Surfaces may be formed from collections of two-dimensional elements.
Surfaces are defined by surface element files (see Sref{sec:surffile}).
Also, surfaces are defined if there are any 2D elements in an elem
file (see Sref{sec:elem}).
In the latter case,
the 2D elements are placed in different surfaces based on their region number.
Surfaces are independent of regions, and the relationship between the points
and model structures is described in the fig-UML
.
All files (except IGB files) are ASCII files.
They may be gzipped in which case .gz
should be appended to the extensions given below.
Note that files are scanned line by line
and that extra information on each line is ignored by meshalyzer.
The file defining vertices in the model is the only mandatory file.
It must have the extension .pts
following the carpentry format for nodal files.
The base name of this file, i.e., without the extension, is
used as the base name for cables, connections, triangles,
tetrahedra files, and shells files.
Section author: Matthias Gsell and Elias Karabelas
ParaView is an open source application for interactive and scientific visualization and it is available for several platforms (Linux, Windows, Mac OS). Paraview is built on top of the Visualization Toolkit (VTK) libraries.
Go to the ParaView homepage and choose your platform.
Linux
For Linux systems just download the archive file and extract its contents. Then run
cd /PARAVIEW/PATH/bin
./paraview
Windows
For Windows systems download the installer and run it! After the installation finished,
run Paraview by clicking on the Paraview icon.
Max OS
No idea at all!
After a successful installation and after you managed to run ParaView, you may load data sets to visualize. The standard file format is the VTK file format. A detailed user guide is available as pdf. In the following only a few of the most basic operations are illustrated.
To process data, a broad variety of filters is available. In the following we want to explain the most important of them.
This filter is rather useful for postprocessing data. For example when you want to calculate the total pressure for some CFD data .
iHat
, jHat
, kHat
denote x,y,z coordinate vectors (if you want to build together a vector valued function of your own.For real Python-Afficiniados there is also a Python extension of this calculator to directly manipulate the data arrays.
Cell Data To Point Data
: Map cell data to point data on unstructured data sets.Clip
: Clip the data set.Contour
: Draw contour surfaces.Extract Selection
: Extract selected points or elements.Glyph
: Draw glyphs for a vector valued data set.Gradient Of Unstructured DataSet
: Compute the gradient for a unstructured data set.Iso Volume
: Draw the volumePoint Data To Cell Data
: Map point data to cell data on unstructured data sets.Slice
: Slice the data set.Stream Tracer
: Draw streams for a vector valued data set.Threshold
:Warp By Scalar
: Warp geometry by scalar data set.Warp By Vector
: Warp geometry by vector valued data set.