Re: [Yade-users] [Question #293471]: Circular RandomDensePack with CpmMat

2016-05-10 Thread Jan Stránský
Question #293471 on Yade changed:
https://answers.launchpad.net/yade/+question/293471

Jan Stránský proposed the following answer:
Hi Mohsen,


> >Not to create any cohesive interactions, use value less than 1 for
> intRadius.
> I formerly have check it; i reduced the value of intRadius to 0.1, but
> again there were cohesive bonds between particles and the particles did not
> FLOW freely.
>

if you reset the value to 1 after first step, the cohesive interactions are
still created until 10th step, which is the default value for
cohesiveThresholdIter, see below.


> >Furthermore, check [1] and make it something like 1 in Ip2.
> Jan there is something confusing! when is changed my code to use
> 'cohesiveThresholdIter' i received an strange error:
> ...
> [Ip2_CpmMat_CpmMat_CpmPhys(cohesiveThresholdIter(-1))],
> NameError: name 'cohesiveThresholdIter' is not defined
>

the correct syntax is
Ip2_CpmMat_CpmMat_CpmPhys(cohesiveThresholdIter=1)

Yade [9]: O.engines[2].physDispatcher.functors[0]
>  ->  [9]: 
> _
> although my material is Cpm, Yade [9] tells my functor is FrictMat


this is probably because of the error during O.engines=..., after that the
new values are not set and the default values remain
(Ip2_FrictMat_FrictMat_FrictPhys among them).

to conlude, after setting intRadius=0.5 and
Ip2_CpmMat_CpmMat_CpmPhys(cohesiveThresholdIter=1), everything should work
:-)

cheers
Jan

PS: reading the answer once more, cohesiveThresholdIter=0 should work even
with intRadius=1

-- 
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 #293500]: Undefined symbol : zpotrf_

2016-05-10 Thread Jan Stránský
Question #293500 on Yade changed:
https://answers.launchpad.net/yade/+question/293500

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Hicham,
zpotrf is a Lapack function. So for some reason lapack is wrongly linked.
But I am not able to tell you how to fix it..
cheers
Jan


2016-05-09 17:13 GMT+02:00 Hicham BENNIOU <
question293...@answers.launchpad.net>:

> New question #293500 on Yade:
> https://answers.launchpad.net/yade/+question/293500
>
> Hello everyone,
>
> So In order to prepare for a pull request, I merged the changes in the
> Yade trunk with my fork then updated the local files and compiled from
> scratch (clean build) to check for issues.
>
> cmake :  gives  no errors or warnings.
>
> make install : runs smoothly
>
> but when I run yade  I get this :
>
> Welcome to Yade 2016-05-09.git-145e975
> Traceback (most recent call last):
>   File "./yade-2016-05-09.git-145e975", line 129, in 
> import yade
>   File
> "/home/3S-LAB/hbenniou/Yade/install/lib/x86_64-linux-gnu/yade-2016-05-09.git-145e975/py/yade/__init__.py",
> line 65, in 
> import boot
> ImportError:
> /home/3S-LAB/hbenniou/Yade/install/lib/x86_64-linux-gnu/yade-2016-05-09.git-145e975/libyade.so:
> undefined symbol: zpotrf_
>
> Any ideas where this comes from ?
>
>
> --
> 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
>

-- 
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 #293295]: Want to connect all the particles in an aggregate using cohesive bond

2016-05-10 Thread VG
Question #293295 on Yade changed:
https://answers.launchpad.net/yade/+question/293295

VG posted a new comment:
Thanks Huanran, I will look into it further on the lines of what you
suggested.

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