LIGGGHTS® - User Forum

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

Illegal if command

Submitted by tshan on Wed, 01/12/2011 - 08:18

Dear Christoph,

There's a bug (Illegal if command) in early version of lammps, and it has been fixed in current lammps. However, the bug is still in liggghts. I used the patch file to liggghts that applied in lammps and it didn't work.

So could you help me to fix this? The patch file of lammps has been attached.

Many thanks!

Best,
Tong

Error unfixing a wall/gran/hertz/history with a mesh/gran

diego.peinado's picture
Submitted by diego.peinado on Thu, 12/30/2010 - 18:04

Hello Christoph.
I was playing around with liggghts and I tried to first:
fix container all mesh/gran silo.stl 1 1.0 0 0 0 0 0 0
fix container_wall all wall/gran/hertz/history 1 0 mesh/gran 1 container

Then after some running steps I tried to:

unfix container_wall
run 1000
But I have a segmentation fault in the first iteration of the run 1000 command.
I've debugged a bit, and found that the fix is deleted, but when running the deleted fix is invoked again in Verlet::run()
if (n_pre_force) modify->pre_force(vflag);

different diameters of beads

raguelmoon's picture
Submitted by raguelmoon on Thu, 12/30/2010 - 14:54

Hi,
I want to pour two different diameters particles in simulation box, I used following script but couldn't put different diameters but just single, print-out is also given below:
....
.....

fix pts1 all particletemplate/sphere 786 atom_type 1 density constant 2460 radius constant 0.0020
fix pts2 all particletemplate/sphere 786 atom_type 1 density constant 2460 radius constant 0.003
fix pdd1 all particledistribution/discrete 6778 1 pts1 0.5 pts2 0.5
.....
......

region bc cylinder z 0 0 0.088 0.251 0.4 units box #bc block 0.0 0.239 0.0 0.239 1.2 1.5 units box

cannot install beta 1.2.3

Submitted by sajjadjeeven on Sun, 12/26/2010 - 15:33

i download the new version and followed the same steps to install it as i followed for the last versions. It was installed successfully and did not give any error in the end.The message in the end is as

"size ../lmp_fedora
text data bss dec hex filename
2677691 2572 10416 2690679 290e77 ../lmp_fedora
make[1]: Leaving directory `/home/sajjad/Desktop/liggghts_1p2p3-beta /src/Obj_fedora'
[sajjad@localhost src]$ "

But when i write the command " lmp_fedora" it gives

bash: lmp_fedora: command not found

Or when i execute any input file it gives

total pressure on wall

raguelmoon's picture
Submitted by raguelmoon on Tue, 12/21/2010 - 12:06

Hi,
I have imported rectangular mesh wall vertically in simulation box and now want to find total pressure experted by the particles. To do this, i have made mesh with no triangles, just one triangle of whole CAD. I don't want to measure pressure as function of height but total pressure at a time. Is this right way of doing?

Thanks,
Ram

Use two neighbor lists in my simulation

JF's picture
Submitted by JF on Mon, 12/20/2010 - 14:47

Hello everyone,

I want to know if it is possible to use two different neighbor lists in my simulation. I use one neighbor list to load once my interactions via a txt file to define two bodies and now I want to detect the new interactions between these two bodies created during my simulation. To do this, I need to use a second neighbor list linked to a second pair_style.

Please, can you help me to do that ?

Pages

Subscribe to RSS - LIGGGHTS® - User Forum