Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

how to validate cfd results?

2 Answer(s) Available
Answer # 1 #

The word "Computational" in the phrase "Computational Fluid Dynamics" is simply an adjective to "Fluid Dynamics". Hence, while dealing with aspects of CFD tool or process, it is vitally important to keep the physical understanding of fluid dynamics uppermost in user's mind as CFD has to do with physical problems. -- Adapted from John D. Anderson, Jr (Computational Fluid Dynamics - The Basics with Applications).

Everybody believe an experiment, except the one who did it.

Nobody believes a simulation result, except the one who did it.

We have all come across the phrase "garbage in, garbage out" which has originated from software development (attributed to be coined by George Fuechsel, an IBM programmer and instructor). However, this is equally valid for any 'computer' program where the validity of input decides the correctness of the output. In case of CFD simulations, the term 'validity' refers to the "appropriateness and accuracy" of the input data for numerical simulations. Validation of CFD models is a necessity. These numerical tools are used for different applications and no internal checks are implemented inside the program for the correctness of CFD results. Hence, anybody and everybody who are using CFD simulation tools must make "validation of CFD results" an integral part of their simulation process and activities.

Any numerical simulation process is not just "Meshing, setting Boundary Conditions, Running Solver and Making Colourful Contour / Vector Plots". The results ultimately needs to be converted into a set of inputs for a robust design of the components or sub-systems of a system. The results of any numerical simulations need to be critically and thoroughly analyzed for errors, omissions and inaccuracies.

A sound knowledge of "underlying fluid mechanics principles and operating conditions of the problem set-up" are more important than just knowing how to use the software. Some of the topics which will help "CFD practitioners" make correct and robust design decisions based on CFD results are:

Though the industrial flow configurations are far from being closer to these simple geometries, the fundamental ideas contained in them are indispensable to a good understanding of modern computational methods. The methods and results arrived at are important not only for these simple flows but also for the extension of our fundamental knowledge of turbulent flows in general. Methods for dealing with turbulent flows for any industrial applications could be devised only on the basis of the detailed experimental results obtained for them.

For example, according to measurements performed by H. Kirsten, the entrance length of a turbulent flow in a pipe is about 50 to 100 diameters. This knowledge is very important in deciding the inlet boundary condition for any industrial internal flow configuration.

CFD is a great tool when used with appropriate procedure and guidelines because of its inherent nature of multi-disciplinary science leading to technically unlimited potential and applications. Yet, "CFD is not a panacea of all the Flow and Heat Transfer problems without experience-base insight". Any result must be looked at by an experienced engineer in that field and must go through an "order-of-magnitude-check" before accepting the results.

All methods for the calculation of turbulent boundary layers are approximate ones and are based on the integral forms of the momentum and energy equations. Since, however, no general expressions for shear and dissipation in turbulent flow can be deduced by purely theoretical considerations, it is necessary to make additional suitable assumptions. These can only be obtained from the results of systematic measurements and, consequently, the calculation of turbulent boundary layers is semi-empirical.

While the usage of CFD simulations in industry is on rise at rapid pace, the credibility of results of any such calculation is still an area of concern. Most organizations using such codes, over time have evolved their own best practice guidelines to minimize the chances of "critical errors". There are many such guidelines issued by ERCOFTAC and AIAA. Following diagram summarizes classifications used to designate the types of error which needs to be addressed when CFD simulations are used to make decisions on performance of a product.

Error: A recognisable deficiency that is not due to lack of knowledge. For example, common known errors are the round-off errors in a computers and the convergence error in an iterative numerical scheme. CFD analyst should be capable of estimating the likely magnitude of the error. It may also arise due to mistakes in input (such as material property variation with temperature).

Uncertainty: A potential deficiency that is due to lack of knowledge. Uncertainties arise because of incomplete knowledge of a physical characteristic, such as the turbulence structure at inlet to a flow domain or because there is uncertainty in the validity of a particular flow model being used. Uncertainty cannot be removed as it is rooted in lack of knowledge (wither physics of the flow or the behaviour of numerical codes). Statistically, the uncertainty of the observable X is a measure of the spread of results around the mean X, also designated as standard deviation.

Verification: It is the procedure intended to ensure that the program solves the equations correctly. As per AIAA, G-077-1998: the process of determining if a simulation accurately represents the conceptual model. A verified simulation does not make any claim relating to the representation of the real world by the simulation. In other words, as per Roache: "it solves the equations right".

Validation: This procedure is intended to test the extent to which the model accurately represents reality. As per AIAA, G-077-1998: it is the process of determining how accurately a simulation represents the real world. In other words, as per Roache: "it solves the right equations".

Accuracy: This is the measure of the similarity of a simulation to the physical flow it is expected to represent. It represents how a predicted value is closer to the measured and/or theoretically exact value.

Consistency: This refers to the 'repeatability' of a process, be it testing or simulation. In measurement or manufacturing process, there are mathods for "Gauge R&anp;R" which stands for repeatability (same output by same operator under idential operating conditions) and reproduceability (same output by different operator) of a method.

Calibration: This procedure to assess the ability of a CFD code to predict global quantities of interest for specific geometries of engineering design interest.

Similarly, not modelig the rotation of the tires and simplification of tire surfaces by removing the grooves can be significant source of error with respect to the actual driving conditions. However, in wind-tunnel tests, the car body is stationary and tyre may not be rotating (though it can be made rotating) - the CFD simulation result will be closer to the test result.

