← Back to team overview

dolfin team mailing list archive

Re: [Question #147820]: how to read out data arrayfrom unstructured mesh(advection-diffusion demo)

 

Question #147820 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/147820

    Status: Open => Answered

Garth Wells proposed the following answer:
The ParaView/VTK format is for post-processing, and not for saving data
for later re-use. Solution data is not attached to meshes.

To save a solution to file for later use, the vector associated with a
Function should be saved to an XML file, e.g.

    File("u_vector.xml") << u.vector()

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.