LIGGGHTS® - User Forum

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

Problem of mass computation in a hybrid simulation

JF's picture
Submitted by JF on Fri, 08/23/2013 - 16:17

Hi all,

When I perform a hybrid simulation (granular-peridynamics), I observe in the pair_gran_h*.cpp that the mass of the particle (rmass) is equal to the density.

If I try to fix the problem from the file loaded by the command read_data, it's worse !!!

So, if I compute the mass of the particle into the file pair_gran_h*.cpp, Do I have to take care to affect the good value of the mass in an other file ?

Or Have you a simple way to fix this problem ?

Thanks in advance for your request

Regards
JF

Call variables

Submitted by rcabiscol on Fri, 08/23/2013 - 14:16

Hi!

I want to use some of the output variables of LIGGGHTS, such as fx or x, for a range of particle. I want to make some calculations in the input file for, finally, export them at the dump file.

However, I don't know how to call and store them in an array.

Thank you for your help!

Ramon

LIGGGHTS 2.3.6 - fix move/mesh linear/variable possible bug

Submitted by wladek on Wed, 08/21/2013 - 17:22

I tried to make one of my mesh accelerating with time, so after digging in documentation I found this fix move/mesh linear/variable, however whatever variable I tried to put I constantly had an error:

"Variable name 1 for fix move/mesh linear/variable does not exist"

an error comes from the file "mesh_mover.cpp" line 112 and it is natural consequence if something goes wrong in lines above.

Correct me if I am wrong but lines 97 to 110 in this file are not quite correct and as it is so, there always something is going wrong.

pair_style and integration nvt or nve

Submitted by rasoul on Wed, 08/21/2013 - 14:55

I have a question about pair_style. I'd like to simulate solid materials such as shale, clay, sand, and like this. I need to know what the appropriate pair_style for doing that is?

Another question is about integration. In my project I have to decrease temperature from X1 to X2. How can I do that?
And using "fix integer nvt/sphere temp X1 X2 DX" is true or not?

Thanks a lot for the response in advance.

Temperature control

Submitted by rasoul on Tue, 08/20/2013 - 20:50

For doing a project I face some unknowns.

The one is that I want to simulate crack propagation in shale (a type of
sand) and investigate crack pattern in shale if I decrease the temperature by LIGGGHTS. I need to know how I can decrease it (temperature of the simulation box)?

Second is that do you know the material properties of shale?

The easiest way is to fix the temperature of some particles, I need to know how I can set it to a certain temperature every few time-steps?

Thanks a lot for your attention in advance.

Sincerely,
Rasoul

How to determine the maximum contact force

richti83's picture
Submitted by richti83 on Tue, 08/20/2013 - 08:59

I've a question about computing the maximum contact force
I know I can get the pair-force with
compute 2 all pair/gran/local force
But How to calculate the magnitude ?
(I tried variable fmag atom sqrt(c_2[1]^2+c_2[2]^2+c_2[3]^2) but got ERROR: Mismatched compute in variable formula)

Next problem is how to find the maximum of fmag, I tried
variable fmax equal max(fmag)
but got "ERROR: Invalid special function in variable formula"

Large region casuing slow performance, how to speed up?

Submitted by keepfit on Fri, 08/16/2013 - 20:14

Hi Chris,

I created a large region compared to the radii of particles, and the time-stepping becomes very slow.

region reg block -0.01 8.1 0.0 1.51 -0.01 4.51 units box

The particles radii varies from 0.008 to 0.016, and total # of particles is 10k. So the region is mostly empty.

I tried using shrink-wrapped "boundary s s s" but the issue remains.

Triaxial test implementation

Submitted by afsalaza on Thu, 08/15/2013 - 02:00

Hello everyone,
I have been using Liggghts for a couple weeks and I have already done a simple shear test but now I want to do a triaxial test. I read about the servo control walls but since the test is a cylindrical moving boundary I dont think that is a proper boundary because of two reasons:
1. The walls are rigid boundary and in reality they are flexible.
2. I can not think of moving the cilindrical walls with out changing the shape or leaving a gap.

rotate the wall

Submitted by shokeyi on Tue, 08/13/2013 - 23:06

Hi everyone,
I tried to give the wall an angle velocity with "fix move/mesh" command. It gives as "fix c1 all move/mesh mesh cad1 rotate/variable origin 0 0 0 axis 1 1 1 omega 0.5". However, the result shows "ERROR: Variable name 1 for fix move/mesh rotate dynamic does not exist (mesh_mover.cpp:329)". Does anyone know how to modify it? My LIGGGHTS version is 2.2. Thanks.

Pages

Subscribe to RSS - LIGGGHTS® - User Forum