ValueError:
Hi teachers!
" ValueError Traceback (most recent call last)
/home/py/
191 def zxySlot(self): self.setViewAxe
192 def refreshEvent(self):
--> 193 self.refreshVal
194 self.activateCo
195 def deactivateContr
/home/py/
264 self.iterLabel.
265 if t!=float('inf'):
--> 266 s=int(t); ms=int(
267 self.virtTimeLa
268 else: self.virtTimeLa
ValueError: cannot convert float NaN to integer".
What means is it ? How to do?
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello,
if you get such type of error, it is always useful to post also the script
(ideally with deleted unimportant parts) reproducing your problem or to
describe slightly more in detail under which circumstances the error
occurred, e.g. what you typed in the console, what version of Yade and
system you are using etc.. It will help us to help you :-) So please
describe more what you did and hopefully we will be able to help
cheers
Jan
2013/7/8 pingyang.
> New question #232060 on Yade:
> https:/
>
> Hi teachers!
> " ValueError Traceback (most recent
> call last)
> /home/py/
> 191 def zxySlot(self): self.setViewAxe
> 192 def refreshEvent(self):
> --> 193 self.refreshVal
> 194 self.activateCo
> 195 def deactivateContr
>
> /home/py/
> 264 self.iterLabel.
> %s'%(O.
> 265 if t!=float('inf'):
> --> 266 s=int(t); ms=int(
> us=int(
> 267
> self.virtTimeLa
> 268 else: self.virtTimeLa
>
> ValueError: cannot convert float NaN to integer".
>
> What means is it ? How to do?
>
> Thank you!
>
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Revision history for this message
|
#2 |
thank you teacher
I use Yade 0.95.0 . I want to calculate 12.py ,but error occurs.
How to do?
At 2013-07-08 20:21:26,"Jan Stránský" <email address hidden> wrote:
>Your question #232060 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>Jan Stránský proposed the following answer:
>Hello,
>
>if you get such type of error, it is always useful to post also the script
>(ideally with deleted unimportant parts) reproducing your problem or to
>describe slightly more in detail under which circumstances the error
>occurred, e.g. what you typed in the console, what version of Yade and
>system you are using etc.. It will help us to help you :-) So please
>describe more what you did and hopefully we will be able to help
>cheers
>Jan
>
>
>
>2013/7/8 pingyang.
>
>> New question #232060 on Yade:
>> https:/
>>
>> Hi teachers!
>> " ValueError Traceback (most recent
>> call last)
>> /home/py/
>> 191 def zxySlot(self): self.setViewAxe
>> 192 def refreshEvent(self):
>> --> 193 self.refreshVal
>> 194 self.activateCo
>> 195 def deactivateContr
>>
>> /home/py/
>> 264 self.iterLabel.
>> %s'%(O.
>> 265 if t!=float('inf'):
>> --> 266 s=int(t); ms=int(
>> us=int(
>> 267
>> self.virtTimeLa
>> 268 else: self.virtTimeLa
>>
>> ValueError: cannot convert float NaN to integer".
>>
>> What means is it ? How to do?
>>
>> Thank you!
>>
>>
>> --
>> You received this question notification because you are a member of
>> yade-users, which is an answer contact for Yade.
>>
>> _______
>> Mailing list: https:/
>> Post to : <email address hidden>
>> Unsubscribe : https:/
>> More help : https:/
>>
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https:/
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https:/
>
>You received this question notification because you asked the question.
Revision history for this message
|
#3 |
Hello,
I am sorry to say that your information did not helped so much.. To be able
to properly help you, we would need another information, mainly:
- how 12.py looks like? you can copy-paste the content of the file directly
to the email. is it your script or did anybody else wrote it?
- how do you run the script?
- what operation system (+ version) do you use?
Thanks
Jan
2013/7/9 pingyang.
> Question #232060 on Yade changed:
> https:/
>
> Status: Answered => Open
>
> pingyang.
> thank you teacher
> I use Yade 0.95.0 . I want to calculate 12.py ,but error occurs.
> How to do?
>
>
>
>
>
> At 2013-07-08 20:21:26,"Jan Stránský" <
> <email address hidden>> wrote:
> >Your question #232060 on Yade changed:
> >https:/
> >
> > Status: Open => Answered
> >
> >Jan Stránský proposed the following answer:
> >Hello,
> >
> >if you get such type of error, it is always useful to post also the script
> >(ideally with deleted unimportant parts) reproducing your problem or to
> >describe slightly more in detail under which circumstances the error
> >occurred, e.g. what you typed in the console, what version of Yade and
> >system you are using etc.. It will help us to help you :-) So please
> >describe more what you did and hopefully we will be able to help
> >cheers
> >Jan
> >
> >
> >
> >2013/7/8 pingyang.
> >
> >> New question #232060 on Yade:
> >> https:/
> >>
> >> Hi teachers!
> >> " ValueError Traceback (most recent
> >> call last)
> >> /home/py/
> refreshEvent(self)
> >> 191 def zxySlot(self): self.setViewAxe
> >> 192 def refreshEvent(self):
> >> --> 193 self.refreshVal
> >> 194 self.activateCo
> >> 195 def deactivateContr
> >>
> >> /home/py/
> refreshValues(self)
> >> 264 self.iterLabel.
> %.1f/s
> >> %s'%(O.
> >> 265 if t!=float('inf'):
> >> --> 266 s=int(t); ms=int(
> >> us=int(
> >> 267
> >> self.virtTimeLa
> >> 268 else: self.virtTimeLa
> >>
> >> ValueError: cannot convert float NaN to integer".
> >>
> >> What means is it ? How to do?
> >>
> >> Thank you!
> >>
> >>
> >> --
> >> You received this question notification because you are a member of
> >> yade-users, which is an answer contact for Yade.
> >>
> >> _______
> >> Mailing list: https:/
> >> Post to : <email address hidden>
> >> Unsubscribe : https:/
> >> More help : https:/
> >>
> >
> >--
> >If this answers your question, please go to the following page to let us
> >know that it is solved:
> >https:/
> >
> >If you still need help, you can reply to this email or go to the
> >following page to enter your feedback:
> >https:/
> >
> >You received this question notification because you asked the question.
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Revision history for this message
|
#4 |
Hello!
12.py is my script, and operation system is LIUX.
12.py:
from yade import pack
mn,mx=Vector3(
thick = 0.01 # thickness of the plates
## create materials for spheres and plates
O.materials.
O.materials.
O.materials.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
yade.utils.
## create walls around the packing
walls=utils.
wallIds=
triax=TriaxialC
wall_bottom_
wall_top_
wall_left_
wall_right_
wall_back_
wall_front_
internalCompact
sigmaIsoCompact
sigmaLateralCon
max_vel=10,
strainRate=0.03,
label="triax"
)
O.engines=[
ForceResetter(),
InsertionSortCo
InteractionLoop(
#box-sphere interactions will be the simple normal-shear law, we use ScGeom for them
[Ig2_Sphere_
#Boxes will be frictional (FrictMat), so the sphere-box physics is FrictMat vs. CohFrictMat, the Ip type will be found via the inheritance tree (CohFrictMat is a FrictMat) and will result in FrictPhys interaction physics
#and will result in a FrictPhys
[Ip2_FrictMat_
#Finally, two different contact laws for sphere-box and sphere-sphere
[Law2_ScGeom_
useIncrementalF
always_
label='
),
GlobalStiffness
triax,
NewtonIntegrato
]
from yade import plot
O.engines=
def history():
plot.
s11=
s22=
s33=
i=O.iter)
plot.plots=
plot.plot()
print "computing, be patient..."
#First run without moment and without cohesion
O.run(7000,True)
At 2013-07-09 15:11:37,"Jan Stránský" <email address hidden> wrote:
>Question #232060 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>Jan Stránský proposed the following answer:
>Hello,
>
>I am sorry to say that your information did not helped so much.. To be able
>to properly help you, we would need another information, mainly:
>- how 12.py looks like? you can copy-paste the content of the file directly
>to the email. is it your script or did anybody else wrote it?
>- how do you run the script?
>- what operation system (+ version) do you use?
>
>Thanks
>Jan
>
>
>
>2013/7/9 pingyang.
>
>> Question #232060 on Yade changed:
>> https:/
>>
>> Status: Answered => Open
>>
>> pingyang.
>> thank you teacher
>> I use Yade 0.95.0 . I want to calculate 12.py ,but error occurs.
>> How to do?
>>
>>
>>
>>
>>
>> At 2013-07-08 20:21:26,"Jan Stránský" <
>> <email address hidden>> wrote:
>> >Your question #232060 on Yade changed:
>> >https:/
>> >
>> > Status: Open => Answered
>> >
>> >Jan Stránský proposed the following answer:
>> >Hello,
>> >
>> >if you get such type of error, it is always useful to post also the script
>> >(ideally with deleted unimportant parts) reproducing your problem or to
>> >describe slightly more in detail under which circumstances the error
>> >occurred, e.g. what you typed in the console, what version of Yade and
>> >system you are using etc.. It will help us to help you :-) So please
>> >describe more what you did and hopefully we will be able to help
>> >cheers
>> >Jan
>> >
>> >
>> >
>> >2013/7/8 pingyang.
>> >
>> >> New question #232060 on Yade:
>> >> https:/
>> >>
>> >> Hi teachers!
>> >> " ValueError Traceback (most recent
>> >> call last)
>> >> /home/py/
>> refreshEvent(self)
>> >> 191 def zxySlot(self): self.setViewAxe
>> >> 192 def refreshEvent(self):
>> >> --> 193 self.refreshVal
>> >> 194 self.activateCo
>> >> 195 def deactivateContr
>> >>
>> >> /home/py/
>> refreshValues(self)
>> >> 264 self.iterLabel.
>> %.1f/s
>> >> %s'%(O.
>> >> 265 if t!=float('inf'):
>> >> --> 266 s=int(t); ms=int(
>> >> us=int(
>> >> 267
>> >> self.virtTimeLa
>> >> 268 else: self.virtTimeLa
>> >>
>> >> ValueError: cannot convert float NaN to integer".
>> >>
>> >> What means is it ? How to do?
>> >>
>> >> Thank you!
>> >>
>> >>
>> >> --
>> >> You received this question notification because you are a member of
>> >> yade-users, which is an answer contact for Yade.
>> >>
>> >> _______
>> >> Mailing list: https:/
>> >> Post to : <email address hidden>
>> >> Unsubscribe : https:/
>> >> More help : https:/
>> >>
>> >
>> >--
>> >If this answers your question, please go to the following page to let us
>> >know that it is solved:
>> >https:/
>> >
>> >If you still need help, you can reply to this email or go to the
>> >following page to enter your feedback:
>> >https:/
>> >
>> >You received this question notification because you asked the question.
>>
>> --
>> You received this question notification because you are a member of
>> yade-users, which is an answer contact for Yade.
>>
>> _______
>> Mailing list: https:/
>> Post to : <email address hidden>
>> Unsubscribe : https:/
>> More help : https:/
>>
>
>--
>You received this question notification because you are a member of
>yade-users, which is an answer contact for Yade.
>
>______
>Mailing list: https:/
>Post to : <email address hidden>
>Unsubscribe : https:/
>More help : https:/
Revision history for this message
|
#5 |
Hello,
Thanks for the script :-) to localize the problem, you should not run 7000
steps, but rather step after step, or even place sys.exit() command
somewhere to the script. With this approach, you would discover the first
problem with the first chainedCylinder command:
yade.utils.
end=Vector3(
fixed=False, wire=False, color=None, highlight=False, mask=1,
material=
does anybody have idea why?
cheers
Jan
2013/7/9 pingyang.
> Question #232060 on Yade changed:
> https:/
>
> Status: Answered => Open
>
> pingyang.
> Hello!
> 12.py is my script, and operation system is LIUX.
> 12.py:
>
> from yade import pack
> mn,mx=Vector3(
> packing
> thick = 0.01 # thickness of the plates
> ## create materials for spheres and plates
>
> O.materials.
>
> O.materials.
>
> O.materials.
>
>
>
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
>
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
>
> O.bodies.
>
> O.bodies.
> O.bodies.
>
> O.bodies.
> O.bodies.
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
>
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
>
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
>
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
>
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
>
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1)
>
>
> O.bodies.
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
>
>
>
>
> O.bodies.
>
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
> O.bodies.
>
> O.bodies.
>
> O.bodies.
> O.bodies.
>
> O.bodies.
>
>
>
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(0,0,0), radius=0.0005, dynamic=None, fixed=False, wire=False,
> color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(0,0,0), radius=0.00055, dynamic=None, fixed=False, wire=False,
> color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> radius=0.0005, dynamic=None, fixed=False, wire=False, color=None,
> highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> radius=0.00071, dynamic=None, fixed=False, wire=False, color=None,
> highlight=False, mask=1, material=
> yade.utils.
> radius=0.00065, dynamic=None, fixed=False, wire=False, color=None,
> highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
>
>
>
>
>
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False,
> mask=1,
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1,
> material=
>
>
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> fixed=False, wire=False, color=None, highlight=False, mask=1,
> material=
> yade.utils.
> end=Vector3(
> wire=False, color=None, highlight=False, mask=1, material=
>
>
> ## create walls around the packing
> walls=utils.
> wallIds=
>
>
> triax=TriaxialC
> wall_bottom_
> wall_top_
> wall_left_
> wall_right_
> wall_back_
> wall_front_
> internalCompact
> sigmaIsoCompact
> sigmaLateralCon
> max_vel=10,
> strainRate=0.03,
> label="triax"
> )
>
>
> O.engines=[
> ForceResetter(),
> InsertionSortCo
> InteractionLoop(
> #box-sphere interactions will be the simple normal-shear law, we use
> ScGeom for them
>
> [Ig2_Sphere_
> #Boxes will be frictional (FrictMat), so the sphere-box physics is
> FrictMat vs. CohFrictMat, the Ip type will be found via the inheritance
> tree (CohFrictMat is a FrictMat) and will result in FrictPhys interaction
> physics
> #and will result in a FrictPhys
>
> [Ip2_FrictMat_
> #Finally, two different contact laws for sphere-box and sphere-sphere
>
> [Law2_ScGeom_
> useIncrementalF
> plasticity on the contact moments
> always_
> contact is not cohesive (or cohesion is broken), we will have to turn this
> true somewhere
> label='
> ),
>
> GlobalStiffness
> triax,
> NewtonIntegrato
> ]
>
>
> from yade import plot
>
> O.engines=
> def history():
> plot.addData(
> e33=O.engines[
> s11=-O.
> s22=-O.
> s33=-O.
> i=O.iter)
>
>
>
> plot.plots=
> plot.plot()
>
>
> print "computing, be patient..."
> #First run without moment and without cohesion
> O.run(7000,True)
>
>
>
>
>
>
> At 2013-07-09 15:11:37,"Jan Stránský" <
> <email address hidden>> wrote:
> >Question #232060 on Yade changed:
> >https:/
> >
> > Status: Open => Answered
> >
> >Jan Stránský proposed the following answer:
> >Hello,
> >
> >I am sorry to say that your information did not helped so much.. To be
> able
> >to properly help you, we would need another information, mainly:
> >- how 12.py looks like? you can copy-paste the content of the file
> directly
> >to the email. is it your script or did anybody else wrote it?
> >- how do you run the script?
> >- what operation system (+ version) do you use?
> >
> >Thanks
> >Jan
> >
> >
> >
> >2013/7/9 pingyang.
> >
> >> Question #232060 on Yade changed:
> >> https:/
> >>
> >> Status: Answered => Open
> >>
> >> pingyang.
> >> thank you teacher
> >> I use Yade 0.95.0 . I want to calculate 12.py ,but error occurs.
> >> How to do?
> >>
> >>
> >>
> >>
> >>
> >> At 2013-07-08 20:21:26,"Jan Stránský" <
> >> <email address hidden>> wrote:
> >> >Your question #232060 on Yade changed:
> >> >https:/
> >> >
> >> > Status: Open => Answered
> >> >
> >> >Jan Stránský proposed the following answer:
> >> >Hello,
> >> >
> >> >if you get such type of error, it is always useful to post also the
> script
> >> >(ideally with deleted unimportant parts) reproducing your problem or to
> >> >describe slightly more in detail under which circumstances the error
> >> >occurred, e.g. what you typed in the console, what version of Yade and
> >> >system you are using etc.. It will help us to help you :-) So please
> >> >describe more what you did and hopefully we will be able to help
> >> >cheers
> >> >Jan
> >> >
> >> >
> >> >
> >> >2013/7/8 pingyang.
> >> >
> >> >> New question #232060 on Yade:
> >> >> https:/
> >> >>
> >> >> Hi teachers!
> >> >> " ValueError Traceback (most
> recent
> >> >> call last)
> >> >> /home/py/
> >> refreshEvent(self)
> >> >> 191 def zxySlot(self): self.setViewAxe
> >> >> 192 def refreshEvent(self):
> >> >> --> 193 self.refreshVal
> >> >> 194 self.activateCo
> >> >> 195 def deactivateContr
> >> >>
> >> >> /home/py/
> >> refreshValues(self)
> >> >> 264 self.iterLabel.
> >> %.1f/s
> >> >> %s'%(O.
> >> >> 265 if t!=float('inf'):
> >> >> --> 266 s=int(t); ms=int(
> >> >> us=int(
> >> >> 267
> >> >> self.virtTimeLa
> >> >> 268 else: self.virtTimeLa
> >> >>
> >> >> ValueError: cannot convert float NaN to integer".
> >> >>
> >> >> What means is it ? How to do?
> >> >>
> >> >> Thank you!
> >> >>
> >> >>
> >> >> --
> >> >> You received this question notification because you are a member of
> >> >> yade-users, which is an answer contact for Yade.
> >> >>
> >> >> _______
> >> >> Mailing list: https:/
> >> >> Post to : <email address hidden>
> >> >> Unsubscribe : https:/
> >> >> More help : https:/
> >> >>
> >> >
> >> >--
> >> >If this answers your question, please go to the following page to let
> us
> >> >know that it is solved:
> >> >
> https:/
> >> >
> >> >If you still need help, you can reply to this email or go to the
> >> >following page to enter your feedback:
> >> >https:/
> >> >
> >> >You received this question notification because you asked the question.
> >>
> >> --
> >> You received this question notification because you are a member of
> >> yade-users, which is an answer contact for Yade.
> >>
> >> _______
> >> Mailing list: https:/
> >> Post to : <email address hidden>
> >> Unsubscribe : https:/
> >> More help : https:/
> >>
> >
> >--
> >You received this question notification because you are a member of
> >yade-users, which is an answer contact for Yade.
> >
> >______
> >Mailing list: https:/
> >Post to : <email address hidden>
> >Unsubscribe : https:/
> >More help : https:/
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Revision history for this message
|
#6 |
thank you teacher
I would like to impose constraints between the balls, so I wrote this script.
At 2013-07-09 19:31:17,"Jan Stránský" <email address hidden> wrote:
>Question #232060 on Yade changed:
>https:/
>
> Status: Open => Answered
>
>Jan Stránský proposed the following answer:
>Hello,
>Thanks for the script :-) to localize the problem, you should not run 7000
>steps, but rather step after step, or even place sys.exit() command
>somewhere to the script. With this approach, you would discover the first
>problem with the first chainedCylinder command:
>
>yade.utils.
>end=Vector3(
>fixed=False, wire=False, color=None, highlight=False, mask=1,
>material=
>
>does anybody have idea why?
>cheers
>Jan
>
>
>
>2013/7/9 pingyang.
>
>> Question #232060 on Yade changed:
>> https:/
>>
>> Status: Answered => Open
>>
>> pingyang.
>> Hello!
>> 12.py is my script, and operation system is LIUX.
>> 12.py:
>>
>> from yade import pack
>> mn,mx=Vector3(
>> packing
>> thick = 0.01 # thickness of the plates
>> ## create materials for spheres and plates
>>
>> O.materials.
>>
>> O.materials.
>>
>> O.materials.
>>
>>
>>
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>>
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>>
>> O.bodies.
>>
>> O.bodies.
>> O.bodies.
>>
>> O.bodies.
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>>
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1)
>>
>>
>> O.bodies.
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>>
>>
>> O.bodies.
>>
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>> O.bodies.
>>
>> O.bodies.
>>
>> O.bodies.
>> O.bodies.
>>
>> O.bodies.
>>
>>
>>
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(0,0,0), radius=0.0005, dynamic=None, fixed=False, wire=False,
>> color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(0,0,0), radius=0.00055, dynamic=None, fixed=False, wire=False,
>> color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> radius=0.0005, dynamic=None, fixed=False, wire=False, color=None,
>> highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> radius=0.00071, dynamic=None, fixed=False, wire=False, color=None,
>> highlight=False, mask=1, material=
>> yade.utils.
>> radius=0.00065, dynamic=None, fixed=False, wire=False, color=None,
>> highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>>
>>
>>
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False,
>> mask=1,
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1,
>> material=
>>
>>
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> fixed=False, wire=False, color=None, highlight=False, mask=1,
>> material=
>> yade.utils.
>> end=Vector3(
>> wire=False, color=None, highlight=False, mask=1, material=
>>
>>
>> ## create walls around the packing
>> walls=utils.
>> wallIds=
>>
>>
>> triax=TriaxialC
>> wall_bottom_
>> wall_top_
>> wall_left_
>> wall_right_
>> wall_back_
>> wall_front_
>> internalCompact
>> sigmaIsoCompact
>> sigmaLateralCon
>> max_vel=10,
>> strainRate=0.03,
>> label="triax"
>> )
>>
>>
>> O.engines=[
>> ForceResetter(),
>> InsertionSortCo
>> InteractionLoop(
>> #box-sphere interactions will be the simple normal-shear law, we use
>> ScGeom for them
>>
>> [Ig2_Sphere_
>> #Boxes will be frictional (FrictMat), so the sphere-box physics is
>> FrictMat vs. CohFrictMat, the Ip type will be found via the inheritance
>> tree (CohFrictMat is a FrictMat) and will result in FrictPhys interaction
>> physics
>> #and will result in a FrictPhys
>>
>> [Ip2_FrictMat_
>> #Finally, two different contact laws for sphere-box and sphere-sphere
>>
>> [Law2_ScGeom_
>> useIncrementalF
>> plasticity on the contact moments
>> always_
>> contact is not cohesive (or cohesion is broken), we will have to turn this
>> true somewhere
>> label='
>> ),
>>
>> GlobalStiffness
>> triax,
>> NewtonIntegrato
>> ]
>>
>>
>> from yade import plot
>>
>> O.engines=
>> def history():
>> plot.addData(
>> e33=O.engines[
>> s11=-O.
>> s22=-O.
>> s33=-O.
>> i=O.iter)
>>
>>
>>
>> plot.plots=
>> plot.plot()
>>
>>
>> print "computing, be patient..."
>> #First run without moment and without cohesion
>> O.run(7000,True)
>>
>>
>>
>>
>>
>>
>> At 2013-07-09 15:11:37,"Jan Stránský" <
>> <email address hidden>> wrote:
>> >Question #232060 on Yade changed:
>> >https:/
>> >
>> > Status: Open => Answered
>> >
>> >Jan Stránský proposed the following answer:
>> >Hello,
>> >
>> >I am sorry to say that your information did not helped so much.. To be
>> able
>> >to properly help you, we would need another information, mainly:
>> >- how 12.py looks like? you can copy-paste the content of the file
>> directly
>> >to the email. is it your script or did anybody else wrote it?
>> >- how do you run the script?
>> >- what operation system (+ version) do you use?
>> >
>> >Thanks
>> >Jan
>> >
>> >
>> >
>> >2013/7/9 pingyang.
>> >
>> >> Question #232060 on Yade changed:
>> >> https:/
>> >>
>> >> Status: Answered => Open
>> >>
>> >> pingyang.
>> >> thank you teacher
>> >> I use Yade 0.95.0 . I want to calculate 12.py ,but error occurs.
>> >> How to do?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> At 2013-07-08 20:21:26,"Jan Stránský" <
>> >> <email address hidden>> wrote:
>> >> >Your question #232060 on Yade changed:
>> >> >https:/
>> >> >
>> >> > Status: Open => Answered
>> >> >
>> >> >Jan Stránský proposed the following answer:
>> >> >Hello,
>> >> >
>> >> >if you get such type of error, it is always useful to post also the
>> script
>> >> >(ideally with deleted unimportant parts) reproducing your problem or to
>> >> >describe slightly more in detail under which circumstances the error
>> >> >occurred, e.g. what you typed in the console, what version of Yade and
>> >> >system you are using etc.. It will help us to help you :-) So please
>> >> >describe more what you did and hopefully we will be able to help
>> >> >cheers
>> >> >Jan
>> >> >
>> >> >
>> >> >
>> >> >2013/7/8 pingyang.
>> >> >
>> >> >> New question #232060 on Yade:
>> >> >> https:/
>> >> >>
>> >> >> Hi teachers!
>> >> >> " ValueError Traceback (most
>> recent
>> >> >> call last)
>> >> >> /home/py/
>> >> refreshEvent(self)
>> >> >> 191 def zxySlot(self): self.setViewAxe
>> >> >> 192 def refreshEvent(self):
>> >> >> --> 193 self.refreshVal
>> >> >> 194 self.activateCo
>> >> >> 195 def deactivateContr
>> >> >>
>> >> >> /home/py/
>> >> refreshValues(self)
>> >> >> 264 self.iterLabel.
>> >> %.1f/s
>> >> >> %s'%(O.
>> >> >> 265 if t!=float('inf'):
>> >> >> --> 266 s=int(t); ms=int(
>> >> >> us=int(
>> >> >> 267
>> >> >> self.virtTimeLa
>> >> >> 268 else: self.virtTimeLa
>> >> >>
>> >> >> ValueError: cannot convert float NaN to integer".
>> >> >>
>> >> >> What means is it ? How to do?
>> >> >>
>> >> >> Thank you!
>> >> >>
>> >> >>
>> >> >> --
>> >> >> You received this question notification because you are a member of
>> >> >> yade-users, which is an answer contact for Yade.
>> >> >>
>> >> >> _______
>> >> >> Mailing list: https:/
>> >> >> Post to : <email address hidden>
>> >> >> Unsubscribe : https:/
>> >> >> More help : https:/
>> >> >>
>> >> >
>> >> >--
>> >> >If this answers your question, please go to the following page to let
>> us
>> >> >know that it is solved:
>> >> >
>> https:/
>> >> >
>> >> >If you still need help, you can reply to this email or go to the
>> >> >following page to enter your feedback:
>> >> >https:/
>> >> >
>> >> >You received this question notification because you asked the question.
>> >>
>> >> --
>> >> You received this question notification because you are a member of
>> >> yade-users, which is an answer contact for Yade.
>> >>
>> >> _______
>> >> Mailing list: https:/
>> >> Post to : <email address hidden>
>> >> Unsubscribe : https:/
>> >> More help : https:/
>> >>
>> >
>> >--
>> >You received this question notification because you are a member of
>> >yade-users, which is an answer contact for Yade.
>> >
>> >______
>> >Mailing list: https:/
>> >Post to : <email address hidden>
>> >Unsubscribe : https:/
>> >More help : https:/
>>
>> --
>> You received this question notification because you are a member of
>> yade-users, which is an answer contact for Yade.
>>
>> _______
>> Mailing list: https:/
>> Post to : <email address hidden>
>> Unsubscribe : https:/
>> More help : https:/
>>
>
>--
>You received this question notification because you are a member of
>yade-users, which is an answer contact for Yade.
>
>______
>Mailing list: https:/
>Post to : <email address hidden>
>Unsubscribe : https:/
>More help : https:/
Revision history for this message
|
#7 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.