[Yade-users] [Question #662040]: How to include an initial porosity in triax test

2017-12-21 Thread Swapnil
New question #662040 on Yade: https://answers.launchpad.net/yade/+question/662040 Hi friends, I am trying the following triaxial code (by modifying the original script slightly). We can include a final target porosity as already present in the original script (1). But is there a way I can

Re: [Yade-users] [Question #661971]: Facing problem with "target porosity part" in triaxial test script

2017-12-20 Thread Swapnil
Question #661971 on Yade changed: https://answers.launchpad.net/yade/+question/661971 Swapnil posted a new comment: Thanks a lot Jerome ! The problem was indeed with the position of "Run(500,1)". Upon shifting the command to the bottom of the script, it appears to have gotten rid of

Re: [Yade-users] [Question #661971]: Facing problem with "target porosity part" in triaxial test script

2017-12-20 Thread Swapnil
Question #661971 on Yade changed: https://answers.launchpad.net/yade/+question/661971 Swapnil posted a new comment: the full code I am trying is as follows: import matplotlib matplotlib.use('Qt4Agg') from yade import pack,plot,qt import math num_spheres=1000 # number of spheres young=3e10

Re: [Yade-users] [Question #661971]: Facing problem with "target porosity part" in triaxial test script

2017-12-20 Thread Swapnil
Question #661971 on Yade changed: https://answers.launchpad.net/yade/+question/661971 Swapnil posted a new comment: Hi Jerome, did you try it out? Does it work fine for your system? -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #661971]: Facing problem with "target porosity part" in triaxial test script

2017-12-19 Thread Swapnil
Question #661971 on Yade changed: https://answers.launchpad.net/yade/+question/661971 Swapnil posted a new comment: Nope Jerome. Sorry that was a typo here and not on the script ;) Its "addplotdata" -- You received this question notification because your team yade-users is an answ

[Yade-users] [Question #661971]: Facing problem with "target porosity part" in triaxial test script

2017-12-19 Thread Swapnil
New question #661971 on Yade: https://answers.launchpad.net/yade/+question/661971 Hi friends, I have been trying to work on the triaxial test using the example script in (1). My script is as follows: #triaxial test on dry sand import matplotlib matplotlib.use('Qt4Agg') from yade import

Re: [Yade-users] [Question #661934]: default IO error handler doing an exit()

2017-12-18 Thread Swapnil
Question #661934 on Yade changed: https://answers.launchpad.net/yade/+question/661934 Swapnil posted a new comment: Was inside the hidden files. found it. But I have a simulation running already. So, I guess the system needs to be restarted in order for the deletion to take effect. -- You

Re: [Yade-users] [Question #661934]: default IO error handler doing an exit()

2017-12-18 Thread Swapnil
Question #661934 on Yade changed: https://answers.launchpad.net/yade/+question/661934 Swapnil posted a new comment: Thanks for the inputs Jerome :) I tried to locate the .ICEAuthority file in the Home folder. However, there seems no such file named in there. I am looking into the other folders

[Yade-users] [Question #661934]: default IO error handler doing an exit()

2017-12-18 Thread Swapnil
New question #661934 on Yade: https://answers.launchpad.net/yade/+question/661934 Hi friends, I am running a script in yade on Linux Mint 18.2 Sonya. I get the following error: [0mICE default IO error handler doing an exit(), pid = 3634, errno = 32. Does it have something to do with the system

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-23 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: I will check that Jan but after 50 days. Going on vacation now after 2 years. Please do not close the question ;) -- You received this question notification because your team

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-23 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Will try making the changes :) Regarding the last part Jan. It exits the simulation. I cannot see the set-up anymore. I get a new line on the emulator. E.g. in my case - zg@ZG

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-23 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Another issue is that when I increase the number of sphere to say 5000., increase box dimensions to (1,1,1) and particle size to 0.005, I get the following error: Running script

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-23 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Yes, Jan. Sorry another typo from me (as usual :P ). It should have been 0.05. But I have been trying the script with the corrections and it works fine now. My only trouble

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-23 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: I stopped the compilation in between because I realized I have not specified the material properties for the spheres added to the box through the following segment: pred

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-23 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Yes, the one I am trying is as follows: Perhaps I might be deviating but it looks syntactically alright :) #triaxial test on dry sand from yade import pack,plot,qt import math

Re: [Yade-users] [Question #658938]: Modeling presence of water( a degree of saturation) in consolidation test

2017-10-20 Thread Swapnil
Question #658938 on Yade changed: https://answers.launchpad.net/yade/+question/658938 Swapnil posted a new comment: Okay. sorry again if I caused confusion. Yes, it appears I missed some segment again like the triaxial test problem in another thread. thanks for reminding. Will try it out

Re: [Yade-users] [Question #659647]: Problem with the Peri triaxial test in example script

2017-10-20 Thread Swapnil
Question #659647 on Yade changed: https://answers.launchpad.net/yade/+question/659647 Swapnil posted a new comment: Thanks for the reply Bruno. Well, for that matter, I posted the entire script above. Anyway, the slight change here is: # define what to plot plot.plots={'exx':('sxx')} #,label='x

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-20 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: I tried changing the young's modulus to a higher value ( e.g., young=5e10) and to play with the time step ( O.dt=0.5*PWavetimeStep()). The particles still move out. What should I

Re: [Yade-users] [Question #659647]: Problem with the Peri triaxial test in example script

2017-10-20 Thread Swapnil
Question #659647 on Yade changed: https://answers.launchpad.net/yade/+question/659647 Swapnil posted a new comment: Thanks for the reply Jan. I am using Yade 1.20.0 version on a Linux Mint 18.2 Sonya Operating System. -- You received this question notification because your team yade-users

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-19 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Sorry, for using "we" before. I did not intend it to use it seriously though. But your response was perfect Jerome. I included the deviatoric component of

[Yade-users] [Question #659647]: Problem with the Peri triaxial test in example script

2017-10-19 Thread Swapnil
New question #659647 on Yade: https://answers.launchpad.net/yade/+question/659647 Hello Yade friends, after slightly modifying and running the example script from the documentation for the periodic triaxial test, I am encountering the following error: Running script peritriax.py yade.plot:

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-19 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Jan, But do you not think that it is not modeling the behavior of the granular material appropriately in that case. It should generally be like this : the stain increases

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-18 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Jan, Jerome. I also ran the example script to check on the plot (https://github.com/yade/trunk/blob/master/examples/triax-tutorial /script-session1.py) The strain there remains

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-18 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Thanks Jerome for pointing that out! I am a seriously bad programmer. should be more cautious with my typing of commands. I ran the plot but it does not update. -- You received

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-18 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Thanks for the help Jan. I am trying the same: Sz=-triax.stress(triax.wall_right_id)[0] but it is not working with my script. I have been trying all possibilities to correct

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-17 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Correction: For strain loading in one direction it should be ( for example): strain_rate=-0.004 triax.goal1=strain_rate triax.goal2=triax.goal3=0 But the main issue

Re: [Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-17 Thread Swapnil
Question #659526 on Yade changed: https://answers.launchpad.net/yade/+question/659526 Swapnil posted a new comment: Thanks all. @Amiya & Robert : sorry, the stressMask=7 was a typo. I have read about it in detail but just missed it there ;) @Jan & Robert: I read the code in [1] a

[Yade-users] [Question #659526]: Triaxial test on dry granular material

2017-10-16 Thread Swapnil
New question #659526 on Yade: https://answers.launchpad.net/yade/+question/659526 Hello friends, I have been trying to simulate a triaxial test on dry granular material (say Sand). The aims are: Try the dry sample with certain set of properties (will have to check how many I can test ;)) .

Re: [Yade-users] [Question #658938]: Modeling presence of water( a degree of saturation) in consolidation test

2017-10-13 Thread Swapnil
Question #658938 on Yade changed: https://answers.launchpad.net/yade/+question/658938 Swapnil posted a new comment: Thanks Bruno :) 1) . I would recommend to have it written along with the explanation of StressMask in the section for Triaxial stress controller. That would be the best spot

Re: [Yade-users] [Question #658938]: Modeling presence of water( a degree of saturation) in consolidation test

2017-10-12 Thread Swapnil
Question #658938 on Yade changed: https://answers.launchpad.net/yade/+question/658938 Swapnil posted a new comment: Thanks Jerome & Bruno :) My current script is ( for 1D consolidation along z axis): from yade import pack,plot import math num_spheres=1000# number of spheres young

Re: [Yade-users] [Question #658938]: Modeling presence of water( a degree of saturation) in consolidation test

2017-10-10 Thread Swapnil
Question #658938 on Yade changed: https://answers.launchpad.net/yade/+question/658938 Swapnil posted a new comment: Jerome, I have been thinking of first trying the Full Saturation condition of granular media here. I referred to the Oedometer.py script utilisong the particle-fluid coupling

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-06 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Hi Bruno, absolutely no problems with entering the discussion late. After all such discussions with learned people like you all here would make me understand and learn more

Re: [Yade-users] [Question #658938]: Modeling presence of water( a degree of saturation) in consolidation test

2017-10-05 Thread Swapnil
Question #658938 on Yade changed: https://answers.launchpad.net/yade/+question/658938 Swapnil posted a new comment: Okay Jerome, thanks. going through it :) Will come up with my questions soon ;) -- You received this question notification because your team yade-users is an answer contact

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-05 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Or I guess doing both is an even better idea. Will try slowing down the simulation speed :) -- You received this question notification because your team yade-users is an answer

[Yade-users] [Question #658938]: Modeling presence of water( a degree of saturation) in consolidation test

2017-10-05 Thread Swapnil
New question #658938 on Yade: https://answers.launchpad.net/yade/+question/658938 Hi Yade friends, I have been trying to work on the Oedometric consolidation test. So far ( with help from Jan :) ) I have been able to work out the test on a dry granular media . The current trial script is as

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-05 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Yeah, the reason I am asking is because it becomes unstable after a certain period of load application. Therefore, I am playing with the mass to find a suitable value to make

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-04 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: The last part of this task before moving to the next: the box at the top (upper_plate) would have a default mass. Right? How can we know that value? thereafter, I can alter

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-04 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Yes, exactly.. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-04 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Jan, I think I got my mistake on that one ;) Should have defined Upper_plate and then saved its ID separately. -- You received this question notification because your team yade

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-10-04 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Hi Jan. Sorry for being late. I was not at the system for all these days. Here is the current code: from yade import pack,plot import math,time from math import sin,cos def

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-29 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: correction: I have used, Dz=upper_plateID.state.displ()[2] -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-29 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Thanks Jan, that was right on the current target ;) Coming to the next part of the problem which involves the plotting of the data, I wish to track the displacement of the upper

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-27 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Okay Jan, lets keep the porosity topic for later. Now, I managed to get the set up ready. the following is the script: from yade import pack,plot (1) create cylinder made

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-27 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: I tried pred=pack.inCylinder((1,2,3),(1,2,8),4) sp=pack.randomDensePack(pred,radius=0.01,spheresInCell=300) and the system is overloaded and hung. Cannot see the simulation

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-27 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Okay, I will be on that part soon :) firstly, I am trying to fill in the created cylinder with spheres. I did the following (full script): # """creates cylinde

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-26 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Yes, Jan it works fine so far. I tried the following: upper_plate=O.bodies.append(box((1,2,3),(4,4,0.0002))) lower_plate=O.bodies.append(box((1,2,8),(4,4,0.0002))) The set-up looks

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-26 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Alright Jan. Thanks, now I have some idea about this :) But I still cannot figure out the way to create circular top and bottom boxes (plate shapes) from the documentation -- You

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-26 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Upon implementing the above code, I am curious as to how we can achieve a circular box at the top and bottom of the cylinder. I am searching for the commands in the documentation

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-26 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: Thanks Jan but I did not fully understand the code you have written here. Only grabbed the overview. Could you please comment on each step above for a clearer understanding

Re: [Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-26 Thread Swapnil
Question #658629 on Yade changed: https://answers.launchpad.net/yade/+question/658629 Swapnil posted a new comment: thanks Jan :) For (5) will have to explore while running the simulation (6) that brings me to a new question. How to use boxes to create a cylindrical geometry? Then pick

[Yade-users] [Question #658629]: Oedometric consolidation test

2017-09-25 Thread Swapnil
New question #658629 on Yade: https://answers.launchpad.net/yade/+question/658629 Hi friends :) I am trying to conduct a simulation of a laboratory oedometric test used for testing the consolidation of a soil sample. I went through the example in the Yade documentation already

Re: [Yade-users] [Question #657911]: saving the data after simulation

2017-09-13 Thread Swapnil
Question #657911 on Yade changed: https://answers.launchpad.net/yade/+question/657911 Swapnil posted a new comment: It does indeed :) Thanks -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #657911]: saving the data after simulation

2017-09-12 Thread Swapnil
Question #657911 on Yade changed: https://answers.launchpad.net/yade/+question/657911 Swapnil posted a new comment: My mistake I tried: plot.saveDataTxt(/home/zg/scriptf/representry1.dat) (without the "#") print os.path.abspath("/home/zg/scriptf/representary1.dat") I can

[Yade-users] [Question #657911]: saving the data after simulation

2017-09-12 Thread Swapnil
New question #657911 on Yade: https://answers.launchpad.net/yade/+question/657911 I am running the following script to perform a certain test (penetration of a sphere into an assembly of other spheres). However, I am facing problems saving the plotted data. My script is as follows: from yade

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-12 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Alright Jan. I posted the saving data query in a new thread. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-12 Thread Swapnil
Question #657637 on Yade changed: https://answers.launchpad.net/yade/+question/657637 Swapnil posted a new comment: Understood this Jan, thanks a ton :) -- You received this question notification because your team yade-users is an answer contact for Yade

[Yade-users] [Question #657905]: Tensile test

2017-09-12 Thread Swapnil
New question #657905 on Yade: https://answers.launchpad.net/yade/+question/657905 Hi friends, I am trying a tensile test on a cylindrical sample of spheres. The sample is confined inside a cylindrical boundary using the facetCylinder. I intend to make the last (top)-most particles (at open-end)

Re: [Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-12 Thread Swapnil
Question #657637 on Yade changed: https://answers.launchpad.net/yade/+question/657637 Swapnil posted a new comment: Thanks Jan. I tried running the script. It does not appear to be working the way it should. Instead, I see a few spheres and a different interaction behavior. Can you try running

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-12 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Thanks Jan. I tried adding the following to the script: import os os.path.abspath("home/zg/scriptf/representary1.dat") and then os.path.abspath("/home/zg/script

Re: [Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-11 Thread Swapnil
Question #657637 on Yade changed: https://answers.launchpad.net/yade/+question/657637 Swapnil posted a new comment: Alright, got it :) It implies that after I create a facet cylinder using the command: facets = geom.facetCylinder((0,0,0.125),0.1,0.25,wallMask=2|4) O.bodies.append(facets) I

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-11 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: So, what I am doing is as follows: (1) I have included the command "plot.saveDataTxt(home/zg/scriptf/respentry1.dat)" to my original script. (2) Now I run the

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-06 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: [1] is still on mate ;) I have been trying to save it as you said but I am getting errors with the syntax. Will reattempt on Monday.. -- You received this question notification

Re: [Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-06 Thread Swapnil
Question #657637 on Yade changed: https://answers.launchpad.net/yade/+question/657637 Swapnil posted a new comment: Would be trying the rest on Monday when I return to the system ;) -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-06 Thread Swapnil
Question #657637 on Yade changed: https://answers.launchpad.net/yade/+question/657637 Swapnil posted a new comment: Yes mate it works with the inclusion of those engines. Foolishly, I completely forgot about those for the new facet bodies. Thanks :) Yes, I am first trying the static boundary

Re: [Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-06 Thread Swapnil
Question #657637 on Yade changed: https://answers.launchpad.net/yade/+question/657637 Swapnil posted a new comment: Thanks Jan. Option [1] leads to the movement of spheres out of the boundary (I tried the script). I do not want the spheres to move out of the boundary. Therefore, I would have

[Yade-users] [Question #657637]: Applying confinement (rigid boundary) to a cylindrical sample

2017-09-06 Thread Swapnil
New question #657637 on Yade: https://answers.launchpad.net/yade/+question/657637 How can we apply a confining cylindrical boundary to a cylindrical arrangement (packing) of the spheres ( in order to constrain the motion of spheres outwards when a compressive load is applied) ? I have been

Re: [Yade-users] [Question #657560]: Plotting force & displacement of impactor in a penetration test

2017-09-06 Thread Swapnil
Question #657560 on Yade changed: https://answers.launchpad.net/yade/+question/657560 Swapnil posted a new comment: Thanks Jan, you saved me again :-) That part works now. How can we apply a confining cylindrical boundary to the cylindrical arrangement of the spheres here ( in order to constrain

Re: [Yade-users] [Question #657560]: Plotting force & displacement of impactor in a penetration test

2017-09-06 Thread Swapnil
Question #657560 on Yade changed: https://answers.launchpad.net/yade/+question/657560 Swapnil posted a new comment: Hi Jerome, thanks a lot for the correction. Now, it runs and I can see the plot window but I cannot see any changes occuring0 on the plot. Looks like the values are not updated

Re: [Yade-users] [Question #657560]: Plotting force & displacement of impactor in a penetration test

2017-09-05 Thread Swapnil
Question #657560 on Yade changed: https://answers.launchpad.net/yade/+question/657560 Swapnil posted a new comment: I tested the above two commands and they seem to be correct :) Now I am attempting to plot the force-displacements in the Z-direction. The following is the current script: from

Re: [Yade-users] [Question #657560]: Plotting force & displacement of impactor in a penetration test

2017-09-05 Thread Swapnil
Question #657560 on Yade changed: https://answers.launchpad.net/yade/+question/657560 Swapnil posted a new comment: what I have found so far is that for measuring the force experienced by the hammer I can use O.forces.f(hammerID) and for its displacement I can use hammer.state.displ

[Yade-users] [Question #657560]: Plotting force & displacement of impactor in a penetration test

2017-09-05 Thread Swapnil
New question #657560 on Yade: https://answers.launchpad.net/yade/+question/657560 Hello Jan, Bruno and other Yade mates :) Referring to my previous question (#657126), my further task now is to find the force experienced by a hammer (trying spherical first) as it penetrates through a granular

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-05 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Hi Bruno, thanks for your response. Yeah, I guess I should continue the problem in a new thread. I know the problem might be a bit advanced but it is one of my tasks nevertheless

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-05 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: It is indeed part of the same problem mate :) I read the tracking of variables part. In summary, I could understand that the "plot" module is the key here fo

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Yes, I guess the magnitude wasn't large enough. I ran with 0.5 and now the motion of the hammer is finally visible. Thanks a lot Jan :) I was not actually saving simulations until

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Jan, I guess I am making some mistake. I did not add calm() before. Its there now, just before assigning the velocity to the hammer. Still the spheres explode, although slowly

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Yeah :) is it that the magnitude of the velocity is too small? If the hammer does not penetrate into the spherical media the whole idea of performing the penetration is lost. what

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Hi Jan, now here is what I am trying. from yade import pack,plot pred=pack.inCylinder((0,0,0),(0,0,0.25),0.10) sp=pack.randomDensePack(pred,radius=0.01,spheresInCell=300

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Now, I can get the simulation running. However, the hammer does not appear to move at all. The spheres in the cylinder can be seen in motion but I cant figure out the reason they do

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Yeah, now I get it. My bad. Should have used 'z' instead of `z´. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Thanks Jan, I made the changes you suggested including the silly bracket correction ,-). However, now there seems to be another error. the full script is as follows: from yade

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-09-04 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Thanks Jan, the script works with plot.plot():-) -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Now, when I ran the above code it firstly mentions an error (invalid syntax) in the line: hammer= sphere((0,0,0.30),0.04,material=idSteel)). -- You received this question

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-09-04 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Thanks for that Jan :) Here is the script now. Please correct me if there is a mistake somewhere. from yade import pack,plot pred=pack.inCylinder((0,0,0),(0,0,0.25),0.10

Re: [Yade-users] [Question #657126]: Performing a penetration test

2017-08-30 Thread Swapnil
Question #657126 on Yade changed: https://answers.launchpad.net/yade/+question/657126 Swapnil posted a new comment: Thanks Jan. I am trying to start with the sphere. creating a script and running it later. Following is the script until now: from yade import pack,plot #create a cylinder and pack

[Yade-users] [Question #657126]: Performing a penetration test

2017-08-30 Thread Swapnil
New question #657126 on Yade: https://answers.launchpad.net/yade/+question/657126 I am trying to perform a penetration test on soil. After reading the documentation, I can create a packing of soil particles as spheres and pack them in a cylinder or hyperboloid, etc. I need to model a rod or

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-30 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Yeah, but it does not work. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-29 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Jan, if we look at the script above, it is defined there. plot.plots={'eps':('sigma')} def addPlotData(): yade.plot.addData(t=O.time,i=O.iter,eps=-strainer.strain,sigma

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-28 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Haha, yeah Jan. You are right. Silly me. Got to dive deeper into Python. I now put the indentation and it finally works. Although there is a packing error but I guess that is due

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-28 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Thanks Jan, I tried this. As follows: zg@ZG-Yade ~ $ cd scriptf zg@ZG-Yade ~/scriptf $ yade script1.py Welcome to Yade 1.20.0 TCP python prompt on localhost:9001, auth cookie

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-28 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: I have a desktop folder "Home"(File manager). In that I created a folder "scriptf" and it is saved therein. -- You received this question notification because

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-23 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Thanks Jan, I did as you instructed. The simulation runs but I see nothing. Here is the content on the terminal: - zg@ZG-Yade ~ $ yade script1.py Welcome to Yade 1.20.0

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-22 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Here is the script Jan: from yade import pack,plot pred=pack.inCylinder((0,0,0),(0,0,0.2),0.05) sp=pack.randomDensePack(pred,radius=0.008) O.bodies.append(sp) bb

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-21 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Hi Jan, I created a script named "script1.py" and pasted the above code there. Saved it in a folder. Upon typing the command "yade script1.py" in the termin

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-17 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Jan, I can now understand the PyRunner better. Thanks :) However, with the addPlotData(), I still have doubts. I am typing the code in the yade terminal. I tried the following

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-16 Thread Swapnil
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Swapnil posted a new comment: Hi Jan, thanks for the response. I am trying a simpler case for the uniaxial test. Following things up with the following code: from yade import pack,plot pred=pack.inCylinder

[Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-14 Thread Swapnil
New question #655866 on Yade: https://answers.launchpad.net/yade/+question/655866 Hi Jan and others :) Following the uniax.py script on github, I am attempting the uniaxial test. As a beginner, I am trying the same script first. (1) Creating a table from which the parameters are read and used:

Re: [Yade-users] [Question #655455]: Apply compressive or tensile force to a packed geometry of spheres

2017-08-14 Thread Swapnil
Question #655455 on Yade changed: https://answers.launchpad.net/yade/+question/655455 Swapnil posted a new comment: Thanks for all the help Jan :) -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #655455]: Apply compressive or tensile force to a packed geometry of spheres

2017-08-09 Thread Swapnil
Question #655455 on Yade changed: https://answers.launchpad.net/yade/+question/655455 Status: Answered => Open Swapnil is still having a problem: Thanks Jan. I tried this and it appears to work :) But I have one more doubt now. The cylinder (as a whole) seems to be moving in one direct

Re: [Yade-users] [Question #655455]: Apply compressive or tensile force to a packed geometry of spheres

2017-08-09 Thread Swapnil
Question #655455 on Yade changed: https://answers.launchpad.net/yade/+question/655455 Swapnil posted a new comment: Hi Jan, Sorry if the question was ambiguous. To create a cylinder geometry packed with spheres I used the following commands: from import yade pack pred=pack.inCylinder

Re: [Yade-users] [Question #655455]: Apply compressive or tensile force to a packed geometry of spheres

2017-08-08 Thread Swapnil
Question #655455 on Yade changed: https://answers.launchpad.net/yade/+question/655455 Swapnil posted a new comment: Also, I am not sure how we get the ID of this body. What command do we have to use? -- You received this question notification because your team yade-users is an answer contact

  1   2   >