Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread Jan Stránský
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Status: Open => Answered

Jan Stránský proposed the following answer:
IPhys (CohFrictPhys which your doc link refers to) and Ip2 
(Ip2_CohFrictMat_CohFrictMat_CohFrictPhys) are different things..
try to put fragile=False directly to the material definition[1]
Jan

[1] https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.CohFrictMat.fragile

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread Marcus Moravia
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Marcus Moravia posted a new comment:
Hi xjin,

The script has errors, please check it first.  Please try also putting
everything into a single script.

Thanks,
Marcus

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread xjin
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

xjin gave more information on the question:
Thanks for Jan.
I read some information in 
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom6D_CohFrictPhys_CohesionMoment

It give the information:
===
If the maximum tensile or maximum shear force is reached and 
CohFrictPhys::fragile =True (default), the cohesive link is broken, and a_n, 
a_s are set back to zero. If a tensile force is present, the contact is lost, 
else the shear strength is F_s^{max}=F_n*tan(\phi). If CohFrictPhys::fragile 
=False, the behaviour is perfectly plastic, and the shear strength is kept 
constant.
=
Then I junmp to
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.CohFrictPhys.fragile,

Then in script, I change:
-
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True,setCohesionOnNewContacts=False)

into 
-
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True,setCohesionOnNewContacts=False,fragile=False)

When I run the script, the yade tells me : 
Ip2_CohFrictMat_CohFrictMat_CohFrictPhysfragile=False,setCohesionNow=True,setCohesionOnNewContacts=False)
AttributeError: No such attribute: fragile.


Would  you give me advice how to set fragile=False? 
Thanks a lot.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread Jan Stránský
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Jan Stránský posted a new comment:
Thanks for clarification and for the scripts, it makes everything much easier.
I am not familiar with grid* stuff. It seems that the problematic connections 
use CohFrictMat and Law2_ScGeom6D_CohFrictPhys_CohesionMoment (which was not 
mentioned at all in the original question and is the most important information 
for the problem :-).
So the question could be simplified to "How to make CohFrictMat not to break". 
I am not familiar with it, so I cannot help you.. But now it should be easy for 
somebody famliar with CohFrictMat :-)
cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread xjin
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Status: Needs information => Open

xjin gave more information on the question:
Thanks Jan very much.
MWE is this:

https://dropmefiles.com/jEj7z

there are two scripts. Name '1.py' is running first to obtain the particles in 
the pipe. After '1' completed, running '2.py' to set pipe and go on.
my problem is: when '2.py' is running in some time, some gridConnection between 
gridNode are cracking. I want the connection can not crack.
Thanks very much!

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread xjin
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Description changed to:
I build a code to simulate particles in a soft pipe.
In the simulation,there are about 52 particles whose radius are all 0.004,and 
the circular pipe is 0.1*0.095 (Length*Radius).
I have already completed calibration and obtain the parameters.
The particles are using CPM materials and the pipe are using gridNode.
The top and bot of pipe are fixed in 'XYZxy'.
After the particles are put in the pipe, another clump body which is made of 13 
particles is puting on the middle of the pipe in y axis.Gravity is (0,-9.8,0). 
In the simulation, the clump body falls down by gravity.
when the simulation is running, some gridConnection between gridNode are 
cracking. I try to enhance the values of normalCohesionguan and 
shearCohesionguan to larger values, the connections are also cracking.
Can someone give me some advices?

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread Jan Stránský
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Status: Open => Needs information

Jan Stránský requested more information:
> What does MWE mean?

see [1]

Thanks for putting more details, but please try not to modify the
original question. Instead, put the additional info as the next post and
next time please spend a bit more time creating the question.

fixed in 'XYZxy' and value of gravity is nice, but instead please
describe WHAT IS THE PROBLEM. From the question text, I don't know (I
can just guess which I don't want).

Jan

[1] https://yade-dem.org/wiki/Howtoask

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread xjin
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Status: Needs information => Open

xjin gave more information on the question:
Thanks for Jan.
What does MWE mean?
And my script includes two documents whcih all have many codes.
How can I pass it to you? Or type them here?
Thank you very much!

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread Jan Stránský
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Status: Open => Needs information

Jan Stránský requested more information:
Hello,

Can someone give me some advices?

yes, sure, ask the question better :-)
e.g. a MWE would be helpful.
Also please describe what the actual problem is. It seems that you do not want 
cracking of connections, but it is not clear at all and is too much guessing to 
spend time on actual answer..
What is normalCohesionguan and shearCohesionguan? (maybe the MWE would answer 
this)
What values have already you tried? What happens if you increase the cohesion 
100 times? 1e6 times?...

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #672570]: about gridconnection

2018-08-22 Thread xjin
Question #672570 on Yade changed:
https://answers.launchpad.net/yade/+question/672570

Description changed to:
I build a code to simulate particles in a soft pipe.
In the simulation,there are about 52 particles whose radius are all 0.004,and 
the circular pipe is 0.1*0.095 (Length*Radius).
I have already completed calibration and obtain the parameters.
The particles are using CPM materials and the pipe are using gridNode.
The top and bot of pipe are fixed.
After the particles are put in the pipe, another clump body which is made of 13 
particles is puting on the middle of the pipe. 
In the simulation, the clump body falls down by gravity.
when the simulation is running, some gridConnection between gridNode are 
cracking. I try to enhance the values of normalCohesionguan and 
shearCohesionguan to larger values, the connections are also cracking.
Can someone give me some advices?

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp