Particleworks Tutorial
Particleworks Tutorial
Release 8.0.0
1 Introduction 1
2 Dam-Break 3
3 Multi-Fluid Flow 13
4 Resin Flow 19
6 Tank Sloshing 35
7 Multi-Fluid Mixing 43
8 Rigid Body 49
10 Fresh Concrete 61
11 Spray 69
12 Planetary Mixer 75
14 Postprocessings 87
16 Aeration 103
20 Windage 131
i
21 Pressure Boundary 137
Bibliography 193
ii
CHAPTER
ONE
INTRODUCTION
This documentation consists of tutorials on essential topics such as basic simulation settings, preprocessing,
and postprocessing.
Particleworks is a CFD software based on an advanced numerical method known as the Moving Particle
Simulation (MPS) method. The mesh-free nature of MPS allows for robust simulation of free-surface flows
at high resolutions, saving the need to generate meshes for the fluid domain. Since its first release in 2009,
Particleworks has been introduced to a wide range of industries.
External files used in each tutorial can be found in share/samples/MPS/ID_tutorial_name under the
install folder.
1
Particleworks Tutorial, Release 8.0.0
All rights reserved. No parts of this work may be reproduced in any form or by any means without the
written permission of Prometech Software, Inc. Products that are referred to in this document may be either
trademarks and/or registered trademarks of the respective owners.
2 Chapter 1. Introduction
CHAPTER
TWO
DAM-BREAK
This tutorial demonstrates how to model a dam-break as an example of incompressible flow with free-surface.
Camera operation is also described in this section.
The model consists of a vessel and a column of water. As the calculation progresses, water flows out to the
walls of the vessel. The initial setup is shown below.
Vessel
3
Particleworks Tutorial, Release 8.0.0
Water column
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Particle size [m]: 1
• Initial time interval [s]: 0.005
• End time [s]: 10
4 Chapter 2. Dam-Break
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
2.3.1 Mouse
The following operations are available when the mouse cursor is on the 3D view.
• Rotation : Drag (Left)
• Translation : Shift + Drag (Left)
• Zoom-in/Zoom-out : Ctrl + Drag (Left) or use the mouse wheel
2.3.2 Buttons
The following operations are available using the buttons at the top of the scene window.
6 Chapter 2. Dam-Break
Particleworks Tutorial, Release 8.0.0
The default values of Fluid and Polygon are equal to the initial setup of this simulation model. You can
always check those properties in the Physical property manager window.
1. In the toolbar, click the Settings button to move on to the next setting step.
2. In the Run dialog, locate the Basics section and check the Unit, Preprocess, and Gravity.
3. Click the Next button.
4. In the Run dialog, locate the MPS section and check the Physics model.
5. The default values of simulation parameters and physical models are configured to carry out the dam-
break simulation. The following physics models are used in this tutorial.
Physics model
• Pressure : Implicit
• Viscosity : None
• Surface tension : None
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the flow of the fluid particles, use the controls in the Player window.
8 Chapter 2. Dam-Break
Particleworks Tutorial, Release 8.0.0
t = 1.0[s] t = 3.0[s]
Surface generator converts particle points into 3D triangular meshes. This is typically used to visualize the
surface of the fluid, or to get an attractive image of the simulation result.
Through preprocessing, the software generates particles and a distance-function from imported models. Al-
though for most cases, preprocessing and simulation are performed at a time, each step can be launched
separately.
1. Click the Run button . Alternatively, you can choose Simulation > Run from the toolbar.
2. In the Run window, select Preprocess in Execution section and Click the Next button.
3. Uncheck Hide generated DF entries in Display: field and click Execute. The software starts prepro-
cessing immediately.
4. When the calculation is completed, a notification pops up in the center of the main window.
5. In the scene window, the distance function generated from wall.obj and particles generated from wa-
ter.obj should be visible.
6. Uncheck Result > in the Outline window to hide the distance function.
10 Chapter 2. Dam-Break
Particleworks Tutorial, Release 8.0.0
In the Interactions section in Physics property manager, all values can be set at once when multiple phys-
ical property combinations exist. The procedure to set Spring Constant at once is presented as an example
below.
Note:
• Values of all combinations that include the specific physical property can also be set at once.
• For example, values of all combinations that include Polygon can be set at once by selecting Polygon
in the combo box instead of All.
12 Chapter 2. Dam-Break
CHAPTER
THREE
MULTI-FLUID FLOW
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
• Fluid_1
– Density [kg/m3 ]: 2000
– Kinematic viscosity [m2 /s]: 1e-4
13
Particleworks Tutorial, Release 8.0.0
Simulation parameters
• Particle size [mm]: 4
• Initial time interval [s]: 0.001
• End time [s]: 5
Inflow boundary conditions
• inflow (Fluid)
– Velocity [m/s]: 0.2
• inflow_1 (Fluid_1)
– Velocity [m/s]: 0.2
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click Create an inflow button , and select Circle. Repeat the same proce-
dure to create two inflows.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (-150, 0, 0)
• Rotation : (0, 90, 0)
• Width [mm]: 32
• Height [mm]: 32
4. In the Outline window, select the Input > inflow_1 node.
5. In the Properties window, locate the Transform section and enter the following values:
• Location : (-132.58, 65, 0)
• Rotation : (0, 90, -30)
• Width [mm]: 16
• Height [mm]: 16
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, enter the following values:
• Domain > Upper limit : (150, 100, 50)
• Domain > Lower limit : (-150, -50, -50)
1. In the Outline window, click the Open physical property manager button .
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu and use the default parameters.
4. Click the plus button + again to add Fluid_1, and edit the following parameters:
• Density [kg/m3 ]: 2000
• Kinematic viscosity [m2 /s]: 1e-4
5. In the same manner, create type Polygon. Use the default parameters.
6. Click the OK button to close the Physical property manager window.
7. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• pipe.stl : Polygon
• inflow : Fluid
• inflow_1 : Fluid_1
1. In the Outline window, select the two nodes: Input > inflow and Input > inflow_1.
2. In the Properties window, locate the Details section and input the following values:
• Emit Mode : Velocity
• Emit Velocity [m/s]: 0.2
• Upper Limit [m3 ]: 0.01
1. In the toolbar, click the Settings button to check Unit and Preprocess Settings.
2. In the Run dialog, locate the Basics section and enter the following parameters, and then click the
Next button:
• Unit > Length : mm
• Preprocess > Particle Size [mm]: 4
• Gravity [m/s2 ]: (0, 0, 0)
3. In the Run dialog, locate the MPS section and enter the following parameters, and then click the Next
button:
• Viscosity > Type : Explicit
• Surface Tension > Type : CSF
• Surface Tension > Target Physical Property : Fluid
4. Enter the following parameters in the Simulation section
• Time > Finish Time [s]: 5
• Time > Initial dt [s]: 0.001
• Output > File Output Interval Time [s]: 0.1
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
Apply separate colors to Fluid and Fluid_1 to see how these two fluids flow in the pipe.
1. In the Outline window, select the Result > inflow_1 node (particle) or click the particle group in the
scene.
2. In the Properties window, locate the Appearance section and click the Diffuse button.
3. Select an arbitrary color, then click the OK button to close the window.
4. In the Player window, click the Play forward button to play the animation.
FOUR
RESIN FLOW
Physical properties
• Fluid : Non-Newtonian
• Density [kg/m3 ]: 1200
• Viscosity model : Power law
Simulation parameters
• Particle size [mm]: 0.15
19
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
1. In the Outline window, click the Create an inflow button , and select Circle.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 0, 0)
• Rotation : (180, 0, 0)
• Width [mm]: 0.7
• Height [mm]: 0.7
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, locate the Domain section and enter the following values:
Note: A kinematic viscosity coefficient, which is calculated in the constitutive law of Non-Newtonian fluid,
is added to the static value of Kinematic Viscosity. Therefore, the Kinematic Viscosity is set to 0 in this
tutorial.
1. In the scene window, click the L-pipe. (Alternatively, in the Outline window, select the Input >
duct.stl node.)
2. In the Properties window, locate the Details section and enter the following values:
• Initial Temperature [°C]: 150
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the flow of the fluid particles, use the controls in the Player window.
Grid generator converts particle points into 3D uniform grid cells. This is typically used to visualize the
distribution of physical quantities with path lines, cross sections, isolines and isosurfaces.
FIVE
Physical properties
• Density [kg/m3 ]: 800
• Kinematic viscosity [m2 /s]: 1e-5
• Surface tension coefficient [N/m]: 0.025
• Contact angle [deg]: 60
Simulation parameters
27
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
10. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. locate the Execution section and select Preprocess & Simulation in the Run mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the flow of the fluid particles, use the controls in the Player window.
Surface generator converts particle points into 3D triangular meshes. This is typically used to visualize the
surface of the fluid, or to get an attractive image of the simulation result.
After the calculation has been completed, both the particles and the newly added surface are visible in the
scene. If the particles are no longer needed, hide the object as follows.
1. In the Outline window, select the Result > fill node (particle).
2. In the Properties window, check Hide.
SIX
TANK SLOSHING
This tutorial demonstrates how to model a tank sloshing, setting up a tank half-filled with water and apply
an oscillatory motion to it.
35
Particleworks Tutorial, Release 8.0.0
Tank
unit: [mm]
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
• Volume [m3 ]: 0.03
Simulation parameters
• Particle size [mm]: 20
• Initial time interval [s]: 0.001
• End time [s]: 6
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
• tank.stl : Polygon
• tank_water.stl : Fluid
3. Click the Switch keyframe/script button to switch the input mode from key frame to scripting.
4. Enter the following text into the text area (press Ctrl V to paste from the clipboard):
function getValue(t)
{
if ( t<4.0)
return -100*Math.PI*Math.sin(0.5*Math.PI*t);
else
return 0;
}
5. On the bottom right of the window, message ( OK / Error ) appears depending on whether or not the
text has been set successfully when the focus has moved from the text area.
6. In the Outline window, select the Input > domain node.
7. Drag domain onto tank.stl to set its parent. Alternatively, in the Properties window, set Transform
> Parent to tank.stl.
8. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the flow of the fluid particles, use the controls in the Player window.
SEVEN
MULTI-FLUID MIXING
Physical properties
• Fluid
– Density [kg/m3 ]: 700
– Kinematic viscosity [m2 /s]: 0.01
• Fluid_1 (inflow)
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 0.1
Blade’s rotation
43
Particleworks Tutorial, Release 8.0.0
Simulation parameters
• Particle size [mm]: 20
• Initial time interval [s]: 0.002
• End time [s]: 20
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
1. In the Outline window, click Create an inflow button , and select Circle.
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (150, 150, 150)
• Rotation : (180, 0, 0)
• Width [mm]: 100
• Height [mm]: 100
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, locate the Domain section and enter the following values:
• Upper limit : (310, 310, 300)
• Lower limit : (-310, -310, -310)
12. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
4. In the Player window, click the Play forward button to play the animation.
t = 1 [s] t = 4 [s]
By default, particles are displayed as solid spheres. To visualize simulation data, apply color map to the
particles. Note that when color map is enabled, particles are colored based on the Field: (position, velocity,
pressure, etc. . . ) currently set to the scene.
1. In the Color Map window, set Field to Velocity.
2. In the Range: section, set Min to 0 and Max to 2.5.
3. In the Outline window, select the two nodes: Result > fluid2 (particle) and Result > inflow (particle).
4. In the Properties window, check Appearance > Use Color Map.
EIGHT
RIGID BODY
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
• Solid_1
– Density [kg/m3 ]: 20
49
Particleworks Tutorial, Release 8.0.0
• Solid_2
– Density [kg/m3 ]: 50
Simulation parameters
• Particle size [mm]: 20
• Initial time interval [s]: 0.001
• End time [s]: 15
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
1. In the Outline window, click Create an inflow button , and select Rectangle.
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (350, 0, 0)
• Rotation : (180, 0, 0)
• Width : 100
• Height : 100
Fill
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the preprocessor separately, see [Optional] Preprocess.
t = 1 [s] t = 3 [s]
NINE
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
– Specific heat [J/kgK]: 4200
– Thermal conductivity [W/mK]: 0.6
– Initial temperature [°C]: 20
55
Particleworks Tutorial, Release 8.0.0
• Mold
– Density [kg/m3 ]: 2000
– Specific heat [J/kgK]: 2000
– Thermal conductivity [W/mK]: 230
– Initial temperature [°C]: 300
Simulation parameters
• Particle size [mm]: 5
• Initial time interval [s]: 5e-5
• End time [s]: 0.2
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
1. In the Outline window, click Create an inflow button , and select Circle.
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 0, 50)
• Rotation : (180, 0, 0)
• Width [mm]: 40
• Height [mm]: 40
Simulation domain
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
To check the flow of the fluid particles, use the controls in the Player window.
1. In the Color Map window, locate Field, and choose Temperature.
2. Type 20 as Min and 300 as Max in the Range: section.
3. In the Outline window, select the two nodes: Result > cht (particle) and Result > inflow (particle).
4. In the Properties window, check Appearance > Use Color Map.
5. In the Player window, click the Play forward button to play the animation.
TEN
FRESH CONCRETE
This tutorial demonstrates how to model fresh concrete in L-type flow test device.
61
Particleworks Tutorial, Release 8.0.0
Unit: mm
Physical properties
• Fluid : Non-Newtonian
• Density [kg/m3 ]: 2300
• Viscosity model : Bingham model
Simulation parameters
• Particle size [mm]: 15
• Initial time interval [s]: 0.001
• End time [s]: 30
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
Note: Set to zero when using non-Newtonian fluid. Viscosity by non-Newtonian model is added to viscosity
specified here.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
Check the front position of the fluid using the ruler function.
1. In the Outline window, select the View > ruler node.
2. In the Properties window, uncheck Hide.
3. Set Appearance > Tick Interval to 100.
4. Set the ruler in X-axis direction. Locate the Ruler section and enter the following values:
• Axis : X
• Visible : Check
• Bound Min (X) : 0
• Bound Max (X) : 500
5. Hide the ruler in Y-axis direction. Locate the Ruler section and enter the following values:
• Axis : Y
• Visible : Uncheck
6. Set the ruler in Z-axis direction. Locate the Ruler section and enter the following values:
• Axis : Z
• Visible : Check
• Bound Min (Z) : 0
• Bound Max (Z) : 100
Use color map to check the effect of increasing kinematic viscosity on the flow of the fluid.
1. In the Color Map window, locate Field, and choose Kinematic Viscosity.
2. Type 0 as Min and 0.3 as Max in the Range: section.
3. In the Outline window, select the Result > Lfluid node (particle).
4. In the Properties window, check Appearance > Use Color Map.
5. In the Player window, click the Play forward button to play the animation.
t = 2 [s] t = 4 [s]
ELEVEN
SPRAY
69
Particleworks Tutorial, Release 8.0.0
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Particle size [mm]: 1.5
• Initial time interval [s]: 2.5e-5
• End time [s]: 0.3
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
1. In the Outline window, click Create an inflow button , and select Circle.
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 0, 50)
• Rotation : (180, 0, 0)
• Width [mm]: 10
• Height [mm]: 10
Airflow data
1. Extract a .zip file (sample_list.zip).
2. In the Outline window, click the Create misc. button and click the Air button .
3. In the file dialog, open the extracted folder and choose an airflow data file ( sample_list.csv ).
4. Parameters for airflow calculation can be specified In the Properties window. Use the default values
here.
Note:
• Airflow data points are displayed as spheres. To make the points larger, select air node in the Outline
window, then set Scale to a larger value (for example, 5).
• After the simulation has completed, you can display the velocity at each airflow point as an arrow. Set
Scale to 1, then set Type to Vector.
• Refer to the user manual to create an airflow data.
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, locate the Domain section and enter the following values:
• Upper limit : (50, 50, 60)
• Lower limit : (-50, -50, -200)
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Execution dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
Note: The simulation ends at about 0.749[s], printing Simulation failed in the log. This is because all the
particles in the scene moved out of the simulation domain.
To check the velocity of the fluid particles, use the color map function.
1. In the Color Map window, locate Field, and choose Velocity.
2. Type 0 as Min and 5 as Max in the Range: section.
3. In the Outline window, select the Result > inflow node (particle).
4. In the Properties window, locate Appearance > Type, and choose Vector.
5. Check Appearance > Use Color Map.
6. In the Player window, click the Play forward button to play the animation.
TWELVE
PLANETARY MIXER
Physical properties
• Fluid (Lower)
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 0.1
• Fluid_1 (Upper)
– Density [kg/m3 ]: 1500
– Kinematic viscosity [m2 /s]: 0.01
Simulation parameters
• Particle size [m]: 0.03
• Initial time interval [s]: 0.001
• End time [s]: 10
75
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry objects
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. Click the plus button + to add the following physical properties.
• Fluid x2
• Polygon
Parent
1. In the Outline window, click the Create misc. button and click the Group button .
2. In the Key Frames window, set Key to Rotation.
3. Set Rotation to Axis rotation (vector).
4. Set Type to Rotational Speed (rpm).
5. Set Axis (vector) to (0, 0, 1).
6. Click + to add a velocity at 0[s].
7. In the Player window, move to 10 frame (1.0[s]).
8. Click + to add a velocity at 1.0[s].
9. Enter 6[rpm] as the value.
Blade motion
1. In the Outline window, select the Input > blade_twist.obj node.
2. Drag blade_twist.obj onto group to set its parent. Alternatively, in the Properties window, set Trans-
form > Parent to group.
3. In the Properties window, set Transform > Center to (0.15, 0.0, 0.0).
4. In the Key Frames window, set Key to Rotation.
5. Set Rotation to Axis rotation (vector).
6. Set Type to Rotational Speed (rpm).
12. To preview the animation, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the preprocessor separately, see [[en:tutorials:dambreak#Preprocess]] section.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the flow of the fluid particles, use the controls in the Player window.
1. In the Outline window, select the Result > fluid_lower node (particle) or click the particle group in
the scene.
2. In the Properties window, locate the Appearance section and click the Diffuse button.
3. Choose an arbitrary color and click the OK button to close the dialog.
t = 5 [s] t = 10 [s]
THIRTEEN
This tutorial demonstrates how to model flow around a cylinder approximately by using periodic boundary
condition.
Physical properties
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Particle size [mm]: 20
• Initial time interval [s]: 0.001
• End time [s]: 5
81
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
3. In the Properties window, locate the Details section and set Boundary Condition (Z) to Periodic.
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu. Use the default parameters.
4. Add another type Polygon. Use the default parameters.
5. Click the OK button to close the Physical property manager window.
6. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• gutter_PBC.stl : Polygon
• water_PBC.stl : Fluid
• inflow : Fluid
6. Click button in the upper right of the scene window and enter the following parameters:
• Simulation Options > Radius(Viscosity) : 2.1
• Simulation Options > Radius(Pressure) : 2.1
• Simulation Options > Radius(Surface Detection) : 2.1
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• This tutorial is intended to be run with the CPU solver.
• To run the preprocessor separately, see [Optional] Preprocess.
5. In the Player window, click the Play forward button to play the animation.
t = 1 [s] t = 2 [s]
FOURTEEN
POSTPROCESSINGS
Run the simulation and postprocessings to analyze the behavior of high viscosity fluid.
Physical properties
• Density [kg/m3 ]: 200
• Kinematic viscosity [m2 /s]: 2e-3
• Surface tension coefficient [N/m]: 0.4
Simulation parameters
87
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu and edit the following parameters:
• Density [kg/m3 ]: 200
• Kinematic viscosity [m2 /s]: 2e-3
• Surface tension coefficient [N/m]: 0.4
4. Add another type Polygon. Use the default parameters.
5. Click the OK button to close the Physical property manager window.
6. In the “Outline” window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• board.stl : Polygon
• inflow : Fluid
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
To check the flow of the fluid particles, use the controls in the Player window.
Several postprocessings are available in Particleworks. This section describes the surface generator.
14.11 Mapping
Note: Polygons used for mapping must be finely divided because physical quantities are mapped on the
vertices of the polygons.
14.11. Mapping 93
Particleworks Tutorial, Release 8.0.0
Region probe estimates minimum, maximum, and mean values for physical quantities for any specified do-
main. The output format is .csv.
You can generate distribution maps of physical quantities at arbitrary cross-sections by using the postpro-
cess of the grid generator. This subsection demonstrates the process through visualization of the pressure
distribution near an inflow.
Note: Choose Field > Pressure in the Color Map window if the grid is not displayed.
By using the postprocess, you can measure a flow rate at an arbitrary cross-section.
Note: There is a possibility that the flow rate is not measured correctly if Measuring Range is too small.
FIFTEEN
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Particle size [mm]: 9
• Initial time interval [s]: 0.0001
• End time [s]: 1
Inflow boundary conditions
• inflow (Fluid)
– Velocity [m/s]: 1.46
• inflow_1 (Fluid)
– Velocity [m/s]: 1.0
97
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click Create an inflow button , and select Circle. Repeat the same proce-
dure to create two inflows.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 0, 0)
• Rotation : (0, 90, 0)
• Width [mm]: 140
• Height [mm]: 140
4. In the Outline window, select the Input > inflow_1 node.
5. In the Properties window, locate the Transform section and enter the following values:
• Location : (300, 0, -200)
• Rotation : (0, 0, 0)
• Width [mm]: 50
• Height [mm]: 50
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, enter the following values:
• Domain > Upper limit : (1050, 80, 80)
• Domain > Lower limit : (0, -80, -200)
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
Use color map to see how velocities and kinematic viscosities fluctuate by turbulence effect in the junction.
Show kinematic viscosities as color map and play the result animation.
1. In the Color Map window, locate Field, and choose Kinematic Viscosity.
2. Type 0 as Min and 2e-4 as Max in the Range: section.
SIXTEEN
AERATION
Physical properties
• Fluid
– Water
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
• Bubble
103
Particleworks Tutorial, Release 8.0.0
– Air
– Density [kg/m3 ]: 1.2
Simulation parameters
• Particle size [mm]: 3
• Initial time interval [s]: 0.0001
• End time [s]: 1
Inflow boundary conditions
• inflow (Fluid)
– Velocity [m/s]: 1.8
• inflow_1 (Powder)
– Velocity [m/s]: 0.1
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click Create an inflow button , and select Circle. Repeat the same proce-
dure to create two inflows.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (-77, 0, 17)
• Rotation : (0, 90, 0)
• Width [mm]: 15
• Height [mm]: 15
4. In the Outline window, select the Input > inflow_1 node.
5. In the Properties window, locate the Transform section and enter the following values:
• Location : (-77, 0, 17)
• Rotation : (0, 90, 0)
• Width [mm]: 15
• Height [mm]: 15
Simulation domain
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu. Use the default parameters.
4. Add another type Polygon. Use the default parameters.
5. Add another type Powder and edit the following parameters:
• Density [kg/m3 ]: 1.2
6. Check Multiple Diameters and click the Diameters > Edit button.
7. In the Diameters window, click the plus button + three times and set parameters as follows:
•
Diameter Frequency
2 mm 0.34
3 mm 0.33
4 mm 0.33
Note:
• Bubbles are represented as DEM particles (Powder).
• Coefficient of Restitution and Spring Constant must be set to 1 when the DEM particles represent
bubbles.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
Check the behavior of bubbles. The bubbles are transported by the flow.
1. In the Outline window, uncheck the Result > fluid node (particle) and the Result > inflow node
(particle) to hide the fluid particles.
2. In the Player window, click the Play forward button to play the animation.
SEVENTEEN
This tutorial demonstrates how to simulate the bubble generation by droplet collision. The droplet is repre-
sented by inflow particles in this tutorial.
Physical properties
• Fluid
– Water
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
111
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click Create an inflow button , and select Circle.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu. Use the default parameters.
4. Add another type Polygon. Use the default parameters.
5. Add another type Powder and edit the following parameters:
• Density [kg/m3 ]: 1.2
6. Select the Interactions tab.
7. In the DEM > Contact > Coefficient of Restitution section, set the value of all cells to 1. To set
values at once, see [Reference] Setting in Interactions.
• Powder - Polygon : 1
• Powder - Powder : 1
8. In the DEM > Contact > Spring Constant section, set the value of all cells to 1.
• Powder - Polygon : 1
• Powder - Powder : 1
9. Click the OK button to close the Physical property manager window.
10. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• case_bubble_gen.stl : Polygon
• inflow : Fluid
• fill.stl : Fluid
6. Enter the following parameters in the Simulation section and click Close button.
• Time > Finish Time [s]: 0.3
• Time > Initial dt [s]: 0.0001
• Output > File Output Interval Time [s]: 0.01
7. Click button in the upper right of the scene window and enter the following parameters:
• Simulation Options > Collision Distance : 0.9
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. In the Outline window, check the Result > aeration node (particles) is created.
7. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
5. In the Properties window, locate the Appearance section and click the Diffuse button.
6. Select an arbitrary color in the Diffuse window and click the OK button.
7. In the Player window, click the Play forward button to play the animation.
EIGHTEEN
This tutorial demonstrates how to simulate the bubble generation by the solid-fluid collision.
Physical properties
• Fluid
– Oil
– Density [kg/m3 ]: 800
– Kinematic viscosity [m2 /s]: 1e-5
– Surface tension coefficient [N/m]: 0.025
117
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu and edit the following parameters:
• Density [kg/m3 ]: 800
• Kinematic viscosity [m2 /s]: 1e-5
• Surface tension coefficient [N/m]: 0.025
4. Add another type Polygon. Use the default parameters.
5. Add another type Powder and edit the following parameters:
• Density [kg/m3 ]: 1.2
6. Select the Interactions tab.
7. In the MPS > Contact Angle section, set parameters as follows:
• Contact angle [deg]: 60
1. In the DEM > Contact > Coefficient of Restitution section, set the value of all cells to 1. To set all
values at once, see [Reference] Setting in Interactions.
• Powder - Polygon : 1
• Powder - Powder : 1
2. In the DEM > Contact > Spring Constant section, set the value of all cells to 1.
• Powder - Polygon : 1
• Powder - Powder : 1
3. Click the OK button to close the Physical property manager window.
4. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• gear_bubble_gen.stl : Polygon
• gear_box_bubble_gen.stl : Polygon
• fill : Fluid
10. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. In the Outline window, check the Result > aeration node (particles) is created.
7. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
6. In the Player window, click the Play forward button to play the animation.
NINETEEN
This tutorial demonstrates how to model the cooling of a piston by an oil jet.
123
Particleworks Tutorial, Release 8.0.0
Physical properties
• Fluid
– Density [kg/m3 ]: 800
– Kinematic viscosity [m2 /s]: 1.0e-5
– Surface tension coefficient [N/m]: 0.03
– Specific heat [J/kgK]: 2000
– Thermal conductivity [W/mK]: 0.1
• Polygon
– Thermal Boundary : Adiabatic
• Polygon_1
– Thermal Boundary : Calc
– Density [kg/m3 ]: 8000
– Specific heat [J/kgK]: 450
– Thermal conductivity [W/mK]: 80
Simulation parameters
• Particle size [mm]: 0.8
• Initial time interval [s]: 8e-6
• End time [s]: 0.1
4. In the Projects window, expand the project and double-click the scene node to open the scene.
Geometry files
1. In the Outline window, click Create an inflow button , and select Circle.
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (30, -9.3, 65.7)
• Rotation : (0, 0, 0)
• Width [mm]: 1
• Height [mm]: 1
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window enter the following values:
• Domain > Upper Limit : (55, 65, 215)
• Domain > Lower Limit : (-55, -70, -65)
Note: You can also set isothermal boundary conditions to conrod.stl and cylinder.stl, but in this tutorial,
adiabatic boundary conditions should be assigned to them in order to focus on the effect of oil cooling.
Keyframe
1. In the Outline window, click the Create misc. button and click the Group button . In the
same manner, create another group.
2. In the Outline window, select the Input > group node.
3. In the Key Frames window, set Key: to Location.0.
4. Click the Switch keyframe/script button to switch the input mode from key frame to scripting.
5. Enter the following text into the text area (press Ctrl V to paste from the clipboard):
function getValue(t)
{
return 45 * Math.sin(2.0 * Math.PI / 0.03 * t);
}
6. On the bottom right of the window, message ( OK / Error ) appears depending on whether or not the
text has been set successfully when the focus has moved from the text area.
7. In the same manner, set the following script to Location.2.
function getValue(t)
{
return 45 * Math.cos(2.0 * Math.PI / 0.03 * t);
}
10. Click the Switch keyframe/script button to switch the input mode from key frame to scripting.
11. Enter the following text into the text area (press Ctrl V to paste from the clipboard):
function getValue(t)
{
const z_group = 45 * Math.cos(2.0 * Math.PI / 0.03 * t);
const x_group = 45 * Math.sin(2.0 * Math.PI / 0.03 * t);
return z_group + Math.sqrt(Math.pow((170.38 - 45),2) - Math.pow(x_group,
˓→2));
12. In the Outline window, select the Input > conrod.stl node.
13. In the Key Frames window, set Key to Rotation.
14. Set Rotation to Axis rotation (vector).
15. Set Type to Angle.
16. Set Axis (vector) to (0, 1, 0).
17. Click the Switch keyframe/script button to switch the input mode from key frame to scripting.
18. Enter the following text into the text area (press Ctrl V to paste from the clipboard):
function getValue(t) {
const x_group = 45 * Math.sin(2.0 * Math.PI / 0.03 * t);
return -180 / Math.PI * Math.asin(x_group / (170.38 - 45));
}
Conrod
1. In the Outline window, select the Input > conrod.stl node.
2. Drag conrod.stl onto group to set its parent. Alternatively, in the Properties window, set Transform
> Parent to group.
Piston
1. In the Outline window, select the Input > piston.stl node.
2. Drag piston.stl onto group_1 to set its parent. Alternatively, in the Properties window, set Transform
> Parent to group_1.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the temperature of the solid cells, use the controls in the Player window.
1. In the Color Map window, locate Field, and choose Temperature.
2. Type 139 as Min and 140 as Max in the Range: section.
6. In the Player window, click the Play forward button to play the animation.
TWENTY
WINDAGE
This tutorial demonstrates how to simulate the effect of airflow by gear rotation on liquid.
Physical properties
• Liquid
– Oil
– Density [kg/m3 ]: 800
– Kinematic viscosity [m2 /s]: 1e-5
– Surface tension coefficient [N/m]: 0.025
– Contact angle [deg]: 60
131
Particleworks Tutorial, Release 8.0.0
• Gas
– Air
– Density [kg/m3 ]: 1.205
– Kinematic viscosity [m2 /s]: 1.512e-5
Simulation parameters
• Particle size [mm]: 2
• FVM > Grid Interval [mm]: 4
• Initial time interval [s]: 0.0001
• End time [s]: 0.3
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu and edit the following parameters:
• Density [kg/m3 ]: 800
• Kinematic viscosity [m2 /s]: 1e-5
• Surface tension coefficient [N/m]: 0.025
4. Click the plus button + again to add Fluid_1, and edit the following parameters:
• Density [kg/m3 ]: 1.205
• Kinematic viscosity [m2 /s]: 1.512e-5
5. Add another type Polygon. Use the default parameters.
6. Select the Interactions tab.
7. In the MPS > Contact Angle section, set parameters as follows:
• Fluid - Polygon [deg]: 60
1. Click the OK button to close the Physical property manager window.
2. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• gear_windage.stl : Polygon
• gear_box_windage.stl : Polygon
• fill : Fluid
9. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. Click button in the upper right of the scene window and set the following parameter:
• FVM > Type : PISO
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
To check the airflow, display the velocity as cross section contours or vectors.
1. In the Color Map window, locate Field, and choose Velocity.
2. Type 0 as Min and 3.5 as Max in the Range: section.
3. In the Outline window, select the Result > fvm_grid node or click the FVM grid in the scene.
4. In the Properties window, select Appearance > Type.
5. If you select Cross Section, uncheck Smooth. If you select 2D Vector, check Use Color Map.
6. In the Player window, click the Play forward button to play the animation.
TWENTYONE
PRESSURE BOUNDARY
This tutorial demonstrates how to model the flow in a pipe using pressure boundaries.
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
• Fluid_1
– Density [kg/m3 ]: 2000
– Kinematic viscosity [m2 /s]: 1e-4
Simulation parameters
• Particle size [mm]: 4
• Initial time interval [s]: 0.001
• End time [s]: 10
137
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click the Create misc. button and click the Pressure boundary button
. In the same manner, create another pressure boundary.
2. In the Outline window, select Input > pressure_boundary node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (-120, 0, 0)
• Rotation : (0, 90, 0)
• Type : Circle
• Width [mm]: 38
• Height [mm]: 38
4. In the Outline window, select Input > pressure_boundary_1 node.
5. In the Properties window, locate the Transform section and enter the following values:
• Location : (-108.33, 51, 0)
• Rotation : (30, 90, 0)
• Type : Circle
• Width [mm]: 18
• Height [mm]: 18
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, locate the Domain section and enter the following values:
• Upper Limit : (150, 100, 50)
• Lower Limit : (-150, -50, -50)
9. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
1. In the Outline window, select the two nodes: Input > pressure_boundary and Input > pres-
sure_boundary_1.
2. In the Properties window, locate the Details section and enter the following parameters:
• Boundary Pressure [Pa]: 10
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
Show the pressures in a color map and play the result animation.
1. In the Color Map window, locate Field, and choose Pressure.
2. Type 0 as Min and 10 as Max in the Range: section.
3. In the Outline window, select the two nodes: Result > pressure_boundary (particle) and Result >
pressure_boundary_1 (particle).
4. In the Properties window, check Appearance > Use Color Map.
5. In the Player window, click the Play forward button to play the animation.
TWENTYTWO
TANK OUTFLOW
This tutorial demonstrates how to model the flow out of a tank using pressure boundaries.
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Particle size [mm]: 1
• Initial time interval [s]: 5e-5
• End time [s]: 1
143
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
Pressure boundary
1. In the Outline window, click the Create misc. button and click the Pressure boundary button
.
2. In the Outline window, select Input > pressure_boundary node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 0, 4)
• Rotation : (180, 0, 0)
• Type : Circle
• Width [mm]: 11
• Height [mm]: 11
Fill
Note: Create the fill and compare the results with that of the pressure boundary.
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, locate the Domain section and enter the following values:
• Upper Limit : (60, 70, 45)
• Lower Limit : (-30, -70, -30)
Plug
1. In the Outline window, select the Input > tank_plug.stl node.
2. In the Key Frames window, set Key: to Location.2.
3. Set Type to Position.
4. Click + to add a position at 0[s].
5. Click + again.
6. Enter 0.2[s] as the time of added row.
7. Click + again.
8. Enter 0.201[s] as the time of added row and -20[mm] as the value.
9. Do the same for tank_plug_1.stl.
Parent
1. In the Outline window, click the Create misc. button and click the Group button .
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 40, 0)
3. In the Outline window, click the Create misc. button and click the Group button again.
4. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, -40, 0)
5. In the Outline window, select the two nodes: Input > tank_plug.stl and Input > tank_body.stl.
6. Drag tank_plug.stl and tank_body.stl onto group to set its parent. Alternatively, in the Properties
window, set Transform > Parent to group.
7. In the Outline window, select the three nodes: Input > tank_plug_1.stl , Input > tank_body_1.stl
and pressure_boundary.
8. Drag tank_plug_1.stl , tank_body_1.stl and pressure_boundary onto group_1 to set its parent.
Alternatively, in the Properties window, set Transform > Parent to group_1.
9. To preview the motion, click the Play forward button in the Player window.
Note: After running a simulation, click the Switch preview / result button in the Player
window to go back to the preview mode.
• fill : Fluid
• pressure_boundary : Fluid
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
Show the velocity in a color map and compare the results between the fill and the pressure boundary.
1. In the Color Map window, locate Field, and choose Velocity.
2. Type 0 as Min and 1 as Max in the Range: section.
3. In the Outline window, select the two nodes: Result > fill (particle) and Result > pressure_boundary
(particle).
4. In the Properties window, check Appearance > Use Color Map.
5. In the Player window, click the Play forward button to play the animation.
TWENTYTHREE
This tutorial demonstrates water drops by using Flow Record and Flow Replay
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Flow Record (scene)
– Particle size [mm]: 1
– Initial time interval [s]: 0.00004
– End time [s]: 0.3
• Flow Replay (scene_1)
– Particle size [mm]: 0.25
151
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click the Create an inflow button , and select Circle.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 0, 100)
• Rotation : (0, 180, 0)
• Width [mm]: 5
• Height [mm]: 5
Flow Record
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu.
4. Add another type Polygon.
5. Open Interactions tab.
6. Click MPS > Coefficient of Potential.
7. Enter 0.0001 into the input field next to the Apply button, and click the Apply button.
8. Click the OK button to close the Physical property manager window.
9. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• inflow : Fluid
• plate.stl : Polygon
Click button in the upper right of the scene window and enter the following parameters:
• Unit
– Length : mm
• Preprocess
– Particle Size [mm]: 1
– Auto Grid Interval : on
• MPS
– Pressure
∗ Type : Implicit
∗ Mode: Stabilized
– Viscosity
∗ Type : Explicit
– Surface Tension
∗ Type: Potential
• Simulation
– End time [s]: 0.3
– Initial dt [s]: 4e-5
• Simulation Options
– Collision Distance : 0.9
• Simulation Output
– File Output Interval Time [s] : 0.001
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
1. In the outlne window, select inflow. In the Properties window, omit the type as follows.
• Physical Properties > Type : None
Click button in the upper right of the scene window and set the Particle Size and Initial dt to 1/4.
• Preprocess
– Particle Size [mm] : 0.25
• Simulation
– Initial dt [s]: 1e-5
Run preprocess and simulation following the same steps as Run Simulation.
Display scene and scene_1 in the Multiview and compare the results.
1. Choose Windows > Multiview on the menu bar.
2. In the Multiview window, set Columns to 2.
3. Select the following from Project and Scene pull-down, and click the OK button.
TWENTYFOUR
SPLASHES IN AN AIRFLOW
This tutorial demonstrates how to simulate the interaction between airflow and splahses from a rolling cylin-
der.
Physical properties
• Liquid
– Light liquid (the density has been reduced to make it easier to understand the effect of the airflow)
– Density [kg/m3 ]: 100
– Kinematic viscosity [m2 /s]: 1e-6
• Gas
– Air
– Density [kg/m3 ]: 1.2
– Kinematic viscosity [m2 /s]: 1.5e-5
Simulation parameters
159
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
1. In the Outline window, click Create an inflow button , and select Rectangle.
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (-300, 0, -300)
• Rotation : (-90, 0, -90)
• Width [mm]: 300
• Height [mm]: 20
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, enter the following values:
• Domain
– Upper Limit : (2000, 1000, 1000)
– Lower Limit : (-1000, -1000, -305)
• Details
– Type : Wind Tunnel
– Gas Flow Direction : X+
– Gas Inflow Velocity [m/s] : 10
– Wall Velocity [m/s] : 10
– Boundary Condition (Z-) : Wall
1. Click button in the upper right of the scene window and set the following parameter:
• Unit > Length : mm
• Preprocess > Particle Size [mm]: 5
• MPS
– Pressure
∗ Type : Explicit
∗ Speed of Sound [m/s] : 10**
– Viscosity > Type : Explicit
– Surface Tension > Type : Potential
• LBM
– Type : Cumulant
– Grid Interval [mm] : 40
– Grid Refinement : Default
∗ Minimum Grid Interval [mm] : 10
∗ Refinement Range [mm] : 20
– Maximum Velocity [m/s] : 20
– Particle Interaction > Particle Reaction Coefficient : 1.0
• Simulation
– End time [s]: 0.2
– Initial time interval [s]: 1e-5
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the calculation on GPU, specify a GPU in the Run dialog.
• To run the preprocessor separately, see [Optional] Preprocess.
TWENTYFIVE
DAM-BREAK (MULTI-RESOLUTION)
This tutorial demonstrates how to apply the multi-resolution feature to analyze Dam-Break with higher res-
olution only around a wall.
Prepare the project executed up to Run Simulation of Dam-Break.
Simulation parameters
• Particle size [m]: 1 (Coarse), 0.5 (Fine)
• Initial time interval [s]: 0.005
• End time [s]: 10
165
Particleworks Tutorial, Release 8.0.0
6. In the Projects window, expand the project and double-click the dambreak_multi_resolution >
scene node to open the scene.
Click button in the upper right of the scene window and enter the following parameters:
• MPS
– Multi-Resolution
∗ Type : Multi-Resolution
• Simulation Options
– Courant Limiter : on
Note: Multi-resolution calculations disable the time interval adjustment based on the velocities of the high-
resolution particles. Therefore, it is recommended to use the Courant limiter.
Display dambreak and dambreak_multi_resolution in the Multiview and compare the results.
1. Choose Windows > Multiview on the menu bar.
2. In the Multiview window, set Columns to 2.
3. Select the following from Project and Scene pull-down, and click the OK button.
TWENTYSIX
This tutorial demonstrates how to apply the multi-resolution feature to analyze Water drops hitting against a
plate with higher resolution only around a wall.
Prepare the project executed up to Run Simulation of Water drops hitting against a plate.
Simulation parameters
• Particle size [mm]: 1 (Coarse), 0.333333 (Fine)
• Initial time interval [s]: 0.00004
• End time [s]: 0.3
169
Particleworks Tutorial, Release 8.0.0
6. In the Projects window, expand the project and double-click the drop_multi_resolution > scene
node to open the scene.
1. In the Outline window, right-click Input > flow_record and click Remove selected.
Note:
• Specifying the Type as File Region makes an area defined in an STL file a high-resolution region.
• Specifying the Offset extends the range of the high-resolution region. In this example, the Auto Set-
tings of Offset is selected to extend the range by 3.1 mm (the effective radius of the Coarse particles).
Click button in the upper right of the scene window and enter the following parameters:
• MPS
– Multi-Resolution
∗ Type : Multi-Resolution
∗ Ratio of Particle Size : 3
• Simulation Options
– Courant Limiter : on
Note: Multi-resolution calculations disable the time interval adjustment based on the velocities of the high-
resolution particles. Therefore, it is recommended to use the Courant limiter.
Display flow_record_flow_replay and drop_multi_resolution in the Multiview and compare the results.
1. Choose Windows > Multiview on the menu bar.
2. In the Multiview window, set Columns to 2.
3. Select the following from Project and Scene pull-down, and click the OK button.
TWENTYSEVEN
This tutorial demonstrates how to simulate a fluid pulled up together with a cup due to negative pressure.
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
Simulation parameters
• Particle size [mm]: 10
• Initial time interval [s]: 0.0005
• End time [s]: 1
173
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
2. In the Properties window, locate the Transform section and enter the following values:
• Location : (0, 125, 162.5)
• Dimensions : (500, 250, 325)
3. In the Properties window, check Enable. It allows you to observe the behavior of the fluid inside the
cup.
Camera
1. In the Outline window, select the View > camera node.
2. In the Properties window, locate the Camera section and enter the following values:
• Ortho : Check
The default values of Fluid and Polygon are equal to the initial setup of this simulation model.
6. Click button in the upper right of the scene window and enter the following parameters:
• Simulation Options > Collision Distance : 0.9
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
6. In the Player window, click the Play forward button to play the animation.
TWENTYEIGHT
This tutorial demonstrates how to simulate a droplet sliding down a slope with a dynamic contact angle. It
also shows that the velocity of the droplet changes with the slope angle.
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1e-6
• Surface tension coefficient [N/m]: 0.072
• Contact angle [deg]: 91
The physical properties are specified based on [Puthenveettil2013].
Simulation parameters
179
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry file
2. In the Properties window, locate the Camera section and enter the following values:
• Ortho : Check
5. Click button in the upper right of the scene window and enter the following parameters:
• Simulation Options > Collision Distance : 0.9
1. Click the Execution section in the Run dialog. If the Run dialog is already closed, click the Run
button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. In the Precision: field, select the precision of the solver.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
8. After the simulation of scene_1 is finished, create scene_2 according to Change Inclination Angle and
Run Simulation Again and simulate the case with an inclination angle of 60 degrees. In this case, the
gravity is (8.487049, 0, -4.9).
Display scene and scene_1 in the Multiview and compare the results.
1. Choose Windows > Multiview on the menu bar.
2. In the Multiview window, set Columns to 3.
3. Select the following from Project and Scene pull-down, and click the OK button.
TWENTYNINE
This tutorial demonstrates how to simulate the crushing of a highly viscous fluid using the MPFI. The MPFI
can be used to satisfy the no-slip and incompressible conditions with large time steps.
Physical properties
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 1
Simulation parameters
• Particle size [mm]: 0.5
• Initial time interval [s]: 0.01
• End time [s]: 1
185
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu and edit the following parameters:
• Kinematic viscosity [m2 /s]: 1
4. Add another type Polygon. Use the default parameters.
5. Click the OK button to close the Physical property manager window.
6. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• fluid.stl : Fluid
• bottom.stl : Polygon
• top.stl : Polygon
5. To preview the motion, click the Play forward button in the Player window.
5. Click button in the upper right of the scene window and set the following parameter:
• Simulation Options > Density Threshold : 0.9
• Simulation Options > Collision Distance : 0.9
Note: For the MPFI simulation, it is recommended that the Density Threshold be smaller than the default
value of the MPS.
1. Click the Execute button in the Execution dialog. If the Execution dialog is already closed, click the
Execute button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. Select Double in the Precision field.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note: When the single-precision solver is used to the MPFI simulation, calculations may stop due to the
number of significant digits. Therefore, the use of the double-precision solver is recommended.
Due to the no-slip conditions, the particles in contact with the wall hardly move against the wall and the fluid
surface becomes arcuate.
1. In the Player window, click the Play forward button to play the animation.
THIRTY
COILING (MPFI)
This tutorial demonstrates how to simulate the coiling phenomenon of a highly viscous fluid using the MPFI.
Physical properties
• Density [kg/m3 ]: 1400
• Kinematic viscosity [m2 /s]: 0.014
Simulation parameters
• Particle size [mm]: 0.25
• Initial time interval [s]: 0.0005
189
Particleworks Tutorial, Release 8.0.0
4. In the Projects window, expand the project and double-click the scene node to open the
scene.
Geometry files
1. In the Outline window, click Create an inflow button , and select Circle.
2. In the Outline window, select the Input > inflow node.
3. In the Properties window, locate the Transform section and enter the following values:
• Location : (5, 0, 10.5)
• Rotation : (180, 0, 0)
• Width [mm]: 1
• Height [mm]: 1
Simulation domain
1. In the Outline window, select the Input > domain node.
2. In the Properties window, enter the following values:
1. In the Outline window, click the Manage physical properties button in the toolbar.
2. In the Physical property manager window, click the plus button + to add a new physical property.
3. Choose type Fluid from the popup menu and edit the following parameters:
• Density [kg/m3 ]: 1400
• Kinematic viscosity [m2 /s]: 0.014
4. Add another type Polygon. Use the default parameters.
5. Click the OK button to close the Physical property manager window.
6. In the Outline window, select each node. In the Properties window, locate Physical Property and
assign types in Type as follows.
• inflow : Fluid
• base.stl : Polygon
5. Click button in the upper right of the scene window and set the following parameter:
• Simulation Options > Density Threshold : 0.9
• Simulation Options > Collision Distance : 0.9
Note: For the MPFI simulation, it is recommended that the Density Threshold be smaller than the default
value of the MPS.
1. Click the Execute button in the Execution dialog. If the Execution dialog is already closed, click the
Execute button .
2. In the Run dialog, locate the Execution section and select Preprocess & Simulation in the Run
mode: field.
3. In the CPU cores: field, type the number of CPU cores to use for the calculation.
4. Select Double in the Precision field.
5. Click the Execute button to start the calculation.
6. When the calculation is completed, a notification pops up in the center of the main window.
Note: When the single-precision solver is used to the MPFI simulation, calculations may stop due to the
number of significant digits. Therefore, the use of the double-precision solver is recommended.
The coiling phenomenon, in which the fluid falls while rotating, can be observed.
1. In the Player window, click the Play forward button to play the animation.
[Puthenveettil2013] Puthenveettil, B. A., Senthilkumar, V. K., & Hopfinger, E. J. (2013). Motion of drops
on inclined surfaces in the inertial regime. Journal of Fluid Mechanics, 726, 26-61.
193