This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Colormap of field on deformed shape

0 votes

Dear all,

in plotting my solution I need now something "conceptually simple": drawing a scalar field (colormap) on the deformed shape, not on the mesh.

Is it possible with Fenics, or do I have to use ParaView?

Cheers!

asked Jul 23, 2014 by senseiwa FEniCS User (2,620 points)

1 Answer

+1 vote
 
Best answer

Paraview will definitely do it. Write your solution to a pvd file, load it into paraview and try the "Warp by Scalar" filter.

answered Jul 23, 2014 by david.bernstein FEniCS User (2,000 points)
selected Jul 24, 2014 by senseiwa

Ok, so I assume this cannot be done in plain Fenics. Thanks for the tip!

If you use the plot command in fenics I think that is also the default behavior for a scalar field.

...