LIGGGHTS® - Developer Forum

Topics related to developing with LIGGGHTS® can be discussed here: discussion about implementation details, C++, MPI and debugging tools

CHANGING COHESION_MODEL_SJKR EQUATION

Submitted by amohammad42 on Wed, 07/17/2019 - 18:26

Hello Everyone,

I wanted to change the equation of cohesion model in liggghts, so I changed the equation of Force = Cohesive Energy Density * Area in cohesion_model_sjkr.h (lines 98 & 99). Do I need to change any other file associated with it before compiling ? What file in addition to cohesion_model_sjkr.h I need to change in order to implement this new equation of cohesion?

I am new to liggghts and C++, so please let me know what should I do.

Thanks&Regards,
Abdul.

Converting electrostatic to self gravity

Submitted by tjleps on Mon, 05/06/2019 - 20:26

I'm trying to add capability for self gravitation for N-Body dust simulations. As I understand it, LIGGGHTS includes coulombic long range solvers, backed up by the "getting started" section of the documentation, however, I've been having a difficult time finding where in the SRC the long range solvers are implemented, such that I can modify them as needed. It should be relatively straight forward, as they are both solving poisson equations, gravity should be as simple as changing a constant, adding a minus sign, and swapping m for q.

problem with "group" command and neighbors

Submitted by alejandro saez on Thu, 05/02/2019 - 00:18

Hello everyone, I tell you that I am a new user in LIGGGHTS, and I am working on a program modeling a system consisting of a belt, barriers, box and board. In the latter, the particles fall to the belt that moves at 5 m / s, where they are finally deposited in the box. However, the program does not run, because the following messages appear:

"0 atoms group group" ... .. (does the "group" command work correctly?)
"Error on proc 0: Too many neighbor bins (../neigbor.cpp:1776) .......... (What happens to the neighbors?)

Implementation of the Van Der Waals force model on LIGGGHTS

Submitted by Huihuang Xia on Thu, 03/28/2019 - 17:21

Dear all,

I just implemented the Van Der Waals force model proposed in this paper 'Yang, R., et al. (2000). Physical review E 62(3): 3900., Equ.8'. What I did is as following:

1. Implemented this model as one of the cohesion models of LIGGGHTS.
2. Registered some parameters used in the model in 'global_properties.h' and 'global_properties.cpp'.

Finally, I recompiled this model in LIGGGHTS successfully using 'make clean-auto and make -j32 auto'. However, when I tried to preform some DEM simulations using this newly implemented model, I got this error:

Incorporating disableNormalWhenBonded flag in model

Submitted by mschramm on Wed, 02/06/2019 - 15:56

Hello,
in the doc for the "gran model hertz model" there is the flag
disableNormalWhenBonded
How can I gain access to this?
When I tried adding it to an input script, I received the error
pair_style gran model hertz disableNormalWhenBonded on tangential history
ERROR on proc 0: Could not find bond history offset (../normal_model_hertz.h:134)

Thanks for all the help!

Open MPI installation problem

Submitted by serdarhd on Wed, 01/23/2019 - 14:53

Hi All,

I try to install Open MPI, which is prerequiste for liggghts. Some info about my current Suse version :

NAME="SLED"
VERSION="12-SP3"
VERSION_ID="12.3"
PRETTY_NAME="SUSE Linux Enterprise Desktop 12 SP3"
ID="sled"

I installed Open MPI 1.6 by typing

./configure --prefix=$HOME/openmpi
make all
make install

Pages

Subscribe to RSS - LIGGGHTS® - Developer Forum