Problem in using the MPM3D (old) code

#1

I have install the MPM code following the guidance in Linux(ubuntu) , and then I create all files needed of the testing example “element_testing” , which are all same as the ones shown in “https://cb-geo.gitbooks.io/mpm3d-doc/content/algorithm/algorithm.html”. However, when I run the input files in the MPM code, it’s not work.
After I input the command “./mpm -f element_testing”, the command windows shows “analysis started, Model properties: dimension=2 , dof = 2 , Nodes =4”. But immediately stop and shows " Segmentation fault(core dumped)", and there is no result files or log files created.

Is that caused by some problem of my computer or my Linux system?

Thanks for your help, and looking forward to your reply.

made this topic public #2
#3

Hey! Can I ask whether you put in in folder bin? So if you put it in mpm-3d/bin/element_testing/inputFiles you have to run ./mpm -d bin -f element_testing. If this does not work, could you please send me the input files? Enjoy!

#4

Thanks for your help, but after I run ./mpm -d bin -f element_testing, it still not work, and shows that “Loading input files from: binelement_testing
binelement_testing/inputFiles/input.dat
(EE) Assertion of “inputFile.is_open()” in function “int main(int, char**)”,
(EE) line 149 of file “cartesian/src/main.cpp” failed!
Give up(core dumped)”
The input file has been send to you by e-mail, Thanks again.

#5

Oh. I am sorry. Coukd you try ./mpm -d bin/ -f element_testing. If not, can you upload the input files to me? Thanks!

#6

I have try “./mpm -d bin/ -f element_testing”, but it still shows
" Two-Dimensional Material Point Method
University of Cambridge - Version 0.1.2

Loading input files from: bin/element_testing
bin/element_testing/inputFiles/input.dat

Analysis started at: Wed Apr 25 09:40:18 2018

Model properties: dimension = 2 , dof = 2 , Nodes = 4
Segmentation fault(core dumped)"
Only pictures can be upload in this forum, so could I send the input file to you by e-mail?
Thank you so much.

#7

Alright. You can email me. Or you can put a link using dropbox or google drive here.

#8

I have enabled other upload extensions, please let us know if you have any problems. Please have all the information in a single location.

#9

input.dat (982 Bytes)
initStressSoilP.dat (145 Bytes)
material.dat (134 Bytes)
soilParticles.dat (133 Bytes)
mesh.smf (141 Bytes)
Traction.dat (73 Bytes)
submesh.dat (12 Bytes)

#10

Thank you so much, I have upload my input files.

#11

You are missing mesh.constraint part I think! Maybe make that?

#12


Sorry,this file is not able to upload, the following picture contain the information of it

#13

The quickest way is for me to try to run. Can you please just zip all the files and send it to me. I will try right now! Thanks!

#14

bin.zip (2.7 KB)
Thank you so much

#15

I think I know where.

In mesh.smf file, please delete all your comments on lines 4 and 8. Let me know whether it works. It works for me.

#16

:sob:It doesn’t work for me, and still the same problem

#17

Can you show me the error message?

#18


"已放弃(核心已转储)"means :Give up(core dumped)

#19

Could you share with us a screenshot of running the command ls on the mpm-3d-master directory?

#20