<metaname="description"content="PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.">
<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="PageDoc"><divclass="header">
<divclass="headertitle">
<divclass="title">How to use PhasicFlow </div></div>
</div><!--header-->
<divclass="contents">
<divclass="textblock"><p>Here you will learn how to use PhasicFlow to setup a granular flow simulation. The inputs for simulation are supplied through some text-based files, called file dictionary, located in two folders: <code>settings</code> and <code>caseSetup</code>. These folders are located under the root case directory. All the commands are performed through terminal in which the current working directory is root case directory (you see <code>settings</code> and <code>caseSetup</code> folders when <code>ls</code> command is entered). The states of geometry and particles are stored in time folders with names that represent the time. When simulation is finished, one case use post-processing tool pFlowToVTK to convert the stored results in the time folder into VTK file format. The VTK file format can be read by Paraview. A set of tutorials with detailed descriptions are provided to show you how to use PhasicFlow for various granular flow problems. Here is a list of them.</p><ul>
<li>Small rotating drum <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/rotatingDrumSmall">(see on github.com)</a></li>
<li>Rotating drum with baffles <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/RotatingDrumWithBaffles">(see on github.com)</a></li>
<li>Layered silo filling <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/layeredSiloFilling">(see on github.com)</a></li>
<li>Simulation of a V-blender <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/V-blender">(see on github.com)</a></li>
<li>Granular flow of particles with two particlce sizes<ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/binarySystemOfParticles">(see on github.com)</a></li>
<li>Simulation of a tote-blender <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow/toteblender">(see on github.com)</a></li>
</ul>
</li>
<li>Tutorials based on iterateGeometry solver<ul>
<li>Defining an inclined screw conveyor <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/iterateGeometry/inclinedScrewConveyor">(see on github.com)</a></li>
</ul>
</li>
<li>Tutorials based on postprocessPhasicFlow<ul>
<li>Particle number fraction in a binray system <ahref="https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/postprocessPhasicFlow/segregation">(see on github.com)</a></li>