LIGGGHTS® - Developer Forum

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

recompile mpi error

Submitted by NSalloum on Thu, 10/18/2018 - 15:32

hello guys,

I have made some modifications on the input.cpp and input.h files, aftewhich I tried recompiling LIGGGHTS by simply going into the src directory (I am using linux ubuntu) and typing gcc input.cpp

I am getting the following error:

input.cpp:52:10: fatal error: mpi.h: No such file or directory
#include
^~~~~~~
compilation terminated.

I hope someone might help me as I am in hurry in seeing the results of my changes.

best wishes,

Moving a deformable mesh by moving nodes directly

Submitted by pfalkingham on Fri, 09/21/2018 - 12:01

I'm hoping to simulate a mesh where faces can change in size and geometry - my source is a mesh that's moved by directly moving individual vertices.

Question 1: Is this going to work if I try to do it in LIGGGHTS, or is there some reason that it won't work even if I can implement it? My understanding is that the mesh rotate command works by calculating new vertex positions, so perhaps it's possible to move each one independently?

Difference between LIGGGHTS and LIGGGHTS-WITH-BONDS

Submitted by Rimiggghts on Tue, 09/11/2018 - 11:56

Hello,
I'm new with these kind of softwares. after some researches , I have found that it exists 2 software of LIGGGHTS.
The first; "LIGGGHTS" and the other one "LIGGGHTS-WITH-BONDS" ;
I wanted to know if there is a particular difference between these 2 ; and also , as i want to install this software , which one is the best ?
Do their installations differ from each other ?
Thank You !

Default for particle ID

Submitted by fabregas04 on Sat, 09/08/2018 - 12:30

Hi,

I'm trying to find out contact between particles in huge size simulation which contain millions of particles.

What i'm using for this is

compute (name) (group name) pair/gran/local id pos force_normal delta

and then

dump (name) (group name) local (time step) (directory) & c_(name)[1] c_(name)[2], ... c_(name)[13]

But the problem caused here is when particle id is over 1 million, then particle id becomes 1.0e+06.

And it seems like ones place number is missing.

How to add a new contact model

Bias's picture
Submitted by Bias on Wed, 07/04/2018 - 08:32

Hi,
I want to add a new contact model but I don't understand the file structure for liggghts. What I want to do is to add a full JKR model.
I was thinking then to make a copy of "normal_model_hertz.h", rename it to normal_model_jkr and work in this one.
What do I need to change to be able to use this model with a input file as "pair_style gran model jkr"?

I guess I should change the start of the file:
#ifdef NORMAL_MODEL
NORMAL_MODEL(HERTZ,hertz,3)
#else
#ifndef NORMAL_MODEL_HERTZ_H_
#define NORMAL_MODEL_HERTZ_H_

Particle-Scale Radiation Model in Granular Systems

Submitted by wuhaoinet on Fri, 06/01/2018 - 10:58

A new efficient numerical model of particle scale radiation is developed.
The paper is "Wu, H., Gui, N., Yang, X., Tu, J., & Jiang, S. (2018). Particle-scale investigation of thermal radiation in nuclear packed pebble beds. Journal of Heat Transfer, 140(9), 092002."

And the link is http://heattransfer.asmedigitalcollection.asme.org/article.aspx?articlei...

Pages

Subscribe to RSS - LIGGGHTS® - Developer Forum