cfd-intro

Upload: siva-ramakrishna-valluri

Post on 29-Oct-2015

9 views

Category:

Documents


0 download

TRANSCRIPT

  • Computational Fluid Dynamics - Fall 2009

    The syllabusCFD references (Text books and papers)Course ToolsCourse Web Site: http://twister.ou.edu/CFD2009 http://learn.ou.eduComputing Facilities available to the class (account info will be provided)OSCER (http://oscer.ou.edu) Sooner Linux SupercomputerUnix and Fortran Helps Consult Links at CFD Home page

  • CFD An IntroductionThe Physical aspects of any fluid flow are governed by three fundamental principles: Conservation of mass and energy, and Newton's second law of motion (F = m a). These fundamental principles can be expressed in terms of mathematical equations, usually as partial differential equations.

    Computational Fluid Dynamics (CFD) is the science of determining a numerical solution to the governing equations of fluid flow whilst advancing the solution through space or time to obtain a numerical description of the complete flow field of interest.

    Theoretical Fluid Dynamics. The governing equations for Newtonian fluid dynamics, the unsteady Navier-Stokes equations, have been known for over a century. However, the analytical investigation of reduced forms of these equations is still an active area of research.

    Experimental fluid dynamics has played an important role in validating and delineating the limits of the various approximations to the governing equations. The wind tunnel, for example, provides an effective means of simulating real flows. Traditionally this has provided a cost effective alternative to full scale measurement. However, in the design of equipment that depends critically on the flow behavior, for example the aerodynamic design of an aircraft, full scale measurement as part of the design process is economically impractical. This situation has led to an increasing interest in the development of a numerical wind tunnel.

    The steady improvement in the speed of computers and the available memory size since the 1950s has led to the emergence of computational fluid dynamics. This branch of fluid dynamics complements experimental and theoretical fluid dynamics by providing an alternative cost effective means of simulating real flows. As such it offers the means of testing theoretical advances for conditions unavailable on an experimental basis.

    The development of more powerful computers has furthered the advances being made in the field of computational fluid dynamics. Consequently CFD is now the preferred means of testing alternative designs in many engineering companies before final, if any, experimental testing takes place.

  • Introduction Principle of Fluid MotionMass ConservationConservation of air/water/fluid massConservation for other material quantities (e.g., CO2, water vapor in atmosphere, chemicals, pollutants, etc.)Newtons Second of Law (equations of motion)Energy Conservation (e.g., heat energy, temperature equation)Equation of State for Idealized GasOther equations

    These laws are expressed in terms of mathematical equations, usually as partial differential equations.

    Most important equations the Navier-Stokes equations(T is the stress tenor and F the body force)

  • Approaches for Understanding Fluid Motion

    Traditional Approaches

    Theoretical find analytical solutions to the governing equations (often in simplified forms)Experimental collect data from laboratory or field experiments

    Newer Approach

    Computational - CFD emerged as the primary tool for engineering design (e.g., automobile, aircraft, spacecraft), environmental modeling, weather prediction, oil reservoir simulation and prediction, nuclear weapon testing, among many others, thanks to the advent of digital computers

  • Theoretical FDScience for finding usually analytical solutions of governing equations in different categories and studying the associated approximations / assumptions; h = d/2,

  • Experimental FD

    Understanding fluid behavior using laboratory models and experiments. Important for validating theoretical solutions.E.g., Water tanks, wind tunnels

  • Computational FD A science of finding numerical solutions of governing equations, using high-speed digital computers

  • Why Computational Fluid Dynamics?Analytical solutions exist only for a handful of typically simple problems Much more flexible easy change of configurations, parameters Can control numerical experiments and perform sensitivity studies, for both simple and complex systems or problems Can study something that is not directly observable (e.g., black holes of the universe or the future climate) because of the spatial and/or temporal scale/range of the problem.

    Computer solutions provide a more complete sets of data in time and space than observations of both real and laboratory phenomena (e.g., so far its not possible to directly observe 3D temperature and pressure inside tornadoes at high resolutions)

  • Why Computational Fluid Dynamics? - ContinuedWe can perform realistic experiments on phenomena that are not possible to reproduce in reality, e.g., the weather and climate

    Much cheaper than laboratory experiments (e.g., crash test of vehicles, experimental launches of spacecrafts) May be much more environment friendly (testing of nuclear arsenals) We can now use computers to DISCOVER new things (drugs, subatomic particles, storm dynamics) much more quickly Computer models can predict, e.g., weather.

  • An Example Case for CFD Thunderstorm Outflow/Density Current Simulation

  • Thunderstorm Outflow in the Form of Density Currents

  • Positive Internal Shearg=1g=-1Negative Internal Shear

  • Positive Internal Shearg=1g=-1Negative Internal ShearT=12No SignificantCirculation Induced byCold Pool

  • Simulation of an Convective Squall Line in AtmosphereInfrared Imagery Showing Squall Line at 12 UTC January 23, 1999.ARPS 48 h Forecast at 6 km ResolutionShown are the Composite Reflectivity and Mean Sea-level Pressure.

  • Observation v.s. forecast of convection storms at 2 km grid spacing(June 6, 2008 case from CAPS realtime forecast)Radar observation of precipitation (reflectivity) at forecast initial time (initial condition)

  • CONUS-Scale Realtime Forecast at 1 km grid spacing from spring 2009(WRF with ARPS Radar DA)May 8, 2009 MCV/Derecho Case 30 hour forecastRadar Observed Reflectivity Model Predicted Reflectivity

  • Difficulties with CFDTypical equations of CFD are partial differential equations (PDEs) that requires high spatial and temporary resolutions to represent the originally continuous systems such as the ocean and atmosphere Most physically important problems are highly nonlinear true solution to the problem is often unknown therefore the correctness of the solution hard to ascertain need careful validation (against theoretical understanding and limited measurement data)! It is often impossible to represent all relevant scales in a given problem unresolved scales have to be parameterized using closure schemes .

    There is often strong coupling between scales of flow for the atmospheric and most CFD problems. ENERGY TRANSFERS among scales.

  • Difficulties with CFD

    The initial conditions of given problems often contain significant uncertainty such as that of the atmosphere because they cant be measured with 100% accuracy.

    Errors and uncertainties with the numerical models can be significant because of inevitable approximations.

    We often have to parameterize processes which are not well understood (e.g., rain formation, chemical reactions, turbulence).

    We often have to impose nonphysical boundary conditions.

    Often a numerical experiment raises more questions than providing answers!!

  • Positive OutlookMore accurate numerical schemes / algorithmsBigger and faster computers (Petascale Computing Systems to be built first at NCSA)Faster networksBetter desktop computers Better programming tools and environmentBetter visualization toolsBetter understanding of dynamics / predictabilitiesetc.