Thursday, August 16, 2012

Fluid Flow Everywhere - Why not visualize them, on computers?

There is fluid all around us (planet earth, for sure :)). We experience it within ourselves and in any system that mankind has ever built. Understanding the flow pattern in a system can be crucial for feasibility studies. In the world of simulations, we call it Computational Fluid Dynamics (CFD). A lot of real world problems cannot be solved analytically because of the complexity of the flow. Plus, a solution may not exist.
CFD uses discretization methods to break down the Navier-Stokes equation (which is the momentum equation of fluid flow) into algebraic equations which can then be solved using various numerical schemes. The same is true for other fluid flow equations. The accuracy of the solution thus would depend on the mesh size. Smaller the mesh, more accurate are the results. However, the computational time is more. There is an optimal limit where you can satisfy both these conditions. It depends on what you are looking for (in terms of results). For most applications you can get away with coarse mesh in the far field and refine the mesh close to the boundary of the system. However, there is no one size that fits all. Only through experience and rigorous testing (or sensitivity analysis), a user can understand the effect of mesh on the results. Lot of computational codes use "Finite Volume" approach these days. There are other ways to model them as well like -finite element approach, finite difference and spectral element method. Some codes do not even use CFD at all but rather treat fluid as a collection of molecules.
We will focus on the finite volume approach which is used in ANSYS Fluent and CFX. The method is based on "marching" the solution in space and time in forward direction. All the variables are solved for in the "control volume" (mesh element) and passed on to the neighboring cell.

 The simulation is run for user specified "iterations" and stopped when either the residual error is below the specified threshold or when the number of computational iterations is equal to what the user specified. Care must be taken to make sure the run is not stopped before it really has "converged".
ANSYS Fluent and CFX offer users with tons of capabilities. However, as the saying goes - "with power comes responsibility" is applicable in using these softwares as well. Users must be careful in applying the right boundary conditions, choosing the right physics model and applying the right mesh settings. The user will always be able to get results but whether it's junk or useful depends on various parameters. One way to test this is by comparing the results with experimental data or using engineering judgement. Sensitivity analysis can also help the user to understand how different variables affect the final result.

Swirl flow within a valve
May the fluid force be with you!!

Monday, August 13, 2012

Virtual Prototyping - The power of Simulations

With the ever increasing demand for products comes tighter deadlines, shorter product lifecycle and product innovation. However, the product has to be tested for it's robustness and quality without which the product will never appeal to the mass and will eventually lead to failure.
Virtual prototyping is gaining importance largely because of faster turnaround time and faster decision making cycle (due to the fact that multiple configurations can be tested within a limited time).
Simulations are approximations to real world physics but through rigorous testing and correlation with experiments can reduce the margin of error. Simulations are becoming the bread and better for various companies and it continues to grow.
Some of the advantages of performing computer simulations are:
  • Faster turnaround time
  • More virtual experiments and designs can be churned out with limited resources and limited time
  • Limited human resources unlike experiments
  • Easy to visualize results and get better understanding of the system unlike experiments where the visualization is limited to graphs and charts. The system can be visualized in real time with the desired physical variables
  • Initial investment for simulations is orders of magnitude lower than experiments
  • Return on Investment is much higher than experiments
  • Easy to make changes to design parameters unlike experiments where it takes long time to get new data set.
  • Quite helpful for companies that are constrained by their geographical locations. Results can be made easily available to anyone around the world. Users from anywhere can modify the design parameters without being bounded by any constraints



Simulations are used in a variety of applications. These include:
  • Aerospace
  • Healthcare
  • Turbomachinery
  • Civil Engineering
  • Consumer Products 
  • Electronics
  • MEMS - Semiconductor
  • Defense
  • Chemical and Petrochemical
  • Oil and Gas
  • Marine
  • Clean Technologies
  • Automotive
  • Industrial Equipments and many more!!
Our next post will focus more on various simulation tools available within ANSYS

    Interested to learn more about ANSYS products?

    Click on the link below to learn more about the products we offer.
    ANSYS SimuTech Canada Brochures

    For further information, feel free to contact SimuTech Canada