What you can learn here

In the following, we would like to introduce you to some essential basics without diving into the world of differentials and integrals. Any fluid mechanic or simulation engineer should be able to (if not derive, then at least) explain these in context without any problems. We would like to emphasise that this overview does not claim to be comprehensive.

Fluid mechanics basics

Conservation of mass

Imagine identical vehicles travelling through a tunnel at equal, constant intervals. Identical vehicles have equal masses and also volumes. Equal masses at constant distances can also be interpreted as constant density.

Kontinuitätssatz

The conservation of mass states that the mass flow(Vehicle) masses per time unit ṁ = Q∙ρmass flow = volume flow∙density is constant over a control volume e.g. said tunnel. In other words, the mass that goes in also comes out again (at the same time). For our example and for the case of incompressibleEven at a depth of 4000 m (i.e. 400 bar pressure), water is only compressed by approx. 2 %. fluids the density is constant. Thus the conservation of mass simplifies to constant flow rate Q = v∙AVolume flow = (average) velocity∙(cross-sectional) area. In our example the cross-sectional area A is equal to the number of lanes.

Imagine further that the tunnel has two lanes but in the middle due to a road works only one open. In fluid flows, now something happens that is unbelievable in traffic. Instead of decelerating during threading (and thus causing a traffic jam), the fluid particles accelerate (analogous to the adjacent illustration). Their speed changes inversely proportional to the cross-section. In our case, their speed doubles as the number of lanes is halved.

Bernoulli's theorem

BernoulliSwiss mathematician / physicist, 1700-1782 stated that the total energy of fluid particles along a streamlinee.g. lane in tunnel (filament) is constant. The total pressure is equal to the sum of static, dynamic and geodetic pressure and does not change along the streamline. In pressure notationAlso energy and height notation possible by mathematical conversion this reads: ptot = pstat + pdyn + pgeo = constant .

Hydrostatisches Paradoxon

pgeo = ρ∙g∙Hdensity∙acceleration (on earth)∙height primarily depends on H and is often referred by means of water column (WC2.54 mbar = 1 inch WC = 254 Pa). It is therefore easy to understand that the pressure increasesper 10 m by about 1 bar when diving or that aeroplanes need pressurised cabins because the pressure decreasesper 5,000 m to about half with altitude.

pdyn = ρ / 2∙v² results from the flow velocity and can easily be experienced while blowing on one's own hand or holding it out of the window while driving. In this case the dynamic pressure is converted to a force which pushes your hand back.

pstat is the ambient pressure, on earth − around us − it corresponds to the atmospheric pressure. This is ± 1.013 hPa = 101.300 Pa = 101.300 N / m² ≈ 10,3 tonnes / m² . Therefore we are under a lot of pressure, even without anyone acting on us. However, since the pressure in our bodies is the same, we don't notice it. You can visualize the static pressure by sucking air out of an empty PET bottle. Thus, you lower the pressure inside the bottle and see how it is "magically" compressed by the larger external pressure.

Bernoulli's theorem also vividly shows that the pressure does not depend on the amount of fluid. This is known as the "hydrostatic paradox" (see figure alongside). The pressure along the red line is constant in this open container.

Conservation of momentum

NewtonEnglish polymath, 1643-1727 already stated in his 1st Axiom that a force-freelosses, friction are neglected body moves with constant speed and direction. The speed here can also be zero, which corresponds to a body at rest. In other words: I = m∙vMomentum = mass∙velocity = constant. It can be seen that the momentum changes with the speed. Changes in speed (per unit of time) are caused by acceleration or braking ( = negative acceleration). However, the momentum also changes with the mass. This sounds paradoxical at first, since masses are normally constant. This is due to the fact that we tend to use the LagrangeItalian mathematician, 1736-1813 approach. This is object-related, i.e. one is a co-movingwe are sitting in the moving vehicle (= mass particle) observer. In contrast, the EulerSwiss mathematician, 1707-1783 way of looking at things is location-based, i.e. one is an externalstanding at the road side and watching vehicles passing by observer.

Changes in momentum result in a force effect onto the body. From this follows the 2nd axiom and depending on the point of view: F = m∙aForce = mass∙accelaration or ṁ∙v, respectively.

Turbomachinery


Geschwindigkeitsdreiecke
Geschwindigkeitsdreiecke

The momentum theorem can be adapted for the case of motion on a curved path by means of the location vector r (= radius to the centre of rotation). From this follows the angular momentum conservation: D = r x I = m∙(r x v) . Since only the part of the velocity vector perpendicular to the radius (= vUvU = v∙cos α || uu = r∙ω = r∙2π∙n) contributes to the "leverage", the angular momentum math can be simplified: D = m∙r∙vU . The time derivative of the angular momentum corresponds to the torque: M = ṁ∙r∙vU . After mathematical conversions, you get the power with: P = M∙ωMechanical power = torque∙angular speed = ṁ∙Δ(u∙vU) = Q∙ΔpHydraulic power = volume flow∙pressure difference . Since an ideal machine is considered here, the performances are equal, i.e. the efficiencyη (greek: eta) amounts to 100 %.

Impellersalso rotors are often designed with the help of so-called speed trianglessee adjacent pictures using the example of forward-curved blades. The absolute = circumferential + relative velocities are vectorially linked via v = u + w. Angle α denotes the absolute and β the relative flow angle (= blade angle). Indices 1, 2 refer to the inlet, outlet of the blade channel. By means of the geometric relationship (Cosine theoremw² = u² + v² − 2∙u∙v∙cos α) and some maths, the turbomachinery equation (SMHGin German: StrömungsMaschinenHauptGleichung) according to Euler can be derived: (u² + v² − w²) / 2 = u∙vU . The left term corresponds to the second and the right term to the first (more common) form.

