Post Processing

Post processing of LIGGGHTS®/CFDEM®coupling/ParScale based simulations is discussed here

Adjust the wall to match the sample.

Submitted by tshan on Wed, 11/10/2010 - 07:22

Hi Christoph,

I ran two examples in the new released liggghts, but when I realized them in paraview, the wall and the particles did not match with each other. i.e. the positions of the wall and pouring particles did not match correctly in the chute_wear and movingMesh examples. You can see them in the attached files. However, there's no problem when I ran some other examples.

So I want to ask you how can I adjust one of the wall and sample to match with the other? Or, how can I resolve this issue?

Thank you.

Best regards,
Tong

Regarding pizza post processing

mksingh's picture
Submitted by mksingh on Mon, 08/30/2010 - 11:51

Hi,
When I try to import VTK format data using pizza.py, I get following error:
==================================================================
> d=("dump.cohesion")
> v=vtk(d)
> v.manyGran()
Traceback (most recent call last):
File "", line 1, in
File "/home/mksingh/Projects/GRANULAR/DEM/PIZZA/gran_pizza_17Aug10/src/vtk.py", line 158, in manyGran
which,time,flag = self.data.iterator(flag)
AttributeError: 'str' object has no attribute 'iterator'
===================================================
I do not know how to resolve this issue.

Dump file not defined

Submitted by WGJ Theron on Wed, 07/28/2010 - 16:24

HI I have created a dump file, but struggle to run the dump command in pizza, it also seems that when i fun pizza the modules are not found.

Please see below:

[CFDEM@localhost ~]$ pizza
Pizza.py (1 Oct 2006), a toolkit written in Python
type ? for help, CTRL-D to quit
Loading tools ...
animate tool did not load:
No module named ImageTk
gl tool did not load:
No module named OpenGL.Tk
dump tool did not load:
No module named Numeric
image tool did not load:
No module named Pmw
mdump tool did not load:
No module named Numeric
> d = dump("dump.cohesion")

Visualizing LIGGGHTS simulations in VMD

Submitted by alexander.polson on Thu, 06/24/2010 - 22:51

Hi Everyone

I wanted to visualize my LIGGGHTS model while it is running using VMD and "fix imd".

So, I compiled-in the USER files "fix_imd.cpp" and "fix_imd.h" (provided in the LIGGGHTS 1.0.3 source). I also added the following line to my input file:

"fix vmd all imd 5678"

The simulation is executed on a Ubuntu Linux PC and gives the following two lines of error:

bind to socket failed: Address already in use
ERROR: LAMMPS Terminated on error in IMD.

pizza, problem

Submitted by ibk on Sun, 06/13/2010 - 17:00

Hi group,
I have downloaded LIGGGHTS using ubuntu, but I have some troubles with the installation of pizza. It seem that the package TOGL is noit present. I am not so familiar with linux at all.
But I can enjoy the LIGGGHTS or LAMMPS using the postprocesor I usually use when I use PFC.
It is called FishLab and can be used for free here:

http://www.itascacg.com/software/fishlab.php

You only have to change the format of dump. In FishLab you need for every sphere:
x y z rad and then every property you want to be displayed.

But sure you have to change to windows.

Paraview problem

Submitted by Somnath on Mon, 05/24/2010 - 02:10

Hello Paraview Users,

I am having a problem with Paraview. It is showing the following error message:

Generic Warning: In /Users/partyd/Dashboards/MyTests/ParaView-3-8-0/ParaView3/VTK/IO/vtkDataReader.cxx, line 1383
Error reading ascii data. Possible mismatch of datasize with declaration.

I am using the custom dump command as instructed in the pizza.py manual

dump 480 all custom 50000 dump.pour.lammpstrj id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

and then vtk.manyGran()

Any suggestions would be great!

Regards

pizza.py dump problem

Submitted by jeff788 on Thu, 05/13/2010 - 22:13

I am new to Liggghts and am trying to convert a dump file to vtk format. I'm using the following dump line

dump dmp all custom 1000 dump.pour id type x y z radius

When I try to convert the data to vtk format using pizza.py (the one from this website) I get the following error with the dump command:

d = dump("dump.pour")
reading dump file...
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 11000 12000 13000 14000 15000 16000 17000 18000 19000 20000
read 21 snapshots
21 snapshots selected out of 21
assigned columns:
Traceback (most recent call last):

Regd VTK File Format and Paraview

Submitted by Somnath on Mon, 04/26/2010 - 02:41

Hi,

I am using the following dump command:
dump 480 all custom 10000 dump.pour id type x y z radius

However, when I convert it into vtk format using the vtk.py tool in pizza.py, the radius column in the dump file, I guess, is not getting written. Basically, I wish to visualise my simulations using Paraview, and I want the particles to be sized according to their radius using the glyph tool. Right now, atom_type is the only scalar that is being stored, so the particles are getting sized according to their id and not their radius.

Any help will be appreciated.

Thanks!
Som

-

Pages

Subscribe to RSS - Post Processing