Re: [Yade-users] [Question #692123]: Packing using ThermalEngine

2020-07-30 Thread Robert Caulk
Question #692123 on Yade changed:
https://answers.launchpad.net/yade/+question/692123

Status: Open => Needs information

Robert Caulk requested more information:
Hello,

Still not an MWE. An MWE is a self contained script that recreates your
problem. It is short and contains only the necessary code that someone
can copy and paste into their terminal to recreate your problem. No
external files.

Cheers,

Robert

-- 
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 #692123]: Packing using ThermalEngine

2020-07-30 Thread Robert Caulk
Question #692123 on Yade changed:
https://answers.launchpad.net/yade/+question/692123

Status: Needs information => Answered

Robert Caulk proposed the following answer:
Please ensure that your walls are containing your packing.

-- 
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 #692146]: About the stress tensor in facet and wall

2020-07-30 Thread Xiaolong ZHAO
New question #692146 on Yade:
https://answers.launchpad.net/yade/+question/692146

Hello,  dear professors,
I recently use the 'utils.bodyStressTensor()' to obtain the stress tensors on 
each partcile. I found in the list, there were also the stress tensors for 
facets and walls. The stress tensors are the sum of the contact force of one 
partile divided by the its volume and is negative for compression. Since 
actually there is no volume in facets and walls, I want to know how these 
stress tenors are calculated ? 
Thank you in advance!
Xiaolong

-- 
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 #692146]: About the stress tensor in facet and wall

2020-07-30 Thread Jérôme Duriez
Question #692146 on Yade changed:
https://answers.launchpad.net/yade/+question/692146

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

The answer in C++ language is at [1].

In a maybe more human language, the interactions that carry the forces
entering the stress expression are assumed to have a geom [2] component
of GenericSpheresContact [3] (or child) type (if not, YADE would
probably crash)

As such, there necessarily is a reference radius assigned to each
interacting body, see refR* [4]. For wall or facets, the radius seems to
be chosen as once or twice the sphere's one [5], hence the volume.

How much sense this makes might be a next question ;-)

[*] 
https://gitlab.com/yade-dev/trunk/-/blob/b87224b638ed162dd8865d097332286b4b2c9263/pkg/dem/Shop_02.cpp#L885,
 most recent version as of now
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Interaction.geom
[3] 
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.GenericSpheresContact
[4] 
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.GenericSpheresContact.refR1
 and refR2
[5] 
https://gitlab.com/yade-dev/trunk/-/blob/b87224b638ed162dd8865d097332286b4b2c9263/pkg/dem/Ig2_Facet_Sphere_ScGeom.cpp#L122
 for Facet-Sphere and 
https://gitlab.com/yade-dev/trunk/-/blob/b87224b638ed162dd8865d097332286b4b2c9263/pkg/dem/Ig2_Facet_Sphere_ScGeom.cpp#L220
 for Wall-Sphere

-- 
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 #692122]: how to add cohesion between box and spheres

2020-07-30 Thread Yuxuan Wen
Question #692122 on Yade changed:
https://answers.launchpad.net/yade/+question/692122

Yuxuan Wen posted a new comment:
Hello Jérôme,

1) Doing so, you're not adding anything, you're modifying something which has 
already been computed by YADE.
  
Thank you for replying, now I understand the simulation loop shown in the 
documentation and the  mechanism to calculate body movement in YADE.  It seems 
that  i) the interaction force is calculated based on the bodies' position 
(hence the interaction); ii) then other forces (gravity, BCs) are added on the 
bodies; iii) then the movement of bodies is calculated by NewtonIntegrator.

2) Not really understood, sorry :-)

What I want to figure out is answered in your replying in 1), thank you
very much!


May I ask you another question, that how do you think is appropriate to add 
cohesive force between spheres and the box plate to avoid bouncing?  Change the 
material from FrictMat to CohFrictMat?

Kind Regards,
Yuxuan

-- 
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 #692152]: Output packing of all gauss points using FEMxDEM

2020-07-30 Thread Zheng
New question #692152 on Yade:
https://answers.launchpad.net/yade/+question/692152

Hi all,

I just moved to a new workstation and reinstalled my Yade, Escript and Python 
from the old python 2.x to python 3.x. The new versions are Python 3.5, Escript 
5.5 and the newest YADE-source, respectively.

When I run the FEMxDEM example, i..e 'biaxialSmooth.py' and tried to output the 
current DEM packing at each gauss points, I found the output files are named, 
'packing_20200731T111611p38210_1.yade.gz' ... and there are totally 32 files in 
the folder 'result/packing'. However, in the tested case, there are totally 
8*16 FEM meshes, and should be totally 8*16*4 = 512 gauss points. What do these 
32 files represent? How to output all 512 DEM packing?

In the older version using python 2.x (I installed last year in an old 
workstation), everything goes well and all 512 packings can be outputted 
directly. What has been changed in the new version of YADE? 

Thanks for your help.

Best,
Zheng

-- 
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 #692153]: Output packing of all gauss points using FEMxDEM

2020-07-30 Thread Zheng
New question #692153 on Yade:
https://answers.launchpad.net/yade/+question/692153

Hi all,

I just moved to a new workstation and reinstalled my Yade, Escript and Python 
from the old python 2.x to python 3.x. The new versions are Python 3.5, Escript 
5.5 and the newest YADE-source, respectively.

When I run the FEMxDEM example, i..e 'biaxialSmooth.py' and tried to output the 
current DEM packing at each gauss points, I found the output files are named, 
'packing_20200731T111611p38210_1.yade.gz' ... and there are totally 32 files in 
the folder 'result/packing'. However, in the tested case, there are totally 
8*16 FEM meshes, and should be totally 8*16*4 = 512 gauss points. What do these 
32 files represent? How to output all 512 DEM packing?

In the older version using python 2.x (I installed last year in an old 
workstation), everything goes well and all 512 packings can be outputted 
directly. What has been changed in the new version of YADE? 

Thanks for your help.

Best,
Zheng

-- 
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 #692153]: Output packing of all gauss points using FEMxDEM

2020-07-30 Thread Jan Stránský
Question #692153 on Yade changed:
https://answers.launchpad.net/yade/+question/692153

Status: Open => Invalid

Jan Stránský rejected the question:
Duplicate of https://answers.launchpad.net/yade/+question/692152

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