Integration over the impeller gives: YSpecific supply = P / ṁ = u2∙v2u − u1∙v1u . You recognise the direct connection to the derived angular momentum. If the inflow is swirl-freei.e. v1U = 0, Y becomes maximum. In real machines, the integral quantities (M, ω resp. n, Q, Δp) are measured and the efficiency is determined via the power quotientPmech / Phydr for turbines, Phydr / Pmech for pumps. Which type of turbomachinery (axial, diagonal, radial) should be used for highest efficiency purposes can be determined by means of the CordierGerman Engineer diagram.

Numeric Basics

CAD-Model → CFD-Model

CAD-to-CFD

In order to perform flow simulations, it is necessary to derive a fluid volume based on the CAD model. For the case of a fan or a pump (where flow is relevant), all internal surfaces between inlet and outlet are used. As there are no inlet/outlet surfaces in the CAD model, these must be modelled accordingly (e.g. the inlet using a hemisphere). Small gaps (e.g. around the shaft) has to be closed to ensure „tightness“. This creates a closed volume, the actual CFD model. For the fan example, the CFD model must be subdividedinto so-called regions or domains, because this model consists of rotating and stationary areas. For parameter studies, very large models or to exploit symmetries, the CFD model should also be segmented (sensibly). The bottom line is that this reduces the time required for meshing. Meshing is also called grid generation. Appropriate care at this point can avoid unnecessary headaches in the following step.

Meshing (grid generation)

Numerisches Gitter

The mesh is created by dividing the fluid volume into many small control volumes (up to several millions). For each of these control volumes, the mass, momentum and (if required) energy conservation equations are solved during the calculation iteratively. Nowadays, meshes are generated using tetra-, prism-, hexa-, or polyhedron cells. Although (semi-)automatic meshers have become more powerful in recent years, their results must always be checked critically. As before, only the specifications / settings of the experienced user lead to high-quality meshes. The mesh quality can be checked by means of suitable control variables, like Aspect Ratio, Volume Change or (smallest orthogonal) angles within the cells.

In order to be able to calculate (and not just model) near-wall flows, a corresponding near-wall mesh resolution is necessary. The quality of this so-called boundary layer resolution is described by means of the dimensionless wall distance y+. The order of magnitude of the y+ value depends on the used turbulence modelling. For the in industry mostly used SSTShear Stress Transport or realizable-k-ε turbulence models, the value should be below two. Logically, for different operating points (flow velocities), the y+ value is also different (despite identical mesh). The adjacent figure shows a section through a typical mesh (tetrahedrons incl. prism boundary layer, impeller diameter 90 mm).

For structural simulations, „only“ the actual CAD model is meshed. This is one reason why the effort is significantly lower than for flow simulations. There is also no need for near-wall resolution or turbulence modelling here.

Steady-state and transient calculations (simulations)

For industrial applications, stationarytime independent calculations should always be used (if possible). The background is that transienttime-dependent calculations (on average) take 20 timesURANS vs. RANS longer without generating more significant information. In the case of a pump or fan calculation, it is usually not relevant to know how the pressure build-up changes with each millisecond (see video on the left). If this machine is investigated experimentally, you will usually end up with only one (average) value for pressure build-up, driving power and efficiency.

For stationary calculated rotating machines, the blade forces are modelled via the CoriolisFrench physicist, 1792-1843 forces. This is necessary because the impeller does not rotate here. If the number of blades is high enoughhow high depends on the case, this is acceptable. However, the situation is different if the number of blades is too low. In the extreme case of a sewage pump with only one blade channelthis lowers the risk of blocking, the calculation results are very dependent on the impeller position, because of the interaction with the scroll. In such cases, I guess you have to perform transient calculations. Or try the following „trick“: Calculate several impeller positions in steady-state and then average these results. This often gives you the information you need and you still save time compared to transient calculations.

Transient calculations are therefore more likely to be found in the field of research, for example when the influence of time-limited phenomena is to be investigated. Here, significantly more complex turbulence modelling (e.g. LESLarge Eddy Simulation, DESDetached Eddy Simulation, DNSDirect Numerical Simulation) is used, which again significantly increase the required time. Instationary effectsInstabilities,
e.g. high pressure fluctuations
in stationary calculations can already be detected during the calculation on the basis of the residuals and suitable monitors. If (undesirable) transient effects occur in your product, you should determine the cause and counteract, e.g. with a geometry adjustment.

„Special“ calculations

In „usual“ calculations, the entire CFD model is filled with only one fluid (e.g. air or water). VOFVolume of Fluids calculations allow the use of multiple fluids within one CFD model. By this, the inflow behaviour of water into an air filled tank can be calculated (see video on the right). VOF can also be used to study the behaviour of solids within fluids. One application could be the calculation of ship movement at sea (two fluids, one solid). It goes without saying, that VOF calculations are always transient.

FSIFluid Structure Interaction calculations couple flow and structure simulations, i.e. the interaction between fluids and solids. This means that, e.g. forces resulting from the flow are transferred to the FEMFinite Element Methode model. Using these forces, the stress distribution within and the deformation of the component is calculated. The calculated deformation (geometry change) can be fed back into the CFD model and the flow will be recalculated based on this.