LIGGGHTS® - User Forum

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

Adding PNG support to LIGGGHTS, image.cpp: undefined reference

Submitted by PurpleCrumpets on Mon, 11/11/2019 - 10:52

Dear all,

I am trying to add image support to LIGGGHTS. Based on the instructions found in the documentation, I believe I should be able to add the following lines to the Makefile.user file:

LMP_INC=-DLAMMPS_PNG
JPG_INC=-I/opt/pkg/filelib/libpng/1.6.34/gnu/7.2.0/64/opt/include/libpng16
JPG_PATH=-lpng
JPG_LIB=-L/opt/pkg/filelib/libpng/1.6.34/gnu/7.2.0/64/opt/lib

However, when trying to compile LIGGGHTS, I recieve the following error:

Error with pair/gran/local

Submitted by deepakpawar.2310 on Sat, 11/09/2019 - 16:18

Hi

I need to dump the local contact information between the particles for every step during the simulation.

But the whole script is in the loop for variable $a
Problem These particular compute (pair/gran/local) command is giving the error as follows
ERROR: Compute pair/gran/local (id cpg2): Need to define this compute before first run (../compute_pair_gran_local.cpp:127)
However the for variable equal to 1, script working fine, the problem starts with the next value of the variable

Input script description

Submitted by hossain.aziz on Fri, 11/08/2019 - 00:38

Hi,

I am new to LIGGGHTS. I am looking into the example input script given in the LIGGGHTS documentation. I can see that the 'region' command was used twice in the input script. I do not understand why the 'region' command was used twice. What was the purpose of using the 'region' command twice? I am adding the example input script below. It will be a great help for me if you can explain the reason behind using the 'region' command twice in the input script.

Difference between fix mesh/surface and fix move/mesh

Submitted by antoniosereno on Thu, 11/07/2019 - 09:34

Hi everyone!
I am working on a simulation that involves a rotating drum and I've been investigating between the different output I get when I set its rotation using the two commands I mentioned.
In particular, I am interested in the total force acting on the particles, therefore I used in both cases the mesh/surface/stress fix-style and I noticed that it leads to different results in both forces and trajectories of the particles.

Questions about fix mesh/surface/stress/servo

Submitted by southeast1012 on Sun, 11/03/2019 - 14:55

Hello everyone
I am trying to conduct triaxial test using LIGGGHTS. My boundary is a cube made up of six STL files ,the size of one STL file is 0.2 meter. In the begining, they are crossed with each other, and particles are inserted in the center region, a cube with side length of 0.1 m.
I used servo command to accomplish isotropic consolidation.After that, I compute wall's position, unfix servo wall and fix new wall on the top and bottom.Using move/mesh command to move the top and bottom walls while lateral walls remain servo walls.

user defined vector variable

Submitted by mschramm on Fri, 11/01/2019 - 20:44

Hello,
I would like to have create a vector (myVec) and be able to call individual values in an input script

Something like the following.
variable myVec (I have No Idea) [1,6,2,8,4,7]

variable singleVec equal ${myVec[2]}

I see that we can input an environmental variable and use it in the liggghts script but I would like to keep it contained in an input script.

any idea?

Pages

Subscribe to RSS - LIGGGHTS® - User Forum