LIGGGHTS® - Developer Forum

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

Modification of source code

Submitted by benjasa on Sat, 06/20/2020 - 16:47

Hi,

I've been trying to modify the source code and add new class into src dir. I added both .cpp and .h and make clean-all and make auto under src dir. I also checked that lmp_auto file is generated. But my modified file and added files were not compiled and i could not call them in my script. Did i miss something?

Thanks

More details on setDEMGravity

Submitted by jagan1mohan on Tue, 03/24/2020 - 08:20

Hello Development Team,

Could you elaborate more on this implementation? In my CFDEM setup, LIGGGHTS file has a gravity vector which is time-dependent, varies sinusoidally to mimic vibration of particles. Is this model to be used in these cases? We anyhow have constant gravity dictionary in OpenFOAM setup as well?

Thank you,
Jagan Mohan.

Some errors after running a test?

Submitted by Donald Trump on Sun, 03/08/2020 - 09:33

Hey, can someone help me solve this problems? I did some modification on the code, and the compiling was successful, however, when I actually run a test case, it gave me the following errors on the screen:
[VB2:27524] *** Process received signal ***
[VB2:27524] Signal: Segmentation fault (11)
[VB2:27524] Signal code: Address not mapped (1)
[VB2:27524] Failing at address: 0xfffffffffffffff8
[VB2:27524] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fda5c2a2390]
[VB2:27524] [ 1] ./lmp_auto[0xa8bac7]
[VB2:27524] [ 2] ./lmp_auto[0x530b3a]

triclinic and nve/sphere not working

Submitted by jagan1mohan on Fri, 03/06/2020 - 18:47

Hello Dev Team,

Greetings. I'm facing this issue where I loose particles from a periodic boundary of a triclinic box even though I do not impose any forces. I'm using two input files. First one introduces 483 particles into an orthogonal box with a volume fraction of 0.15 and then I shrink this box to quarter of its length in only x-direction. Please see attached figure for last configuration in which forces, velocities are non-zero and force magnitude on few particles is quite high.

Pages

Subscribe to RSS - LIGGGHTS® - Developer Forum