Sloshing tank subjected to Sinusoidal Rectilinear Motion
Dear DualSPHysics Team,
Could you please help me with the following inquiries. I am carrying out the analysis of a sloshing tank subjected to Sinusoidal Rectilinear Motion. I am trying now to determine the FORCES in the left wall of the tank and also the HEIGHT of water in the left wall of the tank. As I am a new user of DualSPHysics, I am first getting used to using the FreeCAD interface with the DualSPHysics Macro, so once I have understood it, I will later modify the XML document by myself.
So, my questions are:
Regarding the forces: I want to determine the force acting in the left wall of the tank to compare later on with an experiment that I want to perform. I have noticed in one of the tutorials (https://www.youtube.com/watch?v=2g7PzfrMomM&list=PLwaIMU-iIzj3cNmPoxGVJ3uWeIa0g49Ko&index=9) that one can get the Force of moving objects, like the case of the tank would be. So, in order to determine the force, I created an object in the left-hand side of the tank, and I have named this object as "wall". I have subjected this object to the same Sinusoidal Rectilinear Motion of the tank, and I have measured the forces, the correspondent file is "Force_on_leftWall". So, my question is. Is it this approach correct, or I am missing some important considerations to measure the force?
Regarding the hight of water: I want to determine the hight of the water on the left side of the tank. In order to do so, I have been reading and I have found a way to do it in the tutorial of DualSPHysics (https://www.youtube.com/watch?v=u-hSukMETNI&list=PLwaIMU-iIzj3cNmPoxGVJ3uWeIa0g49Ko&index=5). However, as you could imagine, I pretend to measure the height of the water in a point right next to the left wall of the tank (as it would be done if a sensor is set in the wall of a tank in an experiment). My problem is that this point that I want to measure its height, is moving along the x-axis. It means I cannot enter just 1 point in the MeasuringTool, and I am not sure how I should proceed. Could you give me an option to perform this calculation?
I am attacheing in this message the corresponding files that I generated in DualSPHysics using FreeCAD. So, you please could take a look at it and understand in a better way my problem. At first I am using an interparticle distance of 0.005m just to reduce the calculation time with my computer. I intend to optimize it once these questions have been answered.
Thanks in advance for your attention to this email, and any comment, please do not hesitate to contact me.
Kind Regards
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":{"em...') #4 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(197): Gdn_Format::to('[{"insert":{"em...', 'Rich') #5 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('1799', 'sloshing-tank-s...', '') #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":{"em...') #4 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('[{"insert":{"em...', '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('1799', 'sloshing-tank-s...', '') #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} |
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":"Dea...') #4 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('[{"insert":"Dea...', 'Rich') #5 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(170): formatBody(Object(stdClass)) #6 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/comments.php(19): writeComment(Object(stdClass), Object(DiscussionController), Object(Gdn_Session), 1) #7 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/index.php(53): include('/var/www/forums...') #8 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(778): include('/var/www/forums...') #9 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(1382): Gdn_Controller->fetchView('', false, false) #10 /var/www/forums-dual-sphysics-org/library/core/class.pluggable.php(217): Gdn_Controller->xRender() #11 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(310): Gdn_Pluggable->__call('render', Array) #12 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('1799', 'sloshing-tank-s...', '') #13 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array) #14 /var/www/forums-dual-sphysics-org/index.php(29): Gdn_Dispatcher->dispatch() #15 {main} |
Comments
Dear Pablo
In order to use the post-processing tools in the correct way and to be able to use all capabilities of the code..
Perhaps the best option is to start directly with the full package.
Once you download the code and read the documentation: https://github.com/DualSPHysics/DualSPHysics/wiki
we can help you with your cases.
This video will help: https://youtu.be/_sL1iQUJfs8
Regards