Re: [Yade-users] [Question #665385]: Clumping the big number of grains

2018-03-08 Thread Seti
Question #665385 on Yade changed:
https://answers.launchpad.net/yade/+question/665385

Seti gave more information on the question:
Hi  Friends,

To be more specific I know how manage the reduce and position of 3 or 4
,.. clumps in   clumping  process but not sure how mange these
parameters when I want to clump each 30 grains in 1 grains packing
or clumping each 300 grains together.


Looking forward to hear your advise.


Regards.
Seti

-- 
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 #665387]: Compile error JointedCohesiveFrictionalPM

2018-03-08 Thread Chevremont William
New question #665387 on Yade:
https://answers.launchpad.net/yade/+question/665387

Hi,

I've just updated the source code of yade using git pull and I get this compile 
error, comming from code added 2 days ago:

/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp: In member 
function ‘void 
Ip2_JCFpmMat_JCFpmMat_JCFpmPhys::distributeCrossSectionsWeibull(boost::shared_ptr,
 Real, Real)’:
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:600:7: error: 
‘random_device’ is not a member of ‘std’
  std::random_device rd;
   ^
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:600:7: note: 
suggested alternative: ‘random_shuffle’
  std::random_device rd;
   ^
   random_shuffle
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:601:7: error: 
‘mt19937’ is not a member of ‘std’
  std::mt19937 e2(rd());
   ^~~
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:602:7: error: 
‘weibull_distribution’ is not a member of ‘std’
  std::weibull_distribution 
weibullDistribution(xSectionWeibullShapeParameter, 
xSectionWeibullScaleParameter);
   ^~~~
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:602:7: note: 
suggested alternative: ‘uniform_int_distribution’
  std::weibull_distribution 
weibullDistribution(xSectionWeibullShapeParameter, 
xSectionWeibullScaleParameter);
   ^~~~
   uniform_int_distribution
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:602:32: error: 
expected primary-expression before ‘>’ token
  std::weibull_distribution 
weibullDistribution(xSectionWeibullShapeParameter, 
xSectionWeibullScaleParameter);
^
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:602:34: error: 
‘weibullDistribution’ was not declared in this scope
  std::weibull_distribution 
weibullDistribution(xSectionWeibullShapeParameter, 
xSectionWeibullScaleParameter);
  ^~~
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:602:34: note: 
suggested alternative: ‘weibullCutOffMin’
  std::weibull_distribution 
weibullDistribution(xSectionWeibullShapeParameter, 
xSectionWeibullScaleParameter);
  ^~~
  weibullCutOffMin
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:603:40: error: 
‘e2’ was not declared in this scope
  Real correction = weibullDistribution(e2);
^~
/media/datas/Yade2/trunk/pkg/dem/JointedCohesiveFrictionalPM.cpp:603:40: note: 
suggested alternative: ‘R2’
  Real correction = weibullDistribution(e2);
^~
R2

-- 
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 #665385]: Clumping the big number of grains

2018-03-08 Thread Seti
New question #665385 on Yade:
https://answers.launchpad.net/yade/+question/665385

Hi all,

sorry if it is, too simple question. can you please advise me how I can clump 
big numbers e.g. I need to clump 30 grains, or 300 grains - Imagine I have 
1 grains in total.


Thanks for your help,
Seti

-- 
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 #665225]: Could not find minieigen (missing: PY_minieigen)

2018-03-08 Thread Luc OGER
Question #665225 on Yade changed:
https://answers.launchpad.net/yade/+question/665225

Status: Open => Answered

Luc OGER proposed the following answer:
Hi Jipeiqi,

in my recollection, some prebuild package can be installed in a different place 
as some manually installed one : I had the problem with libQGLviewer... and I 
was unable to link it correctly
so i suggest
- you to try the intallation of the link[1] package
- you try to install the git-trunk latest distribution version 
"yade-2018-03." it is always better for a compiling version to have the 
up-to-date solution.

otherwise you can add the "-DCMAKE_VERBOSE_MAKEFILE=ON" in the cmake
command to get more detail in the log file.

-- 
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 #665379]: penetrationDepth calculation

2018-03-08 Thread Andrea Puglisi
New question #665379 on Yade:
https://answers.launchpad.net/yade/+question/665379

Hi, I would like to understand the way "penetrationDepth" is calculated. For 
instance, in a simple collision between two identical spheres I've seen that it 
does not correspond to x1-x2-2*r where r is the radius of the spheres. I've 
been looking into the code and found for instance in Sphere_Sphere_ScGeom 
https://github.com/yade/trunk/blob/master/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp 
(line 21)
that the distance is shifted by a vector "shift2" which is passed to the 
function
Vector3r normal=(se32.position+shift2)-se31.position;
but whose definition I cannot trace back 

I suspect that this serves the purpose of interlaced force evaluation for runge 
kutta etc. but I would like to have a confirmation

Thanks for any help

Andrea



-- 
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 #665225]: Could not find minieigen (missing: PY_minieigen)

2018-03-08 Thread JIPEIQI
Question #665225 on Yade changed:
https://answers.launchpad.net/yade/+question/665225

Status: Solved => Open

JIPEIQI is still having a problem:
Hi luc and hi Bruno
I installed minieigen successfully and the error :"Could NOT find minieigen 
(missing: PY_minieigen)"
It really confused me..

My operating system is Centos 6.6 and yade version is 2017.01a and the
version of minieigen is 0.5.3. The version of boost is 1.66.0

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