FEATURE
Fluid Flow Simulations to Reduce Development Cycle Times
Fluid Flow Simulations to Reduce Development Cycle Times
By Joachim Schöck, Senior Technology Expert, Development Engineering, at medmix Switzerland AG, Haag, Switzerland
The use of flow simulations can accelerate development cycles and lead to a reduction in costs.
Figure 1: Process of geometry preparation and discretization.
Flow simulations or CFD (computational fluid dynamics) is an established procedure to analyze and solve problems that involve fluid flows with the help of computers. With this method, it is possible to examine the internal or external flow field of a product virtually before a first prototype has been produced. In this way, a design version can be analyzed realistically and, if necessary, optimized by constructive adjustments. In the best case, only a few necessary tests are carried out later. Thus, CFD simulations can accelerate development cycles and lead to a reduction in development costs.
Introduction to CFD
CFD involves the solution of the governing laws of fluid dynamics numerically. The geometrical domain is divided into small volumes, commonly known as the computational mesh. The complex set of partial differential equations is numerically solved.
The aim of this article is to give an overview of how a typical CFD simulation is set up and how it can be used during the product development process of mixing and applicator systems.
In general, a typical CFD analysis consists of three steps:
1. Pre-processing phase
2. Execution of the simulation
3. Post-processing of the results for visualization, parameter extraction, and optimization
Preprocessing
The keyword preprocessing includes all activities carried out before the simulation is executed. This starts with the use of computer-aided design (CAD) to build up the geometry and suitable physical boundaries of the problem.
Figure 2: Convective form of Navier-Stokes momentum equation.
Geometry preparation and simplification: From there, the fluid volume to simulate must be extracted. During this step, it is often useful to remove geometrical details not important for the intended analysis. For example, this can be small holes, radii or gaps without flow. This work aims to reduce the model's complexity and focus on the essential details to reduce analysis time and costs without losing accuracy.
Discretization: In the second step, the volume occupied by the fluid is divided into discrete cells (the mesh). The mesh generated should be fine enough to cover the major physical effects. The type of mesh should be advantageously hexahedral-dominant or at least of polyhedral type. Simple tetrahedral meshes are not adequate to obtain appropriate results.
Physical models: Depending on the type of problem to be solved during an investigation, simulations with different complexity in terms of physical models and numerical effort can be carried out. In the easiest case, a steady state solver is used to simulate the flow of an incompressible and isothermal fluid in laminar flow. Multi-component or multi-phase models can be added to cover the flow of several components in one fluid domain. In the case of low viscous materials, a turbulence model has to be switched on. To solve time-dependent effects or flow fluctuations, a transient solver must be taken.
Boundary condition and fluid properties: The last step includes the definition of the fluid properties of all fluids involved. In simple cases, this is the fluid density and the fluid viscosity. In more sophisticated cases with heat transfer and multiple materials, this can also be thermal expansion, heat capacity, surface tension, and contact angle. Operating and initial conditions are defined at the boundaries of the simulation domain.
Execution of the Simulation
To run the CFD simulation, the Navier-Stokes equations must be solved. In physics, the Navier–Stokes equations are partial differential equations that expresses the conservation of mass, momentum, energy, and additional scalar fields. As these equations cannot be solved directly, finite volume methods are used to solve them numerically. Since CFD simulations are rather time consuming, it is beneficial to run them in parallel on an HPC cluster.
Figure 3: Mixing quality in a static mixer.
Postprocessing
Postprocessing refers to the evaluation of the CFD simulation results. This can be done graphically in terms of contour, vector or streamline plots, videos, or quantitatively by tables of values. Like for all numerical simulations, it is suggested to prove the plausibility of the numerical results. This can be done by comparing them with rough hand calculations or measurement data of similar designs.
Qualitative flow analysis is often done graphically by means of contour or vector plots. Generally, the pressure and velocity fields are of main interest. In the case of mixer simulations, the concentration field of the components to mix is relevant. These plots can be analyzed to find critical areas, for example with high-pressure losses or unwanted death zones with almost no flow.
Quantitative flow analysis of variables or flow parameters (for example: mixing quality or pressure loss) are generally determined at pre-defined locations within the simulation domain. For example, in simulations of static mixers, the evaluation of mixing quality over the mixer length is of interest. In the case of transient simulations, these values can also be evaluated over time.
A combination of both quantitative and qualitative evaluation is shown in Figure 3. Here, the underlying picture is a contour plot of the mass fraction of component B in a static mixer. The overlaid blue curve shows the progress of CoV (coefficient of variation), which is a measure of mixing quality over the mixer length. While the CoV remains unchanged (no mixing) in the mixer head and mixer outlet, it decreases nearly linearly in the mixing elements if the CoV is plotted logarithmically.
Advantages of CFD in Comparison with Measurements and Its Limitations
Nowadays CFD is found in almost all fields ranging from medical research to engineering. And there are important advantages when CFD is used:
- CFD can be used as a qualitative tool for pre-evaluation of various designs. Designers and analysts can study prototypes numerically, and then test by experimentation only those that show promise. This leads to a great time and cost reduction in the development process.
- CFD can provide results for flow problems that can hardly be analyzed by means of measurements or that are even dangerous, for example, if hazardous substances had to be tested.
- CFD offers the ability to study products or systems under conditions beyond their limits. This can be interesting to understand how a system reacts when used incorrectly.
- CFD allows observation of flow properties without disturbing the flow itself, which is not always possible with conventional measuring instruments.
- CFD generates colorful pictures and graphs, which helps to understand the system. And finally, it can be used for marketing reasons to convince development partners of the functionality of a product.
State-of-the-art CFD solvers can handle a wide range of different physical models. But with increasing complexity (multi-phase, multi-components, chemical reactions, etc.) and highly transient behavior with phenomena that often appears at different time scales, the numerical effort to obtain a meaningful result increases dramatically. In addition, often the exact fluid properties of the fluids of interest are not known in detail or are confidential for several reasons. And even the most sophisticated CFD model is still a particularly good simplification of the reality, only.
Thus, in many cases, measurements are still the means of choice and a particularly crucial resource to validate the simulation models. It has often been shown that the best development results were achieved with a well-considered combination of simulations and measurements.
Learn more about medmix at medmix — Our Technologies.
Opening image courtesy of maxkabakov / iStock / Getty Images Plus.