Boundary Condition Implementing For DEM Particle

edited December 2018 in DualSPHysics v4.2
Hi everyone, I have problem that I want to DEM particle movement but When they face a specific boundary stop. For example in experimental case that I have vertical fluid dam and DEM object when run this case, I can write the code that maintain fluid particle in z<0.2 but DEM Particle Falling down to the bottom of flume.is there any way to prevent DEM particles stop falling when they face condition that z<0.2?<img src="http://dual.sphysics.org/vanilla/uploads/editor/yh/fstk5d28wa67.png" alt="" />

Comments

  • In version 4.2 of DualSPHysics do like this:

    Make a mechanical constraint which limits the movement of your DEM particle. In future releases with project cronos you should be able to do it just by code.

    Kind regards
  • edited December 2018
    Dear Asalih3d, Thanks for your attention, can you advice me in source code? i want make a constraint that when DEM particle arrive the condition Z<0.2 the velocity of DEM particle be zero and movement of particle stop. but i cant discover Where the position of DEM particles is updated in source-code,can you advice me more?
    thank for your attention
    regards
  • in the source code i implement that code for fluid but i cant found where the DEM particle position update ?
  • @mtmtmt - very nice approach actually - but sorry, I have not spent time in the source code yet - I hope someone with more knowledge might be able to help.
  • I'm Very Thankful For your advice.
    best regards
Sign In or Register to comment.

Debug Trace

Notice
Cannot assign an empty string to a string offset

#0 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1203): gdn_ErrorHandler(2, 'Cannot assign a...', '/var/www/forums...', 1203, Array)
#1 /var/www/forums-dual-sphysics-org/library/core/class.format.php(958): Gdn_Format::formatMentionsCallback('')
#2 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1292): Gdn_Format::tagContent('@mtmtmt - very ...', 'Gdn_Format::for...')
#3 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Html/HtmlEnhancer.php(59): Gdn_Format::mentions('@mtmtmt - very ...')
#4 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Formats/HtmlFormat.php(74): Vanilla\Formatting\Html\HtmlEnhancer->enhance('@mtmtmt - very ...')
#5 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/FormatService.php(34): Vanilla\Formatting\Formats\HtmlFormat->renderHtml('@mtmtmt - very ...')
#6 /var/www/forums-dual-sphysics-org/library/core/class.format.php(769): Vanilla\Formatting\FormatService->renderHTML('@mtmtmt - very ...', 'html')
#7 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::html('@mtmtmt - very ...')
#8 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('@mtmtmt - very ...', 'Html')
#9 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(170): formatBody(Object(stdClass))
#10 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/comments.php(19): writeComment(Object(stdClass), Object(DiscussionController), Object(Gdn_Session), 4)
#11 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/index.php(53): include('/var/www/forums...')
#12 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(778): include('/var/www/forums...')
#13 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(1382): Gdn_Controller->fetchView('', false, false)
#14 /var/www/forums-dual-sphysics-org/library/core/class.pluggable.php(217): Gdn_Controller->xRender()
#15 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(310): Gdn_Pluggable->__call('render', Array)
#16 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('1474', 'boundary-condit...', '')
#17 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#18 /var/www/forums-dual-sphysics-org/index.php(29): Gdn_Dispatcher->dispatch()
#19 {main}