[Paraview] plot contour in ParaView
Yifei
yma74 at gatech.edu
Tue Apr 7 14:34:27 EDT 2015
Hi,
I am trying to post-processing my simulation results from LAMMPS using ParaView. I first converted dump file into ensight file format using pizza.py. The script is attached behind.
import sys
from dump import dump
from ensight import ensight
d=dump("dump.peri");
d.map(1,"id",2,"type",3,"x",4,"y",5,"z",6,"damage",7,"vx",8,"vy",9,"vz");
e=ensight(d);
e.one("disk","damage","Damage","y","Position_y","x","Position_x","z","Postion_z","vy","VY","vx","VX","vz","VZ”)
Then, I imported the .case file into ParaView. Now I have the coordinate, damage scalar, and velocity components for each point. I wonder how can I use the Contour filter in ParaView to plot contours? When I try to do that, I got only one coloring option called Solid Color. How can I use damage or velocity as the coloring options?
Thanks,
Yifei
More information about the ParaView
mailing list