[Yade-users] [Question #149254]: On basic operation (Beginner)

2011-03-15 Thread wangxiaoliang
New question #149254 on Yade:
https://answers.launchpad.net/yade/+question/149254

I am a beginner of yade!
When I try the sample in Tutorial, I foud the following error.
1 Yade [39]: s2=utils.sphere((-2,0,0),radius=1,fixed=True)>error
---
TypeError Traceback (most recent call last)

/home/michael/YADE/lib/yade-cleanComp060/py/yade/__init__.pyc in ()
> 1 
  2 
  3 
  4 
  5 

TypeError: sphere() got an unexpected keyword argument 'fixed'

2 O.engins=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Wall_Aabb()]),
InteractionLoop(
 [Ig2_Sphere_Sphere_L3Geom_Inc(),Ig2_Wall_Sphere_L3Geom()],
 [Ip2_FrictMat_FrictMat_FrictPhys()],
 [Law2_L3Geom_FrictPhys_ElPerfPl()]
 ),
  NewtonIntegrator(damping=.2,label='newton')
]
---
NameError Traceback (most recent call last)

/home/michael/YADE/lib/yade-cleanComp060/py/yade/__init__.pyc in ()
  3
  4
> 5
  6
  7

NameError: name 'Ig2_Wall_Sphere_L3Geom' is not defined

3 and also I have tried the periodical Triaxial compression sample

  I met error below
  NameError:name 'Ip2_Sphere_Sphere_L3Geom' is not defined



-- 
You received this question notification because you are a member of
yade-users, which 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 #157981]: On Fabric tensor

2011-05-17 Thread wangxiaoliang
New question #157981 on Yade:
https://answers.launchpad.net/yade/+question/157981

Dear everyone

   How can I get the information of the coordinate number and the fabric tensor 
in yade, for example in a periaxilcompression test

-- 
You received this question notification because you are a member of
yade-users, which 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 #157981]: On Fabric tensor

2011-05-18 Thread wangxiaoliang
Question #157981 on Yade changed:
https://answers.launchpad.net/yade/+question/157981

Status: Answered => Open

wangxiaoliang is still having a problem:


Ok! I will try it!  thanks a lot



> Your question #157981 on Yade changed: 

> https://answers.launchpad.net/yade/+question/157981

>

> Status: Open => Answered

>

> Chiara Modenese proposed the following answer:

> Hi Wang,

>

> for coordination number, you can use:

>

> from yade import utils

> utils.avgNumInteractions(skipFree=True) # please see

> https://yade-
dem.org/doc/yade.utils.html?highlight=avgnuminteractions#yade.utils.avgNumInteractions

>

> for fabric tensor:

>

> utils.fabricTensor() # please see

> https://yade-
dem.org/doc/yade.utils.html?highlight=fabrictensor#yade.utils.fabricTensor

>

> HTH,

> Chiara

>

> On 18 May 2011 01:31, wangxiaoliang

> wrote:

>

> > New question #157981 on Yade:

> > https://answers.launchpad.net/yade/+question/157981

> >

> > Dear everyone

> >

> >   How can I get the information of the coordinate number and the
fabric

> > tensor in yade, for example in a periaxilcompression test

> >

> > --

> > You received this question notification because you are a member of

> > yade-users, which 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

> >

>

> --

> If this answers your question, please go to the following page to let
us

> know that it is solved:

>
https://answers.launchpad.net/yade/+question/157981/+confirm?answer_id=0

>

> If you still need help, you can reply to this email or go to the

> following page to enter your feedback:

> https://answers.launchpad.net/yade/+question/157981

>

> You received this question notification because you asked the
question.

>

-- 
You received this question notification because you are a member of
yade-users, which 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 #177358]: data structure of fabric tensor

2011-11-02 Thread wangxiaoliang
New question #177358 on Yade:
https://answers.launchpad.net/yade/+question/177358

Dear everyone

if I use utils.fabricTensor(),   what will it return

I want to know to detail information of the returned tuple

thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #177358]: data structure of fabric tensor

2011-11-03 Thread wangxiaoliang
Question #177358 on Yade changed:
https://answers.launchpad.net/yade/+question/177358

Status: Answered => Open

wangxiaoliang is still having a problem:
what is the meaning of L_i and L_j here?
say, if in 3-d triaxial test, is it a 3*3 tensor?
thanks


