Optionally GeoTIFF or NetCDF topography (DEM) raster using to define Z coordinates. N-Cube Shapefile On Topography Block Source - data source for 2D/3D Shapefile or GeoJSON. Optional "Use Sea Level for Negative Topography" parameter allows to replace negative topography values by zeroes. N-Cube Image On Topography Source - data source for georeferenced image. By performance reasons in case when the geometry includes more than 1M points only bounding box will be saved. N-Cube ParaView Plugin Writers:ĮSRI Shapefile - Use ParaView menu Save -> Save Data -> ESRI Shapefile(*.shp) to save geometry as ESRI Shapefile (Point). N-Cube LAS Well Log Reader - Read Well Log versions 1.2 and 2.0 of the LAS file specification.
We use this plugin on MacOS only although it's cross platform and can be used with Linux and Windows ParaView builds too. N-Cube ParaView plugin is MIT-licensed set of ParaView data readers/sources/filters/writers to load, process, and write well-known GIS datasets like to shapefiles, GeoTIFF rasters, etc. For those interested in the modified version, it has been made available on GitHub.N-Cube ParaView plugin for 3D/4D GIS Data Visualization
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:
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)