Re: [Yade-users] [Question #706693]: Is it possible to transform sphere to polyhedron particles?

2023-05-18 Thread Huan
Question #706693 on Yade changed:
https://answers.launchpad.net/yade/+question/706693

Status: Answered => Open

Huan is still having a problem:
Hello,

I tried understand both method potentialparticles and
polyhedra_utils.polyhedra, but it quite complicated for me. I meeting my
project deadline soon, if it not too troublesome can you show me method
to transform the sphere by using my code?

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


[Yade-users] [Question #706716]: saving the simulation

2023-05-18 Thread Carine Tanissa
New question #706716 on Yade:
https://answers.launchpad.net/yade/+question/706716

How can i save my simulation at certain time steps so that i can later open it 
and rereun it from a certain point?

-- 
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 #706709]: Segmentation error

2023-05-18 Thread Carine Tanissa
New question #706709 on Yade:
https://answers.launchpad.net/yade/+question/706709

My code runs perfectly fine until i add the VTK exporter, it then runs a few 
steps and then shows a segmentation error.
Can you please help with the error?

Here is my code:
from __future__ import print_function
from yade import plot, polyhedra_utils
import numpy as np
wire = False


##
# Need to define polyhedral material for 
Ip2_PolyhedraMat_PolyhedraMat_PolyhedraPhys() to work


m = PolyhedraMat() #defines polyhedral properties
m.density = 0.026 #kg/mm^3 
m.Ks = 130E6
m.Kn = 160E6#Pa
m.frictionAngle = 0.6 #rad
O.materials.append(m) #adds material to yade


##
# Defining polyhedra shapes in terms of their vertices so technically defining 
vertices, dimaters are 1 cm

t1_coords =   ((0.33091155911506355, -0.3242136881048748, 
-0.33985697995026614),
   (0.33091155911506355, 0.38088860029783984, 
-0.33985697995026614),
   (-0.3662726180924643, -0.3242136881048748, 
-0.33985697995026614),
   (-0.08498849969921465, -0.3242136881048748, 
0.3440300800075135),
   (0.33091155911506355, 0.095674950813, 
0.3055457315613278),
   (0.33091155911506355, 0.38088860029783984, 
0.25920106521738856),
   (-0.3662726180924643, 0.38088860029783984, 
0.20493952283110147),
   (-0.3662726180924643, -0.3242136881048748, 
0.32033663438746235))


t2_coords = ((-0.14309681589806823, -0.2272260744496193, 
0.38401015387691325),
(0.358010967088001, -0.2272260744496193, 
0.38401015387691325),
(0.6643612513710932, -0.2272260744496193, 
-0.11312310165154156),
(0.09399535164170355, -0.2272260744496193, 
-0.4453308199780648),
(0.28983044257111084, 0.06624457321674196, 
-0.2657890485909965),
(-0.3263752923764808, 0.09806342306798776, 
-0.21177708099387714),
(-0.14309681589806823, 0.5961347452425924, 
0.05063802822300939),
(-0.27303541351821494, 0.2667732486219123, 
0.18065628098092602),
(0.37721690590733186, -0.0964985942102914, 
0.3057083518969001),
(-0.47649283929694435, -0.2272260744496193, 
-0.11312310165154156))


t3_coords =((0.2600238357760947, 0.2851848128988758, 
-0.24701557197894438),
   (0.16012830358156934, 0.3484895606572876, 
-0.18513953373961826),
   (-0.16008801057746095, 0.3484895606572876, 
-0.18513953373961826),
   (-0.26000224348968266, 0.2851848128988758, 
-0.24701557197894438),
   (-0.38471948905778405, 0.2025288577517229, 
-0.0915820081211398),
   (-0.38471948905778405, -0.20256899286437123, 
-0.0915820081211398),
   (-0.23030565260400093, -0.40365230950484085, 
0.2613542406089658),
   (-0.16008801057746095, -0.500774842940389, 
0.18311089846328836),
   (0.16012830358156934, -0.500774842940389, 
0.18311089846328836),
   (0.23034594560810932, -0.40365230950484085, 
0.2613542406089658),
   (0.38475978206189245, -0.20256899286437123, 
-0.0915820081211398),
   (0.38475978206189245, 0.2025288577517229, 
-0.0915820081211398),
   (0.23034594560810932, 0.40361217439219253, 
0.2613542406089658),
   (0.16012830358156934, 0.500734707827741, 
0.18311089846328836),
   (-0.16008801057746095, 0.500734707827741, 
0.18311089846328836),
   (-0.23030565260400093, 0.40361217439219253, 
0.2613542406089658),
   (-0.16008801057746095, 0.2025288577517229, 
0.4286664300572351),
   (-0.16008801057746095, -0.20256899286437123, 
0.4286664300572351),
   (0.16012830358156934, -0.20256899286437123, 
0.4286664300572351),
   (0.16012830358156934, 0.2025288577517229, 
0.4286664300572351),
   (0.16012830358156934, 0.2025288577517229, 
-0.4030812475869826),
   (-0.16008801057746095, 0.2025288577517229, 
-0.4030812475869826),
   (-0.16008801057746095, -0.20256899286437123, 
-0.4030812475869826),
   (0.16012830358156934, -0.20256899286437123, 
-0.4030812475869826),
   (0.2600238357760947, -0.2852249480115241, 
-0.24701557197894438),
   (0.16012830358156934, -0.348529695769936, 
-0.18513953373961826),
   (-0.16008801057746095, -0.348529695769936, 
-0.18513953373961826),
   (-0.26000224348968266, -0.2852249480115241, 
-0.24701557197894438))



t4_coords =((0.4254514979111890, 0.4106636864106340 
,0.4149508885978020),
(0.5684762836292130, 0.3280882876319440, 
0.3323754918191100

Re: [Yade-users] [Question #706695]: do_intersect (yade: Polyhedron)

2023-05-18 Thread Carine Tanissa
Question #706695 on Yade changed:
https://answers.launchpad.net/yade/+question/706695

Status: Open => Solved

Carine Tanissa confirmed that the question is solved:
Changing material properties fixed my problem. Thanks

-- 
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 #706569]: Dynamic Triaxial test

2023-05-18 Thread Yuri Bezmenov
Question #706569 on Yade changed:
https://answers.launchpad.net/yade/+question/706569

Status: Open => Solved

Yuri Bezmenov confirmed that the question is solved:
Hi Jérôme and Bruno!
the problem has been solved using rigid boundary conditions and time-varying 
goal. 
thanks for your suggestions.

-- 
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 #706695]: do_intersect (yade: Polyhedron)

2023-05-18 Thread Carine Tanissa
Question #706695 on Yade changed:
https://answers.launchpad.net/yade/+question/706695

Status: Needs information => Open

Carine Tanissa gave more information on the question:
Hi,
my OS is: Ubuntu within Windows Subsystem for Linux v. 2
Yade Version: 2022.01a
CGAL: I am not sure how to check the CGAL version.

-- 
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 #706671]: Cohesive Visco-Elastic Model

2023-05-18 Thread Idan
Question #706671 on Yade changed:
https://answers.launchpad.net/yade/+question/706671

Idan proposed the following answer:
Hey thanks,

I was thinking about some classic visco-elastic (Like SLS ,Burgers or 
Generalized Maxwell) material model 
with cohesion, it seems it was not implemented yet. 

No choice but to try and implement by my own. Is there any good
tutorials on this subject?

-- 
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 #706684]: Small particles jumping up in gravity deposition example in a cylindrical box

2023-05-18 Thread Soheil Safari
Question #706684 on Yade changed:
https://answers.launchpad.net/yade/+question/706684

Soheil Safari gave more information on the question:
Dear Jan,

Thank you very much for your kind reply and valuable information as
always.

I changed these options but it did not work:
1- Reducing the “damping=0.4” value
2- Reducing the “unbalancedForce() < .05” value
3- using a higher cylinder (it works for larger particles, but not for small 
ones)

Please let me know how I can use a "semi-permeable" wall as you
recommend. (masked such that it does not contact with spheres going
down, but does contact with those going up (preventing them from
bouncing out))

Also, what should I do for the below options?
- contact law damping
- numerical integrator damping

I really appreciate any help you can provide.

Regards,
Soheil

-- 
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 #706696]: Packages update

2023-05-18 Thread mohsen
Question #706696 on Yade changed:
https://answers.launchpad.net/yade/+question/706696

mohsen posted a new comment:
in My O.S, the only way is yadedaily?

-- 
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 #706696]: Packages update

2023-05-18 Thread mohsen
Question #706696 on Yade changed:
https://answers.launchpad.net/yade/+question/706696

mohsen posted a new comment:
Thanks Jan
It is KUbuntu 20.04

-- 
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 #706693]: Is it possible to transform sphere to polyhedron particles?

2023-05-18 Thread Jan Stránský
Question #706693 on Yade changed:
https://answers.launchpad.net/yade/+question/706693

Status: Open => Answered

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

> I couldn't find out anything about polyhedral ...

[1,2,...]

> if it is possible to change spheres for every sieve size to be
polyhedron with different shape and size for each radius group ... Is it
possible?

Yes, it is possible
First you have to decide fundamental questions (like if you use Polyhedra or 
PotentialBlock or ... shape), then continue to "details" (specific shape of 
particles)

Cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/tree/master/examples/polyhedra
[2] https://yade-dem.org/doc/potentialparticles.html

-- 
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 #706696]: Packages update

2023-05-18 Thread Jan Stránský
Question #706696 on Yade changed:
https://answers.launchpad.net/yade/+question/706696

Status: Open => Answered

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

what version of OS are you using?

Package "yade" depends on system, e.g. Ubuntu 20.04 would not have newer
version in yade package.

You can try yadedaily [1] (then you would use the newest version, not
2022)

Cheers
Jan

[1] https://yade-dem.org/doc/installation.html#packages

-- 
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 #706684]: Small particles jumping up in gravity deposition example in a cylindrical box

2023-05-18 Thread Jan Stránský
Question #706684 on Yade changed:
https://answers.launchpad.net/yade/+question/706684

Jan Stránský posted a new comment:
Hello,
see recent similar discussion [1]
Cheers
Jan

[1] https://answers.launchpad.net/yade/+question/706332

-- 
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 #706190]: Contacts between walls and particles

2023-05-18 Thread Jan Stránský
Question #706190 on Yade changed:
https://answers.launchpad.net/yade/+question/706190

Status: Open => Answered

Jan Stránský proposed the following answer:
> there are particles that are in contact with more than one segment

yes, this is a feature of using plain facets with common edge (or basically 
"close" to each other).
Each contact is independent.

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 #706695]: do_intersect (yade: Polyhedron)

2023-05-18 Thread Jan Stránský
Question #706695 on Yade changed:
https://answers.launchpad.net/yade/+question/706695

Status: Open => Needs information

Jan Stránský requested more information:
Hello,
what version of OS, Yade and CGAL are you using?
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 #706671]: Cohesive Visco-Elastic Model

2023-05-18 Thread Jan Stránský
Question #706671 on Yade changed:
https://answers.launchpad.net/yade/+question/706671

Status: Open => Answered

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

as discussed in [1]:
> some (!) cohesion and viscosity is in 
> Law2_ScGeom6D_CohFrictPhys_CohesionMoment

so the answer to your question is Yes.

Cheers
Jan

[1] https://answers.launchpad.net/yade/+question/706214

-- 
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 #706669]: Polyhedral packing

2023-05-18 Thread Jan Stránský
Question #706669 on Yade changed:
https://answers.launchpad.net/yade/+question/706669

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

> I figured it out

for future reference, please provide your solution

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 #706664]: Export Local Porosity to vtk file

2023-05-18 Thread Jan Stránský
Question #706664 on Yade changed:
https://answers.launchpad.net/yade/+question/706664

Status: Open => Needs information

Jan Stránský requested more information:
Hello,

> VoxalPorosity

please use actual names. Both lower/upper case and correct "spelling".
Here it is clear that voxelPorosity is probably what you meant, but it might 
not be always like that.

> I have tried to use the TesselationWrapper and the VoxalPorosity to
calculate it, with no satisfactory results.

please provide the code or at least description what you did and why it was not 
satisfactory, and which part was not satisfactory (calculation, export, 
visualization, ...).
voxelPorosity should suit perfectly for this task.

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 #706639]: Oedometer test of cylindrical specimens

2023-05-18 Thread Jan Stránský
Question #706639 on Yade changed:
https://answers.launchpad.net/yade/+question/706639

Jan Stránský posted a new comment:
> For oedometer tests, there is no confining pressure

I would prefer: the confining pressure is not prescribed

> how should we use the TriaxialStressController?

as Jerome proposed, use such stressMask such that the transverse strain
is prescribed as zero

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 #706483]: Spherical packing in a cylindrical container

2023-05-18 Thread Launchpad Janitor
Question #706483 on Yade changed:
https://answers.launchpad.net/yade/+question/706483

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #706190]: Contacts between walls and particles

2023-05-18 Thread Sanel Avdić
Question #706190 on Yade changed:
https://answers.launchpad.net/yade/+question/706190

Status: Solved => Open

Sanel Avdić is still having a problem:
Hello,

Regarding to this, as my cylindrical facet is made of many segments,
during post processing (force chain) I saw that there are particles that
are in contact with more than one segment, and there is force drawn for
each segment that is in contact with that particle. I'm wondering if
each of these contacts is caught as an independent contact with the
previous function because that would affect my results (as I'm averaging
the force along z-axis eg. for 0.01https://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 #706696]: Packages update

2023-05-18 Thread mohsen
New question #706696 on Yade:
https://answers.launchpad.net/yade/+question/706696

In the name of God
hello every one
when i want to update my yade package, it is written my package is already in 
the newest version however it is 2020.01a. Can anyone help me? I want to 
upgrade my package to 2022 version.
Here is my terminal report:

mohsen@azm:~$ sudo apt-get install --only-upgrade yade
Reading package lists... Done
Building dependency tree   
Reading state information... Done
yade is already the newest version (2020.01a-6build2).
0 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.

Regards

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