> -原始邮件-
> 发件人: Chareyre 
> 发送时间: 2011年11月4日 星期五
> 收件人: wangxiaoli...@imech.ac.cn
> 抄送: 
> 主题: Re: [Question #177358]: data structure of fabric tensor
> 
> Your question #177358 on Yade changed:
> https://answers.launchpad.net/yade/+question/177358
> 
> Status: Open => Answered
> 
> Chareyre proposed the following answer:
> The returned value is the usual L_i*L_j tensor, known as "fabric" tensor
> (or two of them if you use the weak/strong split).
> 
> -- 
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/yade/+question/177358/+confirm?answer_id=0
> 
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/yade/+question/177358
> 
> You received this question notification because you asked the question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #178830]: on sample generation to model the real granular sand

2011-11-15 Thread wangxiaoliang
New question #178830 on Yade:
https://answers.launchpad.net/yade/+question/178830

Dear 

As we know, in true triaxial test of granular sand, the initial state of the 
sand is important, usually controlled by the initial porosity or void ratio or 
relative density.

However, in yade, makeCloud is the basic way to model the sample generation.

If porosity is used, then particles diameters grade curve could not be 
considered.

or if particles diameters grade curve is considered via psd , then the initial 
porosity couldn't not be satisfied

How can we  do to model the true granular sample both satisfied particle 
diameters grade curve and the initial porosity?

Thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #178830]: on sample generation to model the real granular sand

2011-11-16 Thread wangxiaoliang
Question #178830 on Yade changed:
https://answers.launchpad.net/yade/+question/178830

Status: Answered => Open

wangxiaoliang is still having a problem:
Thanks, Mr Jakob. I will try it


> -原始邮件-
> 发件人: "Christian Jakob" 
> 发送时间: 2011年11月16日 星期三
> 收件人: wangxiaoli...@imech.ac.cn
> 抄送: 
> 主题: Re: [Question #178830]: on sample generation to model the real granular 
> sand
> 
> Your question #178830 on Yade changed:
> https://answers.launchpad.net/yade/+question/178830
> 
> Christian Jakob posted a new comment:
> Maybe this example helps you:
> 
> http://bazaar.launchpad.net/~yade-dev/yade/trunk/revision/2960
> 
> -- 
> You received this question notification because you asked the question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #178830]: on sample generation to model the real granular sand

2011-11-27 Thread wangxiaoliang
Question #178830 on Yade changed:
https://answers.launchpad.net/yade/+question/178830

Status: Answered => Open

wangxiaoliang is still having a problem:
I agree with Jakob, makeCloud can either have an exact psd curve with inexact 
porosity OR an
exact porosity with inexact psd curve. But it is far from the true triaxial 
test in lab.

I think we need at least some of the features agree with true triaial
sample before any loading( isotropic or shearing)

1, psd agreement
2, porosity
3, particle shape ( some, maybe not ok now)

if not, how can u compare your numerical results with experiments, or it
is just a mathematical game?

And how can you say your sample is dense or loose?

As I know, tutorial in "session1" can't solve my questions.

-- 
You received this question notification because you are a member of
yade-users, which 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 #180226]: on capillary triaxial test

2011-11-27 Thread wangxiaoliang
Question #180226 on Yade changed:
https://answers.launchpad.net/yade/+question/180226

wangxiaoliang posted a new comment:
By the way, I am using yade0.70

-- 
You received this question notification because you are a member of
yade-users, which 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 #180226]: on capillary triaxial test

2011-11-27 Thread wangxiaoliang
New question #180226 on Yade:
https://answers.launchpad.net/yade/+question/180226

Hello all:

I have tested the code Capillary-Phys-example.py in  
http://bazaar.launchpad.net/~yade-dev/yade/trunk/files/head:/examples/;

However, yade tells me that  
Law2_ScGeom_CapillaryPhys_Capillarity(CapillaryPressure=1,hertzOn=False),#for
 linear model only
AttributeError: No such attribute: hertzOn.

I found hertzOn is false in default, so I delete "hertzOn=false",

however, yade tells me that " WARNING: cannot open files used for capillary 
law, all forces will be null. Instructions on how to download and install them 
is found here : https://yade-dem.org/wiki/CapillaryTriaxialTest.";
by the way, I have already extracted the 10 m files into my yade/bin folder.

what's problem



-- 
You received this question notification because you are a member of
yade-users, which 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 #180226]: on capillary triaxial test

2011-11-28 Thread wangxiaoliang
Question #180226 on Yade changed:
https://answers.launchpad.net/yade/+question/180226

wangxiaoliang gave more information on the question:
Which version of yade has the option of hertzOn?

Second one, if delete the hertzOn, and copy the 10 files into my Python
script, it runs. thanks , Christian

-- 
You received this question notification because you are a member of
yade-users, which 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 #180226]: on capillary triaxial test

2011-11-29 Thread wangxiaoliang
Question #180226 on Yade changed:
https://answers.launchpad.net/yade/+question/180226

Status: Answered => Open

wangxiaoliang is still having a problem:
Thanks , Christian, when I tried your advice, I found install error below
scons: Reading SConscript files ...

scons: *** Error writing options to file: scons.current-profile
[Errno 13] Permission denied: 'scons.current-profile'
File "/home/michael/yade2971/yade/SConstruct", line 64, in 

How can I deal with that, Thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #178830]: on sample generation to model the real granular sand

2011-11-29 Thread wangxiaoliang
Question #178830 on Yade changed:
https://answers.launchpad.net/yade/+question/178830

Status: Answered => Open

wangxiaoliang is still having a problem:
Chareyre, I have read your comments several times,  do you mean the
sample after istropic compressed is the initial state?

If so, I don't know how to generate my sample equal or close to the true
sample in experiment.

Take one triaxial test for example, if the sand has an initial porosity
0.36, the we need to do consolidation-triaxial shear test.

How can we generate a sample of porosity 0.36 before any load for test
in yade with makecloud?

thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #180226]: on capillary triaxial test

2011-11-29 Thread wangxiaoliang
Question #180226 on Yade changed:
https://answers.launchpad.net/yade/+question/180226

Status: Open => Solved

wangxiaoliang confirmed that the question is solved:
thanks, Christian, my problem is solved

-- 
You received this question notification because you are a member of
yade-users, which 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 #180611]: negative Sr and w why?

2011-12-01 Thread wangxiaoliang
New question #180611 on Yade:
https://answers.launchpad.net/yade/+question/180611

hi all

I am doing a triaxial test for unsaturated granular sample with 
CapillaryTriaxialTest

However, results of Sr and w in capStresses file are negative, why?

And how to choose Capillary suction, and other parameters?

thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #181281]: problem met when modifing a triaxial load code to capillary triaxial test

2011-12-08 Thread wangxiaoliang
New question #181281 on Yade:
https://answers.launchpad.net/yade/+question/181281

Hi all.

I am trying to modify the triaxial test code (in yade-school dir) to 
consider the capillary effect.

However, in the devatoric load part, when I add code to modify the 
interaction physics and add 

Law2_ScGeom_CapillaryPhys_Capillarity(), there are errors showing just 
"error"

I don't know why, maybe engine defined before the devatoric load part can't 
be modefied, or so?

Or anybody has the full python code for a capillary triaxial test?

-- 
You received this question notification because you are a member of
yade-users, which 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 #190237]: install yade on a virtual machine

2012-03-09 Thread wangxiaoliang
New question #190237 on Yade:
https://answers.launchpad.net/yade/+question/190237

Hi all
when I tried to install yade on a virtual machine (ubuntu)
I have finished all the external software yade depends, except python-numeric ( 
sudo apt-get does not work for python-numeric)

then I try to install yade
error emerged below

anybody would help me solve my problems? 
thanks a lot.

scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Eigen 2 math library will be used
Yade version is `0.70.0' (0.70.0), installed files will be suffixed with 
`-0.70.0'.
All intermediary files will be in `/home/wangxiaoliang/Yade/build-0.70.0'.
Checking whether c++ compiler "g++" works...yes
Finding libstdc++ library... (cached) /usr/lib/i386-linux-gnu/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for Python development files... ok
Checking for C++ header file numpy/ndarrayobject.h... yes
Checking for required python modules... (cached) all ok
Checking boost libraries... Failures: boost_program_options
Checking for C++ header file boost/foreach.hpp... yes
Checking for C++ header file Eigen/Core... yes
Checking for C++ header file loki/NullType.h... yes

One of the essential libraries above was not found, unable to continue.

Check `/home/wangxiaoliang/Yade/build-0.70.0/config.log' for possible causes, 
note that there are options that you may need to customize:


PREFIX: Install path prefix
default: /usr/local
    actual: /home/wangxiaoliang/YADE

runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging only.
default: None
    actual: /home/wangxiaoliang/YADE

variant: Build variant, will be suffixed to all files, along with version.
default: 
actual: 

debug: Enable debugging information (yes|no)
default: 0
actual: False

gprof: Enable profiling information for gprof (yes|no)
default: 0
actual: False

optimize: Turn on optimizations (-1, 0 or 1); with negative value (-1) 
optimization is based on debugging: not optimize with debugging (debug=True <=> 
optimize=False) and vice versa. With positive values optimization is performed 
(case of 1) or not (0) independent of debugging
default: -1
actual: True

PGO: Whether to "gen"erate or "use" Profile-Guided Optimization (|gen|use)
default: 
actual: 

features: Optional features that are turned on
(all|none|comma-separated list of names)
allowed names: opengl log4cxx cgal openmp gts vtk gl2ps qt4 sphere-padder 
never_use_this_one subdomains
default: log4cxx,opengl,gts,openmp,vtk,qt4
actual: gts log4cxx opengl openmp qt4 vtk

jobs: Number of jobs to run at the same time (same as -j, but saved)
default: 2
actual: 2

buildPrefix: Where to create build-[version][variant] directory for 
intermediary files
default: ..
actual: ..

hotPlugins: Files (without the .cpp extension) that will be compiled separately 
even in the monolithic build (use for those that you modify frequently); 
comma-separated.
default: 
actual: 

chunkSize: Maximum files to compile in one translation unit when building 
plugins. (unlimited if <= 0, per-file linkage is used if 1)
default: 7
actual: 7

version: Yade version (if not specified, guess will be attempted)
default: None
actual: 0.70.0

realVersion: Revision (usually bzr revision); guessed automatically unless 
specified
default: None
actual: 0.70.0

CPPPATH: Additional paths for the C preprocessor (colon-separated)
default: 
/usr/include/vtk-5.0:/usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/vtk-5.6:/usr/include/vtk
actual: /usr/include/vtk-5.0 /usr/include/vtk-5.2 /usr/include/vtk-5.4 
/usr/include/vtk-5.6 /usr/include/vtk /usr/include/eigen2 
/home/wangxiaoliang/Yade/build-0.70.0/include /usr/include/python2.7

LIBPATH: Additional paths for the linker (colon-separated)
default: None
actual: 

libstdcxx: Specify libstdc++ location by hand (opened dynamically at startup), 
usually not needed
default: None
actual: /usr/lib/i386-linux-gnu/libstdc++.so.6

QT4CXX: Specify a different compiler for files including qt4; this is necessary 
for older qt version (<=4.7) which don't compile with clang
default: None
actual: None

QT4DIR: Directory where Qt4 is installed
default: /usr/share/qt4
actual: /usr/share/qt4

PATH: Path (not imported automatically from the shell) (colon-separated)
default: None
actual: None

CXX: The c++ compiler
default: g++
actual: g++

CXXFLAGS: Additional compiler flags for compilation (like -march=core2).
default: None
actual: 

march: Architecture to use with -march=... when optimizing
default: native
actual: native

execCheck: Name of the main script that should be installed; if the current one 
differs, an error is raised (do not use directly, only intended for --rebuild
default: None
act

Re: [Yade-users] [Question #190237]: install yade on a virtual machine

2012-03-10 Thread wangxiaoliang
Question #190237 on Yade changed:
https://answers.launchpad.net/yade/+question/190237

Status: Answered => Open

wangxiaoliang is still having a problem:
Hi Anton, I do not understand your comments.
I have installed (using scons) in the yade fold unpackage from the compressed 
file downloaded from the offical website. It works in my ubuntu system, but not 
works in virtual ubuntu.

-- 
You received this question notification because you are a member of
yade-users, which 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 #190237]: install yade on a virtual machine

2012-03-10 Thread wangxiaoliang
Question #190237 on Yade changed:
https://answers.launchpad.net/yade/+question/190237

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
thanks nice guys, I like your help a lot

-- 
You received this question notification because you are a member of
yade-users, which 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 #191156]: running sample made of clumps

2012-03-19 Thread wangxiaoliang
New question #191156 on Yade:
https://answers.launchpad.net/yade/+question/191156

Hi all,

In the yade-school fold ,there is one script with clump option, when I turned 
the clump clump flag to true, it doesn't run.

then I  have made some modification, however it will run, but it seems coming 
into a dead loop.

Anybody tells me why? Need I modify the BCs or the interaction type or others?

and anyone could unload a script running with clump sample?

thanks all

-- 
You received this question notification because you are a member of
yade-users, which 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 #191800]: convergence very very slow

2012-03-26 Thread wangxiaoliang
New question #191800 on Yade:
https://answers.launchpad.net/yade/+question/191800

Hi all

In example , the box is usually 10*10*10 or 1*1*1, and particles size is 
usually a bit larger than the size of real sand.

However, when I tried to model grenoble sand (d50 = 0.33mm), I use two contact 
model

1, hertz model

2, Moment material model

in both model, after the isotropic compression, in the deviatoric compression 
process, usually the strain response is 

very very small. 1000 step just make the strain in y direction go forward about 
1e-6 or 1e-7.

So it needs maybe month or year to  achieve a final strain in y of 0.3, say.

In my opinion, a high rigid modulus (usually quartz GPa), induce a  high P wave 
speed, and a smaller size makes dt = r/ vp even

much more smaller than the usual sample in the tutorial(usually mod. = 1e5~6Pa, 
and particle size .5m)

So I do not know how to deal with this ques.

-- 
You received this question notification because you are a member of
yade-users, which 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 #191800]: convergence very very slow

2012-03-27 Thread wangxiaoliang
Question #191800 on Yade changed:
https://answers.launchpad.net/yade/+question/191800

Status: Answered => Open

wangxiaoliang is still having a problem:
thanks all. First of all, wangxiaoliang is my Chinese name (Chinese
style name) In English version( Xiaoliang Wang)

as the number of particles, now I just have about 1100 in my triaxial
test engine.

Increasing mass density is useless to my ques.

that you said decreasing the stiffness maybe a way.

I will have a test first

-- 
You received this question notification because you are a member of
yade-users, which 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 #194761]: is particle distribution true or close to real sand simulated by yade

2012-04-26 Thread wangxiaoliang
New question #194761 on Yade:
https://answers.launchpad.net/yade/+question/194761

Hi all,

   recently, I have read some papers using Yade or SDEC simulating triaxial 
test over sand, and made good calibration over the dem model with experimental 
models.

   However, two questions puzzled.

   1), Triaxial box is usually a bit large than the box used in a true soil 
test box;

   2), we insert particles into the box, usually 8000~1, I have estimated 
the mean particle size used in yade, usually 20-40mm in average, a bit lager 

   than the usually sand particle size 0.5mm -1mm. A box composed of 
particles a bit larger than the sand grains used in real experiment could 
 
   represent the real sand sample?

   My understanding over these questions, especially the secong is below

   if we use real particle distribution and size in the simulation, 
simulation should be a long long time.

   So the usual particle distribution is larger, maybe 10-100 times, than 
that in real sand.

   and also, numerical sample even don't care about the particle 
distribution, just uniform distribution.

  I think, in microscopic, sand grain has some statistical characters like 
distribution, average radius, morphorgy and roughness.

  at least the first 2 should be close or even equal to each other over 
yade and experiment. now the grain parameters in papers using yade 

  could only have one parameters close to real sand, relative density, why 
and how to deal with this problem?  

  
 

-- 
You received this question notification because you are a member of
yade-users, which 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 #194761]: is particle distribution true or close to real sand simulated by yade

2012-04-26 Thread wangxiaoliang
Question #194761 on Yade changed:
https://answers.launchpad.net/yade/+question/194761

Status: Answered => Open

wangxiaoliang is still having a problem:
thanks, all of your answers are helpful to me.

I know that now if is impossible to derive macroscopic behavior from
real grain level dynamics.

So, to model one sand, Grenoble sand, for example, we have the physical
parameters given,

any reasonable technique exists on how to choose parameters for my
particle or dem model?  say like particle size, distribution or clump
type.

If not, how can we say my model represent Grenoble sand, maybe the same
DEM sample with another set of parameter

(kn ks miu) could model Ottowa sand.

-- 
You received this question notification because you are a member of
yade-users, which 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 #194761]: is particle distribution true or close to real sand simulated by yade

2012-04-26 Thread wangxiaoliang
Question #194761 on Yade changed:
https://answers.launchpad.net/yade/+question/194761

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
thanks a lot, all of u.

-- 
You received this question notification because you are a member of
yade-users, which 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 #197411]: on yade0.80

2012-05-15 Thread wangxiaoliang
New question #197411 on Yade:
https://answers.launchpad.net/yade/+question/197411

hi all

   I have installed yade 0.80, and met the following errors

   1) run simple code, reads can't "import name log"

   2) run O.load(XXX.xml)  reads "stream error"

   what's wrong?

thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #197412]: data structure of interactions

2012-05-15 Thread wangxiaoliang
New question #197412 on Yade:
https://answers.launchpad.net/yade/+question/197412

hi all

   as I want to know the force and interaction distribution, I look into the 
class interactions


   handbook tells me there are geom id1 id2 isReal iterMadeReal and phys 
attributes, without telling me the structure of geom and phys

   so what is the detail structure of geom and phys in interaction

thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #197411]: on yade0.80

2012-05-15 Thread wangxiaoliang
Question #197411 on Yade changed:
https://answers.launchpad.net/yade/+question/197411

Status: Answered => Open

wangxiaoliang is still having a problem:
yade version 2971 can run these scripts, but utils.plotDirections()
doesn't work


> -原始邮件-
> 发件人: "Anton Gladky" 
> 发送时间: 2012年5月16日 星期三
> 收件人: yade-users@lists.launchpad.net
> 抄送: 
> 主题: Re: [Yade-users] [Question #197411]: on yade0.80
> 
> Question #197411 on Yade changed:
> https://answers.launchpad.net/yade/+question/197411
> 
> Anton Gladky proposed the following answer:
> Hello,
> 
> >   1) run simple code, reads can't "import name log"
> 
> The log-module has been removed from yade [1],
> 
> >   2) run O.load(XXX.xml)  reads "stream error"
> 
> No idea. Does it work with older versions?
> 
> [1] https://lists.launchpad.net/yade-users/msg05831.html
> 
> Anton
> 
> -- 
> You received this question notification because you are a member of
> yade-users, which 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 you are a member of
yade-users, which 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 #197412]: data structure of interactions

2012-05-16 Thread wangxiaoliang
Question #197412 on Yade changed:
https://answers.launchpad.net/yade/+question/197412

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #197661]: on modify interactionLoop

2012-05-17 Thread wangxiaoliang
New question #197661 on Yade:
https://answers.launchpad.net/yade/+question/197661

Hi all, I have some problems presented below in detail

 first, I have prepared my sample using elastic-frictional type material to 
generate some sample of specific relative density.

then I want to make a deviatoric load phase to simulate the triaxial 
compression using Moment material (kn, ks, phi,beta and eta), and moment type 
constitutive law

so I first add moment material to my engines and redefine my engine, then I 
modify my InteractionLoop to moment type interaction and use Moment type low.

However, only changing friction angle could result different results.

changing kn , ks, eta and beta result the same stress-strain response.

I want to know if material type can be changed during the load. if so , why 
change kn ks etc. makes no difference?

part of my code is below:

O.load('consolidated_state_'+key+'_'+str(phi)+'.xml')

# we add new materials to our material container

O.materials.append(MomentMat(eta=eyta,young=young,poisson=0.1,frictionAngle=radians(fricFinal),density=2600,label='spheres-moment'))

O.materials.append(MomentMat(eta=0.0,young=young,poisson=0.1,frictionAngle=0,density=0,label='walls-moment'))

# here we modify the material type
for i_body in O.bodies:
if i_body.id < 6 :
i_body.material = O.materials[3]
else:
i_body.material = O.materials[2]

#here we move to modify the interaction loop
Interaction = O.engines[2]
Interaction =  InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_MomentMat_MomentMat_MomentPhys(Knormal=knormal,Alpha = 
alpha,Beta=beta,useAlphaBeta=True,userInputStiffness=True)],
[Law2_SCG_MomentPhys_CohesionlessMomentRotation()]
)



-- 
You received this question notification because you are a member of
yade-users, which 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 #197661]: on modify interactionLoop

2012-05-17 Thread wangxiaoliang
Question #197661 on Yade changed:
https://answers.launchpad.net/yade/+question/197661

Status: Answered => Open

wangxiaoliang is still having a problem:
But changing material parameters will perform, say changing Friction
angle will have effect during the deviatoric loading

-- 
You received this question notification because you are a member of
yade-users, which 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 #197661]: on modify interactionLoop

2012-05-18 Thread wangxiaoliang
Question #197661 on Yade changed:
https://answers.launchpad.net/yade/+question/197661

Status: Answered => Open

wangxiaoliang is still having a problem:
Hi  Luc,

 I know change friction angle using either your technique or Chareyre's
are ok, but it is for FrictMat.

Now I am using Moment Material and Moment Law, changing kn ks eta and
beta result same response using your technique,

I don't know why.  My code is below

O.load('consolidated_state_'+key+'_'+str(phi)+'.xml')

# we add new materials to our material container

O.materials.append(MomentMat(eta=eyta,young=young,poisson=0.1,frictionAngle=radians(fricFinal),density=2600,label='spheres-moment'))

O.materials.append(MomentMat(eta=0.0,young=young,poisson=0.1,frictionAngle=0,density=0,label='walls-moment'))

# here we modify the material and interaction physics
for i_body in O.bodies:
if i_body.id < 6 :
i_body.material = O.materials[3]
else:
i_body.material = O.materials[2]
for i_interactions in O.interactions:
if i_interactions.id1 > 5 and i_interactions.id2 > 5:
i_interactions.Eta = eyta  # only interaction between 
particles are changed to eyta > 0


#here we move to modify the interaction loop
Interaction = O.engines[2]
Interaction =  InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_MomentMat_MomentMat_MomentPhys(Knormal=knormal,Alpha = 
alpha,Beta=beta,useAlphaBeta=True,userInputStiffness=True)],
[Law2_SCG_MomentPhys_CohesionlessMomentRotation()]
)

# here we redifine the triaxial engine
triax=O.engines[4] #redifine 3d triaxial engine
##We move to deviatoric loading, let us turn internal compaction off to 
keep particles sizes constant
triax.internalCompaction=False

## Change contact friction (remember that decreasing it would generate 
instantaneous instabilities)
triax.setContactProperties(fricFinal)

  
   this  statement "i_interactions.Eta = eyta" doesn't change eta in 
interaction physics, but I think it should change. 


 Here we have parameters in this function below, doesn't this function 
change kn, ks beta in interaction physics?
   
 [Ip2_MomentMat_MomentMat_MomentPhys(Knormal=knormal,Alpha = 
alpha,Beta=beta,useAlphaBeta=True,userInputStiffness=True)],

-- 
You received this question notification because you are a member of
yade-users, which 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 #197661]: on modify interactionLoop

2012-05-19 Thread wangxiaoliang
Question #197661 on Yade changed:
https://answers.launchpad.net/yade/+question/197661

Status: Answered => Open

wangxiaoliang is still having a problem:
well, I have three parts,

in part 1 and part 2, I generate a sample with specific relative density
and then compress to  100kPa isotropicly, which generated a xml file to
be loaded in my triaxial test.

In part 3, I start my deviatoric load process to simulate the drained
triaxial test process. My code is below

nRead=utils.readParamsFromTable(
knormal=170e6,
alpha = 0.1,
fricFinal = 30,
beta = 1.8,
eyta = 1.8,
unknow=True
)
from yade.params import table

knormal = table.knormal
alpha = table.alpha
fricFinal = table.fricFinal
beta = table.beta
eyta = table.eyta

young = 6e6
poisson = 0.1
num_spheres = 1
key = 'Ec'+str(young)+'poisson'+str(poisson)+'num'+str(num_spheres)
key_output = 
'knormal_'+str(knormal)+'alpha_'+str(alpha)+'fric_'+str(fricFinal)+'beta_'+str(beta)+'eta_'+str(eyta)
rate = 0.02
damp=0.2 # damping coefficient
stabilityThreshold=0.01 

 O.load('consolidated_state_'+key+'_'+str(phi)+'.xml')

# we add new materials to our material container

O.materials.append(MomentMat(eta=eyta,young=young,poisson=0.1,frictionAngle=radians(fricFinal),density=2600,label='spheres-moment'))

O.materials.append(MomentMat(eta=0.0,young=young,poisson=0.1,frictionAngle=0,density=0,label='walls-moment'))

# here we modify the material and interaction physics
for i_body in O.bodies:
if i_body.id < 6 :
i_body.material = O.materials[3]
else:
i_body.material = O.materials[2]
for i_interactions in O.interactions:
if i_interactions.id1 > 5 and i_interactions.id2 > 5:
i_interactions.phys.Eta = eyta  # only interaction 
between particles are changed to eyta > 0
#here we move to modify the interaction loop
Interaction = O.engines[2]
Interaction =  InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_MomentMat_MomentMat_MomentPhys(Knormal=knormal,Alpha = 
alpha,Beta=beta,useAlphaBeta=True,userInputStiffness=True)],
[Law2_SCG_MomentPhys_CohesionlessMomentRotation()]
)

# here we redifine the triaxial engine
triax=O.engines[4] #redifine 3d triaxial engine
##We move to deviatoric loading, let us turn internal compaction off to 
keep particles sizes constant
triax.internalCompaction=False

## Change contact friction (remember that decreasing it would generate 
instantaneous instabilities)
triax.setContactProperties(fricFinal)

##set independant stress control on each axis
triax.stressControl_1=triax.stressControl_2=triax.stressControl_3=True
## We turn all these flags true, else boundaries will be fixed
triax.wall_bottom_activated=True
triax.wall_top_activated=True
triax.wall_left_activated=True
triax.wall_right_activated=True
triax.wall_back_activated=True
triax.wall_front_activated=True


##If we want a triaxial loading at imposed strain rate, let's assign 
srain rate instead of stress
triax.stressControl_2=0 #we are tired of typing "True" and "False", we 
use implicit conversion from integer to boolean
triax.strainRate2=rate
triax.strainRate1=100*rate
triax.strainRate3=100*rate

##we can change damping here. What is the effect in your opinion?
#newton.damping=0.1

##Save temporary state in live memory. This state will be reloaded from 
the interface with the "reload" button.
O.saveTmp()

#here we redefine the history recorder
from yade import plot

### a function saving variables
def history():
plot.addData(e11=triax.strain[0], e22=triax.strain[1], 
e33=triax.strain[2],
s11=triax.stress(triax.wall_right_id)[0],
s22=triax.stress(triax.wall_top_id)[1],
s33=triax.stress(triax.wall_front_id)[2],
i=O.iter,CN = utils.avgNumInteractions())

O.engines[4]=PyRunner(iterPeriod=1500,command='history()',label='recorder')

while 1:
O.run(1000,True)
if O.iter%100 == 0:
print "iter = ", O.iter
print "Syy = ",triax.strain[1]
if triax.strain[1] > 0.3:
break

### declare what is to plot. "None" is for separating y and y2 axis
plot.plots={'i':('

Re: [Yade-users] [Question #198594]: poisson ratio problem

2012-05-27 Thread wangxiaoliang
Question #198594 on Yade changed:
https://answers.launchpad.net/yade/+question/198594

wangxiaoliang proposed the following answer:
E v in yad is different than that in pfc3d, but it is not important,
because everyone needs to calibrate E and v

-- 
You received this question notification because you are a member of
yade-users, which 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 #199585]: how can i simulate rolling friction?

2012-06-07 Thread wangxiaoliang
Question #199585 on Yade changed:
https://answers.launchpad.net/yade/+question/199585

wangxiaoliang posted a new comment:
I am trying to add a rolling physics using 
Ip2_MomentMat_MomentMat_MomentPhys
Law2_SCG_MomentPhys_CohesionlessMomentRotation

However, rolling parameters have no effect to the macroscopic response
too, like u.

-- 
You received this question notification because you are a member of
yade-users, which 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 #199585]: how can i simulate rolling friction?

2012-07-05 Thread wangxiaoliang
Question #199585 on Yade changed:
https://answers.launchpad.net/yade/+question/199585

wangxiaoliang posted a new comment:
Hi Jakob, as you would like to use rolling resistance, u have at least 4
DOFs ( 1 normal, 2 shear  and 1 roll),

so which Ig (Interaction Geometry) do u use, ScGeom or ScGeom6D?

-- 
You received this question notification because you are a member of
yade-users, which 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 #202803]: How can I model a sand with rolling resistance

2012-07-11 Thread wangxiaoliang
New question #202803 on Yade:
https://answers.launchpad.net/yade/+question/202803

As somebody has pointed out, if we want to model sand dilatancy using sphere 
type assembladge, rolling resistance should be included.

I have read  Plassiard's paper, but moment type contact law in Yade seems 
useless to model rolling resistance.

1, How can I model a rolling resistance with linear normal and tangential 
contact law?

2, As pointed by Christian Jakob, it seems he succeed in model sand with hertz 
contact law with rolling resistance,
but how can he modify the micromechanical parameters duiring the deviatoric 
compression process after isotropic compression process ? As I knew, only 
particle friction angle could be modified, how can I modify kn ks and kr? 

-- 
You received this question notification because you are a member of
yade-users, which 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 #202803]: How can I model a sand with rolling resistance

2012-07-11 Thread wangxiaoliang
Question #202803 on Yade changed:
https://answers.launchpad.net/yade/+question/202803

Status: Answered => Open

wangxiaoliang is still having a problem:
Thanks, Chareyre and Jduriez, in which version yade, you have included
plastic moment for rolling resistance?

another question, if we just add a resistance of rolling, I think 3 dof
is enough, 6dof may cause high computation time?

-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-18 Thread wangxiaoliang
New question #208965 on Yade:
https://answers.launchpad.net/yade/+question/208965

Many body here seems interested in the rolling moment type model for granular 
media, including me.

however,  as I have read some of the talking in this launchpad, I am not 
satisfied with the answers and also I have never realized 

one modeling using rolling model.

As I know, at least 2 model could be used for modeling rolling resistance

1) Ip2_CohFrictMat_CohFrictMat_CohFrictPhys() + 
Law2_Scgeom6D_cohFrictPhys_cohFrictPhys_CohesionMoment()
 
which  can model compression  shear rolling and twisting, but I have tested 
that as linran(one of the yade user)  did, in one of the interactions, I found 
bending moment and twisting moment are both 0.

As for this contact law, anybody have tested it, and how to use this one to 
model rolling resistance?

2) Ip2_FrictMat_FrictMat_MindlinPhys() + Law2_ScGeom_MindlinPhys_Mindlin()
as talked by Christian Jacob last time by add parameters in this contact 
law krot eta and includeMoment=True

I have also tested this scheme, rolling moment could be added , the problem 
is the maxmum rolling moment is larger than the plastic bending moment if I set 
eta=1.0, I guess eta plays no role here. Have Jacob tested eta?

   Also I have questions about the 2nd way, if I have set krot and eta, the 
initial state (after isotropic compression) is really difficult to control, at 
least kn ks frictionangle krot and eta should be tested. however, In 
Plassizrd's paper used SDEC, he just used kn ks and frictionangle to control 
the isotropic compression process, and then add rolling moment to the contact, 
but I never realized that in yade, which I have found only friction angle could 
be easily changed.

Anybody have realized the rolling moment model in yade using either the 
method I mentioned or other scheme?

I am glad to talk with all of u interested in rolling resistance moment model





-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-19 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

wangxiaoliang posted a new comment:
thanks Chareyre for your comment 
I tested script u commited, luckily it works. I have printed one of the 
interaction results show below
here c is one of the interaction

Yade [7]: c.phys.cohesionBroken 
 ->  [7]: False
Yade [8]: c.phys.kn
 ->  [8]: 7653241.2717035133
Yade [9]: c.phys.kr
 ->  [9]: 1593844.2946957101
Yade [10]: c.phys.ks
 ->  [10]: 3061296.5086814053
Yade [11]: c.phys.ktw
 ->  [11]: 1593844.2946957101
Yade [12]: c.phys.moment_bending 
 ->  [12]: Vector3(-105.4878453405061,512.93976974058694,129.58686704922914)
Yade [13]: c.phys.maxRollPl 
 ->  [13]: 0.050906805758850759
Yade [14]: c.phys.maxTwistMoment 
 ->  [14]: Vector3(0,0,0)
Yade [15]: c.phys.moment_twist
 ->  [15]: Vector3(300.29038157157754,-753.75279141536646,3237.7950631480908)

Obviously, norm of  c.phys.moment_bending is a bit larger than
c.phys.maxRollPl ( I think this should be the plastic rolling threshold
value ), so I think etaRoll plays no roll here, Why?

Also I found this kind of phenomena in the 2nd way I mentioned in my question 
using 
Ip2_FrictMat_FrictMat_MindlinPhys() + Law2_ScGeom_MindlinPhys_Mindlin()

Chareyre, Jokob or others, could u explain that

-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-20 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

wangxiaoliang posted a new comment:
I see, great help of u, Chareyre!

Another comment about yade, somebody juest want to add a rolling moment
to the classic Cundall model to model sand or gravel

in which there is no cohesion phys.

I remember months ago, there is phys and law named MomentMat phys ,
Law2_Scg_MomentPhys_CohesionlessMomentRotation.

why do u remove MomentMat  Phys and its Ig, law ?

-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-24 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

Status: Answered => Open

wangxiaoliang is still having a problem:
Hi  Chiara, as I again test the script u give, warning list is shown
below

WARN  /home/michael/yadeLatest/yade081/yade-
trunk-2954021/pkg/dem/CohesiveFrictionalContactLaw.cpp:149 go: If
:yref:`CohesiveFrictionalContactLaw::useIncrementalForm` is false, then
plasticity would not be applied correctly (the total formulation would
not reproduce irreversibility)

either I turn useIncrementalForm true or false, I always got this
warning, and the calculation won't go to the end. The two  yade versions
I used is 0.80.1 and yade point 2971.

-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-24 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

Status: Answered => Open

wangxiaoliang is still having a problem:

which updated version, 0.80.1 still has this problems, would u please show the 
webpage of the updated source here? thanks

> -原始邮件-
> 发件人: Chareyre 
> 发送时间: 2012年9月24日 星期一
> 收件人: yade-users@lists.launchpad.net
> 抄送: 
> 主题: Re: [Yade-users] [Question #208965]: topics on rolling resistance 
> modeling granular media
> 
> Question #208965 on Yade changed:
> https://answers.launchpad.net/yade/+question/208965
> 
> Status: Open => Answered
> 
> Chareyre proposed the following answer:
> I fixed this warning recently.
> You need the daily snapshot or updated sources to get rid of it.
> 
> -- 
> You received this question notification because you are a member of
> yade-users, which 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 you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-24 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

Status: Answered => Open

wangxiaoliang is still having a problem:
Well,  I never install yade successful via the yade-daily, I installed
yade by download yade source and use scons, Ubuntu version of mine is
9.10.

sudo add-apt-repository ppa:yade-pkg/stable shows  error below

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring 
--secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg 
--keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 
7241D8E316D8283220948D3CB58448722AFBE6B7
gpg: download key ‘2AFBE6B7’,from  hkp server keyserver.ubuntu.com
gpg: key  2AFBE6B7:“Launchpad PPA for Yade packagers” never changed

and sudo apt-get update also show errors.

-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-24 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

wangxiaoliang gave more information on the question:
Btw, I also used the 2nd way I mentioned, say
Ip2_FrictMat_FrictMat_MindlinPhys() + Law2_ScGeom_MindlinPhys_Mindlin() to 
simulate triaxial compression

luckily ,there exists rolling moment . Very Strangely, model with
rolling moment results a much smaller than model without rolling moment?

Can anybody tell me why?

-- 
You received this question notification because you are a member of
yade-users, which 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 #208965]: topics on rolling resistance modeling granular media

2012-09-25 Thread wangxiaoliang
Question #208965 on Yade changed:
https://answers.launchpad.net/yade/+question/208965

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
I reinstall my Ubuntu, now the version becomes 12.04. And problems using
cohesive materials are solved.

I will open another page to talk about the 2nd way simulating rolling 
resistance for sand via 
Ip2_FrictMat_FrictMat_MindlinPhys() + Law2_ScGeom_MindlinPhys_Mindlin()

thanks all guys, especially Chareyre

-- 
You received this question notification because you are a member of
yade-users, which 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 #209690]: how to save the screen (qt.view()) to figures

2012-09-26 Thread wangxiaoliang
New question #209690 on Yade:
https://answers.launchpad.net/yade/+question/209690

in Yade, qt.view() will show nice picture of the trixial cell in a window,

1)  can I modify the color of background in the view, usually gray, I want to 
change it into white

2) How can I save the view into a figure



