What does O.energy['nonviscdamping'] account for ?
Hello,
I have done several tests with the two bouncing balls simulation, which I modified a little for the saving of the energies.
I wanted to see the behaviour of the energy saved under O.energy[
My results seems to show that the energy 'nonviscdamping' is related to the energies linked to a contact (so here elastic and plastic energies but not gravity) ...
Could you enlighten me about what is saved under O.energy[
Thanks in advance !
The script :
# basic simulation showing sphere falling ball gravity,
# bouncing against another sphere representing the support
from yade import plot
# DATA COMPONENTS
file_name=
# add 2 particles to the simulation
# they the default material (utils.defaultMat)
O.bodies.
O.trackEnergy=True
# FUNCTIONAL COMPONENTS
# simulation loop -- see presentation for the explanation
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
# Apply gravity force to particles. damping: numerical dissipation of energy.
NewtonIntegr
PyRunner(
]
def addData():
#print 'Ee : %.5f'%(
plot.
if O.iter>3*10**6:
O.pause()
# set timestep to a fraction of the critical timestep
# the fraction is very small, so that the simulation is not too fast
# and the motion can be observed
O.dt=5*10**-5
# save the simulation, so that it can be reloaded later, for experimentation
O.saveTmp()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Clerc Adriane for more information if necessary.