LIGGGHTS® - User Forum

LIGGGHTS® related topics can be discussed here: discussion about models, installation, feature requests and general discussion

Doubt with a command

Submitted by nicolasoviedoc on Wed, 10/07/2015 - 16:35

I'm already working on a mill simulation and i'm trying to count the particles that come out of the mill. For this, i'm using the massflow/mesh command, however i have a problem with one of the keywords. Specifically, the vec_side command, because i don't know what it means this "vector components defining the "outside" of the mesh". My stl surface is in the 5.3,0,0 coordinates, but when compile the file, it doesn't count the particles.

Please, i need some help.

Best regards, Nicolás.

dump custom/vtk

Submitted by NTT1508 on Wed, 10/07/2015 - 00:38

Dear all,

I am struggling with dump custom/vtk (3.2.0 and 3.3.0) that always results in an error: Invalid dump style (output.cpp: 591). I have not tried this command before. I usually use lpp to convert to vtk. An example of my using dump custom/vtk as below:

dump dmp all custom/vtk 10000 dump.liggghts_init id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

Thank for concern,

Regards,

Compiling LIGGGHTS with optional packages ASPHERE and MOLECULE

aaigner's picture
Submitted by aaigner on Mon, 10/05/2015 - 15:27

Hi vinaym,

by mistake (moving and deleting the old thread) I deleted your thread. I am sorry. Find below your original one and my answer.

Bests
Andreas

Hello all,

I tried compiling latest version : LIGGGHTS® 3.2.0 (released 29 April 2015) with the optional packages ASPHERE and MOLECULE.

But I get the following error.

lmp.extract_compute

Submitted by strathclyde on Sun, 10/04/2015 - 15:39

Hi,

I am using 'lmp.extract_compute' in the python. This function could give the right value belong to compute class, but the return value is not ordered by ID. So I checked the library.cpp. I modify the cpp like the function 'data = lmp.gather_atoms(name,type,count)' which could return the value ordered by ID. But I failed. I will appreciate if anyone could help me.

The original cpp shows as follows:

void *lammps_extract_compute(void *ptr, char *id, int style, int type)
{
LAMMPS *lmp = (LAMMPS *) ptr;

Pages

Subscribe to RSS - LIGGGHTS® - User Forum