Re: [Yade-users] [Question #327466]: IDEs for yade scripting?

2016-08-23 Thread Launchpad Janitor
Question #327466 on Yade changed:
https://answers.launchpad.net/yade/+question/327466

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 #355386]: Can not instal Yadedaily on Ubuntu 16.04

2016-08-23 Thread Seti
Question #355386 on Yade changed:
https://answers.launchpad.net/yade/+question/355386

Status: Answered => Open

Seti is still having a problem:
Thanks Anton, I have done based on your recommendation .  I have
installed Yadedaily , Now the problem is , I can not run the script
which worked properly in previous version of ubuntu. Can you please
advise ?

-- 
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 #355386]: Can not instal Yadedaily on Ubuntu 16.04

2016-08-23 Thread Jérôme Duriez
Question #355386 on Yade changed:
https://answers.launchpad.net/yade/+question/355386

Status: Open => Answered

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

Without error message / a copy of the script / any other specific
information (see for instance [*]), it is completely impossible to
answer your question, unfortunately.

Also, it seems your question is now resolved since you could install
Yadedaily on Ubuntu 16.04. Please consider to open a new question for
your new problem (following the guidelines of [*])

Jerome

[*] 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


Re: [Yade-users] [Question #314841]: Cannot figure out how to use 2D TriaxialStressController

2016-08-23 Thread James X
Question #314841 on Yade changed:
https://answers.launchpad.net/yade/+question/314841

James X posted a new comment:
As a general note for future reference, I needed to include
"Bo1_Box_Aabb()" in 'InsertionSortCollider' and 'Ig2_Box_Sphere_ScGeom'
in 'InteractionLoop'.

Full code below:

import time
from yade import utils

#other random parameters
start = time.time()

###volume parameters
Sradius = 1
xSize = 4
ySize = 2
youngs = 30e9

#define and append the material
def mat_1(): return 
JCFpmMat(type=1,young=youngs,poisson=0.3,frictionAngle=radians(30),density=3000,tensileStrength=1.23e8,cohesion=1.23e8,jointNormalStiffness=1e7,jointShearStiffness=1e7,jointCohesion=1e6,jointFrictionAngle=radians(20),jointDilationAngle=0.0)
 

def mat_wall(): return
JCFpmMat(type=1,young=youngs*10,poisson=0.3,frictionAngle=radians(30),density=3000,tensileStrength=1.23e9,cohesion=1.23e9,jointNormalStiffness=1e8,jointShearStiffness=1e8,jointCohesion=1e7,jointFrictionAngle=radians(20),jointDilationAngle=0.0)

O.materials.append((mat_wall()))
O.materials.append((mat_1()))

#add in wall information, from uniax.py
mn,mx=Vector3(0,0,0),Vector3(xSize,ySize,Sradius*2) # corners of the initial 
packing
walls=aabbWalls([mn,mx],thickness=0,material=mat_wall)
wallIds=O.bodies.append(walls)


#Create the two spheres
O.bodies.append(utils.sphere((1,1,Sradius),radius=Sradius,material=mat_1))
O.bodies.append(utils.sphere((3,1,Sradius),radius=Sradius,material=mat_1))

interactionRadius=1.10 # to set initial contacts to larger neighbours
and a bit further

strainRateTension=.0001
triax=TriaxialStressController(
thickness = 0,
stressMask = 6, #1 is x, 2 is y, 4 is z, Bitmask, if imposed goal`s are 
stresses (0 for none, 7 for all, 1 for direction 1, 5 for directions 1 and 3, 
etc. :ydefault:`7)
goal1 = strainRateTension,
goal2 = -0.01, # positive is tension, negative is compression
goal3 = -0.01,
internalCompaction=False
)


O.engines=[
ForceResetter(),

InsertionSortCollider([Bo1_Sphere_Aabb(aabbEnlargeFactor=interactionRadius,label='is2aabb'),Bo1_Box_Aabb()]),
InteractionLoop(

[Ig2_Sphere_Sphere_ScGeom(interactionDetectionFactor=interactionRadius,label='ss2d3dg'),
 Ig2_Box_Sphere_ScGeom()],

[Ip2_JCFpmMat_JCFpmMat_JCFpmPhys(cohesiveTresholdIteration=1,label='interactionPhys')],

[Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(label='interactionLaw')]
),
GlobalStiffnessTimeStepper(timestepSafetyCoefficient=0.8),
NewtonIntegrator(damping=0.2,gravity=(0.,0,0.)),
triax,
TriaxialStateRecorder(iterPeriod=500,file='WallStresses_test')
]

 time step definition (low here to create cohesive links without big 
changes in the assembly)
O.dt=0.05*utils.PWaveTimeStep()

 set cohesive links with interaction radius>=1
O.step();

 initializes now the interaction detection factor to strictly 1
ss2d3dg.interactionDetectionFactor=1.0
is2aabb.aabbEnlargeFactor=1.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


[Yade-users] [Question #360288]: two-layer compaction

2016-08-23 Thread Weimin Song
New question #360288 on Yade:
https://answers.launchpad.net/yade/+question/360288

Dear all,
 
  I am trying to do the direct shear simulation of a two-layer 
composite. First I compacted the underlying layer, and then I compacted the 
upper layer, so that I evaluate the interlock effect on the interface. Besides, 
in the process of the compaction of the upper layer, I want to make the 
underlying layer particle static, how could I get that?

-- 
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 #360288]: two-layer compaction

2016-08-23 Thread Jérôme Duriez
Question #360288 on Yade changed:
https://answers.launchpad.net/yade/+question/360288

Status: Open => Answered

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

You may give a look to "dynamic" bodies attribute [1] (and set it to False), or 
to "blockedDOFs" bodies state attribute [2] (and set it to 'xyzXYZ').
The two methods are completely equivalent.

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Body.dynamic
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.State.blockedDOFs

PS: since your query seems to be "I want to make the underlying layer
particle static", please try next time to better reflect it in the
title. Very general questions titles like "two-layer compaction" are not
sexy for people to read and answer, and do not help next users that
would browse the archives to solve their 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 #360288]: two-layer compaction

2016-08-23 Thread Jan Stránský
Question #360288 on Yade changed:
https://answers.launchpad.net/yade/+question/360288

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

for b in underlyingLayer:
b.state.blockedDOFs = 'xyzXYZ'

to release them again, replacing 'xyzXYZ' with empty string "" should
work

cheers
Jan


2016-08-23 22:57 GMT+02:00 Weimin Song :

> New question #360288 on Yade:
> https://answers.launchpad.net/yade/+question/360288
>
> Dear all,
>
>   I am trying to do the direct shear simulation of a two-layer
> composite. First I compacted the underlying layer, and then I compacted the
> upper layer, so that I evaluate the interlock effect on the interface.
> Besides, in the process of the compaction of the upper layer, I want to
> make the underlying layer particle static, how could I get that?
>
> --
> 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
>

-- 
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 #360288]: two-layer compaction

2016-08-23 Thread Weimin Song
Question #360288 on Yade changed:
https://answers.launchpad.net/yade/+question/360288

Status: Answered => Solved

Weimin Song confirmed that the question is solved:
Thanks Jérôme Duriez, that solved my 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