Problem with moving boundary condition
Dear all,
Thanks a lot for this amazing software.
I'm currently running a case involving moving boundary conditions, basically a flap in box.
It happens, in a lot of simulations, that I get an error message, which is the following "particle boundary out> type : Moving cause"
In fact the bottom of the flap seems to exit the main tank because it's not perfectly on the same line as the axis defined.
It is a 3D case and the flap is a simple rectangle, I noticed that declaring the flap with a small gap at its bottom somehow solves the problem, but I think there is a better way to do so.
I guess there is a problem with the "real" location of the boundary particles that should be slightly different from what is defined in the definition file.
Does anyone knows the exact procedure of boundary particles location and how to overpass this problem ?
Best regards
Pilou
Thanks a lot for this amazing software.
I'm currently running a case involving moving boundary conditions, basically a flap in box.
It happens, in a lot of simulations, that I get an error message, which is the following "particle boundary out> type : Moving cause"
In fact the bottom of the flap seems to exit the main tank because it's not perfectly on the same line as the axis defined.
It is a 3D case and the flap is a simple rectangle, I noticed that declaring the flap with a small gap at its bottom somehow solves the problem, but I think there is a better way to do so.
I guess there is a problem with the "real" location of the boundary particles that should be slightly different from what is defined in the definition file.
Does anyone knows the exact procedure of boundary particles location and how to overpass this problem ?
Best regards
Pilou
Comments
And if you still have problems send to us an email (dualsphysics@gmail.com)
Regards
Thanks
Ric
(ii) using the parameters of DualSPHysics execution mentioned in the answer to question 8:
- domain_particles[:xmin,ymin,zmin,xmax,ymax,zmax]
- domain_particles_prc:xmin,ymin,zmin,xmax,ymax,zmax
- domain_fixed:xmin,ymin,zmin,xmax,ymax,zmax
so that the limits can be specified instead of using initial particle positions
Ric
Send to us your case and we will help you.
Remember that:
In the input XML file, the parameters pointmin and pointmax only define the domain to create particles so out of these limits fluid or boundary particles will not be created. The limits of the computational domain are computed at the beginning of the DualSPHysics simulation and use the initial minimum and maximum positions of the particles that were already created with GenCase
I try to run a case in which the movement of piston wavemaker is defined using data from an external file. But when I do this, the model doesn't progress in time steps during run time (although I get no error messages).
I read the FAQ section (9-How can I define the movement of boundaries? ) where it is mentioned the external file of prescribed movement should include info of time, X-position, Y-position, Z-position and "velocities"; But the "motion08mov_f3.out" file (describes the prescribed motion used in the eighth example of " MOTION" directory) just contains info about time and x,y,z positions and there is no column for velocities! Moreover, there isn't any guide in "GenCase_XML_GUIDE.pdf" file about velocities definition for predefined movement (See page 57). So, the external file I used for wavemaker movement doesn't contains velocities info (like "motion08mov_f3.out" file). I guess model doesn't work maybe because it needs wavemaker velocities info.
Does anyone has ran the case of piston wavemaker with prescribed motion and know how to overpass this problem ?
Best regards
Ehsan
or
1) Make sure the file was saved as a .dat file
2) Call that file in the xml file
3) Copy the motion file into the output file (for example, use batch command 'xcopy *.dat %dirout%'
Number three took me a while to realize.
Good luck.
Thank you Alex for your reply.
The key point was that mentioned by "uisceng". I followed that three steps and the problem was solved. Thank You very much "uisceng" for your useful advices.
All the best
Ehsan