Export velocity and force
Hi!
I want to export the force and the velocity in 02-gravity-
1. The variables of what(dictionary) content coordnumber, forceLen, forceVec, stressLen, stressVec, torqueLen, torqueVec[3]. I want to know the meaning of coordnumber, ‘Vec’, and ‘Len’. In addition, I would like to know which variables can be referenced in what (dictionary) and how to describe them correctly.
2. The different supported export types like exportContactPo
Here is the MWE:
from yade import pack, plot, export
O.bodies.
sp = pack.SpherePack()
sp.makeCloud((0, 0, 0),(1, 1, 1),rMean= .02,rRelFuzz= .5)
sp.toSimulation()
O.engines=[
),
]
O.dt= .5* PWaveTimeStep()
O.trackEnergy = True
vtkExporter= export.
def vtkExport():
vtkExporter
vtkExporter
vtkExporter
vtkExporter
def checkUnbalanced():
if unbalancedForce() < .05:
def addPlotData():
plot.plots={'i': ('unbalanced', None, O.energy.keys)}
plot. Plot()
O.saveTmp()
Cheers,
Weihao Mu
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: