Nusselt number¶
Heat transfer¶
To start, we define the heat transfer: surface-integrating the internal energy balance in the homogeneous directions yields
Assuming the flow field achieves a statistically-steady state
leads to
where the wall-normal differentiation and the homogeneous summations are interchanged, which is justified for rectilinear coordinates. We introduce
which is the internal energy going through a specific wall-normal position per unit time (heat transfer). Note that the sign is decided such that normal cases \(\vat{T}{\frac{1}{2}} > \vat{T}{\ngp{1} + \frac{1}{2}}\) give positive value.
The computation of the heat transfer on the walls \(\heattransfer\) are implemented as follows:
51 const double diffusivity = fluid_compute_temperature_diffusivity(fluid);
52 // on the bottom and top walls
53 double energies[2] = {0., 0.};
54 BEGIN
55 const double hx_xm = HXXF( 1);
56 const double hx_xp = HXXF(isize + 1);
57 const double jd_xm = JDXF( 1);
58 const double jd_xp = JDXF(isize + 1);
59#if NDIMS == 2
60 const double dt_xm = - T( 0, j) + T( 1, j);
61 const double dt_xp = - T(isize, j) + T(isize + 1, j);
62#else
63 const double dt_xm = - T( 0, j, k) + T( 1, j, k);
64 const double dt_xp = - T(isize, j, k) + T(isize + 1, j, k);
65#endif
66 energies[0] -= diffusivity * jd_xm / hx_xm / hx_xm * dt_xm;
67 energies[1] -= diffusivity * jd_xp / hx_xp / hx_xp * dt_xp;
68 END
69 const size_t nitems = sizeof(energies) / sizeof(energies[0]);
70 const void * sendbuf = root == myrank ? MPI_IN_PLACE : energies;
71 void * recvbuf = energies;
72 MPI_Reduce(sendbuf, recvbuf, nitems, MPI_DOUBLE, MPI_SUM, root, comm_cart);
By further integrating the differential equation in the wall-normal direction, we obtain
indicating that \(\heattransfer\) is constant for all wall-normal cell faces (\(\frac{1}{2}, \frac{3}{2}, \cdots, \ngp{1} - \frac{1}{2}, \ngp{1} + \frac{1}{2}\)).
Nusselt number¶
We focus on how much the heat transfer is enhanced compared to the reference case \(\heattransfer_{ref}\) if the flow fields were stationary with the given \(Ra\) and \(Pr\). For stationary flow fields, heat is purely conducted diffusively (i.e., \(\vel{1} \equiv 0\)), and the temperature profile is linear in the wall-normal direction:
and thus the reference heat transfer is given by
The Nusselt number is defined as the ratio of them:
As proved in the global balance of squared temperature, \(\heattransfer\) is linked to the source and sink of the squared temperature relation.
Squared Temperature¶
Now we revisit the relations derived in the global balance of squared temperature:
Due to the Dirichlet boundary condition with respect to the temperature, we can extract \(T\) out of summation symbols to obtain
Additionally, since we fix the temperature difference of the two walls
and \(\heattransfer\) is equal at every wall-normal cell faces
we notice
and of course
Squared Velocity¶
Integrating the definition of heat transfer in the wall-normal direction yields
The left-hand side is equal to \(\heattransfer\) since \(\sumxc \sfact{1} \equiv 1\) (recall that we assume the wall-normal length of the domain is unity). The second term in the right-hand side leads to
since \(J / \sfact{1}\) is independent to the homogeneous directions.
Thus we notice that
which relates the Nusselt number with the squared velocity relations.