Re: [Yade-users] [Question #634175]: CHOLMOD error: the same question to 241071

2017-05-23 Thread liucheng83
Question #634175 on Yade changed:
https://answers.launchpad.net/yade/+question/634175

liucheng83 gave more information on the question:
And some additional information is here
---
negative volume for an ordinary pore (temp warning, should still be safe)
1991 : Vh==NULL!! id=1991 Point=-45.3633 -0.700952 4.588 rad=0.0194403
CHOLMOD error: invalid xtype
CHOLMOD error: argument missing
Segmentation fault (core dumped)
---
What these information can tell us?

-- 
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


[Yade-users] [Question #634175]: CHOLMOD error: the same question to 241071

2017-05-23 Thread liucheng83
New question #634175 on Yade:
https://answers.launchpad.net/yade/+question/634175

Hi, everyone.

I have the same questions about CHOLMOD error when using Flowengine as 
https://answers.launchpad.net/yade/+question/241071,  everything are  similar.
But I do not know how to solve it . 



20002 : Vh==NULL!! id=20002 Point=0.0970011 0.107723 0.0096918 rad=0.00285875
20003 : Vh==NULL!! id=20003 Point=-0.197146 0.0352237 0.0659947 rad=0.00285861
20004 : Vh==NULL!! id=20004 Point=0.153223 0.051602 0.0806164 rad=0.00285847
20005 : Vh==NULL!! id=20005 Point=-0.065848 -0.128071 0.0327707 rad=0.00285833
CHOLMOD error: invalid xtype
CHOLMOD error: argument missing
Segmentation fault (core dumped)

-

If you need to see my code, I can also provide it.

Many thanks,
Cheng Liu

-- 
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 #633480]: CohFrictPhys model, setCohesionNow orsetCohesionOnNewContacts=True crashes simulation

2017-05-23 Thread drasszkusz
Question #633480 on Yade changed:
https://answers.launchpad.net/yade/+question/633480

Status: Open => Solved

drasszkusz confirmed that the question is solved:
Changing coh.setCohesionNow=True to
   O.engines[2].lawDispatcher.functors[1].always_use_moment_law = True
   O.engines[2].physDispatcher.functors[1].setCohesionNow = True

solved my problem!

Thanks,
Daniel

-- 
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 #632960]: How to erase GridConnection

2017-05-23 Thread Klaus Thoeni
Question #632960 on Yade changed:
https://answers.launchpad.net/yade/+question/632960

Status: Open => Answered

Klaus Thoeni proposed the following answer:
Hi,

I never tried to erase a GridConnection, so not sure what's going on
here. Also, without seeing your script it is difficult to guess.

Anyway, wouldn't it be easier to make the initial rope shorter and then
apply the pretension to get to a desired length by moving the last node?

HTH
Klaus

-- 
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 #466937]: Tracking the Crack

2017-05-23 Thread Launchpad Janitor
Question #466937 on Yade changed:
https://answers.launchpad.net/yade/+question/466937

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #633674]: How you move a wall or facet?

2017-05-23 Thread liucheng83
Question #633674 on Yade changed:
https://answers.launchpad.net/yade/+question/633674

Status: Answered => Solved

liucheng83 confirmed that the question is solved:
Hi, Jan

Thank you for your help. It works now. I think "pos = 1.5 # set values
as needed" may be wrong. The following is true.

---
pos[1] = 1.5 # set values as needed
---

Thank you!

Cheng

-- 
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 #633674]: How you move a wall or facet?

2017-05-23 Thread liucheng83
Question #633674 on Yade changed:
https://answers.launchpad.net/yade/+question/633674

liucheng83 confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
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 #633674]: How you move a wall or facet?

2017-05-23 Thread Jan Stránský
Question #633674 on Yade changed:
https://answers.launchpad.net/yade/+question/633674

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

you need to assign pos as full Vector3 at once:

O.bodies[3].state.pos[1]=1.5 # does not work
pos = O.bodies[3].state.pos # copy of state.pos
pos = 1.5 # set values as needed
O.bodies[3].state.pos = pos # new pos as complete Vector3 at once

Just a note, assigning position directly is not recommended in Yade, so
you should know what and why you do. E.g. if the position change is
before the first O.step, there should be no problem.

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


[Yade-users] [Question #633674]: How you move a wall or facet?

2017-05-23 Thread liucheng83
New question #633674 on Yade:
https://answers.launchpad.net/yade/+question/633674

Hi, everyone

I want to move the top wall created with
---
mn,mx=Vector3(0,0,0),Vector3(1,1,1) # corners of the initial packing
walls=aabbWalls([mn,mx],thickness=0,material='walls')
wallIds=O.bodies.append(walls)
---
The initial y position of the top wall is y=0, I want to move it to y=1.5. But 
it seems change the position does not work.
-
O.bodies[3].state.pos[1]=1.5
print O.bodies[3].state.pos[1]  

The print information is O.bodies[3].state.pos[1]  =1.0

Anyone knows how to move a facet?
Thank you!

Cheng

-- 
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