Re: [Yade-users] [Question #706332]: Reduce or remove rebound after contact

2023-04-21 Thread Huan
Question #706332 on Yade changed:
https://answers.launchpad.net/yade/+question/706332

Status: Needs information => Open

Huan gave more information on the question:
Hello,

I just recently picked up coding and starting to learn about YADE. If
there is a better way to implement the coding and simulation, I'm all
ears.

1. pandas actually isn't needed but I just use it for my data saving purposes.
2. I have a project to study about the particle packing by using free fall 
action, while the particles generated are related to sieve analysis e.g. 
4.75mm, 4.00mm, 3.35 etc. Due to the simulation being slow, I am thinking of 
using free server to simulate the simulation.

I was trying to created a box allow the sphere to ricochet against it
and rebound into the cylinder.

The next process of my project is to transform the sphere in this
simulation into polyhedron.

Thanks
Huan

-- 
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 #706221]: Use of ChatGPT 4 for coding new YADE DEM constitutive laws

2023-04-21 Thread Idan
Question #706221 on Yade changed:
https://answers.launchpad.net/yade/+question/706221

Status: Open => Solved

Idan confirmed that the question is solved:
thanks! i will try to prompt it with the source code and see if there
are better results.

-- 
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 #706221]: Use of ChatGPT 4 for coding new YADE DEM constitutive laws

2023-04-21 Thread Jan Stránský
Question #706221 on Yade changed:
https://answers.launchpad.net/yade/+question/706221

Jan Stránský posted a new comment:
Hello,

I have tried the result.

TLTR: not so good actually..

As is my so fart experience with ChatGPT, all that glitters is not gold.
For the first sight, it looks relatively OK.
For more closer look, there are maaany problems to make it even compile (I gave 
up after not so short time)
- wrong includes,
- non-existent includes
- using non-existent variables
- redeclaration of variables and functions
- ...

Concerning actual implementation 
(TempDependentBurgersViscoElasticContactLaw::go), you have to check yourself if 
it computes it correctly.
Specifically the tangentialForce value.

Maybe just asking it for the implementation of Law2::go functions would
have better results, but currently it produces non-compilable code
(therefore the actual value is questionable).

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 #706218]: Microstrain for an assembly of clumps in direct shear test

2023-04-21 Thread Bruno Chareyre
Question #706218 on Yade changed:
https://answers.launchpad.net/yade/+question/706218

Bruno Chareyre posted a new comment:
Hi,
I confirm that clumps are not supported in this case. In fact, it should work 
if the clumped spheres are not overlapping too much, but in the general case it 
won't.
Jan suggests a good workaround in #3.

Note:  a newer function [1] will let you switch from 
> Matrix3(*[TW.deformation(b.id,i,j) for i in range(0,3) for j in range(0,3)])
to
> TW.deformationTensor(b.id)

since the first is obviously a pain.


[1] 
https://gitlab.com/yade-dev/trunk/-/merge_requests/943/diffs#4571c09191fb63b1bdb53a5ad573e72677b1892b_176_177
Should be reflected in yadedaily very soon.

-- 
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 #706332]: Reduce or remove rebound after contact

2023-04-21 Thread Jan Stránský
Question #706332 on Yade changed:
https://answers.launchpad.net/yade/+question/706332

Status: Open => Needs information

Jan Stránský requested more information:
Hello,

please provide a MWE [1]. In this case:
- are "data", "df" and similar (and pandas in general) necessary to show your 
problem? If not, please remove them
- are the "tiny" particles, making the simulation "very slow", necessary? 
Wouldn't just two layers of largest particles be sufficient?

> Is it possible to only allows the particles to fall into the container
without bouncing out after contact ...

You can reduce the effect. Some options are:
- contact law damping
- numerical integrator damping
- using higher cylinder to prevent spheres bouncing out
- using "semi-permeable" wall, masked such that it does not contact with 
spheres going down, but does contact with those going up (preventing them to 
bounce out)
- ...
but IMO it is not possible (and even desirable) to remove "bouncing" completely

> but it didn't work as I expected it to

How did you expect it to work?

Cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask

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