Bug Reports for CFDEM®coupling, LIGGGHTS®, and ParScale

(Possible) bugs / suspicious behavior should be reported as a new thread here, not in the user forum. This should give both you and the developers a clear idea about the status of your bug report (submitted/assigned/fixed)

Geometry Rotation

Submitted by nikitaa0701 on

I am trying to simulate a rotating cylinder. The cylinder is to roll on the particles. I have created my particles and I have created my cylinder. I was able to make the cylinder move but I am unable to make the cylinder rotate on its own axis (so spinning). Right now I have the cylinder rotating around my boundarys center not the center of my geometry.

How can I fix that?

liggghts simulation stops without error message

Submitted by kodai on

hello
i m trying to simulate particles inside a granulator, so i have launched a experimental design that contains 3125 simulation, approximately half of simulations stops before reaching final time step without showing any error message.
i have attached the script of liggghts, and log of simulation.
this happens very often to me and i stuck in this problem, so if any one can please help.

Significantly different forces when running on different computers

Submitted by pfalkingham on

(apologies, I originally posted this in the User forum).

When running the same simulation on two computers, I'm getting very different force behaviour on a moving mesh, even though liggghts version and input files are identical.

I'm using this input data: https://1drv.ms/u/s!Am5GkbZS_98Xto1HN3LSdxzKI-x0fw?e=RBzhV9

Possible Bug in volumne_mesh_I.h

Submitted by mschramm on

Hello,
I stumbled across the following just inside the function "calcVolPropertiesOfNewElement" (around line 120).
The function is setting 3d variables f0, f1, f2, and f3.
// assign nodes to faces
vectorConstruct3D(f0,0,1,2);
vectorConstruct3D(f1,0,3,1);
vectorConstruct3D(f2,0,2,3);
vectorConstruct3D(f1,1,3,2);
faceNodes_.set(n,0,f0);
faceNodes_.set(n,1,f1);
faceNodes_.set(n,2,f2);
faceNodes_.set(n,3,f3);

Typo for calculating multisphere moment of inertia tensor

Submitted by ra474 on

In fix_template_multisphere.cpp line 428 there is a typo causing incorrect calculated moment of inertia tensors using the Monte-Carlo integration method:

moi_[2][1] = (moi_[2][1]+moi_[2][0])/2.;

should be corrected to:

moi_[2][1] = (moi_[2][1]+moi_[1][2])/2.;

https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/master/src/fix_tem…

Specifying startTime, endTime, and timeInterval in liggghtsCommandModel.C

Submitted by byama on

Hello,

I hadn't found this noted before in the forum, but there appears to be a small typo in the liggghtsCommandModel.C file for CFDEM.
Line 148 seems to be missing a set of parentheses to determine the correct couplingStepInterval value. Replacing line 148 as below seems to correct this:

couplingStepInterval_ = floor(timeInterval_+SMALL/DEMts/couplingInterval); //Original
couplingStepInterval_ = floor((timeInterval_+SMALL)/DEMts/couplingInterval); //Replaced

All the best,
Brian

Liggghts - Page size bug

Submitted by martin.kozakovic on

Faculty of Science, UJEP

Dear Liggghts community,

during one larger modification, we have discovered one really nasty bug,
which can lead to some weird behaviours in some cases:

In
fix_contact_history.cpp
and
fix_contact_history_mesh.cpp
some allocations to MyPage class are missing correct page sizes.

As one can see in correct definition in neigh_list.cpp,
dpage[i].init(dnum*oneatom,dnum*pgsize,PGDELTA);
when init to MyPage has dnum members, pgsize should enlarge accordingly, but that is not the case.

Bug fixes:

Bug in read_dump function.

Submitted by martin.kozakovic on

Hello,
we have found a bug in read_dump function, the total file name is badly allocated when combined together after pattern search. See image from read_dump.cpp.

Faculty of Science, Jan Evangelista Purkyně University
assoc. proffesor Havlica's research group
havlica@icpf.cas.cz
martin.kozakovic@gmail.com