-- 
You received this question notification because you are a member of
yade-users, which 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 #209690]: how to save the screen (qt.view()) to figures

2012-09-27 Thread wangxiaoliang
Question #209690 on Yade changed:
https://answers.launchpad.net/yade/+question/209690

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
Thanks Klaus Thoeni, that solved my question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #210429]: on constitutive law of DEM and yade

2012-10-05 Thread wangxiaoliang
New question #210429 on Yade:
https://answers.launchpad.net/yade/+question/210429

Law between particles are fundamental problems in yade, and also other DEM 
codes, for which, the contact parameters are now mostly accepted obtained by 
calibrated dem results with real triaxial compression test.

As for yade, most papers using yade or sdec,  the triaxial cell is usually a 
bit larger, for example in Plassiard's paper, 10 *20 *10m, and he pointed out 
in his paper that a larger cell than real triaxial compression test is to 
reduce the computation time,
and contact law in yade has already considered the scale effect.

I do not understand how yade consider scale effect for a triaxial compression 
test, for example, using 1*2*1 to model .1*.2*.1,
if using latter, computation time will be a bit larger.

1)  Is there any theory on contact law for yade talking about scale effect 
explaining my ques?

2) As for trixial compression test considering capillary effect, the cell is 
ususlly .001*.001*.001m, I think, capillary depends on particle scale ? and 
what's the differece between 1*1*1 m cell box and .001*.001*.001m cell box?

-- 
You received this question notification because you are a member of
yade-users, which 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 #210429]: on constitutive law of DEM and yade

2012-10-05 Thread wangxiaoliang
Question #210429 on Yade changed:
https://answers.launchpad.net/yade/+question/210429

wangxiaoliang posted a new comment:
Chareyre, do you mean there is micromechanical relation between Young
and packing's bulk modulus not depend on particle size?  Could u
recommend some papers on dimesional analysis for that, up to your
knowledge?

-- 
You received this question notification because you are a member of
yade-users, which 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 #210907]: on sample preparation of real granula materials

2012-10-11 Thread wangxiaoliang
New question #210907 on Yade:
https://answers.launchpad.net/yade/+question/210907

In real triaxial compression of granular sand, relative density is usually a 
key parameter to control the initial state of the sample.

I want to simulate the triaxial compression using yade.  topic here is all 
about the sample generation.

I use radius-expansion method with different inter-particle friction angle to 
generate loose or dense sample, friction angle 0 results the densest sample, 
and friction of maxmimum equals to that used later in deviatoric loading 
results loosest one as proposed by Chareyre etc. I want to relate the relative 
density with friction angle, finally I do that. I calibrate parameters using a 
contact model considering rolling resistance, but if fails for the rolling 
resistance.

So I guess that the problem is wrong, how to relate my numerical sample with 
real granular soil using the radius-expansion method?

and anybody has advanced method to generate numerical sample to model real 
granular sand?

thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #210907]: on sample preparation of real granula materials

2012-10-11 Thread wangxiaoliang
Question #210907 on Yade changed:
https://answers.launchpad.net/yade/+question/210907

Status: Answered => Open

wangxiaoliang is still having a problem:
thanks, luc. I have read the paper many times. I am simulating a sand of
relative density of 64%, a bit dense sample. I have calibrated like
Plassiard with my dense sample,however, at the last step ,I calibrate
for rolling stiffness, in the response, the macroscopic friction angle
doesn't change.

I generate my sample using a bit small friction angle, say 3.3 degree,
which corresponding relative density 64% of my experiment. I guess
calibration fails duo to this.

In your paper "on capillary stress tensor in wet granular materials",
you even used a smaller friction angle, say 0.2. In my experience, that
will result a very large dilatancy angle, usually larger than 20, but in
experiment it is usually about 10.

Actually, I am talking about the sample controlling parameters, somebody
use porosity, somebody use relative density, to be equal to that in the
real experiment. Which one is more appropriate?

-- 
You received this question notification because you are a member of
yade-users, which 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 #210907]: on sample preparation of real granula materials

2012-10-11 Thread wangxiaoliang
Question #210907 on Yade changed:
https://answers.launchpad.net/yade/+question/210907

wangxiaoliang gave more information on the question:
thanks Christian, I never used clump particles, I just want to use a
resistance model to model the complex shape of particles.

1), what do you mean by instabilities?

2), I the consolidation process, which friction do you use?

-- 
You received this question notification because you are a member of
yade-users, which 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 #210907]: on sample preparation of real granula materials

2012-10-11 Thread wangxiaoliang
Question #210907 on Yade changed:
https://answers.launchpad.net/yade/+question/210907

wangxiaoliang gave more information on the question:
In plassiard's paper, he used radius-expansion method. there is one sentence in 
his paper
"With it, the desired porosity which corresponds to the porosity of the real 
specimen n = 0.40 was reached"

I never understand this, n in the real specimen is 0.40, but what is n
in his numerical specimen?

-- 
You received this question notification because you are a member of
yade-users, which 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 #210907]: on sample preparation of real granula materials

2012-10-11 Thread wangxiaoliang
Question #210907 on Yade changed:
https://answers.launchpad.net/yade/+question/210907

wangxiaoliang posted a new comment:
>@ luc #9: I guess this should be the title of your question? I also guess that 
>you are using Law2_ScGeom6D_CohFrictPhys_CohesionMoment. Am I right?
Yes you are right. I know comFricDegree and finalFricDegree.

>The triaxial compression is thus performed on a sample with initial porosity 
>equal to 0.40.
actually, in real consolidated drained compression, I prepare my sample with 
the  "initial porosity" 
I want, then add isotropic pressure, say 50kPa. In DEM simulation, many authors 
also mentioned 
"initial porosity" like with the radius-expansion method, so I think 0.40 here 
should be the porosity
after consolidated compared to the real CD compression, am I right? But in real 
experiment, we say
initial porosity, that should be before consolidation

-- 
You received this question notification because you are a member of
yade-users, which 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 #212869]: structure of data from MicroMacroAnalyser

2012-10-31 Thread wangxiaoliang
New question #212869 on Yade:
https://answers.launchpad.net/yade/+question/212869

