← Back to team overview

yade-users team mailing list archive

Re: [Question #237426]: Run from a saved Yade model

 

Question #237426 on Yade changed:
https://answers.launchpad.net/yade/+question/237426

    Status: Answered => Open

Link Namco is still having a problem:
Sweet, a clear explanation.
I can call meanStress by O.engines[4].meanStress and assign by
O.engines[4].stressMask... now.
But then by using O.engines[4] how to call the stress on the 6 walls.
It was like triax.stress(triax.wall_top_id)[1] and print
triax.stress(triax.wall_top_id)[1] supposes to have 100000 but I received
0.0 again.



On Wed, Oct 16, 2013 at 11:21 AM, jduriez <
question237426@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Your question #237426 on Yade changed:
> https://answers.launchpad.net/yade/+question/237426
>
>     Status: Open => Answered
>
> jduriez proposed the following answer:
> Hello,
>
> It's not really related with save/load in fact.
>
> In the example script you are using, triax is a python variable
> corresponding to an instance (I hope not mistaking about the words) of a
> TriaxialStressController engine. This variable / instance of engine was
> then introduced in the list of the Engines of the simulation (l.107)
>
> But, in the code you gave us, triax corresponds to a *new* instance of a
> TriaxialStressController engine, that has *nothing* to do with the
> simulation ! (since it does not belong to engines list) That's why it
> does not affect the model...
>
> The solution is to modify the right Engine belonging to O.engines
> (probably by triax = O.engines[4] ?)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/yade/+question/237426/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/yade/+question/237426
>
> You received this question notification because you asked the question.
>


--

Nguyễn Nho Gia Hiển
Gia Hien NGUYEN NHO

*· *University of Technology, Ho Chi Minh City, Viet Nam
Civil Engineer

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.