LIGGGHTS® - User Forum

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

Buoyancy force error

Submitted by tangl on Thu, 02/28/2019 - 13:08

Hi,

I used CMake to built an executable for Windows and it worked fine. I needed to do a few modifications to the source code.

1) I changed the fix_addforce.cpp file so that the radius of the particle and the fluid density were taken into account for the force with upward vertical direction. See line 259 and line 299 in the fix_addforce.cpp file attached.

2) I changed the fix_viscous.cpp to modify the drag force for a Bingham fluid. See line 71-84, line 107-110 and line 166-215 in the fix_viscous.cpp file attached.

Source Boost for Superquadrics

Submitted by Sounik on Thu, 02/28/2019 - 03:33

Hi Everyone,

While installing through Makefile.mpi, my file path for including boost is not getting read/ignored.
EXTRA_INC += -IPath/to/your/Boost/include

This is probably due to the wrong placing of the command: I was placing the two lines right after LMP_INC

LMP_INC = -DLAMMPS_GZIP -DLAMMPS_VTK
LMP_INC += -DSUPERQUADRIC_ACTIVE_FLAG -DNONSPHERICAL_ACTIVE_FLAG
EXTRA_INC += -I$(TACC_BOOST_INC)

Can anyone help me regarding this.

Thanks,
Sounik

Tracking node on a wall.

Submitted by Arnon on Wed, 02/27/2019 - 19:54

Hi everyone!!

I have a wall rotating and I need to track the position of one of the nodes in the mesh. I have been reading the LIGGGHTS manual and I haven't found anything that could help me. I also was reading topics on the forum but I haven't found anyone who faced this problem before.

I thought the lines below might do the job for me but it didn't work.

Problem installing Superquadric library

Submitted by Sounik on Wed, 02/27/2019 - 19:44

Hi everyone,

While installing the superquadric library through Makefile.mpi, I encountered the following error:

catastrophic error: cannot open source file "boost/math/special_functions/beta.hpp"
#include "boost/math/special_functions/beta.hpp"

What is your suggestion?

Thanks,
Sounik

Contact Area Particle-Walls Cohesive model

Submitted by jpachonm on Wed, 02/27/2019 - 10:54

Hi everyone,

I would like to know how LIGGGHTS calculates the contact area between Particle-WALL in a cohesive SJKR model. The given formula is:

A = Pi/4 * ((dist-Ri-Rj)*(dist+Ri-Rj)*(dist-Ri+Rj)*(dist+Ri+Rj) )/(dist*dist)

how are the values of 'dist' and radii evaluated for particle-wall interactions?

Thank you in advance for your kind reply,

John

Use fix move/mesh to achieve a complicated motion

Submitted by alvin3368 on Mon, 02/25/2019 - 12:19

Hi all,

I am wondering, if I could move a mesh along a curve like "8" with the command "fix move/mesh"? It is hard to achieve it with a combination of linear, wiggle and rotate. I have the values of x and y on the curve. But I don't know how to simulate the motion in Liggghts.

Thanks.

Best regards.
Alvin

WARNING: LD_LIBRARY_PATH undefined, cannot check libdir /home/em328/.local/lib

Submitted by Em328_Tsai on Mon, 02/25/2019 - 10:48

Dear developers and users,

I'm failing to install correctly LIGGGHTS, here's the problem i met

em328@em328-VirtualBox:~/LIGGGHTS-PUBLIC/python$ python install.py ~/.local/lib ~/.local/lib/python2.7/site-packages/
WARNING: LD_LIBRARY_PATH undefined, cannot check libdir /home/em328/.local/lib
cp ../src/libliggghts.so /home/em328/.local/lib
cp ../python/liggghts.py /home/em328/.local/lib/python2.7/site-packages/

Install LIGGGHTS with intel mpi (impi)

Submitted by Sounik on Wed, 02/20/2019 - 00:12

Hello Members,

Installation of LIGGGHTS inside a cluster with intel mpi resulted in the following error on the execution of "make auto":

Warning: MPICXX compiler is icpc but g++. Thus, setting the MPICH cxx compiler to g++.
make[1]: Entering directory `/work/06321/runa1234/stampede2/LIGGGHTS-PUBLIC/src/Obj_auto'
Makefile:499: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB='. Stop.
make[1]: Leaving directory `/work/06321/runa1234/stampede2/LIGGGHTS-PUBLIC/src/Obj_auto'
make: *** [auto] Error 2

Pages

Subscribe to RSS - LIGGGHTS® - User Forum