Water entry of object
i am trying to simulate water entry of cylidrical object. I have mentioned relative weight of object as 2.4. As relative weight is more than 1, my body should sink, but it is coming out of the fluid after some time. Please suggest me where i am going wrong.
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('@waradevivek <b...', 'Gdn_Format::for...') #3 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Html/HtmlEnhancer.php(59): Gdn_Format::mentions('@waradevivek <b...') #4 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Formats/HtmlFormat.php(74): Vanilla\Formatting\Html\HtmlEnhancer->enhance('@waradevivek <b...') #5 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/FormatService.php(34): Vanilla\Formatting\Formats\HtmlFormat->renderHtml('@waradevivek \r\n...') #6 /var/www/forums-dual-sphysics-org/library/core/class.format.php(769): Vanilla\Formatting\FormatService->renderHTML('@waradevivek \r\n...', 'html') #7 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::html('@waradevivek \r\n...') #8 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('@waradevivek \r\n...', '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('1326', 'water-entry-of-...', '') #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} |
Comments
If you are creating particles only in the faces, perhaps the total mass of the object leads to a weight which is not higher than the buoyancy
Try to create the cylinder full of particles, so that, particles also inside
To avoid problems you should define the mass of the cylinder once this is created with the proper geo (only faces or full as your cylinder should be)
Regards
Thanks for info,
I have some further queries.
how to create cylinder full of particles , I am importing STL file of object.
Also i just wants to know if it is possible to create more particles only on floating object so as to capture the physics more accurately. Now it is creating particles which are equivalent to "dp". Can we assign different dp for different objects.
Regards,
VIvek
you can use filling algorithms such as fillbox where you have to define the seed point and the limits of the box
examples in: page 45 of XML_v4.0_GUIDE
http://dual.sphysics.org/index.php/faq/#Q_27
Right now it seems that we can't set a different "dp" for floating objects, and the same "dp" for fluid and floating objects causes some problems. Especially for a 3D case the floating objects is complex and the whole computational domain is large compared to the floating objects. We may need more particles to perfectly represent the geometry of the floating objects then we set a small "dp", but a small "dp" will simultaneously let the particles of the computational domain increase exponentially, that's a nightmare. Hope the developer of DualSPHysics can take some considerations of this question.
can we use multi gpu for version 4.2 ? since number of particles are increasing exponentially as i am decreasing dp. I have machine with 8 gpus "Tesla V100-SXM2-16GB".
While solving the Problem which i have mentioned above, cylindrical body is now sinking in the fluid, but we are not able to get the desired sink rate. Sink rate according to analytical calculations is found to be 11.5 m/s, but what we are getting from SPH is around 2 m/s.
@Alex please guide us where we are going wrong.
the best is to define the mass in the XML
Thanks..
I am specifying "massbody" for floating object.
Also .xml file generated by Gencase is also showing correct masspart. (I.e. if i multiply masspart and no of floating particles, i am getting mass equal to floating object.)
Regards