# [Physics] Unclear how heat interacts with Navier Stokes

fluid dynamicsheatnavier-stokes;

I am playing around with an Navier stokes solver and I'm having trouble introducing heat.

Am I right in thinking this would be introduced in the ${\bf f}$ term of ${\partial{\bf u}\over\partial t} = -({\bf u}\cdot\nabla){\bf u}+v\nabla^2{\bf u}+{\bf f}$?

I find the lack of mass term disturbing. Please reassure me!

Also, how do I calculate the force vector, given that I have computed the scalar $dQ\over dt$ from Newton's law of cooling? Or is that the wrong approach?

The Navier-Stokes equation to which you refer is more generally the first moment of velocity of the Boltzmann equation. In order to get a proper connection to heating, you need a second-velocity-moment Navier-Stokes equation. The Boltzmann equation keeps track of distributions of particles. This changes the question from "What is the density and flow of a fluid at a point $\mathbf{x}$ at a time $t$?" to "What is the probability of finding a particle between $\mathbf{x}$ and $\mathbf{x}+\mathrm{d}\mathbf{x}$, with a velocity between $\mathbf{v}$ and $\mathbf{v}+\mathrm{d}\mathbf{v}$, at time $t$?" A nice transition between the two formalisms is discussed in these notes (although they include gravity as an external force the way plasma physicists include the Lorentz force... just imagine the equations without those terms for a plain fluid, keeping only the collisonal term).

It's worth noting that each moment depends on a term from the next higher moment ($d\rho/d t$ depends on $\mathbf{u}$, $d\mathbf{u}/d t$ depends on $\overleftrightarrow{P}$, $d E/d t$ (which is the same moment as $\overleftrightarrow{P}$) depends on the heat conduction, which is a 3rd order moment... Any equation that cuts off has to assume some kind of closure method. For example, to close at first order, you might assume that the pressure is isotropic. Or to close at second order, you might assume that the conduction is infinite (compared to the timescales of interest).

To answer your specific question, volumetric heating can result in a change in pressure, but you need an equation of state linking pressure, temperature and density. (Heating steam will have a very different response from heating water.) The modified pressure term can in turn couple to the first velocity moment (the Navier-Stokes equation you have written).