lördag 23 juli 2022

What Is Heat Energy?

Heat energy is a central element in both thermodynamics and radiative heat transfer. But what is in fact heat energy?

The 1st Law of Thermodynamics states that the total energy as kinetic energy plus (internal) heat energy remains constant in a system (without chemistry/fission/fusion) with no energy exchange with its surrounding. The 2nd Law of Thermodynamics states that transformation of kinetic energy into heat energy is irreversible. 

The Planck-Stefan-Boltzman Law (PSB Law) expresses that the transfer of heat energy by electromagnetic radiation from a warmer body of temperature $T_w$ to a colder body of temperature $T_c<T_w$ scales with $T_w^4 -T_c^4$. 

Computational Thermodynamics and Computational BlackBody Radiation present a new approach to uncover the mysteries of both the 2nd Law of Thermodynamics and the PSB Law based on a principle of finite precision computation/physics. In  this setting heat energy takes the form of small scale unordered kinetic motion.

In thermodynamics kinetic energy thus takes the form of large scale ordered motion and small scale unordered motion which is the result of turbulent dissipation into heat energy. The 2nd Law expresses that the process of turbulent dissipation is irreversible because in finite precision unordered small scale motion cannot be coordinated into large scale ordered motion. Heat energy here appears as "internal energy" with limits set by the 2nd Law as concerns transformation to "external energy" as large scale kinetic motion.

In radiative heat transfer the temperature of a body determines a cut-off frequency scaling with temperature with heat energy as atomic vibrations with only frequencies below cut-off appearing in synchronized ordered form capable to generating outgoing radiation. Here the finite precision limit thus scales with the inverse of the temperature and the heat transfer from a warm to a cold body consist only of the frequencies above cut-off for the colder and below cut-off for the warmer. 

In both cases heat energy is a result of an impossibility arising from finite precision computation. In thermodynamics heat energy is unresolvable unordered small scale kinetic motion. In thermodynamics a body absorbs heat energy as unordered kinetic motion for frequencies above cut-off. 

In short, heat energy emerges as a rest product of finite precision computation/physics meeting unresolvable scales of motion. 

Even if now heat energy is a form of rest product, it does not mean that it cannot be recycled into useful energy to some extent. In thermodynamics a gas expanding into a larger volume creates turbulence which is turned into heat energy, which can be used to do work when expanding into an even bigger volume. In radiative heat transfer a colder body when heating up by absorbing heat in unordered form from a warmer body, increases its cut-off and so can radiate higher frequencies in synchronised ordered form.   


fredag 22 juli 2022

Computability of Turbulent vs Laminar Flow

Euler Computational Fluid Dynamics CFD shows that mean values such as lift and drag from the turbulent flow around all sorts of vehicles/bodies moving through air or water are computable at low computational cost, while point values of the fluid flow and body forces in space and time are uncomputable. Euler CFD shows that the mean values are stable quantities insensitive to mesh resolution and small changes of geometry, while point values are very sensitive. 

In Euler CFD this is captured by a dual linearised solution, which in the case of an underlying turbulent oscillating base flow through cancellation can be of moderate size as an expression of mean value stability. This comes out as independence of lift and drag for flow with large Reynolds number beyond drag crisis.  

Laminar flow on the other hand may be less stable because of base flow without oscillation and cancellation, and thus may require large computational cost to correctly capture. It comes out as a possible dependence of lift and drag on smaller Reynolds numbers before drag crisis. An example of laminar flow is potential flow which is unstable/unphysical and thus uncomputable as solution of the Euler equations.

So, in certain (mean value) sense, turbulent flow can be more easy to compute/predict than laminar flow, which can be viewed to be paradoxical, but then in fact is not. 


torsdag 21 juli 2022

Similarity Between Fluid Turbulence and Radiative Energy Transfer

In the TNT Radio interview in the previous post I suggest a similarity between fluid turbulence and radiative heat transfer connecting to a phenomenon of high frequency "cut-off".  

Fluid motion transfers large scale ordered kinetic motion/energy over a cascade of successively smaller and smaller scales into a smallest scale depending on viscosity of unordered kinetic motion/energy as turbulence perceived as heat energy with the smallest scale representing the cut-off. The total energy transfer from large to smallest scale shows to depend mainly on the largest scales with thus little dependence on the smallest scales set by viscosity, thus with little dependence on viscosity once small enough. This is Kolmogorovs law of finite rate of turbulent dissipation.

