LIGGGHTS® - User Forum

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

compute stress/atom

Submitted by pnkumar on Tue, 02/09/2016 - 13:20

Hello all,

I am using compute_stress/atom ke pair. And in Documentation it is mentioned that it doesn't include the contribution of average velocity in kinetic energy contribution. Is there a simple method to include that as well in stress calculation? So right values of stress which will be dumped.

Thanks in advance.

pnkumar

jar mill

Submitted by domenico on Wed, 02/03/2016 - 15:11

I'm a new user and I'm still learning the most helpful commands to run my simulation. In my script I use the ''hertz tangential history rolling_friction cdt'' model. I would like export:
- the collision time
-number of collision
-normal and tangential forces
-energy dissipated

do you know which commands allow me to export these quantities?

kind regards
I hope someone can help me.

How to have multiple particle insertions

Theo_Score's picture
Submitted by Theo_Score on Wed, 02/03/2016 - 06:39

Hi All,

Attached are STLs and input script (remove the .txt). I want to know how to run this script so that ins1 runs 20000 time steps then ins2 gets in and runs for 30000 time steps. In short, ins1 will run 50000 time steps and ins2 runs for only the last 30000 time steps.

Thank you for your help.

Liggghts 3.3.1 version

Submitted by sitinorfarahin on Tue, 02/02/2016 - 20:28

Hello. I need someone to help me.

I installed and compiled Liggght version 3.3.1 and I have done checking at SRC / version liggghts.h for double check the version.
Then, I have tried many times to run the example. Unfortunately , still it does not work. This is due to my current liggght version is 2.3
8 as stated in terminal.

ERROR :Invalid pair style (/build/buildd/liggghts - 2.3.8/src/force.cpp:181)

What could I do to fix this problem.. Anyone could help me pleased.

Thank You.

Adding force to a group of particles

Submitted by megoplay20 on Tue, 02/02/2016 - 11:59

Hello!
I am using LIGGGHTS 3.0.7.
I am trying to add a force to the group of particles of a particular type.

Here, what i do:
//create region in which the force should be applied
region field_region block -0.1 0.1 -0.1 +0.1 0 0.1 units box
//define group gg which consists only of particles of type 1
group gg type 1
//trying to apply the force which will try to decrease the speed of the particles
fix mag_field gg addforce 0.0 0.0 +0.3 region field_region

computing total torque on a mesh

Submitted by drheine on Mon, 02/01/2016 - 23:59

I am trying to extract the total torque on a mesh that rotates about the x axis and I'm having trouble getting the syntax right (LIGGGHTS-3.3). As an example, defining the wall as:
fix mixer all wall/gran model hooke tangential history mesh n_meshes 2 meshes cad1 cad2 store_force yes

can I access the stored forces as shown below?
variable torque atom force_mixer*sqrt(y*y+z*z)

If I try to reduce the x component of the total torque using:
compute c2 all reduce sum v_torque[1]

Limit of data in a data file

Submitted by nicolasoviedoc on Mon, 02/01/2016 - 17:00

Greetings,

I have a doubt about the use of a data file. Recently, i was simulating a mill, and instead of use the particletemplate/sphere keyword, i was using a data file to load all the particles. The total amount of particles that i used was 1344278. However, in a second simulation, i increased the number to 1728272, and when compile LIGGGHTS, the program generated a error and then it close unexpectedly.

My question is if there is a limit of particles in a data file, or is a problem with the computer that i use for simulations. My computer has 8 processors.

Fix walls - thickness of the wall

Noel682's picture
Submitted by Noel682 on Mon, 02/01/2016 - 11:05

Hello Everyone,

I have a question about the fix wall/gran command - I am using the ver. 3.3.1. of LIGGGHTS.

I am using boundary p p f and I want three walls, two bounding the simulation and one in the middle (to create two layers)

fix zwallsdown all wall/gran model hertz tangential history primitive type 1 zplane ${bottom_plane}
fix zwallsmid all wall/gran model hertz tangential history primitive type 1 zplane ${mid_plane}
fix zwallsup all wall/gran model hertz tangential history primitive type 1 zplane ${upper_plane}

Pages

Subscribe to RSS - LIGGGHTS® - User Forum