Sie sind auf Seite 1von 15

Tutorial: Drop Ejection from a Printhead Nozzle

Introduction
The purpose of this tutorial is to provide guidelines for the transient simulation of drop
ejection from the nozzle of the printhead in an inkjet printer. The volume of uid (VOF)
model is used to predict the droplet shape. The time-dependent boundary condition requires
a user-dened function (UDF).
This tutorial demonstrates how to do the following:
Use the VOF multiphase model.
Use an UDF to dene a time dependent boundary condition.
Set up and solve the case using appropriate solver settings.
Postprocess the resulting data.
Prerequisites
This tutorial is written with the assumption that you have completed Tutorial 1 from
ANSYS FLUENT 13.0 Tutorial Guide, and that you are familiar with the ANSYS FLUENT
navigation pane and menu structure. Some steps in the setup and solution procedure will
not be shown explicitly.
In this tutorial, you will use VOF multiphase model. For details on VOF model, see Section
26.3, Setting Up the VOF Model in ANSYS FLUENT 13.0 Users Guide. This tutorial will
not cover the mechanics of using this model. Instead, it will focus on the application of this
model to the drop ejection from a printhead nozzle. For more details on UDFs, see ANSYS
FLUENT 13.0 UDF Manual.
Problem Description
The problem to be solved in this tutorial is shown in Figure 1.
To capture the capillary eect on the ejected ink, the surface tension and prescription of
the wetting angle will be specied. The surface inside the nozzle is neutrally wettable, while
the surface surrounding the nozzle orice is non-wettable.
At time zero, ink lls the nozzle, while the rest of the domain is lled with air. Both uids
are assumed to be at rest. To initiate the ejection, the ink velocity at the inlet boundary
suddenly rises from 0 to 3.58 m/s and drops according to a cosine law.
c ANSYS, Inc. February 9, 2011 1
Tutorial: Drop Ejection from a Printhead Nozzle
Figure 1: Schematic of the Problem
A user-dened subroutine is shown in the Appendix for reference. After 10 microseconds,
the velocity returns to zero. The calculation is run for 30 microseconds overall, i.e., three
times the duration of the initial impulse. Gravity is not included in the simulation. Due to
the axial symmetry of the problem a 2D geometry is used. The computation mesh consists
of 24,600 cells. The domain consists of two regions: an ink chamber and an air chamber.
The ink chamber dimensions are summarized in the following table.
Ink chamber Cylindrical region: radius (mm) 0.015
Ink chamber Cylindrical region: length (mm) 0.050
Ink chamber Tapered region: nal radius (mm) 0.009
Ink chamber Tapered region: length (mm) 0.050
Air chamber: radius (mm) 0.030
Air chamber: length (mm) 0.280
Strategy
As the dimensions are small, ANSYS FLUENT is used with double precision. The primary
phase is air and the secondary phase is water-liquid. Patching is required to ll the ink
chamber with the secondary phase.
2 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
Setup and Solution
Preparation
1. Copy the les (inkjet.msh, inlet1.c, and udfconfig.h) to your working folder.
2. Use FLUENT Launcher to start the 2D version of ANSYS FLUENT.
For more information about FLUENT Launcher see Section 1.1.2, Starting
ANSYS FLUENT Using FLUENT Launcher in ANSYS FLUENT 13.0 Users Guide.
3. Enable Double-Precision in the Options list.
4. Click the UDF Compiler tab and ensure that the Setup Compilation Environment for
UDF is enabled.
The path to the .bat le which is required to compile the UDF will be displayed as soon
as you enable Setup Compilation Environment for UDF.
If the UDF Compiler tab does not appear in the FLUENT Launcher dialog box by default,
click the Show More >> button to view the additional settings.
The Display Options are enabled by default. Therefore, after you read in the mesh, it
will be displayed in the embedded graphics window.
Step 1: Mesh
1. Read the mesh le (inkjet.msh).
File Read Mesh...
As the mesh le is read, ANSYS FLUENT will report the progress in the console.
Step 2: General Settings
1. Dene the solver settings.
General
(a) Select Transient from the Time list.
(b) Select Axisymmetric from the 2D Space list.
2. Check the mesh.
General Check
ANSYS FLUENT will perform various checks on the mesh and will report the progress
in the console. Make sure the minimum volume reported is a positive number.
c ANSYS, Inc. February 9, 2011 3
Tutorial: Drop Ejection from a Printhead Nozzle
3. Scale the mesh.
General Scale...
(a) Select Specify Scaling Factors from the Scaling group box.
(b) Scale the mesh using 1e-6 as the Scaling Factors for X and Y.
(c) Select mm from View Length Unit In drop-down list.
(d) Click Scale.
(e) Close the Scale Mesh dialog box.
4. Dene the units for the mesh.
Dene Units...
(a) Select mm as the unit for length.
(b) Select dyn/cm as the unit for surface-tension.
(c) Close the Set Units dialog box.
5. Mirror the view across the axis.
Display Views...
(a) Select axis from the Mirror Planes list.
(b) Click Apply.
This updates the mesh display with both sides of the chamber.
(c) Click Camera... to open the Camera Parameters dialog box.
i. Drag the indicator of the dial with the left mouse button in the counter-
clockwise direction until the upright view is displayed (see Figure 2).
ii. Click Apply and close the Camera Parameters dialog box.
(d) Click Apply and close the Views dialog box.
4 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
Figure 2: Mesh Display
Step 3: Models
1. Dene the multiphase model.
(a) Select Volume of Fluid from the Model list.
(b) Click OK to close the Multiphase Model dialog box.
c ANSYS, Inc. February 9, 2011 5
Tutorial: Drop Ejection from a Printhead Nozzle
Step 4: Materials
The default properties of water and air are suitable for this problem. You can verify them
in the Create/Edit Materials dialog box.
Materials Create/Edit...
1. Retain the default settings for air.
2. Copy water-liquid (h2o<l>) from the database.
3. Click Change/Create and close the Create/Edit Materials dialog box.
Step 5: Phases
1. Select air for primary phase and enter air for the Name.
Phases phase-1-Primary Phase Edit...
2. Select water-liquid for secondary phase and enter water-liquid for the Name.
Phases phase-2-Secondary Phase Edit...
3. Dene the Phase Interaction.
Phases Interaction...
6 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
(a) Enable Wall Adhesion so that contact angles can be prescribed.
(b) Click the Surface Tension tab.
i. Select constant from the Surface Tension Coecients drop-down list.
ii. Enter 73.5 dyn/cm for the value.
(c) Click OK to close the Phase Interaction dialog box.
Step 6: User-Dened Functions
Dene User-Dened Functions Interpreted...
1. Enter inlet1.c for Source File Name.
Ensure that the C source code (udfconfig.h) for the UDF and the mesh le are in
the working folder. If the source code is not in the working folder, you must enter the
complete folder path for the le in the Interpreted UDFs dialog box, instead of just the
le name. You can also use the Browse... button to select the le.
2. Click Interpret to compile the UDF.
3. Close the Interpreted UDFs dialog box.
Step 7: Boundary Conditions
1. Set the boundary conditions for inlet.
Boundary Conditions inlet
c ANSYS, Inc. February 9, 2011 7
Tutorial: Drop Ejection from a Printhead Nozzle
(a) Select mixture from the Phase drop-down list and click the Edit....
i. Select udf membrane speed from the Velocity Magnitude drop-down list.
ii. Click OK to close the Velocity Inlet dialog box.
(b) Select water-liquid from the Phase drop-down list and click the Edit....
i. Click the Multiphase tab and enter 1 for Volume Fraction.
ii. Click OK to close the Velocity Inlet dialog box.
2. Set the boundary conditions for outlet.
Boundary Conditions outlet Edit...
(a) Select water-liquid from the Phase drop-down list and click the Edit....
i. Click the Multiphase tab and retain the default value of zero for Backow
Volume Fraction.
ii. Click OK to close the Pressure Outlet dialog box.
3. Set the conditions for wall no wet.
Boundary Conditions wall no wet
(a) Select mixture from the Phase drop-down list and click Edit....
i. Enter 175 degrees in the Contact Angles group box.
ii. Click OK to close the Wall dialog box.
4. Set the conditions for wall wet.
Boundary Conditions wall wet Edit...
(a) Retain the default value of 90 degrees in the Contact Angles group box.
(b) Click OK to close the Wall dialog box.
Step 8: Operating Conditions
Boundary Conditions Operating Conditions...
8 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
1. Enter 0.10 mm for X and 0.03 mm for Y in the Reference Pressure Location group
box.
Set the Reference Pressure Location at a point where the uid will always be 100% air.
2. Click OK to close the Operating Conditions dialog box.
Step 9: Solution
1. Set the solution method parameters.
Solution Methods
(a) Select PISO from the Scheme drop-down list.
(b) Select PRESTO! and Second Order Upwind from the Pressure and Momentum
drop-down lists respectively.
2. Retain the default solution control parameters.
Solution Controls
c ANSYS, Inc. February 9, 2011 9
Tutorial: Drop Ejection from a Printhead Nozzle
3. Enable the plotting of residuals during the calculation.
Monitors Residuals Edit...
(a) Enter 0.0001 for the Absolute Criteria for all equations.
(b) Click OK to close the Residual Monitors dialog box.
4. Initialize the solution.
Solution Initialization
(a) Retain 0 for Gauge Pressure, Axial Velocity, Radial Velocity, and water-liquid Vol-
ume Fraction.
(b) Click Initialize.
5. Dene a register for the ink chamber region.
Adapt Region...
(a) Enter 0 for X Min and 0.10 mm for X Max.
(b) Enter 0 for Y Min and 0.03 mm for Y Max.
(c) Click Mark.
(d) Close the Region Adaption dialog box.
You can display and manipulate the generated adaption registers using the
Manage... button in the Region Adaption dialog box.
10 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
6. Patch the initial distribution of water-liquid.
Solution Initialization Patch...
(a) Select water-liquid from the Phase drop-down list.
(b) Select Volume Fraction from the Variable list.
(c) Select hexahedron-r0 from the Registers to Patch list.
(d) Enter 1 for the Value.
(e) Click Patch.
(f) Close the Patch dialog box.
7. Autosave the data les every 100 steps.
Calculation Activities
(a) Enter 100 for Autosave Every (Time Steps).
(b) Click Edit... to open Autosave dialog box.
i. Retain the default settings.
ii. Click OK to close the Autosave dialog box.
8. Save the initial case and data les (inkjet.cas/dat.gz).
9. Set the time-stepping parameters.
Run Calculation
(a) Enter 2.0e-8 s for Time Step Size.
(b) Enter 1500 for Number of Time Steps.
(c) Retain the default selection of Fixed in the Time Stepping Method list.
(d) Click Calculate.
c ANSYS, Inc. February 9, 2011 11
Tutorial: Drop Ejection from a Printhead Nozzle
Step 10: Postprocessing
1. Read the data le, inkjet0300.dat.
(a) Display lled contours of water volume fraction after 6 microseconds.
Graphics and Animations Contours Set Up...
i. Enable Filled in the Options group box.
ii. Select Phases... and Volume fraction from the Contours of drop-down lists.
iii. Select water-liquid from the Phase drop-down list.
iv. Click Display (see Figure 3).
Figure 3: Contours of water Volume Fraction After 6 s
2. Similarly, display the contours of water-liquid volume fraction after 12, 18, 24, and 30
microseconds (see Figures 4-7) using the corresponding data les: inkjet0600.dat,
inkjet0900.dat, inkjet1200.dat, and inkjet1500.dat, respectively.
12 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
Figure 4: Contours of water-liquid Volume Fraction After 12 s
Figure 5: Contours of water-liquid Volume Fraction After 18 s
c ANSYS, Inc. February 9, 2011 13
Tutorial: Drop Ejection from a Printhead Nozzle
Figure 6: Contours of water-liquid Volume Fraction After 24 s
Figure 7: Contours of water-liquid Volume Fraction After 30 s
14 c ANSYS, Inc. February 9, 2011
Tutorial: Drop Ejection from a Printhead Nozzle
Appendix
The contents of the UDF input le (inlet1.c) are as follows:
#include "udf.h"
#include "sg.h"
#include "sg_mphase.h"
#include "flow.h"
#define PI 3.141592654
DEFINE_PROFILE(membrane_speed, /* function name */
th , /* thread */
nv) /* variable number */
{
face_t f;
real x[ND_ND];
real f_time = RP_Get_Real("flow-time");
begin_f_loop (f,th)
{
F_CENTROID(x,f,th);
if (f_time<=10e-6)
{F_PROFILE(f,th,nv) = 3.58*cos(PI*f_time/30e-6);
}
else F_PROFILE(f,th,nv) = 0;
}
end_f_loop (f,th)
}
Results
The VOF model in ANSYS FLUENT was adequately able to predict the formation and
development of an ink droplet ejected from the printhead of an inkjet printer.
Summary
This tutorial demonstrated the application of the VOF model with surface tension eects.
The ANSYS FLUENT calculation agreed well with the prediction published in the literature
using the same injection scenario. Good agreement was achieved in predicting the number
and volume of the ink droplets. As these parameters are crucial to the print quality, ANSYS
FLUENT VOF model can be used in the design of inkjet printheads.
References
[1] W. J. Rider, D.B. Kothe, E.G. Pucket, I. D. Aleinov Accurate and robust methods
for variable density incompressible ow with discontinuities, 1996, Proc. of ICASE/LaRC
workshop on barriers and challenges in CFD, NASA Langley Research Center, Hampton,
Virginia, August 5-7, M. Salas (Ed.), Kluwer Academic Publishers (in press).
c ANSYS, Inc. February 9, 2011 15

Das könnte Ihnen auch gefallen