Particleworks Tutorial
Particleworks Tutorial
Particleworks Tutorial
Release 6.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 41
8 Rigid Body 49
10 Fresh Concrete 61
11 Spray 69
12 Planetary Mixer 75
14 Postprocessings 87
i
ii
CHAPTER 1
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 under the install folder > Samples folder.
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.
1
Tutorial, Release 6.0.0
2 Chapter 1. Introduction
CHAPTER 2
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
Tutorial, Release 6.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
Tutorial, Release 6.0.0
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 mouse wheel
2.3.2 Buttons
The following operations are available using the buttons at the top of the scene window.
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu.
5. Add another type Polygon .
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows.
• water.obj : Fluid
• wall.obj : Polygon
6 Chapter 2. Dam-Break
Tutorial, Release 6.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 Wizard window, click the Next > button or click the Particle settings button .
2. Check Unit and Particle Settings .
3. Click the Next > button.
4. Check gravity setting and physics models.
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 Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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
Tutorial, Release 6.0.0
3. Select water particles in the scene window. Alternatively, in the Outline window, select the water
node (particle).
4. In the Object window, check Appearance > Use Color Map .
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 fluid, or to get an attractive image of simulation result.
Through preprocessing, the software generates particles and a distance-function from imported models.
Although 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 menu bar.
2. In the Run... window, select Preprocess in Run: section and Click the Next > button.
3. Uncheck Hide generated DF entries in Display: section and click Finish . The software starts
preprocessing immediately.
4. When the calculation is completed, a notification pops up in the right-bottom corner of the main
window.
5. In the scene window, the distance function generated from wall.obj and particles generated from
water.obj should be visible.
10 Chapter 2. Dam-Break
Tutorial, Release 6.0.0
12 Chapter 2. Dam-Break
CHAPTER 3
Multi-Fluid Flow
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
• Fluid_1
– Density [kg/m3 ]: 2000
13
Tutorial, Release 6.0.0
Geometry file
1. In the Wizard window, locate the Inflow section and click the Circle button twice to create two
circular inflows.
2. In the Outline window, select the inflow node.
3. In the Object 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 inflow_1 node.
5. In the Object 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 domain node.
2. In the Object window, enter the following values:
• Domain > Upper limit : (150, 100, 50)
• Domain > Lower limit : (-150, -50, -50)
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click Manage Physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu and use the default parameters.
5. Click the plus button + again to add Fluid_1, and edit the following parameters:
• Density [kg/m3 ]: 2000
• Kinematic viscosity [m2 /s]: 1e-4
6. In the same manner, create type Polygon. Use the default parameters.
7. Click the Save button to close the Physical property manager window .
8. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• pipe.stl : Polygon
• inflow : Fluid
• inflow_1 : Fluid_1
1. In the Outline window, select the two nodes: inflow and inflow_1 .
2. In the Physics 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 Wizard window, click the Next > button or click the Particle settings button to check
Unit and Particle Settings .
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 4
3. Enter the following parameters, and then click the Next > button:
• Gravity [m/s2 ]: (0, 0, 0)
• Viscosity > Type : Explicit
• Surface Tension > Type : CSF
• Surface Tension > Target Physical Property : Fluid
4. No change has to be made on thermal settings. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 5
• Time > Initial dt [s]: 0.001
• Output Settings > File Output Interval Time [s]: 0.1
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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 .
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 inflow_1 node (particle) or click the particle group in the scene.
2. In the Object window, locate Appearance > Diffuse , and click the ... 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.
t = 1 [s] t = 2 [s] t = 3 [s]
Resin Flow
Physical properties
• Fluid : Non-Newtonian
• Density [kg/m3 ]: 1200
• Viscosity model : Power law
Simulation parameters
19
Tutorial, Release 6.0.0
Simulation domain
1. In the Outline window, select the domain node.
2. In the Object window, locate the Domain section and enter the following values:
• Upper Limit : (6, 0.65, 0)
• Lower Limit : (-0.65, -0.65, -3.65)
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage Physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu and edit the following parameters:
• Density [kg/m3 ]: 1200
• Specific Heat [J/(kgK)]: 1800
• Thermal Conductivity [W/(mK)] 0.18
• Non-Newtonian Fluid Settings : PowerLaw
• C1 : 2116667
• C2 : -0.683
• C3 : -0.018
5. Add another type Polygon .
6. In the Thermal Boundary combo box, select Isothermal .
7. Click the Save button to close the Physical property manager window.
8. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• duct.stl : Polygon
• inflow : Fluid
1. In the scene window, click the L-pipe. (Alternatively, in the Outline window, select the duct.stl node.)
2. In the Physics window, locate the Details section and input the following values:
• Initial Temperature [°C]: 150
1. In the Wizard window, click the Next > button or click the Particle settings button to move on
to next the wizard step.
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 0.15
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Implicit
• Surface Tension > Type : CSF
• Surface Tension > Target Physical Property : Fluid
4. Enter the following parameters, and then click the Next > button:
• Thermal > Type : Thermal
• Thermal > Shear Heating : Uncheck
5. Enter the following parameters:
• Time > Finish Time [s]: 0.12
• Time > Initial dt [s]: 1e-5
• Output Settings > File Output Interval Time [s]: 0.002
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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.
Physical properties
• Density [kg/m3 ]: 800
• Kinematic viscosity [m2 /s]: 1e-5
• Surface tension coefficient [N/m]: 0.025
• Contact angle [deg]: 60
27
Tutorial, Release 6.0.0
Simulation parameters
• Particle size [mm]: 2
• Initial time interval [s]: 1e-4
• End time [s]: 2
Geometry file
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. 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
5. Add another type Polygon . Use the default parameters.
6. Click the Interactions tab and expand Contact Angle [degree].
7. Set contact angle between Fluid and Polygon to 60.
8. Click the Save button to close the Physical property manager window.
9. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• gear.stl : Polygon
• gear_box.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. In the Wizard window, click the Next > button or click the Particle settings button to move on
to next the wizard step.
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 2
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Explicit
• Surface Tension > Type : Potential
4. No change has to be made for thermal settings. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 2
• Time > Initial dt [s]: 1e-4
• Output Settings > File Output Interval Time [s]: 0.01
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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 fluid, or to get an attractive image of simulation result.
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.
Tank
35
Tutorial, Release 6.0.0
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
Geometry files
1. Click the Next > button or click the Physical properties button in the tool bar.
2. In the Wizard window, click the Manage Physical properties... button.
3. In the Physical property manager window, click the plus + button to add a new physical property.
4. Choose type Fluid from the popup menu.
5. Add another type Polygon .
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click its cells to assign physical
property to each object as follows.
• 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 left 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 domain node.
7. Drag domain onto tank.stl to set its parent. Alternatively, in the Object 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 Next > button or click the Particle settings button to move on to next the wizard step.
2. Enter the following parameters, and then click the Next > button .
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 20
• Particle Settings > Auto Grid Interval : Uncheck
• Particle Settings > Grid Interval [mm]: 10
3. Enter the following parameters, and then click the Next > button .
• Viscosity > Type : Explicit
4. No change has to be made for thermal parameters. Click the Next > button .
5. Enter the following parameters:
• Time > Finish Time [s]: 6
• Time > Initial dt [s]: 0.001
• Output Settings > File Output Interval Time [s]: 0.05
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
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 flow of the fluid particles, use the controls in the Player window.
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
41
Tutorial, Release 6.0.0
Blade’s rotation
Time[s] Rotational speed [rpm]
0.0 0.0
2.0 0.0
2.5 20
Simulation parameters
• Particle size [mm]: 20
• Initial time interval [s]: 0.002
• End time [s]: 20
Geometry files
Inflow
1. In the Wizard window, locate the Inflow section and click the Circle... button to create a circular
inflow.
2. In the Object 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 domain node.
2. In the Object window, locate the Domain section and enter the following values:
• Upper limit : (310, 310, 300)
• Lower limit : (-310, -310, -310)
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage Physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu.
5. Edit the following parameters of Fluid :
• Density [kg/m3 ]: 700
• Kinematic viscosity [m2 /s]: 0.01
6. Click the plus button + again.
7. Choose type Fluid from the popup menu and edit the following parameters of Fluid_1 :
• Density [kg/m3 ]: 1000
• Kinematic viscosity [m2 /s]: 0.1
8. In the same manner, create type Polygon. Use the default parameters.
9. Click the Save button to close the Physical property manager window.
10. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows.
• case1.stl : Polygon
• stir.stl : Polygon
• fluid2.stl : Fluid
• inflow : Fluid_1
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 Next > button or click the Particle settings button to check Unit and Particle Settings
.
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 20
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Implicit
4. No change has to be made on thermal parameters. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 20
• Time > Initial dt [s]: 0.002
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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 .
2. In the Object window, locate Appearance > Diffuse , and click the ... button .
3. Select a color, then click the OK button to close the window.
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 .
Rigid Body
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
• Solid_1
49
Tutorial, Release 6.0.0
– Density [kg/m3 ]: 20
• Solid_2
– Density [kg/m3 ]: 50
Simulation parameters
• Particle size [mm]: 20
• Initial time interval [s]: 0.001
• End time [s]: 15
Geometry files
1. Click the Next > button, or click the Physical properties button in the tool bar.
2. In the Wizard window, click the Manage physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu.
5. Click + to add another type Polygon .
6. Click + to add another type Solid .
7. Set Solid ‘s Density [kg/m3 ] to 20 .
8. Click + to add another type Solid .
9. Set Solid_1 ‘s Density [kg/m3 ] to 50 .
10. Click the Save button to close the Physical property manager window.
11. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• box.stl : Solid
• box2.stl : Solid_1
• pool.stl : Polygon
• inflow : Fluid
• fill : Fluid
1. In the Wizard window, click the Next > button or click the Particle settings button to check
Unit and Particle Settings .
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle size [mm]: 20
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Explicit
• Surface Tension > Type : CSF
• Surface Tension > Target Physical Property : Fluid
4. No change has to be made on thermal parameters. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 15
• Time > Initial dt [s]: 0.001
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner of the main
window.
Note:
• The current scene is automatically saved when the calculation is launched.
• To run the preprocessor separately, see [Optional] Preprocess .
2. In the Object window, locate Appearance > Diffuse and click the ... button .
3. Select an arbitrary color in the Diffuse window and click the OK button.
4. Repeat the same procedure for the box2 .
t = 1 [s] t = 3 [s]
Physical properties
• Fluid
– Density [kg/m3 ]: 1000
– Kinematic viscosity [m2 /s]: 1e-6
– Specific heat [J/kgK]: 4200
– Thermal conductivity [W/mK]: 0.6
55
Tutorial, Release 6.0.0
Geometry files
• Width [mm]: 40
• Height [mm]: 40
Simulation domain
1. In the Outline window, select the domain node.
2. In the Object window enter the following values:
• Domain > Upper Limit : (300, 200, 100)
• Domain > Lower Limit : (-300, -200, -150)
1. In the Wizard window, click the Next > button, or click the Physical properties button in the
tool bar.
2. Click the Manage Physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu.
5. Add another type Solid .
6. Enter the following parameters:
• Density [kg/m3 ]: 2000
• Specific heat [J/kgK]: 2000
• Thermal conductivity [W/mK]: 230
• Thermal Boundary : Calc
7. Click the Interactions tab.
8. Expand Control Parameter f*lambda .
9. Set the value between Fluid and Solid to 200.
10. Click the Save button to close the Physical property manager window.
11. In the Wizard window, locate the Physical property column, and click its cells to assign physical
property to each object as follows:
• cht.stl : Solid
• inflow : Fluid
1. In the Wizard window, click the Next > button, or click the Particle settings button to check
Unit and Particle Settings .
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 5
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Explicit
4. Enter the following parameters, and then click the Next > button:
• Thermal > Type : Thermal
5. Enter the following parameters:
• Time > Finish Time [s]: 0.2
• Time > Initial dt [s]: 5e-5
• Output Settings > File Output Interval Time [s]: 0.002
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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.
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: cht (particle) and inflow (particle).
4. In the Object window, check Appearance > Use Color Map .
5. In the Player window, click the Play forward button to play the animation.
t = 0.05 [s] t = 0.15 [s]
Fresh Concrete
This tutorial demonstrates how to model fresh concrete in L-type flow test device.
61
Tutorial, Release 6.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
Geometry files
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu and edit the following parameters:
• Density [kg/m3 ]: 2300
• Kinematic Viscosity [m2 /s]: 0
• Non-Newtonian Fluid Settings : Bingham
• Yield [N/m2 ]: 100
• Plastic Viscosity [Pa·s]: 200
• Yield Point : 0.2
5. Add another type Polygon . Use the default parameters.
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click each cells to assign object’s
physical property as follows:
• Lflow.obj : Polygon
• Lfluid.obj : Fluid
Note: Set to zero when using non-Newtonian fluid. Viscosity by non-Newtoninan model is added to
viscosity specified here.
1. In the Wizard window, click the Next > button or click the Particle settings button to move on
to next the wizard step.
2. Enter the following parameters, and then click the Next > button :
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 15
• Particle Settings > Auto Grid Interval : Uncheck
• Particle Settings > Grid Interval [mm]: 5
3. Enter the following parameters, and then click the Next > button :
• Viscosity > Type : Implicit
4. No change has to be made on thermal parameters. Click the Next > button .
5. Enter the following parameters:
• Time > Finish Time [s]: 30
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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 ruler node.
2. In the Object 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
• Use Auto Bounds : Uncheck
• Bound Min (X) : 0
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 Lfluid node (particle).
4. In the Object 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]
Spray
Physical properties
• Fluid : Water
• Density [kg/m3 ]: 1000
69
Tutorial, Release 6.0.0
Geometry files
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 simulation has completed, you can display the velocity at each airflow point as an arrow. Set
Scale to 1, then set Mode to Vector .
• Refer to the user manual to create an airflow data.
Simulation domain
1. In the Outline window, select the domain node.
2. In the Object window, locate the Domain section and enter the following values:
• Upper limit : (50, 50, 60)
• Lower limit : (-50, -50, -200)
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu. Use the default parameters.
5. Add another type Polygon . Use the default parameters.
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• nozzle2.stl : Polygon
• inflow : Fluid
1. In the Wizard window, click the Next > button or click the Particle settings button to move on
to next the wizard step.
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 1.5
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Explicit
• Surface Tension > Type : CSF
• Surface Tension > Target Physical Property : Fluid
4. No change has to be made on thermal parameters. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 0.3
• Time > Initial dt [s]: 2.5e-5
• Output Settings > File Output Interval Time [s]: 0.001
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, select the precision of the solver.
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 .
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 inflow node (particle).
4. In the Object window, locate Appearance > Mode , and choose Vector .
5. Check Appearance > Use Color Map .
6. In the Player window, click the Play forward button to play the animation.
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
75
Tutorial, Release 6.0.0
Geometry objects
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage physical properties... button.
3. Click the plus button + to add the following physical properties.
• Fluid x2
• Polygon
4. Edit the following parameter of Fluid :
• Kinematic viscosity [m2 /s]: 0.1
5. Edit the following parameter of Fluid_1 :
• Density [kg/m3 ]: 1500
• Kinematic viscosity [m2 /s]: 0.01
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click its cells to assign physical
property to each objects as follows:
• blade_twists.obj :Polygon
• case.obj : Polygon
• fluid1.stl : Fluid
• fluid2.stl : Fluid_1
Parent
1. In the Outline window, right-click on blank area to open popup menu, and select Add empty group.
2. Select group .
3. In the Key Frames window, set Key to Rotation .
4. Set Interpolation to Axis rotation (vector) .
5. Set Type to Angular Velocity (rpm) .
6. Set Axis to (0, 0, 1) .
7. Click + to add a velocity at 0[s] .
8. In the Player window, move to 10 frame (1.0[s]) .
9. Click + to add a velocity at 1.0[s] .
11. To preview the motion , click the Play forward button in the Player window.
Blade motion
1. In the Outline window, select the blade_twist.obj node.
2. Drag blade_twist.obj onto group to set its parent. Alternatively, in the Object window, set Trans-
form > Parent to group.
3. In the Object window, set Center of Motion to (0.15, 0.0, 0.0).
4. In the Key Frames window, set Key to Rotation .
5. Set Interpolation to Axis rotation (vector) .
6. Set Type to Angular Velocity (rpm) .
7. Set Axis to (0, 0, 1) .
8. Click + to add a velocity at 0[s] .
9. In the Player window, move to 10 frame (1.0[s]) .
10. Click + to add a velocity at 1.0[s] .
11. Enter 6[rpm] as the value.
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 Next > button or click the Particle settings button to check Unit and Particle Settings
.
2. Enter the following parameters, and then click the Next > button:
• Particle Settings > Particle Size [m]: 0.03
3. Enter the following parameters, and then click the Next > button:
• Viscosity > Type : Implicit
4. No change has to be made on thermal parameters. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 10
• Time > Initial dt [s]: 0.001
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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 fluid1 node (particle) or click the particle group in the scene.
2. In the Object window, locate Appearance > Diffuse , and click the ... button .
3. Choose an arbitrary color and click the OK button to close the dialog.
This tutorial demonstrates how to model flow around a cylinder approximately by using periodic boundary
condition.
Conventional simulation Periodic boundary simulation
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
Tutorial, Release 6.0.0
Geometry files
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage Physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu. Use the default parameters.
5. Add another type Polygon . Use the default parameters.
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• gutter_PBC.stl : Polygon
• water_PBC.stl : Fluid
• inflow : Fluid
1. In the Wizard window, click the Next > button or click the Particle settings button to move on
to next the wizard step.
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 20
• Particle Settings > Auto Grid Interval : Uncheck
• Particle Settings > Grid Interval [mm]: 12
3. Enter the following parameters, and then click the Next > button:
• Gravity > Gravity [m/s2 ]: (0, -9.8, 0)
• Viscosity > Type : Explicit
4. No change has to be made on thermal parameters. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 5
• Time > Initial dt [s]: 0.001
• Output Settings > File Output Interval Time [s]: 0.05
6. Click button in the upper right of the scene window and enter the following parameters:
• options > Radius(Viscosity) : 2.1
• options > Radius(Pressure) : 2.1
• options > Radius(Surface Detection) : 2.1
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner of the main
window.
Note:
• The current scene is automatically saved when the calculation is launched.
• This tutorial is intended to be run using 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]
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
87
Tutorial, Release 6.0.0
Simulation parameters
• Particle size [mm]: 5
• Initial time interval [s]: 5e-4
• End time [s]: 2
Inflow boundary conditions
• Volumetric flow rate [m3 /s]: 5e-4
Geometry file
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click the Manage physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. 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
5. Add another type Polygon . Use the default parameters.
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• board.stl : Polygon
• inflow : Fluid
1. In the Wizard window, click the Next > button or click the Particle settings button to move on
to next the wizard step.
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 5
3. Enter the following parameters, and then click the Next > button:
• Gravity [m/s2 ]: (6.93435, 0, -6.93435) (board is tilted at a 45 degrees angle.)
• Pressure > Mode : Div. Free
• Viscosity > Type : Explicit
• Surface Tension > Type : Potential
4. No change has to be made for thermal settings. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 2
• Time > Initial dt [s]: 5e-4
• Output Settings > File Output Interval Time [s]: 5e-2
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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.10 Mapping
Note: Polygons used for mapping must be finely divided because physical quantities are mapped on the
vertices of the polygons.
Region probe estimates minimum, maximum, and mean values for physical quantities for any specified
domain. The output format is CSV.
2. In the Probe window, locate the Settings > Mode and choose Region .
3. In the Region section, click Add to add a probe region.
4. Select the added probe_region . In the Object window, locate the Probe region section and type (20,
500, 200) as Box Size .
5. The probe object can be hidden by unchecking probe_region in the table.
6. Click the Execute button to start the calculation.
Calculation of Film Thickness
1. Open the output CSV file. The CSV file is created in probe\probe in the scene folder.
2. The maximum value of the particle (Position_z_max) is corresponding to the film thickness at the
specified domain.
Distribution maps of physical quantities at arbitrary cross-sections can be generated using the postprocess
of grid generator. In this section, the pressure distribution near the inflow is visualized.
Note: Choose Field > Pressure in the Color Map window if the grid is not displayed.
• The number of particles passing the cross-section per unit time [particles/sec] × A particle vol-
ume (125 (= 5 3 ) [mm]
Note: There is a possibility that the flow rate is not measured correctly if Measuring Range is too small.
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_1)
– Velocity [m/s]: 1.0
97
Tutorial, Release 6.0.0
Geometry file
• Width [mm]: 50
• Height [mm]: 50
Simulation domain
1. In the Outline window, select the domain node.
2. In the Object window, enter the following values:
• Domain > Upper limit : (1050, 80, 80)
• Domain > Lower limit : (0, -80, -200)
1. In the Wizard window, click the Next > button or click the Physical properties button in the
tool bar.
2. Click Manage Physical properties... button.
3. In the Physical property manager window, click the plus button + to add a new physical property.
4. Choose type Fluid from the popup menu. Use the default parameters.
5. Add another type Polygon . Use the default parameters.
6. Click the Save button to close the Physical property manager window.
7. In the Wizard window, locate the Physical property column, and click each cell to assign object’s
physical property as follows:
• tpipe.stl : Polygon
• inflow : Fluid
• inflow_1 : Fluid
1. In the Wizard window, click the Next > button or click the Particle settings button to check
Unit and Particle Settings .
2. Enter the following parameters, and then click the Next > button:
• Unit > Length : mm
• Particle Settings > Particle Size [mm]: 9
3. Enter the following parameters, and then click the Next > button:
• Gravity [m/s2 ]: (0, 0, -9.81)
• Pressure > Mode : Stabilized
• Viscosity > Type : Implicit
• Turbulence > Type : Turbulence
• Turbulence > Target Physical Property : Fluid
4. No change has to be made on thermal settings. Click the Next > button.
5. Enter the following parameters:
• Time > Finish Time [s]: 1
• Time > Initial dt [s]: 0.0001
• Output Settings > File Output Interval Time [s]: 0.01
• Output Data > Kinematic Viscosity[m^2/s] [s]: on
1. Click the Execute button in the Wizard window. If the Wizard window is already closed, click the
Run... button .
2. In the Run... dialog, locate the Run section and select Preprocess & Simulation .
3. In the CPU cores field, type the number of CPU cores to use for the calculation.
4. In the Precision section, 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 right-bottom corner 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.