Part of the data from MicroMacroAnalyser is below, but what is meaning of every 
colume?
1005
0 0.586055 1.34902 0.384492 0.154744 3.53349e-313 -3.23516e-42 8.48798e-314 
-0.112338 -0.786673 -0.601412 1
1 0.107843 0.411292 0.207951 0.153977 3.53349e-313 -3.23516e-42 8.48798e-314 
0.0497734 0.402168 -0.162091 1
2 0.106701 1.20871 0.227778 0.153222 3.53349e-313 -3.23516e-42 8.48798e-314 
-0.37439 0.762097 -0.279149 1
3 0.364543 1.58986 0.844102 0.152477 3.53349e-313 -3.23516e-42 8.48798e-314 
0.103945 -0.375213 0.42399 1
4 0.503381 1.07056 0.0936406 0.151744 3.53349e-313 -3.23516e-42 8.48798e-314 
-0.290468 -0.684548 -0.217042 1


-- 
You received this question notification because you are a member of
yade-users, which 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 #212869]: structure of data from MicroMacroAnalyser

2012-10-31 Thread wangxiaoliang
Question #212869 on Yade changed:
https://answers.launchpad.net/yade/+question/212869

wangxiaoliang posted a new comment:
After the istropic compression, I just add MMA engines into the global
engine like below

O.engines=O.engines[0:5]+[MicroMacroAnalyser(interval=6000)]+O.engines[5:6]

-- 
You received this question notification because you are a member of
yade-users, which 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 #212969]: SnapshotEngine

2012-11-01 Thread wangxiaoliang
New question #212969 on Yade:
https://answers.launchpad.net/yade/+question/212969

In the latest yade-daily or yade-stable or yade.0.90

I found there is no SnapshotEngine?

Why and How to add SnapshotEngine? BTW, VTKRecorder is ok

-- 
You received this question notification because you are a member of
yade-users, which 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 #212969]: SnapshotEngine

2012-11-01 Thread wangxiaoliang
Question #212969 on Yade changed:
https://answers.launchpad.net/yade/+question/212969

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
Thanks Anton Gladky, that solved my question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #212969]: SnapshotEngine

2012-11-01 Thread wangxiaoliang
Question #212969 on Yade changed:
https://answers.launchpad.net/yade/+question/212969

wangxiaoliang posted a new comment:
I hope the next release or daily one will solve this problem

-- 
You received this question notification because you are a member of
yade-users, which 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 #212885]: 3D force chains

2012-11-01 Thread wangxiaoliang
Question #212885 on Yade changed:
https://answers.launchpad.net/yade/+question/212885

wangxiaoliang posted a new comment:
I have tested the command recommended by Chareyre. BTW, VTKRecorder
engine will record all the information including the force chain, but
how can I plot the force chain using a third postprecessing software.
Paraview can't plot the thickness of a force chain?

And also, I want to know in the OpenGL window, how can I save the
picture of the window. There is no command in OpenGLRenderere

-- 
You received this question notification because you are a member of
yade-users, which 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 #212885]: 3D force chains

2012-11-06 Thread wangxiaoliang
Question #212885 on Yade changed:
https://answers.launchpad.net/yade/+question/212885

wangxiaoliang requested more information:
Is there any method to add a legend to show the force magnitude?

-- 
You received this question notification because you are a member of
yade-users, which 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 #213442]: Open questions on how to plot force chain with paraview

2012-11-06 Thread wangxiaoliang
New question #213442 on Yade:
https://answers.launchpad.net/yade/+question/213442

There is a hot talking about how to plot force chain,  however  answer in this 
webpage 
https://lists.launchpad.net/yade-users/msg03590.html is not clear, so I just 
opened this again.

I have used VTKRecorder to record spheres boxes and intr information, but in 
paraview I load 

these files, I can plot spheres using spheres, but I can't plot force chain 
using intr?


-- 
You received this question notification because you are a member of
yade-users, which 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 #212885]: 3D force chains

2012-11-06 Thread wangxiaoliang
Question #212885 on Yade changed:
https://answers.launchpad.net/yade/+question/212885

wangxiaoliang requested more information:
thanks Thoeni, Here I mean in Yade, how to add a legend, in the help I
haven't found that command.

Treatment of force chain is opened in another question,
https://answers.launchpad.net/yade/+question/213442
Others interested in this issue could talked that.

-- 
You received this question notification because you are a member of
yade-users, which 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 #213442]: Open questions on how to plot force chain with paraview

2012-11-06 Thread wangxiaoliang
Question #213442 on Yade changed:
https://answers.launchpad.net/yade/+question/213442

Status: Answered => Open

wangxiaoliang is still having a problem:
thanks Thoeni, you have almost solved my problems.

I have plotted force chain, but I can't choose Scalars and Vectors in
paraview as ForceN and absForceT, btw, I have turned

Vary Radius to Scalar mode.

Sorry, I'd better to upload a figure, but I haven't found the legend in
yade-launchpad

-- 
You received this question notification because you are a member of
yade-users, which 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 #213744]: Rolling resistance for cohesionless material

2012-11-08 Thread wangxiaoliang
Question #213744 on Yade changed:
https://answers.launchpad.net/yade/+question/213744

Status: Open => Answered

wangxiaoliang proposed the following answer:
Your code would not change the exsisting contact.
I think talks in the sub 2 webpages should be helpful to u 
https://answers.launchpad.net/yade/+question/202803
https://answers.launchpad.net/yade/+question/208965

-- 
You received this question notification because you are a member of
yade-users, which 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 #215393]: on FlowEngine

2012-11-27 Thread wangxiaoliang
New question #215393 on Yade:
https://answers.launchpad.net/yade/+question/215393

in yade/pkg/dem, there is  a FlowEngine.cpp, but in when I run a script 
including FlowEngine, error shows "FlowEngine is not defined", anybody could 
recompile yade with FlowEngine included, thanks

-- 
You received this question notification because you are a member of
yade-users, which 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 #216109]: error in delete a particle

2012-12-06 Thread wangxiaoliang
New question #216109 on Yade:
https://answers.launchpad.net/yade/+question/216109

In a triaxial compression engine,

After isotropic compression, I delete a particle by O.bodies.erase(10), erase 
is successful, but the continuing 

deviatoric compression met error "Segmentation fault (core dumped)"

what's wrong?

-- 
You received this question notification because you are a member of
yade-users, which 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 #216109]: error in delete a particle

2012-12-06 Thread wangxiaoliang
Question #216109 on Yade changed:
https://answers.launchpad.net/yade/+question/216109

wangxiaoliang gave more information on the question:
Well, our mission is to understand the characteristic of granular of
granular media after erosion by water, background of which is

piping or dam-break.  In my opinion, erosion is a lose of small size
particles, so I just want to delete some small particles in a triaxial

compression tests. scripts is below. script will run to erosion
successfully, but after that error was met "Segmentation fault (core
dumped)"

#333
# encoding: utf-8
# a script to simulate the degradation duo to erosion
from yade import pack

# The following 5 lines will be used later for batch execution
nRead=utils.readParamsFromTable(
num_spheres=500,# number of spheres
compFricDegree = 30, # contact friction during the confining phase
unknownOk=True
)
from yade.params import table

num_spheres=table.num_spheres# number of spheres
compFricDegree = table.compFricDegree # contact friction during the confining 
phase
finalFricDegree = 30 # contact friction during the deviatoric loading
rate=0.02 # loading rate (strain rate)
damp=0.2 # damping coefficient
stabilityThreshold=0.001 # we test unbalancedForce against this value in 
different loops (see below)
key='_phi='+str(compFricDegree) # put you simulation's name here
young=100e6 # contact stiffness
mn,mx=Vector3(0,0,0),Vector3(1,2,1) # corners of the initial packing
thick = 0.01 # thickness of the plates

sp=pack.SpherePack()

## box between mn and mx, avg radius ± ½(20%), 2k spheres
sp.makeCloud(minCorner=mn,maxCorner=mx,rMean=-1,rRelFuzz=.2,num=num_spheres,periodic=0,porosity=0.95)

## create material #0, which will be used as default
O.materials.append(FrictMat(young=young,poisson=.4,frictionAngle=radians(compFricDegree),density=2600,label='spheres'))
O.materials.append(FrictMat(young=young,poisson=.4,frictionAngle=0,density=0,label='frictionless'))

volume = (mx[0]-mn[0])*(mx[1]-mn[1])*(mx[2]-mn[2])
mean_rad = pow(0.09*volume/num_spheres,0.)
mean_rad = 5*mean_rad

#define psd and spheres cloud
psdSizes = 
[1.*mean_rad,1.81*mean_rad,2.58*mean_rad,3.35*mean_rad,4.13*mean_rad,4.90*mean_rad,5.68*mean_rad,6.45*mean_rad,7.22*mean_rad,8.0*mean_rad]
psdCumm =[0.,.19,.24,.27,.31,.34,.38,.42,.49,1.]
sp.makeCloud(mn,mx,psdSizes=psdSizes,psdCumm=psdCumm,distributeMass=True,num=num_spheres)
O.bodies.append([utils.sphere(center,rad,material='spheres') for center,rad in 
sp])

## create material #0, which will be used as default
## it seems that wall should be created after the spheres
walls=utils.aabbWalls([mn,mx],thickness=1e-10,material='frictionless')
wallIds=O.bodies.append(walls)
#print out psd generated
dmj = utils.psd(bins=9)[0]
hmj = utils.psd(bins=9)[1]
fileHandle = open ( 'psdGenerated'+str(compFricDegree), 'w' )
fileHandle.write('r'+' '+'h'+'\n')
for i in [0,1,2,3,4,5,6,7,8,9]:
r = dmj[i]
h = hmj[i]
fileHandle.write(str(r)+'  '+str(h)+'\n')
fileHandle.close()
# print the psd required in to file
fileHandle = open ( 'psdRequired'+str(compFricDegree), 'w' )
fileHandle.write('r'+' '+'h'+'\n')
for i in [0,1,2,3,4,5,6,7,8,9]:
r = psdSizes[i]
h = psdCumm[i]
fileHandle.write(str(r)+'  '+str(h)+'\n')
fileHandle.close()

