Professional Documents
Culture Documents
Introduction
The dynamic mesh model in FLUENT can be used to model flows where the shape of the
domain is changing with time due to motion on the domain boundaries. The motion can be
either a prescribed motion (e.g., you can specify the linear and angular velocities about the
center of gravity of a solid body with time) or an unprescribed motion where the subsequent
motion is determined through a user-defined function (UDF).
The update of the volume mesh is handled automatically by FLUENT at each time step
based on the new positions of the boundaries. To use the dynamic mesh model, you need
to provide a starting volume mesh and the description of the motion of any moving zones
in the model.
This tutorial demonstrates the use of FLUENT’s dynamic mesh capabilities for a vibromixer,
a device with a perforated (cylindrical) plate of small thickness that moves with a sinusoidal
motion which is implemented through a UDF.
In this tutorial you will learn how to:
Prerequisites
This tutorial assumes that you are familiar with the FLUENT interface and have completed
Tutorial 1 from the FLUENT 6.2 Tutorial Guide. Some of the basic steps in the setup and
solution procedures will not be shown explicitly. You should be familiar with the dynamic
mesh model. If you are not, you can refer Section 10.6: Dynamic Meshes in the FLUENT
6.2 User’s Guide.
c Fluent Inc. April 1, 2005 1
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
Preparation
2
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
c Fluent Inc. April 1, 2005 3
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
Step 2: Models
4
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
2. Turn on the standard k- viscous model with standard wall functions.
Define −→ Models −→Viscous...
3. Read the scheme file for specifying motion parameters (vibromix bin.scm).
File −→ Read −→Scheme...
The scheme file, vibromix bin.scm, loads the vibromix.bin file, which creates the
Define/User-Defined/Motion Parameters... menu item. This panel that is opened using
this menu item is used to specify the frequency and amplitude values of the motion.
4. Set the frequency and amplitude motion parameters.
Define −→ User-Defined −→Motion Parameters...
c Fluent Inc. April 1, 2005 5
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
Step 3: Materials
6
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
c Fluent Inc. April 1, 2005 7
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
(a) Make sure that the UDF source file, vibromix-2d.c, is in the same directory
that contains your case and data files.
(b) Select the UDF source file by clicking Add... under Source Files in the Compiled
UDFs panel.
This will open the Select File panel.
(c) In the Select File panel, select vibromix-2d.c.
(d) In the Compiled UDFs panel, enter the name of your library directory (e.g.,
libudf2d) and click Build to build a shared library for your source file.
(e) Click Load to link your shared library to the FLUENT executable.
8
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
c Fluent Inc. April 1, 2005 9
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
10
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
c Fluent Inc. April 1, 2005 11
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
(a) Select Double Buffering to ensure a non-flickering display of the mesh motion.
The zone motion preview utility is useful for quickly checking rigid body motion set-
tings. User errors, such as an improperly scaled mesh, can be quickly identified using
this procedure.
(a) Under Time, set the Time Step Size to 0.001 s.
(b) Under Time, set the Number of Time Steps to 100.
(c) Click Preview.
Step 7: Solution
1. Read the previously saved case and data file back into FLUENT.
File −→ Read −→Case & Data...
Since the preview of the mesh altered the initial location of moving part, it is recom-
mended that you read the case and data file that you have saved before the preview.
2. Enable the plotting of static pressure in the domain during the calculation by defining
a volume monitor (see Figure 3).
Solve −→ Monitors −→Volume...
12
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
c Fluent Inc. April 1, 2005 13
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
iii. In the Field Variable drop-down lists, select Pressure... and Static Pressure.
iv. In the Cell Zones list, select all zones.
v. In the File Name field, enter total-vol.out.
vi. Click OK in the Define Volume Monitor panel, and then in the Volume Mon-
itors panel.
14
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
c Fluent Inc. April 1, 2005 15
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
16
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
Residuals
continuity
x-velocity 1e+01
y-velocity
k
epsilon 1e+00
1e-01
1e-02
1e-03
1e-04
1e-05
1e-06
1e-07
1e-08
0 500 1000 1500 2000 2500 3000 3500 4000 4500
Iterations
Monitors
total-vol
1500000.0000
1000000.0000
500000.0000
Total 0.0000
Volume
Integral
(pascal)(m3)-500000.0000
-1000000.0000
-1500000.0000
0.0000 0.0250 0.0500 0.0750 0.1000 0.1250 0.1500 0.1750 0.2000 0.2250
Flow Time
c Fluent Inc. April 1, 2005 17
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
Step 8: Postprocessing
18
c Fluent Inc. April 1, 2005
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
1.35e+05
1.02e+05
6.97e+04
3.72e+04
4.62e+03
-2.79e+04
-6.05e+04
-9.30e+04
-1.26e+05
-1.58e+05
-1.91e+05
-2.23e+05
-2.56e+05
-2.88e+05
-3.21e+05
-3.53e+05
-3.86e+05
-4.19e+05
-4.51e+05
-4.84e+05
-5.16e+05
2.73e+01
2.60e+01
2.46e+01
2.32e+01
2.19e+01
2.05e+01
1.91e+01
1.78e+01
1.64e+01
1.50e+01
1.37e+01
1.23e+01
1.09e+01
9.57e+00
8.20e+00
6.83e+00
5.47e+00
4.10e+00
2.73e+00
1.37e+00
0.00e+00
c Fluent Inc. April 1, 2005 19
Solving a 2D Vibromixer Problem Using the Dynamic Mesh Model
(a) Select Velocity... and Velocity Magnitude in the Color by drop-down list.
(b) Click Display.
2.74e+01
2.60e+01
2.46e+01
2.33e+01
2.19e+01
2.05e+01
1.92e+01
1.78e+01
1.64e+01
1.51e+01
1.37e+01
1.23e+01
1.10e+01
9.59e+00
8.22e+00
6.85e+00
5.48e+00
4.11e+00
2.74e+00
1.37e+00
8.13e-04
Summary
In this tutorial you learned how to use the dynamic mesh model in FLUENT to model a
vibromixer.
20
c Fluent Inc. April 1, 2005