Re: [Yade-users] [Question #704293]: How to use TW.triangulate() to calculate strain between two states by importing samples

2023-01-04 Thread Karol Brzezinski
Question #704293 on Yade changed:
https://answers.launchpad.net/yade/+question/704293

Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Leonard,

How about strings the packing at different states in external txt files,
and computing strains between pairs of files? [1]

Best wishes, 
Karol

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

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #704293]: How to use TW.triangulate() to calculate strain between two states by importing samples

2023-01-04 Thread Leonard
New question #704293 on Yade:
https://answers.launchpad.net/yade/+question/704293

Hi,

I'd like to ask that how to use TW.triangulate() to calculate strain between 
two states by importing the two samples at the corresponding states.

The approach of calculating micro-strain between state 0 and state 1 is 
mentioned at [1], the main steps are as below:
###
O.load("test.yade") ## import sample
TW.setState(0)  #store current positions internaly for later use as the 
"0" state
O.run(100,True) #make particles move a little (let's hope they will!)
TW.setState(1)  #store current positions internaly in the "1" 
(deformed) state
TW.defToVtk("strain.vtk")
###
The above code works well during a simulation.

However, I have carried out a series of triaxial compression tests and I saved 
samples at different axial strain levels (e.g. at strain 0%, 10%, 20%). I 
wonder if I can use TW.triangulate() to calculate the micro-strain between 
strain10% and strain20% (or any of the two strain states). If it is possible, 
it will save a lot of time as I don't need to re-run all the tests again.

something like (pseudocode):

###
O.load("sample_strain0.yade") 
TW.setState(0)  #store current positions internaly for later use as the 
"0" state
O.load("sample_strain1.yade") 
TW.setState(1)  #store current positions internaly in the "1" 
(deformed) state
TW.defToVtk("strain.vtk")
###

Thanks!

Leonard

[1]https://yade-dev.gitlab.io/trunk/user.html#micro-strain

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #703948]: change density and roughness over time

2023-01-04 Thread Daizong Meng
Question #703948 on Yade changed:
https://answers.launchpad.net/yade/+question/703948

Status: Answered => Solved

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

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp