Re: [Yade-users] [Question #634446]: A problem about simulation breaking

2017-05-28 Thread xjin
Question #634446 on Yade changed:
https://answers.launchpad.net/yade/+question/634446

Status: Answered => Solved

xjin 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 #634446]: A problem about simulation breaking

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

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
this happen when some important values becomes NaN. Here sigmaN, which is 
probably a consequence that position of some bodies becomes NaN..
What happens if you decrease time step?
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 #634452]: A question about the function

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

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

e.g.:

czmax = max(b.state.pos[2] for b in O.bodies if
isinstance(b.shape,Spheres))

or similarly on more lines:
czmax = -1e20
for b in O.bodies:
   if not insinstance(b.shape,Sphere): # process only spheres
  continue
   cz = b.state.pos[2]
   czmax = max(cz,czmax)

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 #635850]: Trouble linking Trilinos shared libraries

2017-05-28 Thread Robert Caulk
Question #635850 on Yade changed:
https://answers.launchpad.net/yade/+question/635850

Status: Answered => Solved

Robert Caulk confirmed that the question is solved:
Thanks Anton Gladky, 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 #635871]: Bonded Particle Model using JCFpmMat

2017-05-28 Thread Jérôme Duriez
Question #635871 on Yade changed:
https://answers.launchpad.net/yade/+question/635871

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hellom

If I remember correctly, JCFpm is equivalent to the "contact bond model" as 
defined by Potyondy & Cundall, A bonded-particle model for rock, 2004.
Details of JCFpm formulation are normally well explained in the references e.g. 
[Scholtes2013, [Duriez2016] of https://yade-dem.org/doc/publications.html, let 
us know if something remains unclear.

-- 
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 #635871]: Bonded Particle Model using JCFpmMat

2017-05-28 Thread Xavier Thurman
New question #635871 on Yade:
https://answers.launchpad.net/yade/+question/635871

Hi,

I am a new user of Yade, and plan to simulate breakage of ceramics using 
JCFpmMat. But can you tell me whether JCFpmMat is parallel bond model or 
contact bond model which are two different bonded model in PFC (The two models 
were depicted in this publication: A clumped particle model for rock). Besides, 
can anyone give me the constitutive law of JCFpmMat, I can not find it in Yade 
documentation.
And the second question is, when a packing created using JCFpmMat was crushed 
in shear loads, Can I calculated the mass or volume of the crushed debris. Can 
you give me some hints to finish this task??

Any help will be highly appreciated.

Xavier

-- 
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 #635850]: Trouble linking Trilinos shared libraries

2017-05-28 Thread Anton Gladky
Question #635850 on Yade changed:
https://answers.launchpad.net/yade/+question/635850

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi Robert,

as a workaround you can try to add
/usr/local/lib/trilinos2/install/lib/ into LD_LIBRARY_PATH.

export
LD_LIBRARY_PATH=/usr/local/lib/trilinos2/install/lib/:$LD_LIBRARY_PATH

It should help your operating system to find the shared library.
Long-term solution would be
to use the package trllinois [1]. You can choose exactly the needed
library (there are a lot of
them) and escape LD_LIBRARY_PATH hack.

[1] https://tracker.debian.org/pkg/trilinos

Best regards


Anton


2017-05-28 5:23 GMT+02:00 Robert Caulk :
> Question #635850 on Yade changed:
> https://answers.launchpad.net/yade/+question/635850
>
> Description changed to:
> Hello Yade community,
>
> I am trying to incorporate some tools from the Trilinos tool box into
> yade, but I am running into an issue with linking shared libraries. If
> you have any experience linking shared libraries with yade (or other
> software), I would greatly appreciate some advice here.

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