Computational BlackBody Radiation describes radiative heat transfer between two bodies/oscillators $B1$ and $B2$ of temperature $T1$ and $T2$ with $T1>T2$ as an ordered resonance phenomenon with a frequency "cut off" increasing with temperature with energy balance for frequencies below the lower cut-off for $B2$, while frequencies above and below cut-off for $B1$ are absorbed by $B2$ in the form of unordered high-frequency oscillations perceived as heat energy by $B2$. The result is transfer of energy from the warmer body to the colder body. 

In both cases there is thus a split between ordered large scale motion and unordered small scale motion beyond cut-off perceived as heat energy. In both cases the small scale unordered motion perceived as heat energy is the consequence of an impossibility of sustained ordered motion: In fluid motion an impossibility of transferring energy to smaller scales in ordered fashion, and in radiative transfer an impossibility to balance frequencies above cut-off for the colder body, as an effect of finite precision. 

There is a connection to the 2nd law of thermodynamics with the transformation of large scale motion into heat energy as small scale unordered motion, is irreversible. In radiation it means that heat energy transfer is one-way from warm to cold.

Interview on TNT Radio Live

Yesterday I was interviewed on TNT Radio Live on themes of mathematics and science including radiative energy transfer connecting to CO2 alarmism and turbulent fluid flow, with remarks on the current energy crisis caused by ban on fossil energy driving hyperinflation:

To give more substance on the CO2 alarmism story from TNT the same day, please listen to Tony Heller with his remarkable blog Real Climate Science presenting lots of unique illuminating historic facts: 


tisdag 19 juli 2022

Control of Inflation by Interest Rate?

Hyperinflation is now hitting Western society after a long period of very low interest rates and money printing combined with low inflation. State Banks are now raising interest rates to curb the inflation. But is this possible and advisable? Let see what common sense can say:

1. Interest rates can be seen as a cost of capital balancing risk. With very low interest rates anybody can borrow big money for any investment, many of which will not deliver, and that is not good. On the other hand, with high interest rates even clever people will not dare to invest, and that is not good. So a moderate interest rate maybe around 2-4% may be optimal. Instead we have had a period since 2008 with essentially zero interest rate with raising stock and housing markets to record levels.

2.  We now see a hyperinflation caused by increasing cost of energy because of a massive turn to solar and wind energy away from fossil and nuclear energy. But this is not true inflation but simply increased costs for energy production. 

3. But you cannot lower energy costs by raising interest rates, only increase,  and so the attempted policy of raising interest rates to curb inflation caused by an energy crisis cannot work. But it seems sound to give up the zero interest rate policy, which has caused a stock market and housing bubble, which is a form of hyperinflation although it is not included in the consumer price index used to measure zero inflation.  

4. On the hand, turning to more efficient fossil and nuclear energy production would lower consumer price index to a deflation, which would give people more for the money and it would be insane to seek to balance by letting interest rates go negative as has been the current policy.

5. So the way out of the coming crisis is to return to fossil and  nuclear energy production, and that is what we are now seeing coming. This is nothing which is controlled by a very low or very high interest rate, a moderate would be fine. The obsession by the Swedish State Bank boss Stefan Ingves to seek to control inflation up and down by the interest rate up and down, has been based on ideas in direct opposition to common sense and thus led to very negative consequences for people. 

Here is the variation of US inflation and interest rate over the period 1998-2022 showing that the interest rate does not control the inflation:





   

måndag 18 juli 2022

Euler CFD vs Navier's Friction Boundary Condition

Navier's friction boundary condition in the Navier-Stokes equations for fluid flow takes the form

  •  $\nu\frac{\partial u}{\partial n}=\beta u$,      (1)
where $\nu > 0$ is a small viscosity, $u$ tangential velocity, $n$ unit normal into the fluid and $\beta \ge 0$ a skin friction coefficient.  For $\beta =0$ this is a zero-friction slip condition, while for $\beta$ large it is a no-slip condition $u=0$. 

