inletOutlet particle resolution

edited February 2019 in DualSPHysics_v4.3_Beta
Hello,
I'm playing with examples/inletoutlet/1_FlowCylinder and when I increase the particle spacing I get the following error



If I keep the dp the same but increase the number of in/out layers, I get the following error



But, I get no errors if I use extapolated velocity(mode=2) and choose hydrostatic option for the density( mode=1).

Comments

  • Have you tried using the fixed domain command and slightly increase the domain in each side? It has helped for me earlier.

    Kind regards
  • I've played with inlet-oulet as well, It definitely is a case of particle outside of domain (as stated in the error), you should mak sure that the buffer of the inlet is inside the domain after gencase. try this : https://dual.sphysics.org/index.php/faq/#Q_12
  • So, on a x-z plane with x pointing right, the buffer layer particles are created in -x direction.

    @Asalih3d Is the fixed domain same as useboxlimit?

  • Using the given dimensions in CaseFlowCylinder creates the following domain




    But, when I change the dimensions and create a smaller domain, I only get the buffer layers.




    Does the command "void" create a reserved space for fluid particles which is void? If this is the case, how am I getting an area filled with particles when I use the given dimensions? Or am I missing something?

    Thank you so much.
  • I think you got fillbox wrong.

    check the xml guide please !
    You just defined a box starting at x=0, with size of 0.3 ! and you want it to be filled starting from the point at x=1... this point is outside your box ! so no particle are created.

    Also, I'll avoid having the fillpoint on the domain limit (first lign of the fillbox)
    so change x="1" to x="0.9"

    "void" does not reserve space ! it just a way of telling the program "Put particles in this box starting from this point, as long as the space is void (no particle already in it).

    Good day
  • Oh, for some reason I did not think it was the filling algorithm and I thought x=1 specifies the direction.
    It works now thank you.

    Have a good day!
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('So, on a x-z pl...', 'Gdn_Format::for...')
#3 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Html/HtmlEnhancer.php(59): Gdn_Format::mentions('So, on a x-z pl...')
#4 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Formats/HtmlFormat.php(74): Vanilla\Formatting\Html\HtmlEnhancer->enhance('So, on a x-z pl...')
#5 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/FormatService.php(34): Vanilla\Formatting\Formats\HtmlFormat->renderHtml('So, on a x-z pl...')
#6 /var/www/forums-dual-sphysics-org/library/core/class.format.php(769): Vanilla\Formatting\FormatService->renderHTML('So, on a x-z pl...', 'html')
#7 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::html('So, on a x-z pl...')
#8 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('So, on a x-z pl...', '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), 3)
#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('1531', 'inletoutlet-par...', '')
#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}