Giter VIP home page Giter VIP logo

schrummy14 / liggghts_flexible_fibers Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 33.0 78.29 MB

This is a modified version of LIGGGHTS that includes granular bond formulations. The original version of LIGGGHTS produced by CFDEM can be found here: https://github.com/CFDEMproject/LIGGGHTS-PUBLIC

License: GNU General Public License v2.0

C++ 84.26% CMake 0.02% Shell 0.12% Python 0.76% Makefile 0.35% C 6.89% Batchfile 0.01% Cuda 4.81% Fortran 2.75% Gnuplot 0.01% Roff 0.01% Odin 0.01% Dockerfile 0.01%

liggghts_flexible_fibers's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on adding flexible fiber dynamics to LIGGGHTS-PUBLIC

  • ๐Ÿ’ฌ Ask me about the Discrete Element Method and how to couple it with Computational Fluid Dynamics

  • ๐Ÿ“ซ How to reach me:
    [email protected]
    https://www.withschramm.com

schrummy14's github stats

Top Langs

liggghts_flexible_fibers's People

Contributors

schrummy14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liggghts_flexible_fibers's Issues

Segmentation fault.

I am running a test case create by me and in some part of the program I receive segmentation fault.

The simulation crash when some bonds are broken.

The execution command:
$ mpiexec -n 2 liggghts -in in.insert_particles

The problem seems to be caused by the method unpack_exchange of the class AtomVecBondGraN. The file backtrace.txt shows the backtrace reported by gbd 8.2.1 running in debian 10, kernel 4.19.0-6-amd64.

The problem occur when the program execute the instruction:

bond_hist[nlocal][k][l] = buf[m++];

I think the program is trying to write a value outside array bond_hist.

I see that the method grow of the class AtomVecBondGran make the memory allocation for the array bond_hist. Can this method be allocating less memory than is necessary by the program?

The file study.tar.gz has the backtrace.txt and the simulation files.

study.tar.gz

Thank you.

Segmentation fault

Hi
I have re-installed LIGGGHTS-flexible fibers version (https://github.com/schrummy14/LIGGGHTS_Flexible_Fibers.git) on my win10 pc using Ubuntu app. After compilation I am able to run the tutorial examples, however, when I try to run model for my problem, I get the following error.
Strange thing is that I was able to run the same code before. Also, my PC has 12 cores but I am not able to allocate more than 6
cores for the run. All the above problems were not there previously.
I have attached a minimum working example and an example which is not working but was working previously. To run each example, please first run in.insert_particles first, and then run in.settle_particles.

Requesting to please help

Thanks
Shubham
Attachments:
Working.zip
Not Working.zip

ERROR
[APSD-CDW-MECH76:01120] 3 more processes have sent help message help-btl-vader.txt / cma-permission-denied
[APSD-CDW-MECH76:01120] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
[APSD-CDW-MECH76:01126] *** Process received signal ***
[APSD-CDW-MECH76:01126] Signal: Segmentation fault (11)
[APSD-CDW-MECH76:01126] Signal code: Address not mapped (1)
[APSD-CDW-MECH76:01126] Failing at address: 0x7faca700b000
[APSD-CDW-MECH76:01126] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7faff2e923c0]
[APSD-CDW-MECH76:01126] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x18e984)[0x7faff2dfe984]
[APSD-CDW-MECH76:01126] [ 2] liggghts(+0x7b9141)[0x7faff4b0b141]
[APSD-CDW-MECH76:01126] [ 3] liggghts(+0x1f77c9)[0x7faff45497c9]
[APSD-CDW-MECH76:01126] [ 4] liggghts(+0x7adf4c)[0x7faff4afff4c]
[APSD-CDW-MECH76:01126] [ 5] liggghts(+0x6bbba3)[0x7faff4a0dba3]
[APSD-CDW-MECH76:01126] [ 6] liggghts(+0x6b96e6)[0x7faff4a0b6e6]
[APSD-CDW-MECH76:01126] [ 7] liggghts(+0x6b9e85)[0x7faff4a0be85]
[APSD-CDW-MECH76:01126] [ 8] liggghts(+0xba981)[0x7faff440c981]
[APSD-CDW-MECH76:01126] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7faff2c970b3]
[APSD-CDW-MECH76:01126] [10] liggghts(+0xbc33e)[0x7faff440e33e]
[APSD-CDW-MECH76:01126] *** End of error message ***

Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.

SIGINT/SIGTERM caught - Writing restart on next occasion and quitting after that.
SIGINT/SIGTERM caught - Writing restart on next occasion and quitting after that.
SIGINT/SIGTERM caught - Writing restart on next occasion and quitting after that
.--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 0 on node APSD-CDW-MECH76 exited on signal 11 (Segmentation fault).

Problem in fix_bond_propagate_gran.cpp:125

I am using your code to run a study case and I receive this error:

ERROR on proc 0: Failed to operate on granular bond history during copy i2 (../fix_bond_propagate_gran.cpp:125)

What can I do to resolve the issue?

I did some improvement in the code too and would like to share it with you.

Thank you very much.

Damping dependent on time step

The nonlinear damping equations are time step dependent. As long as you calibrate the damping at the time step you wish to use, this shouldn't be an issue. Work is being done to determine the best way to make the damping not dependent on the time step.

Restart files fail when running cfdem simulations

Tests using restart files are causing particles to disappear after 5 steps. This only happens when coupling with openFOAM and I believe the error is in the coupling files.
Workaround is to not read in restart files.

Molecule update during insert breaks multisphere

The current code that added molecule tags during insertion has broken the multisphere atom_type.
Work is being done to address this to have both working.
Worst case scenario will be that you WILL NOT be able to use atom type bond/gran with multisphere particles.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.