triax=TriaxialCompressionEngine(
wall_bottom_id=wallIds[2],
wall_top_id=wallIds[3],
wall_left_id=wallIds[0],
wall_right_id=wallIds[1],
wall_back_id=wallIds[4],
wall_front_id=wallIds[5],
internalCompaction=1,
epsilonMax = 0.2,
sigmaIsoCompaction=50e3,
sigmaLateralConfinement=50e3,
max_vel=10,
strainRate=rate,
noFiles = 0,
Key = key,
label="triax"
)

O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Box_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),

GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.8),
triax,
#   TriaxialStateRecorder(iterPeriod = 100, file = 'WallStress'),
# you can add TriaxialStateRecorder and such here…
NewtonIntegrator(damping=.4)
]
while 1:
O.run(1000,True)
print 'O.iter = ',O.iter
print 'StrainY = ',triax.strain[1]
if triax.strain[1] > 1e-4:
break


triax.setContactProperties(finalFricDegree)


3
### start to erosion
### Now only a test

Re: [Yade-users] [Question #216109]: error in delete a particle

2012-12-06 Thread wangxiaoliang
Question #216109 on Yade changed:
https://answers.launchpad.net/yade/+question/216109

Status: Open => Solved

wangxiaoliang confirmed that the question is solved:
problem is solved thanks to Jakob

people who have the same problem please refer to 
https://answers.launchpad.net/yade/+question/204526

first delete the interactions and then erase the particle 
for i in O.bodies[id].intrs():
  O.interactions.erase(i.id1,i.id2)
O.bodies.erase(id)
O.run(1,True)

-- 
You received this question notification because you are a member of
yade-users, which 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 #216109]: error in delete a particle

2012-12-07 Thread wangxiaoliang
Question #216109 on Yade changed:
https://answers.launchpad.net/yade/+question/216109

wangxiaoliang posted a new comment:
thanks all.

-- 
You received this question notification because you are a member of
yade-users, which 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 #216109]: error in delete a particle

2012-12-07 Thread wangxiaoliang
Question #216109 on Yade changed:
https://answers.launchpad.net/yade/+question/216109

wangxiaoliang posted a new comment:
u mean deleting particles will also delete interactions with it? yes, I
think it helps us a lot.

-- 
You received this question notification because you are a member of
yade-users, which 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 #216109]: error in delete a particle

2012-12-07 Thread wangxiaoliang
Question #216109 on Yade changed:
https://answers.launchpad.net/yade/+question/216109

wangxiaoliang posted a new comment:
yes Christian。 I did that like you said

-- 
You received this question notification because you are a member of
yade-users, which 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 #220513]: Installation in Windows

2013-01-30 Thread wangxiaoliang
Question #220513 on Yade changed:
https://answers.launchpad.net/yade/+question/220513

wangxiaoliang posted a new comment:
As I know, many people is running Yade on virtual machine now, including
me

-- 
You received this question notification because you are a member of
yade-users, which 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 #226868]: On the unify of all the 3-d triaxial compression

2013-04-16 Thread wangxiaoliang
New question #226868 on Yade:
https://answers.launchpad.net/yade/+question/226868

These days, I found that ThreeDTriaxialEngine and TriaxialCompressionEngine are 
both deprecated, but still can be run. 

After I read the source code of TriaxialStressController and 
ThreeDTriaxialEngine, I found that the main differences are below

1) using stressMask instead
2) using goal1 2 3 instead sigma1 2 3

It is very good to unify all of the engines as a one. But still I have problems 
to run the triaxial compression tests which I run successfuly 2 months ago.

questions
1) Are ThreeDTriaxialEngine and TriaxialCompressionEngines going to be moved 
away some day?
2) I used yade (point maybe Oct. 2012) using ThreeDTriaxialEngine to  run a 
series of tests, but nowadays I found it is difficult to converge, what is the 
main difference for these engines between 
ThreeDTriaxialengine and today's, especially on the topics of strainRate, 
stressdamping, straindamping?

regards

-- 
You received this question notification because you are a member of
yade-users, which 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 #226868]: On the unify of all the 3-d triaxial compression

2013-04-16 Thread wangxiaoliang
Question #226868 on Yade changed:
https://answers.launchpad.net/yade/+question/226868

wangxiaoliang gave more information on the question:
And I found that TriaxialStressController has no setContactProperties as
ThreeDTriaxialEngine do

-- 
You received this question notification because you are a member of
yade-users, which 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 #226868]: On the unify of all the 3-d triaxial compression

2013-04-17 Thread wangxiaoliang
Question #226868 on Yade changed:
https://answers.launchpad.net/yade/+question/226868

wangxiaoliang posted a new comment:
Besides, ThreeDTriaxialEngine has done two things
TriaxialStressController has not done

1) update the postions of wall with stressControl_1 2 3 being False,

2) a function setContactProperties

I recommend that setContactProperties to add in TriaxialStressController

-- 
You received this question notification because you are a member of
yade-users, which 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 #226881]: questions on ThreeDTriaxialEngine

2013-04-17 Thread wangxiaoliang
New question #226881 on Yade:
https://answers.launchpad.net/yade/+question/226881

As recommended by B Chareyre etc. use TriaxialStressController instead of 
ThreeDTriaxialEngine

I still rerun the code in triax-tutorial folder, I find script1 will collapse 
with a high strain rate say 2.0, but will not converge with a low strain rate  
say 0.02. I used TriaxialStressController instead, a strain rate of 0.02 will 
converge, but contact angels can't be changed.

questions is below
1) ThreeDTriaxialEngine does sth different than TriaxialStressController
2) StressControl_1 2 3 with a flag of False seem to force the motion of the 
walls, at that time, what does a stressMask do?

script is below
1) ThreeDTriaxialEngine
# -*- coding: utf-8 -*-
from yade import pack
#from utils import *

###   DEFINING VARIABLES AND MATERIALS   ###


# The following 5 lines will be used later for batch execution
nRead=utils.readParamsFromTable(
num_spheres=500,# number of spheres
compFricDegree = 30, # contact friction during the confining phase
unknownOk=True
)
from yade.params import table

num_spheres=table.num_spheres# number of spheres
compFricDegree = table.compFricDegree # contact friction during the confining 
phase
finalFricDegree = 30 # contact friction during the deviatoric loading
rate=0.02*40 # loading rate (strain rate)
damp=0.2 # damping coefficient
stabilityThreshold=0.01 # we test unbalancedForce against this value in 
different loops (see below)
key='_triax_base_' # put you simulation's name here
young=5e6 # contact stiffness
mn,mx=Vector3(0,0,0),Vector3(1,2,1) # corners of the initial packing
thick = 0.01 # thickness of the plates

## create materials for spheres and plates
O.materials.append(FrictMat(young=young,poisson=0.5,frictionAngle=radians(compFricDegree),density=2600,label='spheres'))
O.materials.append(FrictMat(young=young,poisson=0.5,frictionAngle=0,density=0,label='walls'))

## create walls around the packing
walls=utils.aabbWalls([mn,mx],thickness=thick,material='walls')
wallIds=O.bodies.append(walls)

## use a SpherePack object to generate a random loose particles packing
sp=pack.SpherePack()
sp.makeCloud(mn,mx,-1,0.,num_spheres,False, 0.95)

## approximate mean rad of the futur dense packing for latter use (as an 
exercise: you can compute exact 
volume = (mx[0]-mn[0])*(mx[1]-mn[1])*(mx[2]-mn[2])
mean_rad = pow(0.09*volume/num_spheres,0.)


clumps=False
if clumps:

c1=pack.SpherePack([((-0.2*mean_rad,0,0),0.5*mean_rad),((0.2*mean_rad,0,0),0.5*mean_rad)])
sp.makeClumpCloud((0,0,0),(1,1,1),[c1],periodic=False)
O.bodies.append([utils.sphere(center,rad,material='spheres') for 
center,rad in sp])
standalone,clumps=sp.getClumps()
for clump in clumps:
O.bodies.clump(clump)
for i in clump[1:]: 
O.bodies[i].shape.color=O.bodies[clump[0]].shape.color
#sp.toSimulation()
else:
O.bodies.append([utils.sphere(center,rad,material='spheres') for 
center,rad in sp])

O.dt=.5*utils.PWaveTimeStep() # initial timestep, to not explode right away
O.usesTimeStepper=True


###   DEFINING ENGINES   ###


triax=ThreeDTriaxialEngine(
## ThreeDTriaxialEngine will be used to control stress and strain. It 
controls particles size and plates positions.
maxMultiplier=1.+2e4/young, # spheres growing factor (fast growth)
finalMaxMultiplier=1.+2e3/young, # spheres growing factor (slow growth)
thickness = thick,
stressControl_1 = False, #switch stress/strain control
stressControl_2 = False,
stressControl_3 = False,
## The stress used for (isotropic) internal compaction
#   sigma_iso = 1,
## Independant stress values for anisotropic loadings
#   sigma1=1,
#   sigma2=1,
#   sigma3=1,
goal1 = 1,
goal2 = 1,
goal3 = 1,
internalCompaction=True, # If true the confining pressure is generated 
by growing particles
Key=key, # passed to the engine so that the output file will have the 
correct name
)

newton=NewtonIntegrator(damping=damp)

O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Box_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),

GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.8,
 defaultDt=4*utils.PWaveTimeStep()),
triax,
TriaxialStateRecorder(iterPeriod=100,file='WallStresses'+key),
newton
]

#Display spheres with 2 colors for seeing rotations better
Gl1_Sphere.stripes=0
if nRead==0: yade.qt.Controller(), yade.qt.View()


