prashjha / peridem Goto Github PK
View Code? Open in Web Editor NEWPeridynamics-based discrete element method (PeriDEM) model of granular systems
License: Boost Software License 1.0
Peridynamics-based discrete element method (PeriDEM) model of granular systems
License: Boost Software License 1.0
@yuantangjin pointed out the bug when applying damping between particle and wall
When I change the model file (usually multi Granular Computing), I have encountered the problem of core dump many times. Later, I tried to calculate the example you gave: PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/run2/inp
. The same problem was encountered.
After the previous calculation was interrupted, I used the results of the previous calculation as the input file and then calculated, but now this method doesn't work because the results of one file haven't come out and an error is reported
...
The following three screenshots are the problems after modifying the geometric model
...
The following three screenshots are the run2 file of the compression example given without modifying the geometric model
... Please be as specific as possible while describing how to reproduce your problem.
cd /PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/init_config
and sudo sh ./run.sh
cd /PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/run1
and sudo sh ./run.sh
cd /PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/run2
andsudo sh ./run.sh
...My computing environment
hpx-1.3.0
Sharing the conversation with Tangjin with regard to compiling dependencies HPX and PCL for PeriDEM. Hope this will be of some help.
Hi,
If you are using Ubuntu18.04, you should
sudo apt-get install libboost-dev libvtk7-dev libyaml-cpp-dev libhwloc-dev libjemalloc-dev libflann-dev
cd <peridem-libs-dir> # <-- create a directory where you want to store the HPX, PCL libraries
./install_libs.sh Release # <--- copy install_libs.sh from here https://github.com/prashjha/PeriDEM/blob/main/tools/script/build_scripts/ubuntu-18.04/install_libs.sh and run it
Above will install HPX and PCL.
HPX will be installed to directory /local/hpx/1.3.0/Release
PCL will be installed to directory /local/pcl/1.11.1/Release
cd <peridem-dir>
git clone https://github.com/prashjha/PeriDEM.git
cd PeriDEM
mkdir build && cd build
# run cmake
cmake -DHPX_DIR="<hpx directory>/lib/cmake/HPX" \
-DPCL_DIR="<pcl directory>" \
-DEnable_Documentation=ON \
-DEnable_Tests=ON \
-DCMAKE_BUILD_TYPE=Release \
./..
# make
make -j 4
# run tests
ctest --verbose
I will update the instructions in https://github.com/prashjha/PeriDEM/blob/main/README.md in next few days. Let me know if you have any issues.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
On Tue, Apr 6, 2021 at 9:25 AM 我心飞翔💪 [email protected] wrote:
Dr Prashjha hello, I am a graduate student from China agricultural university,YUAN Tangjin, I focus on making to you about the near field dynamics and the coupling of the discrete element code, I want to try to run, but ran into trouble when the build environment, want to ask you, in your code “/PeriDEM/tree/main/tools/script/build_scripts/ubuntu 18.04” path, files can be directly used to build the application environment? Or do you want to download the source code of those dependent libraries from the Internet and compile it yourself ? Can you give us some guidance? If I can get your guidance, sincerely thank you !
Use nanoflann for neighbor search.
Hello,
after running install_base/libs.sh successfully, install_peridem.sh failed with error message as follows:
jma@EGIS-PG-105:~/PeriDEM$ ./tools/script/build_scripts/ubuntu-18.04/install_peridem.sh Release
SCRIPTPATH = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04
SOURCEDIR = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/
BUILDDIR = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/build/
Shell: /bin/sh
<<<<<<<<<<< >>>>>>>>>>>
PERIDEM
<<<<<<<<<<< >>>>>>>>>>>
CMake Error: The source directory "/home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/peridem/0.1.0" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.
Any suggestion?
Regards,
Jingsheng Ma
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.