Re: [Yade-users] [Question #694548]: Unexpected PFacet Collision Physics

2021-01-12 Thread Jeffrey Knowles
Question #694548 on Yade changed:
https://answers.launchpad.net/yade/+question/694548

Status: Answered => Open

Jeffrey Knowles is still having a problem:
Hello Bruno,

Thank you for all of your time and expertise on this issue.

I have run some full-scale models with these pfacet bodies (essentially a
large packing of these bodies in a wire cage), and found that the linear
momentum is significantly more important than the angular momentum when
calibrating my model with laboratory results, so it is not the end of the
world.

At any rate, I would be interested to hear if you fix it.

Best,

Jeff

On Mon, Jan 11, 2021 at 11:51 PM Bruno Chareyre <
question694...@answers.launchpad.net> wrote:

> [This email originated from outside of OSU. Use caution with links and
> attachments.]
>
> Your question #694548 on Yade changed:
> https://answers.launchpad.net/yade/+question/694548
>
> Bruno Chareyre posted a new comment:
> issue on gitlab for tracking progress on the bug: https://gitlab.com
> /yade-dev/trunk/-/issues/184
>
> Let me know if you make progress in understanding the issue. I think I
> may fix it but I have no ETA, I hope it is not a blocker for you.
>
> Bruno
>
> --
> You received this question notification because you asked the 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 #694945]: How to run deformableBodies examples

2021-01-12 Thread Paul Pircher
Question #694945 on Yade changed:
https://answers.launchpad.net/yade/+question/694945

Status: Needs information => Open

Paul Pircher gave more information on the question:
Sorry, that I missed that. It works and here is the output:

In [1]: printAllVersions()

```
Yade version   :  2020.01a
Yade features  :  BoostLog Odeint VTK OpenMP GTS GUI-Qt5 CGAL MPI FEMLIKE GL2PS 
PotentialParticles PotentialBlocks
Yade config dir: ~/.yade-2020.01a
```

Libraries used :

| library   | cmake| C++|
| - |  | -- |
| boost | 1.71.0   | 1.71.0 |
| cgal  |  | 5.0.2  |
| clp   |  | 1.17.5 |
| cmake | 3.16.3   ||
| compiler  | /usr/bin/c++ 9.3.0   | gcc 9.3.0  |
| eigen | 3.3.7| 3.3.7  |
| freeglut  | 2.8.1||
| gl|  | 20190805   |
| ipython   | 7.13.0   ||
| metis |  | 5.1.0  |
| mpi   | 3.1  | ompi:4.0.3 |
| mpi4py| 3.0.3||
| openblas  |  |  OpenBLAS 0.3.8|
| python| 3.8.5| 3.8.5  |
| qglviewer |  | 2.6.3  |
| qt|  | 5.12.8 |
| sphinx| 1.8.5-final-0||
| sqlite|  | 3.31.1 |
| vtk   | 6.3.0| 6.3.0  |

Linux version: Ubuntu 20.04.1 LTS

-- 
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 #694945]: How to run deformableBodies examples

2021-01-12 Thread Janek Kozicki
Question #694945 on Yade changed:
https://answers.launchpad.net/yade/+question/694945

Status: Open => Needs information

Janek Kozicki requested more information:
Let's start with a simple thing [1]. Does the command:

printAllVersions()

work for you? What does it print if it works?

[1] https://yade-dem.org/doc/user.html#questions-and-answers

-- 
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 #694945]: How to run deformableBodies examples

2021-01-12 Thread Paul Pircher
New question #694945 on Yade:
https://answers.launchpad.net/yade/+question/694945

Hi there,

lately I tried to run some of the examples for deformable elements from the 
more-examples section. 
To be precise: The testDeformableBodies.py file. [1]

Apparently something has to be done in order to run those examples as there is 
already a hint: 
"Did you compile yade with cmake option -DENABLE_FEMLIKE=1 ?"

It's is kinda straight forward, but I still some more detailed instruction for 
that. 
What exactly is that command doing?
Do I need to reinstall yade completely? Or just run the command?
Does running that command do anything that needs to be considered for future 
use? 

When I run the script without doing anything prior (like the cmake command) I 
receive the following error message multiple times:
 DeformableCohesiveElement:54 bool 
yade::DeformableCohesiveElement::nodepair::operator<(const 
yade::DeformableCohesiveElement::nodepair&) const: Incomplete 'if' sequence

Is that the error message to expect when running the script without recompiling 
it first or is this something different?

The simulation still builds up and the body is shown. It kinda looks like in 
the video of the example. 

When starting the simulation the following error occurs:

IndexErrorTraceback (most recent call last)
~/yade2020/install/bin/yade2020 in 
~/yade2020/install/bin/yade2020 in addplot()
104 
105 def addplot():
--> 106 
plot.addData(force=O.forces.f(forcebodies[1])[0],pos=(O.bodies[forcebodies[1]].state.pos[0]-initialpositions[forcebodies[1]][0]),vel=O.bodies[forcebodies[1]].state.vel[0],t=O.time,time=O.time,tm=O.time)
107 
108 for i in forcebodies:
IndexError: list index out of range



Can someone please help me to run that example? 
This could be really helpful to me if I understand that approach and can start 
to try out my own deformable element stuff. 




[1] https://yade-dem.org/doc/tutorial-more-examples-fast.html#deformableelem



-- 
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 #691584]: About periodic simple shear

2021-01-12 Thread Jan Stránský
Question #691584 on Yade changed:
https://answers.launchpad.net/yade/+question/691584

Jan Stránský posted a new comment:
The compression stage is not necessary, of course.
It depends on what you want to simulate. The original script probably simulated 
some experiment with prestress and one outcome is tanPhi = shear stress / 
normal stress (which is meaningless for zero normal stress).

If you need to model only shear, then model only shear.

For some cohesive materials, also pre-tension + shear could be applied
:-)

It is really up to you.

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