
If you get an error at the build stage with.You may need to wipe your build directory prior to re-configuring (with cmake) and compiling (with gmake) to get around the error(s). Solution: Make sure your $PYTHONPATH environment variable is unset prior to running cmake & gmake.You might get errors about Python library incompatibility.Use fixup_plugin.py to fix library paths in plugins.ĭebugging problems with the ParaView SuperBuild.cpack -G"DragNDrop" to build distributable binary.Compile with gmake (do not use parallel "gmake -j2"!).
#Paraview plugins for mac
#Paraview plugins software
The plugin has been forked by the Zenotech simulation software company. The plugin is not polished and far from perfect any comment is welcome.

If the instructions are not clear enough, contact me. The header of the file can be read using a text editor to figure out which is its structure. Those additional components are optional and may not be used if the geometry is linear by element (straight edges).Ī sample vtk file is available here (do not click, use right-click then save as). Additional high order components for the geometry are written similarly, but named "HOcoord_i". The number of CellData arrays for each field will determine the order of the polynomial basis. They have the same name as the corresponding low order field (PointData), to which "_HOsol_i" is appended (i is replaced by an index starting at 0). Hence, it is possible to read the vtk file without the plugin to display the fields using a representation linear by element.Īdditional high order degrees of freedom are stored as CellData. 4 corners for a quad, 3 corners for a triangle) must be written as PointData. Hence, only the points corresponding to the linear elements need to be written.įor data fields, the degrees of freedom associated with the corners of the low order elements (e.g. VTK_TRIANGLEĪnd not VTK_QUADRATIC_TRIANGLE). Since the plugin handles the high order representation by itself, low order elements must be used in the mesh description (e.g. The vtk file must be written according to the following rules, in order for the plugin to read it:
#Paraview plugins 64 bits
I have versions precompiled on Linux 64 bits for Paraview 4.0.1 and Paraview 4.1.0 (they may not work on your machine, then recompile the sources). Read the Paraview documentation to compile them. The sources of the plugin, released under the 3-clause BSD license, can be downloaded here. The first time the plugin is used on an element type (or when the refinement level is increased for this type) is slower, because the recurrence tree needs to be built for this type of element (serial operation). Let me know if you know why, I am a beginner with vtk/Paraview development. This reduces significantly the size of the vtk file and the plugin processing time. If no high order component is provided for the coordinates, the geometry is considered linear by element. Mix of different types of elements should be supported (not tested). Scalar, vector and tensor fields are supported. It is also possible to specify if one or two levels of refinement are used to compute the error. Options include the maximum number of refinement levels, the field to be used for error computation and the error tolerance. I may remove very high order elements in the future. The size of the source files is quite large (shapeFunctions.h was generated using a script), because the relation of recursion is described for several elements with sizes up to a one-thousand nodes hexahedron. Prisms could be supported, but I simply do not have any sample file to test them at the moment: ask me if you have such needs. The plugin currently works with triangles, quads, hexahedrons and tetrahedrons, using Lagrange basis functions to reconstruct the solution and geometry. Gaussian bell represented by fifth order elements on two-dimensional and three-dimensional domains, using the plugin with 0 and 3 levels of refinement to increase the resolution where needed.Ĭurrent state ( most recent changes in bold)
