How do I change the Oedometric compression test to tract particle orientation?
I've been trying to adjust the open source (https:/
I have already been using a .py program in Yade that simply tracks the Cartesian coordinates of a generated particle cloud that falls into a volume element. What I have been struggling with was implementing the tracking portion of the code I am comfortable with, into the "03-oedometric-
The "03-oedometric-
{
def myaddData():
if (O.iter%8==0):
# open file
fil=
fil.write ('id \t x \t y \t z \t vz \t radius \t force \n')
for b in O.bodies:
if (type(b.
}
Using the code above, I've been mainly thinking how I need to replace the following code seen in the linked program:
{
def addPlotData():
if not isinstance(
plot.addData(); return
Fz=O.forces.
plot.addData(
# besides unbalanced force evolution, also plot the displacement-force diagram
plot.plots=
plot.plot()
}
I'm generally struggling on the how to add/remove the necessary lines of code to collect the Cartesian coordinates within the "03-oedometric-
Any suggestions?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: