Seminar Report On Fluid Simulation In Computer Graphics,
Simulation is the imitation of the operation of a real-world process or system over time. The act of simulating something first requires that a model be developed
Fluid dynamics, actually is the study of fluid under motion, governed with a certain set of conservation equations, wherein things are conserved, with reference to mass, momentum & energy.
If these three quantities i.e. mass, momentum & energy are solved entirely we can define any fluid flow. The conservation laws are formulated in the form of equations which we try to solve and that’s what simulation is all about. For my blogs kindly visit: https://www.learncax.com/knowledge-base/blog/by-author/ganesh-visavale
FMM- UNIT I FLUID PROPERTIES AND FLOW CHARACTERISTICSKarthik R
Units and dimensions- Properties of fluids- mass density, specific weight, specific volume,
specific gravity, viscosity, compressibility, vapor pressure, surface tension and capillarity. Flow
characteristics – concept of control volume - application of continuity equation, energy
equation and momentum equation.
a draft of a chemistry lesson on the 6- sided crystal structure of snowflakes, as related to water molecule structure and hydrogen bonding. Note that water VAPOR condenses directly into ice crystal snowflakes, with no liquid phase between the vapor and solid phases.
Ekeeda Provides Online Civil Engineering Degree Subjects Courses, Video Lectures for All Engineering Universities. Video Tutorials Covers Subjects of Mechanical Engineering Degree. Visit us: https://ekeeda.com/
Learn Online Courses of Subject Engineering Mechanics of First Year Engineering. Clear the Concepts of Engineering Mechanics Through Video Lectures and PDF Notes. Visit us: https://ekeeda.com/streamdetails/subject/Engineering-Mechanics
Fluid dynamics, actually is the study of fluid under motion, governed with a certain set of conservation equations, wherein things are conserved, with reference to mass, momentum & energy.
If these three quantities i.e. mass, momentum & energy are solved entirely we can define any fluid flow. The conservation laws are formulated in the form of equations which we try to solve and that’s what simulation is all about. For my blogs kindly visit: https://www.learncax.com/knowledge-base/blog/by-author/ganesh-visavale
FMM- UNIT I FLUID PROPERTIES AND FLOW CHARACTERISTICSKarthik R
Units and dimensions- Properties of fluids- mass density, specific weight, specific volume,
specific gravity, viscosity, compressibility, vapor pressure, surface tension and capillarity. Flow
characteristics – concept of control volume - application of continuity equation, energy
equation and momentum equation.
a draft of a chemistry lesson on the 6- sided crystal structure of snowflakes, as related to water molecule structure and hydrogen bonding. Note that water VAPOR condenses directly into ice crystal snowflakes, with no liquid phase between the vapor and solid phases.
Ekeeda Provides Online Civil Engineering Degree Subjects Courses, Video Lectures for All Engineering Universities. Video Tutorials Covers Subjects of Mechanical Engineering Degree. Visit us: https://ekeeda.com/
Learn Online Courses of Subject Engineering Mechanics of First Year Engineering. Clear the Concepts of Engineering Mechanics Through Video Lectures and PDF Notes. Visit us: https://ekeeda.com/streamdetails/subject/Engineering-Mechanics
Similar to Fluid Simulation In Computer Graphics (20)
Flying Hope: Balloon bring Internet to everywhere
Project loon is a research and development project being enveloped by Google. It is a network of balloons travelling on the edge of space, designed to provide ubiquitous Internet connectivity. The balloons float in the stratosphere, twice as high as airplanes and the weather. They are carried around the Earth by winds and they can be steered by rising or descending to an altitude with winds moving in the desired direction. People connect to the balloon network using a special Internet antenna attached to their building.
Load Balancing In Distributed ComputingRicha Singh
Load Balancing In Distributed Computing
The goal of the load balancing algorithms is to maintain the load to each processing element such that all the processing elements become neither overloaded nor idle that means each processing element ideally has equal load at any moment of time during execution to obtain the maximum performance (minimum execution time) of the system
A virtual private network gives secure access to LAN resources over a shared network infrastructure such as the internet. It can be conceptualized as creating a tunnel from one location to another, with Encrypted data traveling through the tunnel before being decrypted at its destination.
DLNA is an acronym for Digital Living Network Alliance.
It is a capability in a device allowing it to talk to other devices with another DLNA device.
It interconnects electronic devices within a zone.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
UiPath Test Automation using UiPath Test Suite series, part 4
Fluid Simulation In Computer Graphics
1. 1
Introduction
Fluid
A fluid is any substance that flows (in other words, a substance that can take the shape of its
container) and does not resist deformation (meaning that it slides when dragged). People
often use fluid and liquid interchangeable, but technically, the term fluid can refer to either a
liquid or a gas. A gas fills its container completely, whereas a liquid has a distinct "free
surface" whose shape does not depend on its container. (Often, when you use computer
graphics to visualize a liquid, you render only its surface-for example, ripples on a pond or a
stream of water.) The distinction between liquids and gasses can influence how you model
the fluid, but both obey the same basic fluid formulae and share similar properties.
But what about smoke? Smoke seems to behave like a gas but also appears to have a kind of
surface, although perhaps not as distinct as that of a liquid. The answer is that smoke is really
a combination of a gas and tiny suspended particulates, and the combination of these
particulates is called anaerosol. Those particulates follow the motion of the gas (and let game
players see that motion) without necessarily influencing the motion. You can usually treat
smoke as a kind of gas, where one of its properties-for example, density or composition-
varies.
Simulation
Simulation is the imitation of the operation of a real-world process or system over time. The
act of simulating something first requires that a model be developed; this model represents
the key characteristics or behaviours/functions of the selected physical or abstract system or
process. The model represents the system itself, whereas the simulation represents the
operation of the system over time.
Simulation is used in many contexts, such as simulation of technology for performance
optimization, safety engineering, testing, training, education, and video games.
Often, computer experiments are used to study simulation models. Simulation is also used
with scientific modelling of natural systems or human systems to gain insight into their
functioning.[2]
Simulation can be used to show the eventual real effects of alternative
conditions and courses of action. Simulation is also used when the real system cannot be
engaged, because it may not be accessible, or it may be dangerous or unacceptable to engage,
or it is being designed but not yet built, or it may simply not exist.
2. 2
Varieties of Physical Simulation
Whereas fluid dynamics might not be as familiar to most video game programmers, some
forms of physical simulation have become commonplace. For the sake of context, let's see
where fluid simulations fit into the spectrum of physical phenomena
Particles are points that have position, mass, and velocity but (in principle) no size or shape,
as Figure 1(a) shows. The relationship between forces and motion is linear. Particles are easy
to simulate but rather uninteresting.
Rigid bodies have shape and orientation in addition to position, mass, and velocity-for
example, blocks and balls. If you add the notion of "shape" to a particle, you get a rigid body,
as Figure 1(b) shows.
Rigid bodies are still easy to simulate: Most of the difficulty comes from detecting and
responding to collisions. Stacks of bodies are usually the most difficult to solve, because
everything in the stack continuously collides with everything else in the stack-even if nothing
moves.
Articulated bodies, shown in Figure 1(c), are connected networks of rigid bodies-for
example, character models. These bodies behave identically to rigid bodies that are
continuously involved in a form of collision where the points of contact have a limited
variety of ways in which they can move (called constraints).
Figure 1. Simple physical phenomena: (a) particles, (b) rigid bodies, and (c) articulated
bodies
3. 3
Deformable bodies can change shape but retain their connectedness and adjacency of various
points on the body. Think of this as a model where the edges between vertices never change
which vertices they connect, but the locations of the vertices can move.
Their type depends on their dimensionality:
1D. Thread, string, rope, chain, hair, and so on, shown in Figure 2(a)
2D. Cloth, as shown in Figure 2(b)
3D. Soft bodies, like the jiggly bits of a character model, as shown in Figure 2(c)
Figure 2. Deformable bodies: (a) thread, (b) cloth and (c) soft bodies.
Fluids have lots of freedom of motion. The motion is nonlinear (more on that later), and their
shape and topology can change, as shown in Figure 3. Fluids require specialized simulation
techniques: Because fluids take the shape of their container, they are always in collision with
everything around them, including the fluid itself. So a collision with one part of the fluid
effectively means that the whole body of fluid must respond.
Figure3. Fluids (a) liquid (b) smoke.
4. 4
Representations and Coordinate Systems
You can model fluids in at least two ways: as a field, or as a collection of interacting
particles. Both views are useful, and you often switch between them and combine them.
Field-based-Systems
To each point in a region containing fluid, you can ascribe a set of
properties: velocity, density, temperature, and pressure. The positions of the points never
move. This treatment of fluids as a field is called an Eulerian view.
Figure 4(a) shows a simple case: a box of gas.
Figure 4. Field-based and particle-based views of a fluid.
(a) Grid based: Each point has fluid properties like velocity (arrows), density (box fill),
pressure (arrow color), and temperature (box outline), and the grid points never move.
(b) Particle based: Each particle has fluid properties in addition to position, and each particle
can move
5. 5
Particle-based Systems
You can also think of fluid in terms of a vast collection of particles (or parcels) that move
around. Each parcel has properties such as position, velocity, density, and temperature. Note
the addition of position here in contrast with the Eulerian view, where position is fixed to the
grid. This treatment of fluids is called a Lagrangian view.
Figure 4(b) shows a fluid as a collection of moving particles.
6. 6
Fluid Properties
At a microscopic level, fluids consist of a vast number of molecules whose principle
interaction is collision. But the number of molecules is so large that you cannot pragmatically
deal with them as such. Instead, you have to deal with them statistically, meaning that you
pretend that clusters of particles act like a special substance that behaves differently than just
a collection of particles. This special treatment entails (among other things) ascribing "bulk
properties" to the fluid that characterize how the fluid interacts with itself.
The most common and important properties a fluid can have include these:
Pressure. Pressure refers to normal forces that apply to fluid parcels as well as the forces that
fluid applies to its container and other solid objects embedded in the fluid, as Figure 5(a)
shows.
Viscosity:
Fluids also have shear forces, which act across the fluid, distorting it. Viscosity is the extent
to which fluid resists that distortion, as Figure 5(b) shows. Thick fluids (like syrup) have high
viscosity; thin fluids (like water) have low viscosity.
Density:
Density expresses how much matter is in each small volume of space in the fluid.
Temperature:
Temperature refers to how much heat resides in a fluid parcel. Temperature itself does not
directly affect how the fluid moves, but it can affect pressure and density, which in turn affect
motion.
7. 7
Figure 5. Components of stress: (a) normal (pressure) and (b) shear
Fluids can have other, more sophisticated properties, such as more complex viscosity (for
example, bouncing putty, blood or mucus) or composition (for example, fuel, oxygen, and
exhaust), that you might want to include in your designs for more specialized fluid
simulations (for example, combusting gas).
Governing Equations
As with other physical phenomena like rigid bodies, systems of equations describe how a
fluid evolves, or changes, over time. We call these equationsgoverning equations. For a rigid
body, the governing equations include Newton's second law of motion, expressed as
, where is the force acting on the body, m is its mass, and is its acceleration-that is,
how its velocity changes direction and speed over time. Fluids are more complicated and
have more than one set of governing equations. In addition, each set of equations has multiple
forms, which can vary depending on what kind of fluid you want to model. An early step in
modeling fluid motion entails choosing which governing equations to use.
Modeling a fluid entails more than just its motion: You can also model its internal state
(pressure, density, and temperature), heat transport, and other properties. This and the other
articles in the series assume that temperature and density remain constant throughout the
fluid; but remember that if you want to model more sophisticated fluid flows, you should
explore concepts like the equation of state (for example, ideal gas law) and thermal diffusion
(for example, Fourier heat conduction).
8. 8
Momentum
Consider Newton's second law, , for a block. Remembering that acceleration is the
rate of change of velocity-that is, , -and dividing each side by mass, you can
write . Now, imagine that block in contact with another block, as shown in Figure
6(b), and that the two blocks move relative to each other, as shown in Figure 6(c). Each block
now has multiple forces acting on it: a normal force, a friction force, and a body force
(gravity). Expanding the force term, , you get:
Figure 6. Force diagrams for a block; (a) without contact, (b) resting contact, and (c) sliding
contact
9. 9
Similar to Newton's laws of motion, the Navier-Stokes equation expresses how velocity
changes as a result of forces:
Here, is the velocity at a point in time and space, t is time, p is pressure at a point, p is the
density of the fluid at a point, µ is viscosity, and are external forces, such as gravity,
acting on the fluid.
Note the similarities and differences to the equation for the block. Both express how velocity
changes over time. Both include forces resulting from contact as well as external forces. But
the fluid equation has an extra term on the left, , that takes some effort to understand.
The terms on the left express acceleration and have a special meaning. You can rewrite them
as a new operator, :
This formula is called by many names, including
the substantive derivative, advective derivative, Lagrangian derivative, and particle
derivative. These names give a clue to its unusual meaning, and this is, in some sense, the
heart of fluid motion. So, let's break it down, because to understand fluid motion, you must
understand this derivative
The term expresses how fluid velocity at a fixed location changes over time. Note the
qualifier "at a fixed location," which brings us back to the Eulerian view, shown in Figure 7,
where you represent a fluid as a field and ask questions about how fluid properties at fixed
locations in that field change over time. So, this term simply expresses the change in velocity
over time (that is, the acceleration) of a point in a fluid field.
10. 10
Figure 7. Eulerian acceleration: velocity at a fixed location changes over time.
The term is tricky: It is called the advective term (see Figure 8) and expresses how
velocity of a fluid parcel changes as that fluid parcel moves around-basically, velocity
changes as a result of moving around in a velocity field. Again imagine that a fluid is a field
in which every point in the field has a velocity. This would be like walking around in an
airport that has slidewalks (moving sidewalks) everywhere. And these are unusual slidewalks
that move in different directions and different speeds at different places, but the direction and
speed remain the same at each location. Imagine wandering around in this crazy airport:
Depending on where you stood, the slidewalks would carry you in different directions and
speeds. By standing-without walking-on this crazy network of slidewalks, you would change
speed and direction. You would accelerate simply as a result of following the flow field.
11. 11
Figure 8. Advective acceleration: Velocity at each point remains constant, but a tracer
following the field causes the tracer to accelerate.
Notice that the advective term, , has velocity in it twice: That repetition makes the
motion nonlinear. When people refer to the nonlinear motion of fluids, they refer to this term-
advective acceleration. This term is the main reason why fluids have such complicated
motion. When writing a simulation, a good deal of your effort goes into handling this term.
When you combine these two terms, you ask how a fluid parcel accelerates both as it follows
the flow field and as a result of the flow field itself changing in time. When you ask about
these together, you adopt the Lagrangian view-that is, you think of the fluid as a collection of
particles. So, the difference between Eulerian and Lagrangian views effectively boils down to
where you put the advective term, : on the right side or on the left side of the
momentum equation.
12. 12
Mass
When pressure applies to a parcel of fluid, the fluid can compress or expand. You express this
compression or expansion mathematically simply by stating that an influx of fluid changes
the amount of fluid at that location:
For visual effects, you can usually neglect compressibility, so simplify this equation
to . In that case, the pressure becomes coupled to velocity and we can drop the
pressure term from the momentum equation (but as we will see in the second article, pressure
reappears in another form). Any vector field with zero divergence is called "solenoidal". This
condition ends up causing some complication in fluid simulations, which the second article in
this series will revisit
Mass can also advent and diffuse, in which case the form of its governing equations resemble
the momentum equation given above, except without the pressure term. In other words,
density follows the flow and diffuses.
Vorticity
We can readily imagine a vortex or multiple vortices, because they appeal to intuition.
Anybody who has watched a tornado, water flowing down a drain, or milk stirred into coffee
has seen vortices. Smoke rings are also really just vortex rings-vortices that loop back on
themselves. In fluid dynamics, we call these loops coherent structures, because they seem to
have a persistent life of their own. The "vorticity" equation describes how these structures
evolve.
Vorticity, (the curl of velocity) describes how fluid rotates. By taking the curl of
the momentum equation, you derive the vorticity equation:
13. 13
By solving this equation, you can obtain a complete description of fluid motion.
Vorticity gives fluid its characteristic swirling motion. Figure 9 shows examples of simple
vortical flows.
Figure 9. Vortices and their flows: (a) a line vortex (purple dashed line) and the circular flow
around it (black solid line), and (b) a ring vortex and the "jet" flow through it.
The stress term, , describes the stretching and tilting of vortices, as shown in Figure
10. Vortex stretching is an important process in the turbulent cascade of energy from larger to
smaller scales in the flow and only occurs in 3D flows.
Figure 10. Vortex stretching:
14. 14
(a) A vortex tube with a bulge with velocity flowing outward from the bulge causes the bulge
to shrink.
(b) After the bulge squirted away, the tube shrank:
The amount of mass rotating there decreased, so to conserve angular momentum, vorticity
increased. In other words, the tube rotates faster where it initially rotated more slowly.
The viscous term, , describes the diffusion of vorticity-that is, how vorticity spreads as
a result of friction.
The final term expresses buoyancy, which (as shown in Figure 11) creates regions of
overturning, where fluids with density out of equilibrium (for example, heavy fluid above
light fluid) form rolling currents that tend toward bringing the fluid into equilibrium (that is,
putting heavy fluid below light fluid).
Figure 11 . Keeping fluid right-side up. Where the pressure gradient and the density gradient
are not parallel, vorticity forms to bring fluid layers into equilibrium. Fluid will try to rotate
to push down the bulge.
The momentum equation uses pressure, so this approach to solving the fluid dynamics
equations is sometimes called the velocity-pressure formulation, or primitive variable
formulation. In contrast, the vorticity equation does not require pressure, but it does require
15. 15
velocity, so this approach to solving the fluid dynamics equations is sometimes called the
vorticity-velocity formulation.
Boundary Conditions
Fluids interact with their containers, with objects embedded in the fluid, and with other,
distinct fluids that do not mix (for example, air and water). You express these interactions
as boundary conditions. These are analogous (and in addition to) initial conditions that you
specify for ordinary differential equations. Think of them this way: Dynamics equations
describe a family of motion, such as all possible trajectories of all possible bullets fired from
all possible guns, but initial conditions specify when, where and in what direction the gun
was fired. Likewise, boundary conditions specify the shape of the container holding the fluid.
You can express boundary conditions by specify either that a function, or its derivative, has a
certain value at the boundary. For example, either the velocity or the velocity gradient could
be prescribed to have some value at the surface of a rigid body. Specifying the value of
a function at a boundary is called an "essential" boundary condition because it is essential for
that condition to occur in the solution, i.e. it directly specifies the value of the solution itself,
along some boundary. This effectively means you would need to know some portion of the
solution before you could obtain the rest of the solution. In contrast, specifying the value of
a derivative of a function at a boundary is called a "natural" boundary condition because that
allows the function to reach the required value freely and naturally. In such a case, you do not
need to know the solution ahead of time; just its derivative.
Each equation has its own boundary conditions. So the momentum equations would have one
set of boundary conditions, the pressure another, density yet another and so on.
Boundary conditions for the momentum equations typically have two components:
No-through. Fluid cannot flow into or out of a body No-slip. Fluid cannot move across a
body. (Alternatively, you can use free-slip boundaries, which are not perfectly realistic but
apply for fluids without viscosity.)
These boundary conditions express how a body influences fluid flow as well as how fluid
flow influences the motion of a body. This problem has multiple solutions. For example, you
16. 16
can ask about the pressure field on the boundary or use conservation laws (like linear and
angular momentum) to exchange impulses between the fluid and the body.
17. 17
REFRENCES
[1] Fluid Simulation for Computer Graphics by Robert Bridson.
[2] http://software.intel.com/en-us/articles/fluid-simulation.