Yifei, Ideally, you want to put it out as an 10x10x20 Uniform Rectilinear Grid, vtkImageData (since that's what it seems to be). For information on what vtkImageData looks like, refer to Chapter 3 from The ParaView Guide which can be downloaded from here[1].
[1] http://www.paraview.org/paraview-guide/ On Wed, Apr 8, 2015 at 2:11 PM, Yifei <[email protected]> wrote: > Thanks for your reply. My goal is to plot stress contour for my simulation > results. It seems to me that when I use pizza.py to convert dump file from > LAMMPS into other file types, the data is always point data (coordinate and > value at a point). So I wonder if I could convert the dump file into certain > file types ParaView could use to plot contours? > > As far as I know, in MATLAB I could use griddata function to interpolate > scattered data (point data in 2D). Then use contourf function to generate > contours. I wonder if ParaView provides similar functions like griddata to > convert the input data, then apply the contour filter? > > Thanks, > Yifei > > > > >> On Apr 8, 2015, at 1:57 PM, Utkarsh Ayachit <[email protected]> >> wrote: >> >> Yifei, >> >> Contouring as an operation doesn't make much sense for point clouds. >> The question would be what is your end goal? What information do you >> want to extract from the point could? Maybe I can suggestion >> alternative operations that can help you achieve that. >> >> Utkarsh >> >> On Wed, Apr 8, 2015 at 1:52 PM, Yifei <[email protected]> wrote: >>> It is point cloud. What data type could the contour filter apply to? Is it >>> possible to convert dump files from LAMMPS to this type of data? >>> >>> Thanks for your kindly help. >>> Yifei >>> >>>> On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit <[email protected]> >>>> wrote: >>>> >>>> I am correct that your dataset is just a point-cloud or am I missing >>>> something? If it is a point cloud, how are you contouring it, in the >>>> first place? The contour filter cannot be applied to a point cloud. >>>> >>>> Utkarsh >>>> >>>> >>>> >>>> On Tue, Apr 7, 2015 at 4:35 PM, Yifei <[email protected]> wrote: >>>>> Please find the dataset in the attachment. >>>>> >>>>> Thanks, >>>>> Yifei >>>>> >>>>> >>>>> >>>>> >>>>>> On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit >>>>>> <[email protected]> wrote: >>>>>> >>>>>> If you can share a sample dataset to illustrate the problem, it may help. >>>>>> >>>>>> Utkarsh >>>>>> >>>>>> On Tue, Apr 7, 2015 at 4:13 PM, Yifei <[email protected]> wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I just double checked. I did check the "Compute Scalars" option. >>>>>>> >>>>>>> Best, >>>>>>> Yifei >>>>>>> >>>>>>>> On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit >>>>>>>> <[email protected]> wrote: >>>>>>>> >>>>>>>>> How can I use damage or velocity as the coloring options? >>>>>>>> >>>>>>>> Make sure you have "Compute Scalars" option checked on the >>>>>>>> "Properties" panel for the Contour filter. >>>>>>>> >>>>>>>> Utkarsh >>>>>>> >>>>> >>>>> >>> > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
