← Back to team overview

yade-users team mailing list archive

Re: [Question #175394]: numerical instability and small time steps

 

Question #175394 on Yade changed:
https://answers.launchpad.net/yade/+question/175394

Christian Jakob posted a new comment:
With the method suggested by Anton (replace balls instead of multiply
the radius) I get a bigger timestep. But it is still too small: 8e-9 s
(compared to PFC: 2e-7 s). So I tried to test, if a fixed timestep of
2e-7 s would be stable:

Yade [2]: *** glibc detected *** /usr/bin/python: malloc(): memory corruption: 0x0000000006e1b7e0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71ad6)[0x7f714b44dad6]
/lib/libc.so.6(+0x74b6d)[0x7f714b450b6d]
/lib/libc.so.6(__libc_malloc+0x70)[0x7f714b452930]
/usr/lib/libQtGui.so.4(+0x2c8d26)[0x7f7147e59d26]
/usr/lib/libQtGui.so.4(_ZNK12QPainterPath17toSubpathPolygonsERK10QTransform+0x651)[0x7f7147ef6511]
/usr/lib/libQtGui.so.4(_ZNK12QPainterPath13toFillPolygonERK10QTransform+0x23)[0x7f7147ef7113]
/usr/lib/libQtGui.so.4(_ZNK12QPainterPath13toFillPolygonERK7QMatrix+0x32)[0x7f7147ef7482]
/usr/lib/libQtGui.so.4(+0x400c7b)[0x7f7147f91c7b]
/usr/lib/libQtGui.so.4(+0x34bb53)[0x7f7147edcb53]
/usr/lib/libQtGui.so.4(+0x34bc32)[0x7f7147edcc32]
/usr/lib/libQtGui.so.4(_ZN8QPainter13setClipRegionERK7QRegionN2Qt13ClipOperationE+0x369)[0x7f7147ee1dd9]
/usr/lib/kde4/plugins/styles/oxygen.so(+0x5de0e)[0x7f7123fbfe0e]
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x87)[0x7f71478784b7]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x7c)[0x7f7147d892fc]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x14b)[0x7f7147d8f80b]
/usr/lib/pymodules/python2.6/PyQt4/QtGui.so(+0x4933cf)[0x7f712c60d3cf]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f714787909c]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x3bd)[0x7f7147de780d]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x518)[0x7f7147de84a8]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x349)[0x7f7147de82d9]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x11a)[0x7f7147de756a]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x518)[0x7f7147de84a8]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x11a)[0x7f7147de756a]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x518)[0x7f7147de84a8]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x11a)[0x7f7147de756a]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x518)[0x7f7147de84a8]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x11a)[0x7f7147de756a]
/usr/lib/libQtGui.so.4(+0x410a05)[0x7f7147fa1a05]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate16syncBackingStoreEv+0x80)[0x7f7147dd9170]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xcd5)[0x7f7147ddf915]
/usr/lib/pymodules/python2.6/PyQt4/QtGui.so(+0x4755e5)[0x7f712c5ef5e5]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0x7f7147d8932c]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x14b)[0x7f7147d8f80b]
/usr/lib/pymodules/python2.6/PyQt4/QtGui.so(+0x4933cf)[0x7f712c60d3cf]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f714787909c]
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2a4)[0x7f714787c744]
/usr/lib/libQtCore.so.4(+0x1a2b73)[0x7f71478a2b73]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x7f71430806f2]
/lib/libglib-2.0.so.0(+0x42568)[0x7f7143084568]
/lib/libglib-2.0.so.0(g_main_context_iteration+0x6c)[0x7f714308471c]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x73)[0x7f71478a26b3]
/usr/lib/libQtGui.so.4(+0x2a819e)[0x7f7147e3919e]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f71478779c2]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdc)[0x7f7147877d9c]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbb)[0x7f714787ca2b]                                                                                                                               09:25:46
/usr/lib/pymodules/python2.6/PyQt4/QtCore.so(+0x98ee5)[0x7f712dce2ee5]
/usr/lib/python2.6/lib-dynload/readline.so(+0x3991)[0x7f7131322991]
/usr/bin/python(PyOS_Readline+0xf2)[0x526a52]
/usr/bin/python[0x49da86]
/usr/bin/python(PyEval_EvalFrameEx+0x5165)[0x4a7ba5]
/usr/bin/python(PyEval_EvalCodeEx+0x911)[0x4a95c1]
/usr/bin/python(PyEval_EvalFrameEx+0x4d12)[0x4a7752]
/usr/bin/python(PyEval_EvalCodeEx+0x911)[0x4a95c1]
/usr/bin/python(PyEval_EvalFrameEx+0x4d12)[0x4a7752]
/usr/bin/python(PyEval_EvalCodeEx+0x911)[0x4a95c1]
/usr/bin/python(PyEval_EvalFrameEx+0x4d12)[0x4a7752]
/usr/bin/python(PyEval_EvalCodeEx+0x911)[0x4a95c1]
/usr/bin/python[0x538a10]
/usr/bin/python(PyObject_Call+0x47)[0x41ef47]
/usr/bin/python[0x427c1f]
/usr/bin/python(PyObject_Call+0x47)[0x41ef47]
/usr/bin/python[0x426edd]
/usr/bin/python(PyObject_Call+0x47)[0x41ef47]
======= Memory map: ========
00400000-0061d000 r-xp 00000000 08:01 2891650                            /usr/bin/python2.6
0081d000-0087f000 rw-p 0021d000 08:01 2891650                            /usr/bin/python2.6
0087f000-0088e000 rw-p 00000000 00:00 0 
0279a000-0858b000 rw-p 00000000 00:00 0                                  [heap]
7f711b1f6000-7f711b2f6000 rw-s 34363000 00:05 6842                       /dev/ati/card0
7f711b2f6000-7f711b3f6000 rw-s 34362000 00:05 6842                       /dev/ati/card0
7f711b3f6000-7f711b4f6000 rw-s 34361000 00:05 6842                       /dev/ati/card0
7f711b4f6000-7f711b5f6000 rw-s 34360000 00:05 6842                       /dev/ati/card0
7f711b5f6000-7f711b6f6000 rw-s 34365000 00:05 6842                       /dev/ati/card0
7f711b6f6000-7f711b7f6000 rw-s 3435d000 00:05 6842                       /dev/ati/card0
7f711b7f6000-7f711b8f6000 rw-s 3435c000 00:05 6842                       /dev/ati/card0
7f711b8f6000-7f711b9f6000 rw-s 34364000 00:05 6842                       /dev/ati/card0
7f711baf6000-7f711bbf6000 rw-s 34359000 00:05 6842                       /dev/ati/card0
7f711bbf6000-7f711bcf6000 rw-s 34358000 00:05 6842                       /dev/ati/card0
Abgebrochen

???

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.