On Wed, Jun 15, 2016 at 9:56 PM, 张江 <[email protected]> wrote:

> Hi,
>
> I am currently doing the work about vtk unstructured data using libmesh.
> But I found that vtk_io just provided some functions about mesh, and the
> point data was not used.
>

That's right, VTKIO::read() currently reads the nodes and elements using a
vtkXMLUnstructuredGridReader, but does not read solution values.

If you are doing something where you need to read in solution values, your
best bet is to use the Exodus file type instead of VTK, as it is more fully
supported.



> For example, in exodusII_io, there is a function copy_nodal_solution()
> which can be called for further obtaining the node data values.
> So is there possibility that the same function can be implemented in
> vtk_io? How to do this?
>

Yes it's possible, but you will have to implement it yourself after
researching the appropriate VTK APIs.  I'd start by making sure we can read
the solution files written by e.g. VTKIO(mesh).write_equation_systems
("out.pvtu", equation_systems), which internally
calls VTKIO::write_nodal_data().

-- 
John
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to