Cases like this when there is rotational contact between two surfaces, the contact area is not correctly known or sometimes it cannot be capture correctly due to accute angle between the circular disk and flat plate.

In actual driving conditions, car is moving through stationary air and the boundary layer may not form at the road surface. When air is blown over a stationary car in wind tunnel testing and CFD simulations, boundary layer forms on the surface representing the ground/road. The remedy is to apply moving wall to the floor having velocity same as car speed.

External aerodynamics simulations are sensitive to the quality of the surface geometry representation. Care must be taken when using the surface wrapper such that junctions/intersections result in smooth and well-defined edges. The geometry simplifications such as removal of small protrusions, deletion of thin wires, smoothen of surface undulation... should be carried out judiciously. Normally such clean-up is a compromise in ability to generate good quality mesh and loss in accuracy due to simplifications. In other words, keeping some of the geometrical features may result in distorted and skewed cells which anyways reduce the accuracy of simulation results.

Recommended monitor points to check for convergence for external aerodynamic simulation over a car body:

Sources of errors and uncertainties in results from simulations can be divided into two distinct sources: modeling and numerical. Modeling errors and uncertainties are due to assumptions and approximations in the mathematical representation of the physical problem (such as geometry, mathematical equation, coordinate transformation, boundary conditions, turbulence models, etc.) and incorporation of previous data (such as fluid properties) into the model. Numerical errors and uncertainties are due to numerical solution of the mathematical equations (such as discretization, artificial dissipation, incomplete iterative and grid convergence, lack of conservation of mass, momentum, and energy, internal and external boundary non-continuity, computer round-off...).

Buoyancy-driven Flows

Sample Checklist

In ANSYS FLUENT and as a matter of fact all CFD programs, heat transfer coefficient (h) is a derived quantity using wall temperature, adjacent fluid temperature and heat flux. Note the term "adjacent fluid temperature". This approach makes the HTC value reported by post-processing programs only indicative. In reality: one should estimate heat flux value (q") and area-weighted average tempearature (TW_MEAN) from post-processing utility. Then use the equation: q" = h·(TW_MEAN - TREF) to estimate h. Here selection of TREF should be made inline with empirical correlations reported in text-books.

Method of Calibration

Heat flux and surface heat transfer coefficient is one of the critical output from a thermal simulation. Understanding of the temperature field near the wall and how its gradient is used to calculate the heat transfer rate is important to identify source of errors. Heat transfer at walls is a combination of "heat diffusion due to conduction" and "heat diffusion due to mixing or convection". This is expressed as described below. Here, T is 'local' time-averaged value. α is thermal diffusivity defined as k/ρCp, εh is eddy diffusivity of heat - analogous to eddy diffusivity of momentum.

Step-1: Molecular Prandtl number is calculated based on specified fluid properties: Pr = μ / Cp / k where k is thermal conductivity (not turbulent kinetic energy though k used in law of wall for temperature above is TKE)

Step-2: For the calculated molecular Prandtl number, thermal sub-layer thickness is estimated which is nothing but the intersection of the linear and logarithmic profiles

Step-3: Depending upon (momentum) boundary layer height, y* is calculated at the centroid of the near wall cell. As mentioned above, in FLUENT, the laws-of-the-wall for mean velocity and temperature are based on the wall unit y* rather than y+.

Step-4: Once y* is calculated, velocity at the centroid of the near wall cell is calculated as per law-of-wall for velocity. Thus, Pr, y* and u(yP) are calculated and stored now. Temperaure at near wall cell is, T(yP) still not known.

Step-5: T(yP) is known by solution of of energy equations in the interior domain. For specified wall temperature boundary condition, heat flux is calculated from the linear equation arising from the law-of-the-wall.

Equivalence of Radiative Heat Transfer Rate at Low Temperature and Small Temperature Differences

Radiative heat flux rate: qRAD'' = ε x σ x = ε x σ x x x

Comparing the two equations: hRAD ≡ ε x σ x x

For ε = 1.0, TW1 = 80 and TW2 = 40 , hRAD = 8.41

For ε = 1.0, TW1 = 60 and TW2 = 50 , hRAD = 8.01

As you can see, the convective heat transfer coefficient in natural convection with air ranges between 5 to 15 . Hence, the contribution of radiation in natural convection cases (such as electronic cooling) is approximatly equal to the convective heat transfer rate. In other words, convection and radiation contribute almost equal in natural convection heat transfer cases dealing with low temperature differences.

The heat transfer rate of pin-type fin for natural convection in air is tabulated below. Note the impact of L/D ratio on heat transfer rate.

The values for forced convection in air is tabulated below. 'A' is the heat transfer area of the fin and not the cross-section area. The parameter ΔT/ can be used in fin selection for given heat dissipation and surface area (available space). For example, for a heat dissipation of 10 using a fin of diameter 20 and height 100 , the expected increase in temperature of the base of fin is 10 x 62.8 x 0.1431 = 89.9 .

Tommi Rhea
Urology Nursing
Answer # 2 #

Validation assessment determines if the computational simulation agrees with physical reality. It examines the science in the models through comparison to experimental results. There is professional disagreement on exact procedures for verification and validation of CFD simulations.

Giorgio Casas