LIGGGHTS® - User Forum

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

ERROR: Atom types must start from 1 for granular simulations (../properties.cpp:120)

Submitted by ___duffy__ on Sun, 02/04/2018 - 16:06

Hi,
I'm trying to modify the bin flow tutorial example so that a fixed number of particles will be loaded from a data file like the "in.hydrogel_default" example in folder hydrogel_multicontact.
So, I deleted

region domain block -0.138 0.138 -0.138 0.138 -0.0045 0.43 units box
create_box 2 domain

and inserted
read_data data/input_06.data

coin flip simulation

Submitted by mschramm on Sat, 02/03/2018 - 06:42

Hello,
I am wanting to get familiar with the new atom style and thought it would be fun to try and
simulate flipping coins. This is what I have so far.

Dimensions of a quarter (approx)
variable r1 equal 0.5*${coin_diam}
variable r2 equal 0.5*${coin_thik}
fix pts1 all particletemplate/superquadric 86028157 density constant 2500 shape constant ${r1} ${r1} ${r2} blockiness constant 10. 2.

I believe this creates a "coin" that is "face up" with a diameter of coin_diam and a thickness of coin_thik

evaluating per-atom vectors

Submitted by n_ghods on Tue, 01/30/2018 - 09:23

Dear all,

I want to use the values of per-atom vectors at each time step in "compute property/atom" and check them in an if loop afterwards. I have written this part of the script for this regard:

compute ff all property/atom update_on_run_end yes fx fy fz
variable fmag atom sqrt(c_ff[1]^2+c_ff[2]^2+c_ff[3]^2)

How can I access the vector fmag at each time step in the if loop?

Thanks in advance,
Nazanin

LIGGGHTS stalls without error message

Submitted by JoG on Sat, 01/27/2018 - 13:14

Hello everybody,

I have the strange behavior that my simulation suddenly stalls and does not proceed. There is no error message. With one case, this behavior appears always around the same timestep. When I slightly modify the case, for example move the mesh a little bit or set particle heat sources a little different, the case either finishes or stalls at a different timestep. The problem is that I don't know how to tackle the problem.

Should "compute contact/atom" and "compute pair/gran/local" give the same number of contacts per particle/atom ?

Submitted by limone on Thu, 01/25/2018 - 18:08

Dear All,

I would like to compare the output of compute contact/atom for the contacts count of each particle/atom (to calculate the number of contacts for each atom in a group) and compute pair/gran/local for the number of pairwise interactions or particle-wall interactions in the system.

compute contact/atom
compute atomtrack all contact/atom
dump collide all custom 100 CSVs/dump*.doll.csv c_atomtrack

Formatting force chains so that their thickness depends on their magnitude

Submitted by AndresMM on Wed, 01/24/2018 - 09:15

This question comes often. I wanted to answer it with a picture but pictures in replies are not allowed.

In short, use the calculator filter and calculate the magnitude of the force with its components.
THEN use the tube filter. You can scale the chains using the newly-calculated value

Tutorial

Submitted by Frozeus on Tue, 01/23/2018 - 14:22

Hello everyone, I have made a small tutorial especially for Spanish speakers, any errors you find please let me know since I have been using liggghts for a short time.

Hola a todos, he realizado un pequeño tutorial en especial para las personas de habla hispana, cualquier error que encuentren porfavor haganmelo saber ya que llevo poco tiempo utilizando liggghts

Pages

Subscribe to RSS - LIGGGHTS® - User Forum