For given $\nu >0$ there is a break even between balancing fluid and friction forces when $\beta\approx\sqrt{\nu}$ with $\beta >\sqrt{\nu}$ causing substantial reduction of $u$ creating a (laminar) boundary layer of width $\approx\sqrt{\nu}$ with $\frac{\partial u}{\partial n}\approx \frac{1}{\sqrt{\nu}}$, and $\beta <\sqrt{\nu}$ causing little reduction of $u$ approaching a slip condition without boundary layer. 

The drag crisis at $\nu \approx 10^{-6}$ with Reynolds number $Re\approx 10^6$ signifies a change from laminar no-slip boundary layer to an effective slip condition from a turbulent boundary layer as explained here.  This corresponds to a friction coefficient $\beta\approx 10^{-3}$ indicating a switch to slip in accordance with measured skin friction coefficients:



So, for $Re\approx 10^6$ an observed skin friction $\beta \approx 10^{-3}$ gives experimental support that slip can be used as an effective boundary condition, since $\beta \approx 10^{-3}$ causes little reduction of tangential velocity and has small contribution to total drag in bluff body flow.

A connection with potential flow with slip and formally $\nu =0$ can be made by observing that potential flow satisfies on the boundary
  • $\frac{\partial u}{\partial n}=-u$,
and so for any $\nu >0$

  • $\nu\frac{\partial u}{\partial n}=-\nu u$,

  • thus with formallly a very small negative friction coefficient very close to 0 and slip in (1). Navier-Stokes with slip thus formally tends to potential flow as the viscosity tends to zero, while in reality interior turbulent flow develops because of instability, a turbulent flow which is computable by Euler CFD with millions of mesh points without need to resolve thin boundary layers because of effective slip. 

    Euler CFD can be supplemented with positive skin friction and independence of e. g. drag for small skin friction can be observed.

    Note that (1) with $\beta =0$ forms a weak boundary layer to satisfy $\frac{\partial u}{\partial n}=0$, while residual stabilisation in Euler CFD does not create any boundary layer.


    torsdag 14 juli 2022

    Nature of Turbulence vs Euler CFD

    What makes Euler CFD into a parameter free model or Theory of Everything ToE for slightly viscous incompressible flow is:
    1. Finite rate of turbulent dissipation effectively independent of Reynolds number $Re$ after transition to turbulence. 
    2. Slip serving as effective boundary condition for $Re$ beyond drag crisis at $Re\approx 500.000$.
    Here 1 reflects the nature of turbulence as an energy cascade from large to small scales,  developing from shear or opposing flow instability in slightly viscous incompressible flow,  into a smallest scale $h \sim Re^{-0.75}$ where the energy is dissipated into heat with an amount which is determined by large scale features. This is the essence of classical qualitative turbulence theory stating independence of rate of turbulent dissipation for $Re$ beyond transition to turbulence, which could be at $Re\approx 10^3$ with $h\approx 10^{-2}$ which opens to capturing mean values such as drag in bluff body flow balancing turbulent dissipation in computations with $10^6$ mesh points, to be compared with unreachable $10^{14}$ to resolve smallest scales if $Re =10^6$ common in aerodynamics of vehicles (largest DNS reaches $10^{11}$).  

    Turbulence is thus uncomputable to smallest physical scales for $Re >10^6$ in any foreseeable future, but mean-value quantities such as drag and lift are computable today with desk top power, because of the nature of turbulent flow. Turbulent flow is thus in its details uncomputable but readily computable as concerns mean-values for large variety of problems of great practical interest.  This is very remarkable as an answer to a basic open problem in fluid mechanics.

    Further 2 reflects that it is not necessary to resolve thin no-slip boundary layers scaling with $Re^{-0.5}$ asking for $10^{13}$ mesh points, since slip does not generate any boundary layers and thus the above millions of mesh points suffice.  Specifically, main stream turbulence is not mainly generated from no-slip boundary layers as the core element of Prandtl's boundary layer theory dominating modern fluid mechanics making CFD into an impossibility. 

    Altogether 1 and 2 express the basic nature of turbulent flow, which makes it possible for Euler CFD as best possible solution to the Euler equations to serve as a quantitative ToE for slightly viscous flow meeting the NASA 2030 CFD Vision. Listen to the breakthroughs Parviz Moin believes (time 18.21) are needed to reach the Vision, which have now been reached by Euler CFD. 

    Note that Euler CFD can be seen as a form of Large Eddy Simulation LES with a turbulence model which is automatically generated from a principle of best possible solution to the Euler equations and slip as wall model.

    Note also that slip can be seen as the most basic and simple wall model expressing zero friction between fluid and wall as an expression of observed very small skin friction, to be compared with complex wall models supposed to capture thin turbulent boundary layers arising from no-slip asking for computational resolution beyond reach.      

     

    onsdag 13 juli 2022

    Euler CFD vs Cornerstone of Turbulence Theory

    The cornerstone of classical turbulence theory is that the rate of turbulent dissipation $\epsilon$ is independent of the Reynolds $Re =\frac{UL}{\nu}$ once big enough, where $U$ is typical large scale flow speed, $L$ typical large spatial scale and $\nu$ viscosity. The rationale is that turbulent dissipation occurs at the smallest spatial scale independent of the absolute size of the smallest scale. But the size of the turbulent dissipation varies with the large scale features of the flow. 

    More precisely, a smallest Kolmogorov spatial scale $dx\sim \nu^{0.75}$ with velocity fluctuation $du\sim \nu^{0.25}$ results from $\frac{dudx}{\nu}\sim 1$ and $\nu(\frac{du}{dx})^2\sim 1$ with thus $du\sim dx^\frac{1}{3}$ expressing Hölder continuity of turbulent flow with exponent $\frac{1}{3}$ as the Onsager conjecture.

    Euler CFD fits into this picture with turbulent dissipation from residual stabilisation of the form $C\frac{h}{\vert u\vert }R(u)^2$ with $R(u)$ the Euler equation residual and $h$ the mesh size with $C$ a stabilisation constant. Euler CFD can be seen as a best possible solution of the Euler equations in the balanced sense that $R(u)\sim h^{0.5}$ is small in a weak sense and also $hR(u)\sim h^{0.5}$ in a strong sense, with the same scaling of $du$ and $dx$ as above with $\nu = h$. The resort to best possible reflects that it is impossible to find physical solutions with residual $R(u)$ being small in a strong sense (because all exact solutions are unstable and thus nonphysical). 

    Euler CFD shows to deliver mean values quantities such as drag and lift on bluff body flow which are independent of mesh size once small enough and stabilisation parameter.  This gives evidence of turbulent dissipation being independent of effective Reynolds number, that is evidence of the cornerstone of turbulence theory. But Euler CFD also delivers the size of the turbulent dissipation from case to case depending on large scale flow features. Euler CFD thus can be seen as a quantitative parameter-free turbulence model while classical turbulence theory is only qualitative. 

    Recall from previous posts that observed independence of drag on Reynolds number once large enough directly connects to independence of turbulent dissipation. 

    An overview of the support of the cornerstone is given here. For DNS support see this. 

    Recall that the Taylor turbulent length scale $\sim Re^{-0.5}$ as the scale with significant turbulent dissipation, while the Kolmogorov smallest scale $\sim Re^{-0.75}$, which with 3 smallest scale modes per Taylor mode gives $Re^{0.25}\sim 3$, that is $Re\sim 100$ (in accordance with observation) as requirement for turbulence with Taylor microscale $\sim 10^{-1}$ resolved by mesh size $\sim 10^{-2}$. This indicates that Euler CFD with millions of mesh points can deliver drag and lift which do not change under mesh refinement (as observed). It connects to DNS for isotropic turbulence in a cube starting with a $32^3$ mesh with $128^3$ mesh reached by Kent in 1985 with $1024^3$ by Gotoh et al in 2000.

    Recall that residual stabilisation focusses dissipation to smallest scales and thus fits into the Kolmogorov picture of constancy of turbulent dissipation for large enough Reynolds numbers.  The scale invariance of turbulence dissipation reflects that the Euler equations are scale invariant. 

    måndag 11 juli 2022

    Why Euler CFD is a Zero-Cost Parameter Free ToE

    The fact that for slightly viscous incompressible bluff body flow with Reynolds number $Re>500.000$, Euler CFD with slip boundary condition (without boundary layers) serves as a parameter-free essentially zero-cost computational model without dependence on Reynolds number as a Theory of Everything ToE in the spirit of Einstein, depends on two key circumstances:

    1. Finite rate of turbulent dissipation effectively independent of $Re$ after transition to turbulence (e.g $Re >200$ in isotropic turbulence) (reference).
    2. Slip serving as effective boundary condition for $Re > 500.000$ (NACA0012 previous post).
    Here 1. reflects Kolmogorov's conjecture and means that a mesh size of around 1/200 of gross dimension is sufficient to capture turbulence. Further, 2. reflects that Euler CFD with slip can capture drag and lift with little dependence on $Re$ beyond drag crisis around $Re=500.000$.  

    Altogether, Euler CFD can capture drag and lift beyond drag crisis with a mesh size of around 1/200 of gross dimension thus at essentially zero computational cost (because no thin boundary layers have to be resolved). 

    The fact the drag and lift coefficients do not include dependence on $Re$ (with $Re =\frac{UL}{\nu}$,  $U$ typical flow speed, $L$ typical length scale and $\nu$ typical viscosity) and yet can serve as measures of drag and lift for $Re$ beyond drag crisis, gives observational evidence that indeed drag and lift have a very weak dependence on $Re$ beyond drag crisis, as shown in the previous post (see reference showing drag independence for $Re>10000$ for a collection of blunt bodies).  Also recall that drag and rate of turbulent dissipation balance, and so observed independence of drag beyond drag crisis supports 1.   

       

    måndag 4 juli 2022

    Euler CFD as Parameter Free CFD as ToE

    The Euler equations in velocity-pressure $(u,p)$ and $(x,t)$-coordinates are invariant under a rescaling of velocity $u$ into $\bar u =\frac{u}{U}$ with $U$ a reference speed such as free stream speed in bluff body flow with corresponding rescaling of pressure $p$ into $\bar p=\frac{p}{U^2}$ and time $t$ into $\bar t =Ut$ without rescaling of space with thus $\bar x = x$. The scaling of pressure with $U^2$ conforms with Bernoulli's Law and the scaling of drag force $\sim C_DU^2$ from a drag coefficient $C_D$. The propulsion power to balance drag thus scales with $U^3$. The Euler equations are thus formally invariant under change of velocity scale as an expression of formally zero viscosity or infinite Reynolds number.

    The basic energy estimate of Euler CFD expresses a balance between rate of loss of kinetic energy and computational residual-based turbulent dissipation of the basic simplified form $C\frac{h}{\vert u\vert}|\vert u\cdot\nabla u\vert^2$ both scaling with $u^3$. The propulsion power is balanced by the rate of loss of kinetic energy and so by turbulent dissipation. The drag coefficient can thus alternatively be computed from total turbulent dissipation.


    The (remarkable) fact that the drag coefficient $C_D$ does not include dependence of the Reynolds number $Re$, expresses observations that drag depends little on $Re$ beyond drag crisis, which connects to Kolmogorov's conjecture of finite limit of turbulent dissipation as well as mesh and stabilisation independence in computation. The functionality of the drag coefficient supports Euler's Dream that Euler CFD offers a Theory of Everything ToE for slightly viscous incompressible flow with independence of $Re$ beyond drag crisis. Since total drag shows little dependence on $Re$ while in principle it has a contribution from skin friction with a skin friction coefficient (scaling with $U^2$) decreasing with $Re$, the skin friction contribution appears to be small, in contradiction to a common conception of major contribution: If major drag indeed would come from skin friction, then drag would decrease with increasing $Re$, but it does not beyond drag crisis.


    Notice that the Navier-Stokes equations with constant viscosity $\nu$ with turbulent dissipation intensity $\nu\vert\nabla u\vert^2$ scaling with $u^2$, are not velocity scale invariant and thus carry a dependence on $Re$ possibly making computational solution impossible for large $Re$. 


    Recall that the definition of $Re =\frac{UL}{\nu}$ with $U$ a reference speed and $L$ a reference length and $\nu$ a viscosity is not well determined and so independence of mean value quantities such as drag, lift and pitch moment is a necessary requirement to make CFD predictable.


    Here is experimental evidence that $C_D$ for NACA0012 at zero angle of attack does not depend on $Re$ beyond drag crisis:



    Notice the reduction of $C_D$ by a factor 2 from $Re =100.00$ to $Re > 500.00$ as an expression of drag crisis.