Simulation stops when use off-diagonal inertia elements (products of inertia)

edited August 2022 in DualSPHysics v5.0

Hi there,


I'm having an issue when I set off-diagonal elements (products of inertia) of floating solids.

The simulation has 4 free solids and 2 of them can rotate in the diagonal vector (1,1,0), i.e., since I'm using chrono, they have links like:

<link_hinge idbody1="body1" idbody2="body2">
   <rotpoint x="1.0" y="0" z="2.0" comment="Point for rotation"/>
   <rotvector x="1" y="1" z="0" comment="Vector direction for rotation"/>
   <stiffness value="0" comment="Torsional stiffness [Nm/rad]"/>
   <damping value="0" comment="Torsional damping [Nms/rad]"/>
</link_hinge>


In the tag <floating>, I set the inertia matrix of these solids as:

<inertiafull>
   <values v11="10.0" v12="10.0" v13="0" />
   <values v21="10.0" v22="10.0" v23="0" />
   <values v31="0" v32="0" v33="1.0" />
</inertiafull>


However, when I try to run the case, the run.out file shows that simulation stops at the following point:

**CellDiv: Requested gpu memory for 2420126 particles: 18.7 MB.
**CellDiv: Requested gpu memory for 48024 cells (CellMode=Full): 0.7 MB.


When I modify the inertia of these solids in the xml and use only diagonal elements, for example:

<inertia x="20.0" y="20.0" z="1.0"/>


The simulation runs normally.


Any idea if there might be a problem with the tag inertiafull ?


Regards

Sign In or Register to comment.

Debug Trace

Notice
rich is deprecated. Use FormatService::renderHtml($content, Formats\RichFormat::FORMAT_KEY) instead.

#0 [internal function]: gdn_ErrorHandler(16384, 'rich is depreca...', '/var/www/forums...', 950, Array)
#1 /var/www/forums-dual-sphysics-org/library/core/functions.general.php(950): trigger_error('rich is depreca...', 16384)
#2 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1729): deprecated('rich', 'FormatService::...')
#3 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::rich('[{"insert":"Hi ...')
#4 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(197): Gdn_Format::to('[{"insert":"Hi ...', 'Rich')
#5 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('2438', 'simulation-stop...', '')
#6 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#7 /var/www/forums-dual-sphysics-org/index.php(29): Gdn_Dispatcher->dispatch()
#8 {main}
Notice
rich is deprecated. Use FormatService::renderHtml($content, Formats\RichFormat::FORMAT_KEY) instead.

#0 [internal function]: gdn_ErrorHandler(16384, 'rich is depreca...', '/var/www/forums...', 950, Array)
#1 /var/www/forums-dual-sphysics-org/library/core/functions.general.php(950): trigger_error('rich is depreca...', 16384)
#2 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1729): deprecated('rich', 'FormatService::...')
#3 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::rich('[{"insert":"Hi ...')
#4 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('[{"insert":"Hi ...', 'Rich')
#5 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/discussion.php(89): formatBody(Object(stdClass))
#6 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/index.php(31): include('/var/www/forums...')
#7 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(778): include('/var/www/forums...')
#8 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(1382): Gdn_Controller->fetchView('', false, false)
#9 /var/www/forums-dual-sphysics-org/library/core/class.pluggable.php(217): Gdn_Controller->xRender()
#10 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(310): Gdn_Pluggable->__call('render', Array)
#11 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('2438', 'simulation-stop...', '')
#12 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#13 /var/www/forums-dual-sphysics-org/index.php(29): Gdn_Dispatcher->dispatch()
#14 {main}