← Back to team overview

yade-users team mailing list archive

Re: [Question #163253]: Hydrostatic pressure and some issues on triaxial tests

 

Question #163253 on Yade changed:
https://answers.launchpad.net/yade/+question/163253

    Status: Open => Answered

honzik proposed the following answer:

Dear Janaka,

>>5. How can I access to original data of the tests (here, I just see graphs but I prefer to take data and use them in my analysis)
>The data are stored in plot.data 
>I have also read the same details on the documents but still was unable to find plot.data. I use ubuntu. Could you say exactly how to find plot.data?
according to specific functions used in peri3dController_triaxialCompression.py:

def plotAddData():
plot.addData(
iter=O.iter,iter_=O.iter,
sx=p3d.stress[0],sy=p3d.stress[1],sz=p3d.stress[2],
syz=p3d.stress[3],szx=p3d.stress[4],sxy=p3d.stress[5],
ex=p3d.strain[0],ey=p3d.strain[1],ez=p3d.strain[2],
eyz=p3d.strain[3],ezx=p3d.strain[4],exy=p3d.strain[5],
) 

after the simulation, you can acces plot.data. It is a python
dictionary, with keys 'sx', 'sy' etc (defined in plotAddData function).
So for example to get saved data of number of iteration and stress xx,
respectively:

iters = plot.data['iter']
stressXX = plot.data['sx']

iters and stresses are now python lists of values, so for example
[10,20,30,40,50].


>As you explained strain is controlled in Yade. Then, what's
>stressIdeal=Vector6 and what does that control?
stressIdeal are ideal (prescribed) components of stress at current step (as I mentioned, the actual stress is not directly controlled and can differ a bit from the actual one). From the difference of actual and ideal stress and its signs, the strain rate is increased or decreased to make the difference smaller.

regards
Jan

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.