← Back to team overview

dolfin team mailing list archive

[Question #115298]: Output PVD with a different variable name

 

New question #115298 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/115298


I want to save some output to a PVD file to view in Paraview, but with a "name" other than "U" (which seems to be the default).
This is useful if you have more than one field to visualise.

I have been changing the following lines in the VTU output using a text filter... but I was wondering if there is a better way?

e.g. change 

<PointData  Scalars="U"> 
<DataArray  type="Float32"  Name="U"  format="ascii">

to

<PointData  Scalars="T"> 
<DataArray  type="Float32"  Name="T"  format="ascii">

Thanks!

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



Follow ups