Re: [Yade-users] [Question #228058]: some questions about the class"TriaxialStressController"

2013-05-02 Thread wangxiaoliang
Question #228058 on Yade changed:
https://answers.launchpad.net/yade/+question/228058

Status: Open => Answered

wangxiaoliang proposed the following answer:
either a lower version say 0.90.1 will do everything you need.

or u may rewrite by just a small changes, say goal1 goal2 goal3
stressMask?

good luck

-- 
You received this question notification because you are a member of
yade-users, which 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 #229380]: volume of the meniscus in capillary test

2013-05-22 Thread wangxiaoliang
Question #229380 on Yade changed:
https://answers.launchpad.net/yade/+question/229380

wangxiaoliang proposed the following answer:
Please refer to capillary physics, then u will get what u want

-- 
You received this question notification because you are a member of
yade-users, which 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 #231810]: [triaxial test] Modify stressMask to apply additional force while being controlled the strain rate

2013-07-04 Thread wangxiaoliang
Question #231810 on Yade changed:
https://answers.launchpad.net/yade/+question/231810

wangxiaoliang posted a new comment:
>#1
if I am not wrong, there is a relaxtion process of strain rate loading 
(straindamping), we can not maintain in the relaxtion process, rate1 + rate2 + 
rate3 = 0.0, right?

-- 
You received this question notification because you are a member of
yade-users, which 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 #232876]: No such attribute capillary pressure

2013-07-22 Thread wangxiaoliang
Question #232876 on Yade changed:
https://answers.launchpad.net/yade/+question/232876

Status: Open => Answered

wangxiaoliang proposed the following answer:
Read the newest yade manual, the new version of yade has changed
CapillaryPressure of capillary physics into capillaryPressure.

Please check that. cheers

-- 
You received this question notification because you are a member of
yade-users, which 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 #246843]: latest trunk make error

2014-04-10 Thread wangxiaoliang
New question #246843 on Yade:
https://answers.launchpad.net/yade/+question/246843

When I downloaded the latest (trunk of 11th Apr.), after Cmake, there is error 
when make. All the dependent packages in the Yade installation page are all 
installed successfully, and yadedaily is installed successfully.

make error is below 

make
Scanning dependencies of target _GLViewer
...
[ 32%] Building CXX object CMakeFiles/yade.dir/pkg.17.cpp.o
In file included from 
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy.hpp:3:0,
 from 
/home/mj/Yade/yade-trunk/trunk/pkg/dem/TesselationWrapper.cpp:11,
 from /home/mj/Yade/yade-trunk/build/pkg.17.cpp:2:
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp: In constructor 
‘numpy_boost::numpy_boost(PyObject*)’:
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: 
reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: 
candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:   
  namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: 
reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: 
candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:   
  namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: 
expected primary-expression before ‘>’ token
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: 
‘::typenum’ has not been declared
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp: In constructor 
‘numpy_boost::numpy_boost(const ExtentsList&)’:
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: 
reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: 
candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:   
  namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: 
reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: 
candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:   
  namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: 
expected primary-expression before ‘>’ token
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: 
‘::typenum’ has not been declared
In file included from /home/mj/Yade/yade-trunk/trunk/pkg/dem/ConcretePM.cpp:2:0,
 from /home/mj/Yade/yade-trunk/build/pkg.17.cpp:4:
/home/mj/Yade/yade-trunk/trunk/pkg/dem/ConcretePM.hpp: In constructor 
‘CpmPhys::CpmPhys()’:
/home/mj/Yade/yade-trunk/trunk/pkg/dem/ConcretePM.hpp:206:1: warning: operation 
on ‘((CpmPhys*)this)->CpmPhys::kappaD’ may be undefined [-Wsequence-point]
make[2]: *** [CMakeFiles/yade.dir/pkg.17.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make: *** [all] Error 2


-- 
You received this question notification because you are a member of
yade-users, which 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 #246843]: latest trunk make error

2014-04-10 Thread wangxiaoliang
Question #246843 on Yade changed:
https://answers.launchpad.net/yade/+question/246843

wangxiaoliang posted a new comment:
Ubuntu 12.04. What do u mean by "clean" install ?

-- 
You received this question notification because you are a member of
yade-users, which 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 #246843]: latest trunk make error

2014-04-11 Thread wangxiaoliang
Question #246843 on Yade changed:
https://answers.launchpad.net/yade/+question/246843

Status: Answered => Open

wangxiaoliang is still having a problem:
After "clean" all files in directory "build", make has passed. But when
running yade, where is still error shown below

./yade-2014-04-10.git-d1d4f33

Welcome to Yade 2014-04-10.git-d1d4f33 
Traceback (most recent call last):
  File "./yade-2014-04-10.git-d1d4f33", line 125, in 
import yade
  File 
"/home/mj/Yade/yade-trunk/install/lib/i386-linux-gnu/yade-2014-04-10.git-d1d4f33/py/yade/__init__.py",
 line 65, in 
import boot
ImportError: 
/home/mj/Yade/yade-trunk/install/lib/i386-linux-gnu/yade-2014-04-10.git-d1d4f33/py/yade/qt/_GLViewer.so:
 undefined symbol: 
_ZN9QGLViewer28setPlayPathKeyboardModifiersE6QFlagsIN2Qt16KeyboardModifierEE

-- 
You received this question notification because you are a member of
yade-users, which 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 #247246]: Yade run with "ImportError"

2014-04-19 Thread wangxiaoliang
New question #247246 on Yade:
https://answers.launchpad.net/yade/+question/247246

Recently, I installed ubuntu 12.04, and installed Yade-trunk successfully
All the packages are installed, and make and make install both run 
successfully, though with some warning.
When I run Yade, there is error as shown below

./yade-2014-04-17.git-a2b6e69
Welcome to Yade 2014-04-17.git-a2b6e69 
Traceback (most recent call last):
  File "./yade-2014-04-17.git-a2b6e69", line 125, in 
import yade
  File 
"/home/mj/Yade/Yade-trunk/install/lib/i386-linux-gnu/yade-2014-04-17.git-a2b6e69/py/yade/__init__.py",
 line 65, in 
import boot
ImportError: 
/home/mj/Yade/Yade-trunk/install/lib/i386-linux-gnu/yade-2014-04-17.git-a2b6e69/py/yade/qt/_GLViewer.so:
 undefined symbol: 
_ZN9QGLViewer28setPlayPathKeyboardModifiersE6QFlagsIN2Qt16KeyboardModifierEE

Has anybody met the same problem?

In addition, I installed Yade-1.07 and Yade-1.05 successfully, but when 
running, same error turns out

-- 
You received this question notification because you are a member of
yade-users, which 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 #247246]: Yade run with "ImportError"

2014-04-19 Thread wangxiaoliang
Question #247246 on Yade changed:
https://answers.launchpad.net/yade/+question/247246

wangxiaoliang posted a new comment:
Besides, I installed Yade 0.90.1, same errors happened when running yade
I think it should be duo to ubuntu or packages itself?

-- 
You received this question notification because you are a member of
yade-users, which 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 #247246]: Yade run with "ImportError"

2014-04-19 Thread wangxiaoliang
Question #247246 on Yade changed:
https://answers.launchpad.net/yade/+question/247246

Status: Answered => Solved

wangxiaoliang confirmed that the question is solved:
It works now.  libqglviewer-qt4-dev package should be installed instead
of libqglviewer-dev in Ubuntu 12.04 just as shown in the "warning" in
installation page of Yade doc

-- 
You received this question notification because you are a member of
yade-users, which 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 #247246]: Yade run with "ImportError"

2014-04-19 Thread wangxiaoliang
Question #247246 on Yade changed:
https://answers.launchpad.net/yade/+question/247246

wangxiaoliang confirmed that the question is solved:
Thanks Anton Gladky, that solved my question.

-- 
You received this question notification because you are a member of
yade-users, which 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 #258034]: Equations for the contact law "Law2_ScGeom6D_CohFrictPhys_CohesionMoment"

2014-11-21 Thread wangxiaoliang
Question #258034 on Yade changed:
https://answers.launchpad.net/yade/+question/258034

Status: Open => Answered

wangxiaoliang proposed the following answer:
you need to calibrate these parameters

-- 
You received this question notification because you are a member of
yade-users, which 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 #258686]: Calibrating model with Triaxial test

2014-12-05 Thread wangxiaoliang
Question #258686 on Yade changed:
https://answers.launchpad.net/yade/+question/258686

Status: Open => Answered

wangxiaoliang proposed the following answer:
Relationship between macroscopic properties such as friction angle and 
dilatancy on phi eTaRoll and alphaKr depends on the initial packing, so you 
should be 
careful about generating the sample. I think Plassiard's calibration is only 
for Lebenne sand, not for all granular material.


 
From: M.Meidani
Date: 2014-12-06 05:21
To: yade-users
Subject: [Yade-users] [Question #258686]: Calibrating model with Triaxial test
New question #258686 on Yade:
https://answers.launchpad.net/yade/+question/258686
 
Hi,
 
I am  trying to calibrate the model with the triaxial test.
I used CohFricMat as a material and Cohesionmoment for the contact law.
The soil is sand without any cohesion.
So I have to work with 5 parameters to match the result of experimental test 
with triaxial test.
These parameters are E, Ks/Kn, Phi, eTaRoll and alphaKr.
I found in a published paper an algorithm to calibrate a model with these 
parameters.
eTaRoll should has an effect on peak stress value.
I tried various values for eTalRoll, but the results were similar and the peak 
stress was not changed.
YADE documentations mention that  eTaRoll is used to define a maximum moment 
resistance in the model. So it should changes the results of triaxial test.
 
Do you have any idea about why eTaRoll has not any effect on the results?
 
thanks.
 
-- 
You received this question notification because you are a member of
yade-users, which 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 you are a member of
yade-users, which 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