segmentation fault (PFacet)

Asked by Ruidong LI

Hi! I am trying to replicate the work using PFacet as the flexible membrane for the cylindrical triaxial test. I don't why this code always crashes (segmentation fault) at the stabilization stage. Can someone help me with this issue? Many thanks.

The MWE is presented below:

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Ruidong LI
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

> this code always crashes (segmentation fault) at the stabilization stage.

please provide more information for those who want to test it.
- what is "stabilization stage"?
- what time / iterations should we expect it to crash
- what version of Yade are you using?
- ... ?

I have tested the script (Ubuntu 22.04, Yade 2022.01a) until "start triaxial simulation" without any problem..

> The MWE is presented below

well, M here means Minimal, which is at least doubtful for the provided code..

Cheers
Jan

Revision history for this message
Ruidong LI (kyle2000) said :
#2

Hi! Jan, Thanks for your reply.

- what is the "stabilization stage"?
> The "stabilization stage" refers to removing confining pressure for particles to cycle. The corresponding code can be found from:
# E.c.7). stablize #**********************************************************************#

- what time / iterations should we expect it to crash
> Once the code was executed at the "stabilization stage", the program crashed.

- what version of Yade are you using?
> I used Yade 2022.01a in the Ubuntu 22.04 system.

-I have tested the script (Ubuntu 22.04, Yade 2022.01a) until "start triaxial simulation" without any problem.
> Does the "start triaxial simulation" means the beginning confining?

-well, M here means Minimal, which is at least doubtful for the provided code..
> Actually, this is the MWE. It is a whole code containing creating the sample, generating the flexible membrane, applying confining pressure until the target value, stabilization, and applying deviator loading.

Revision history for this message
Jan Stránský (honzik) said :
#3

thanks for more info

> Once the code was executed at the "stabilization stage", the program crashed.

Then I am not able to reproduce it, the execution reaches the code and runs OK (actually I made it without problem to the final O.run() )

> Does the "start triaxial simulation" means the beginning confining?

I have no idea, you should tell..

>> well, M here means Minimal, which is at least doubtful for the provided code..
> ... It is a whole code containing creating the sample, generating the flexible membrane, applying confining pressure until the target value, stabilization, and applying deviator loading.

yes, this is exactly why the M is questionable :-)

Cheers
Jan

Revision history for this message
Ruidong LI (kyle2000) said :
#4

Thanks for your reply! Jan
Maybe I should test this code on another pc.