- Source: Fluid
- Source: FLUID
In physics, a fluid is a liquid, gas, or other material that may continuously move and deform (flow) under an applied shear stress, or external force. They have zero shear modulus, or, in simpler terms, are substances which cannot resist any shear force applied to them.
Although the term fluid generally includes both the liquid and gas phases, its definition varies among branches of science. Definitions of solid vary as well, and depending on field, some substances can have both fluid and solid properties. Non-Newtonian fluids like Silly Putty appear to behave similar to a solid when a sudden force is applied. Substances with a very high viscosity such as pitch appear to behave like a solid (see pitch drop experiment) as well. In particle physics, the concept is extended to include fluidic matters other than liquids or gases. A fluid in medicine or biology refers to any liquid constituent of the body (body fluid), whereas "liquid" is not used in this sense. Sometimes liquids given for fluid replacement, either by drinking or by injection, are also called fluids (e.g. "drink plenty of fluids"). In hydraulics, fluid is a term which refers to liquids with certain properties, and is broader than (hydraulic) oils.
Physics
Fluids display properties such as:
lack of resistance to permanent deformation, resisting only relative rates of deformation in a dissipative, frictional manner, and
the ability to flow (also described as the ability to take on the shape of the container).
These properties are typically a function of their inability to support a shear stress in static equilibrium. By contrast, solids respond to shear either with a spring-like restoring force—meaning that deformations are reversible—or they require a certain initial stress before they deform (see plasticity).
Solids respond with restoring forces to both shear stresses and to normal stresses, both compressive and tensile. By contrast, ideal fluids only respond with restoring forces to normal stresses, called pressure: fluids can be subjected both to compressive stress—corresponding to positive pressure—and to tensile stress, corresponding to negative pressure. Solids and liquids both have tensile strengths, which when exceeded in solids creates irreversible deformation and fracture, and in liquids cause the onset of cavitation.
Both solids and liquids have free surfaces, which cost some amount of free energy to form. In the case of solids, the amount of free energy to form a given unit of surface area is called surface energy, whereas for liquids the same quantity is called surface tension. In response to surface tension, the ability of liquids to flow results in behaviour differing from that of solids, though at equilibrium both tend to minimise their surface energy: liquids tend to form rounded droplets, whereas pure solids tend to form crystals. Gases, lacking free surfaces, freely diffuse.
Modelling
In a solid, shear stress is a function of strain, but in a fluid, shear stress is a function of strain rate. A consequence of this behavior is Pascal's law which describes the role of pressure in characterizing a fluid's state.
The behavior of fluids can be described by the Navier–Stokes equations—a set of partial differential equations which are based on:
continuity (conservation of mass),
conservation of linear momentum,
conservation of angular momentum,
conservation of energy.
The study of fluids is fluid mechanics, which is subdivided into fluid dynamics and fluid statics depending on whether the fluid is in motion.
= Classification of fluids
=Depending on the relationship between shear stress and the rate of strain and its derivatives, fluids can be characterized as one of the following:
Newtonian fluids: where stress is directly proportional to rate of strain
Non-Newtonian fluids: where stress is not proportional to rate of strain, its higher powers and derivatives.
Newtonian fluids follow Newton's law of viscosity and may be called viscous fluids.
Fluids may be classified by their compressibility:
Compressible fluid: A fluid that causes volume reduction or density change when pressure is applied to the fluid or when the fluid becomes supersonic.
Incompressible fluid: A fluid that does not vary in volume with changes in pressure or flow velocity (i.e., ρ=constant) such as water or oil.
Newtonian and incompressible fluids do not actually exist, but are assumed to be for theoretical settlement. Virtual fluids that completely ignore the effects of viscosity and compressibility are called perfect fluids.
See also
Matter
Liquid
Gas
Supercritical fluid
References
Bird, Robert Byron; Stewart, Warren E.; Lightfoot, Edward N. (2007). Transport Phenomena. New York: Wiley, Revised Second Edition. p. 912. ISBN 978-0-471-41077-5.
FLUID (Fast Light User Interface Designer) is a graphical editor and GUI builder that is used to produce FLTK source code. FLUID edits and saves its state in text .fl files, which can be edited in a text editor for finer control over display and behavior.
After designing the application, FLUID compiles the .fl file into a .cxx file, which defines all the objects from the .fl file, and an .h file, which declares all the global ones. FLUID also supports localization of label strings using message files and the GNU gettext or POSIX catgets interfaces.
A simple program can be made by putting all non-interface code (including a main function) into the .fl file, thus making the .cxx file a single source file to compile. Most programs are more complex than this, so other .cxx files can be written that call the FLUID functions. These .cxx files must #include the .h file, or they can #include the .cxx file so it still appears to be a single source file.
Normally the FLUID file defines one or more functions or classes, which output C++ code. Each function defines one or more FLTK windows, and all the widgets that go inside those windows.
Widgets created by FLUID are "named", "complex named", or "unnamed". A named widget has a legal C++ variable identifier as its name (i.e. only alphanumeric and underscore), and is defined by a global variable or class member that will point at the widget after the function defining it is called. A complex named object has punctuation such as '.' or '->' or any other symbols in its name. In this case, FLUID assigns a pointer to the widget to the name, but does not attempt to declare it. This can be used to get the widgets into structures. An unnamed widget has a blank name and no pointer is stored.
Widgets may either call a named callback function that one writes in another source file, or one can supply a small piece of C++ source and FLUID will write a private callback function into the .cxx file.
Code View window
While editing the program FLUID the user can look at the Code View window which shows exactly how the C++ output of the program would look. The Code View window supports auto refreshing (when something in the program is changed, Code View will automatically change the source code being shown) which can be disabled by the user. It won't let the user change the code being shown through it. Code View is part of FLUID and is not automatically shown on startup. It can be enabled through FLUID's menu.
Widget bin window
See also
Glade Interface Designer
Qt Creator
Rapid application development
Linux on the desktop
References
External links
Official website
FLTK & FLUID in motion - A FLUID tutorial
Video tutorial on FLUID covering only the basics
Erco's FLTK Cheat Page
The flPhoto user-interface was done completely with FLUID.
Kata Kunci Pencarian:
- Fluida
- Kekentalan
- Cairan tubuh
- Turbin
- Operasi Fluid Drive
- Hujan es
- Dinamika fluida komputasi
- The Substance
- Cairan serebrospinal
- Prinsip Bernoulli
- Fluid
- FLUID
- Cerebrospinal fluid
- Fluidics
- Pre-ejaculate
- Fluid dynamics
- Body fluid
- Extracellular fluid
- Supercritical fluid
- Amniotic fluid