break particle

Tarun De's picture
Submitted by Tarun De on Sun, 03/11/2018 - 12:53

hello everyone,
I wish to simulate one system where particle(sphere or multi-sphere) breaks when it attains some certain height. can anyone please help me with some suggestion? I was going through multisphere/break, but could not figure out threshold value.
any suggestion will be highly appreciated.
thanks in advance.

mschramm | Tue, 01/21/2020 - 21:23

the following should work.
fix breakHeight all multisphere/break allow_group_and_set yes trigger_threshold ${heightThreshold} trigger_timeStep 0 trigger_name v_myAtomHeightVariable
where
variable myAtomHeightVariable atom z
if z is the correct axis...

deepakpawar.2310 | Fri, 01/24/2020 - 13:31

Hi mschramm

I tried the command which you suggested
but as soon as I activate the command for multisphere/break, I am getting following error

Memory usage per processor = 12.2488 Mbytes
Step Atoms KinEng 1 Volume ts[1] ts[2]
5000001 1540 8072.2278 0 58500000 0 0
[pawar:14776] *** Process received signal ***
[pawar:14776] Signal: Segmentation fault (11)
[pawar:14776] Signal code: Address not mapped (1)
[pawar:14776] Failing at address: 0xfffffffe0312ed98
[pawar:14776] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f4e210db390]
[pawar:14776] [ 1] lmp_auto[0xa0f8a2]
[pawar:14776] [ 2] lmp_auto[0x6e05b1]
[pawar:14776] [ 3] lmp_auto[0xa08066]
[pawar:14776] [ 4] lmp_auto[0xa92b09]
[pawar:14776] [ 5] lmp_auto[0x69feef]
[pawar:14776] [ 6] lmp_auto[0x4edf42]
[pawar:14776] [ 7] lmp_auto[0x4eb843]
[pawar:14776] [ 8] lmp_auto[0x4ec2b7]
[pawar:14776] [ 9] lmp_auto[0x416e0b]
[pawar:14776] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4e20d20830]
[pawar:14776] [11] lmp_auto[0x418f99]
[pawar:14776] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 14776 on node pawar exited on signal 11 (Segmentation fault).

Plz, share your experience in that case.

Thank You

deepakpawar.2310 | Fri, 01/24/2020 - 13:24

Hi mschramm

I tried the command which you suggested
but as soon as I activate the command for multisphere/break, I am getting following error

Memory usage per processor = 12.2488 Mbytes
Step Atoms KinEng 1 Volume ts[1] ts[2]
5000001 1540 8072.2278 0 58500000 0 0
[pawar:14776] *** Process received signal ***
[pawar:14776] Signal: Segmentation fault (11)
[pawar:14776] Signal code: Address not mapped (1)
[pawar:14776] Failing at address: 0xfffffffe0312ed98
[pawar:14776] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f4e210db390]
[pawar:14776] [ 1] lmp_auto[0xa0f8a2]
[pawar:14776] [ 2] lmp_auto[0x6e05b1]
[pawar:14776] [ 3] lmp_auto[0xa08066]
[pawar:14776] [ 4] lmp_auto[0xa92b09]
[pawar:14776] [ 5] lmp_auto[0x69feef]
[pawar:14776] [ 6] lmp_auto[0x4edf42]
[pawar:14776] [ 7] lmp_auto[0x4eb843]
[pawar:14776] [ 8] lmp_auto[0x4ec2b7]
[pawar:14776] [ 9] lmp_auto[0x416e0b]
[pawar:14776] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4e20d20830]
[pawar:14776] [11] lmp_auto[0x418f99]
[pawar:14776] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 14776 on node pawar exited on signal 11 (Segmentation fault).

Plz, share your experience in that case.

Thank You

mschramm | Sat, 01/25/2020 - 17:34

Hello,
I believe there is a bug in the fix_multisphere_break.cpp file.
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/master/src/fix_mult...

This line assumes that a fix was used for the trigger. Thus when using a variable trigger you get undefined behavior of the form k % 0 giving the division by zero error.
To fix this, I propose first checking that the trigger is of fix style and then checking the rest of the line:
if (triggerType_ == FIX)
if (triggerName_ && update->ntimestep % (modify->fix[triggerIdx_]->peratom_freq))
error->all(FLERR,"Fix used in fix multisphere/break not computed at compatible time");
I will make a bug report and give an input file.

Tarun De's picture

Tarun De | Fri, 09/11/2020 - 15:48

Hey all,
multi-sphere burst when they break. Need to see the source file for the reason.