Copyright (c) 2025 by Dr Jose M. Dominguez All rights reserved. FlowTool is a free tool for DualSPHysics simulations. DualSPHysics project is an international collaboration between University of Vigo (Spain) and University of Manchester (UK). Redistribution and use in binary form, without modification, are permitted provided that the following conditions are met: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Redistributions or modifications of source code are not permitted unless expressly authorised, and must retain the above copyright notice, this list of conditions and the following disclaimer. * Neither the name of the FlowTool nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FlowTool v5.4.266.02 (07-05-2025) ================================== LoadDsphConfig> .../dualsphysics/bin/DsphConfig.xml Information about parameters of execution: FlowTool Basic options: -h Shows information about parameters -ver Shows version information -opt Load configuration of a file Defines input file: -dirdata Directory with particle data (Part_XXXX.bi4) -filedata File with particle data (file.bi4) -fileboxes File with definition of domains using prisms (txt or xml) -first: Indicates the first file to be computed -last: Indicates the last file to be computed -files: Indicates the number of files to be processed Defines output file: -templates Creates example file to be used with -fileboxes -savecsv Generates CSV files with number of particles that enter or leave the domains, volume and flow rates -units:1 Define units for volume or flow and saves extra flow data between control boxes (0:by default, 1:l/s, 2:gal/s, 3:gal/min) -savevtk Creates VTK (polydata) files with particles -createdirs:<0/1> Creates full path for output files (value by default is read from DsphConfig.xml or 1) -thousands:<0/1> Use thousands separator (value by default is read from DsphConfig.xml or 0) -threads: Indicates the number of threads for parallel execution of the interpolation, it takes the number of cores of the device by default (or using zero value). Examples: FlowTool -dirdata . -fileboxes boxes.txt -savecsv resul.csv -savevtk dir/files.vtk