2.1. Mathematical Model
In conjugate heat transfer problems, the numerical simulation area is divided into solid and fluid substance subareas (
Figure 1).
We consider a mathematical model, in which the subarea (
Figure 1) is a laminar incompressible fluid having a constant thermal conductivity coefficient, with heat sources (including dissipative ones) being absent. Taking into account the above assumptions, the heat transfer equation for a subarea written with respect to the temperature takes the following form:
where ρ
F—fluid density,
CF—fluid heat capacity,
u—fluid phase velocity vector,
kF—fluid thermal conductivity coefficient, and
t—time.
In Equation (1), the fluid phase velocity vector
u is determined by solving the Navier–Stokes equation system—for example, by the well-known SIMPLE algorithm [
19,
20,
21]; meanwhile, a no-slip boundary condition on the side of the fluid is accepted on the interface boundary.
Subarea
S (
Figure 1) is a fixed solid body with a constant thermal conductivity coefficient without heat sources. Taking into account the above assumptions, the heat transfer equation for subarea
S, written with respect to the temperature, takes the following form:
where ρ
S—solid body density,
CS—solid body thermal capacity,
kS—solid body thermal conductivity coefficient, and
t—time.
A necessary condition of coupling Equations (1) and (2) is following the energy conservation law, i.e., thermal flows equality on the fluid and solid body boundary:
where
qF—thermal flow on the side of fluid and
qS—thermal flow on the side of the solid body.
Finite-volume discretization of the direct coupling method is considered by the example of heat transfer discretization (Equations (1) and (2)), considering coupling condition (3) for matched grids on the interface boundary, which form a consistent interface. As an example, we examine the modeling region, comprising two control volumes of the fluid and solid substance, respectively (
Figure 2).
In general, the complete form of discrete analogs of differential heat transfer (Equations (1) and (2)) for cells
P and
N (
Figure 2), with the transient term approximated by the Euler implicit scheme [
22], is determined by the following expressions:
where
TP,
TN—temperature values in
P and
N cell centers at the current time step,
,
—temperature values in
P and
N cell centers at the previous time step,
ConvP—convective term for cell
P at the current time step, and
DP,
DN—diffusive terms for cells
P and
N at the current time step.
The diffusive terms
DP and
DN in (4) and (5) at the current time step are determined by the following expressions:
where
Sf—area vector with its normal orientation toward the face
f,
Sf—face area
f,
Tf—temperature in the face center
f at the current time step,
Tf—temperature gradient on the face
f at the current time step,
kf—thermal conductivity coefficient on interface faces,
f =
face(
Pinner,
Pbound)—summing over all internal and external faces, constraining cell
P,
f =
face(
Pinterface)—summing over all interface faces of the
P cell,
f =
face(
Ninner,
Nbound)—summing over all internal and external faces, constraining the
N cell, and
f =
face(
Ninterface)—summing over all interface faces of the
N cell.
The temperature gradient on internal and interface faces for arbitrary unstructured grids, considering a correction for nonorthogonality [
23] at the
n-th iteration of the current time step, is determined by the following expression:
where
Ai and
Aj—adjacent cells over the face
f,
—
Ai and
Aj cells center-to-center vector (
Figure 2),
,
—temperature value in adjacent cells centers at the
n iteration, and
= λ
f + (1 − λ
f)
—interpolated temperature value on the
f face at the
n − 1 iteration.
Temperature gradient values in the centers of cells can be calculated by the Green–Gauss algorithm [
20]:
In the convective term of the discrete analog of the differential heat transfer equation in subarea
F (4) on the interface faces, featuring a coupling boundary, a no-slip boundary condition is accepted. As a result, all velocity components
uf on the interface faces in subarea
F are zeros, and the convective term of the discrete analog of the differential heat transfer equation for cell
P at the current time step takes the following form:
where
uf—velocity in the face center
f at the current time step,
Tf—temperature on the face
f at the current time step, and
f =
face(
Pinner,
Pbound)—summing over all internal and external faces constraining cell
P.
The values of the unknown variables
Tf and
uf in expression (10) for external faces are determined by calculation model boundary conditions, whereas for internal faces, they can be calculated by any well-known approximation scheme [
20]. For example, when approximation scheme CD is used, the values of the variables
Tf and
uf on internal faces are determined by the weighted interpolation method:
where
Ai and
Aj—adjacent cells over the internal face
f, λ
f—geometric interpolation coefficient value for the face
f,
,
—temperature values in adjacent
Ai and
Aj cells’ centers at the current time step, and
,
—velocities in adjacent
Ai and
Aj cells’ centers at the current time step.
Geometric interpolation coefficient value λ
f for cells
Ai and
Aj over the face
f (
Figure 2) is determined by the following expression:
where
and
—vectors constructed between the centers of the
Ai and
Aj cells and the face
f (
Figure 2).
For the adjacent cells
P and
N over the interface (
Figure 2), taking into consideration (3) and the temperature match
Tf on the interface faces, the expression for thermal flows can be written as follows:
where
kf—thermal conductivity coefficient on the interface face
f,
qP,
qN—thermal flows on the side of cells
P and
N,
TP and
TN—temperature values in
P and
N cells’ centers, and
dPN—vector, constructed between
P and
N cells’ centers (
Figure 2).
When calculating the average coefficient value
kf on the interface faces, differences in the thermal conductivity coefficients and geometric parameters of cells in the coupling area should be taken into consideration. In the case of media coupling with significantly different thermophysical properties, common methods of interpolating thermal conductivity on faces in the coupling area, such as geometric mean or arithmetic mean averaging, can cause excessive error, and their application is limited by slight changes in coefficients of fluid and solid body thermal conductivity. As shown in [
24,
25,
26], the most accurate and universal method, which takes into consideration thermal–physical property differences and the coupling media grid model nonuniformity, is the harmonic-average method of calculating the thermal conductivity coefficient considering the grid model nonuniformity:
where
kF and
kS—thermal conductivity coefficients of fluid and solid substances, respectively, and λ
f—geometric interpolation coefficient value for the interface face
f (13).
Equation (14) allows for simultaneously solving the system of Equations (1) and (2), taking the same approach to thermal conductivity equation discretization on the side of both the fluid and solid body.
The finite-volume discretization of thermal conductivity Equations (1) and (2) considering (14) will result in a general system of algebraic equations, solved simultaneously in fluid and solid body subareas. For instance, for an arbitrary cell
P (
Figure 2), the following equation is composed:
where
aP—diagonal coefficient of cell
P,
aPN—off-diagonal coefficient determining the connection between cell
P and cell
N over the matched interface faces in the fluid and solid body coupling area,
ai—off-diagonal coefficients determining the connection of cell
P with cells of the calculated subarea
F over the common (internal) faces,
bP—the right side, and
i =
nb(
P)—summing over all adjacent cells
i with common faces with cell
P.
As a result, for a grid model comprising the two matched calculated subareas
F and
S (
Figure 3), SLAE (17) is formed, which can be solved by one of the methods detailed in [
20,
27,
28].
where
,
i[1…
N]—diagonal coefficients of cells in subarea
F,
,
i[1…
N]—diagonal coefficients of cells in subarea
S,
—off-diagonal coefficients determining the connection between cells
Fi and
Si over the interface faces, (
T)—vector of sought temperatures in the cell centers, and (
b)—the right-side vector.
For simplification purposes, SLAE (17) does not show off-diagonal coefficients, determining the connection of cells over internal faces. Further, we write the matrix SLAE (17) coefficients’ form at the n-th iteration of the current time step, disregarding boundary conditions.
The form of SLAE (17) diagonal coefficients for cells of subarea
F is:
Term
in (18) is formed due to cell
Fi being adjacent to cells of subarea
F over the internal face
f:
where
f =
face(
)—summing over all internal faces of cell
Fi, and
Fj—cell adjacent to cell
Fi over the internal face
f.
Term
in (18) is formed due to cell
Fi being adjacent to cells of subarea
S over interface faces
f:
where
f =
face(
)—summing over all interface faces of cell
Fi, and
Si—cell adjacent to cell
Fi over the interface face
f.
The form of SLAE (17) diagonal coefficients for cells of subarea
S is:
Term
in (21) is formed due to cell
Si being adjacent to cells of subarea
S over internal faces
f:
where
Si—cell adjacent to cell
Sj over the internal face
f.
Term
is formed due to cell
Si being adjacent to cell
Fi over interface faces
f:
The form of SLAE (17) off-diagonal coefficients determining the connection between cells in subarea
F over internal faces
f is:
The form of SLAE (17) off-diagonal coefficients determining the connection of cells from subarea
F with cells of subarea
S over interface faces
f is:
The form of SLAE (17) off-diagonal coefficients determining the connection between cells of subarea
S over internal faces
f is:
The form of SLAE (17) right-hand side coefficients for cells of subarea
F is:
where the terms
и
have the following form:
The form of SLAE (17) right-hand side coefficients for cells of subarea
S is:
where terms
и
have the following form:
The direct method described can be applied to calculate conjugate heat transfer problems on models of any dimension. However, the application of the described discretization algorithm of the original Equations (1) and (2) considering (3) is possible only on the models containing matched grids on adjacent boundaries of fluid and solid body subareas. This limitation considerably complicates this method’s applicability in solving most conjugate heat transfer industrial-type problems, their grid models generally consisting of unmatched grid segments, which are independently built for fluid areas and for solid body constructions. In order to solve such problems, it is necessary to ensure that thermal flows match on the unmatched interface boundary with consideration of adjacent cells. Next, a way to modify the direct coupling method is presented, considering the discretization features of Equations (1) and (2) as well as providing conservative thermal flows matching on the unmatched boundaries’ area of fluid and solid body coupling.
2.2. Direct Coupling Method of Fluid and Solid Body Unmatched Subareas
Let us consider a mathematical model of a conjugate heat transfer problem, in which the numerical simulation region consists of unmatched grid segments, featuring calculated subareas of fluid
F and solid body
S, their adjacent boundaries forming an inconsistent (unmatched) interface (
Figure 4). Unmatched interfaces mean adjacent boundaries of unmatched grid segments, the number and position of points and edges on them generally being mismatched.
For coupling unmatched interfaces, the set of initial faces, which are part of an inconsistent interface, is substituted for a set of virtual faces, forming a matched virtual interface. The virtual faces’ geometrical parameters are determined as a result of successively projecting the initial interface faces of subarea
F onto all initial interface faces of subarea
S. In order to determine the points’ coordinates, formed as a result of face intersection, any algorithm of polygons’ intersections can be applied [
29]. The obtained set of virtual faces forms a pair of matched virtual boundaries, through which the connection between cells of unmatched adjacent grid subareas is established (
Figure 4).
In general, a virtual interface consists of a set of internal and external virtual faces (
Figure 5). Internal virtual faces form the connection between adjacent cells on the interface boundaries. External virtual faces without any connection with cells on the adjacent interface boundary should be processed according to selected boundary conditions.
Finite-volume discretization of the direct coupling method is considered by the example of heat transfer equations discretization (1) and (2) considering coupling condition (3) for the case of unmatched grids on the interface boundary, featuring an inconsistent (unmatched) interface. As an example of an unmatched interface, we examine a calculating area, comprising one control volume of fluid subarea
F, adjacent with several control volumes of solid body subarea
S (
Figure 6).
As in the case of a matched interface, on interface faces in subarea F, featuring the boundary, a no-slip boundary condition is assumed, and a convective term of a discrete analog of a differential heat transfer equation for cell P (4) at the current time step is determined by expression (10).
Further, we examine the diffusive terms modification (6) and (7) of discrete analogs of differential heat transfer equations for subarea
F and subarea
S on an unmatched interface, considering the transition from initial faces to virtual ones (
Figure 6).
A discrete analog of diffusive component (6) for cell
P when transferring from initial faces to virtual ones is written as follows:
where
—scalar quantity gradient value on the virtual face
fv,
—thermal conductivity coefficient on the virtual face
fv, and
—virtual face area
fv, normally oriented toward the initial face
f.
A discrete analog of diffusive component (7) for cell
N when transferring from initial faces to virtual ones will be written as follows:
The thermal conductivity coefficient value on virtual faces
is calculated by analogy with (15).
where
—geometric interpolation coefficient value for cell
P, adjacent to cell
Nv over the virtual face
fv (
Figure 6), which is determined by the following expression:
The gradient value
on the virtual face
fv, formed between the adjacent cells
P and
Nv (
Figure 6), considering nonorthogonal correction at
n-th iteration of the current time step, equals:
where
,
—temperature value in adjacent cells centers at the
n iteration,
—
P and
Nv cells’ center-to-center vector (
Figure 6), and
—interpolated temperature gradient value on the virtual face
fv, obtained at the previous iteration.
The temperature gradient value
in the cell center
P, positioned on an unmatched interface (
Figure 6), is calculated by the Green–Gauss algorithm:
where
—averaged temperature value on the interface face
f.
For the cell
Nv, which is positioned on an unmatched interface (
Figure 6), the temperature gradient value
is found by analogy with (38).
As a result of the above transformations of diffusive components into discrete analogs (7) and (8), the terms, considering the connection of adjacent cells over virtual faces, are added to each cell, which is positioned on an unmatched interface (
Figure 6).
In general, for a grid model consisting of two unmatched calculated subareas
F and
S (
Figure 7), SLAE (39) is formed, which can be solved by one of the methods specified in [
20,
27,
28].
where
,
i[1…
N]—diagonal coefficients of cells in subarea
F,
,
j[1…
M]—diagonal coefficients of cells in subarea
S,
—off-diagonal coefficients determining the connection between cells
Fi and
Sj over virtual faces, (
T)—vector of sought temperatures in the cells’ centers, and (
b)—the right-side vector.
For simplification purposes, a system of Equations (39) does not show off-diagonal coefficients, determining the connection of cells over internal faces. Next, we write the form of matrix SLAE (39) coefficients at the n-th iteration of the current time step, disregarding boundary conditions.
The form of SLAE (39) diagonal coefficients for cells of subarea
F is:
Term
in (40) is formed due to cell
Fi being adjacent to cells of subarea
F over internal faces
f, similarly to (19). Term
is formed due to cell
Fi being adjacent to cells of subarea
S over virtual faces
fv:
The form of SLAE (39) diagonal coefficients for cells of subarea
S is:
Term
in (42) is formed due to cell
Si being adjacent to cells of subarea
S over internal faces
f, similarly to (22). Term
is formed due to cell
Si being adjacent to cells of subarea
F over virtual faces
fv:
SLAE (39) off-diagonal coefficients
, determining the connection between cells in subarea
F over internal faces
f, are formed by analogy with (24). The form of SLAE (39) off-diagonal coefficients, determining the connection of cells in subarea
F with cells in subarea
S over virtual faces
fv, is the following:
SLAE (39) off-diagonal coefficients, determining the connection between cells in subarea S over internal faces f, are formed by analogy with (26).
The form of SLAE (39) right-hand side coefficients for cells of subarea
F is:
where term
is formed by analogy with (28), while term
is written as:
The form of SLAE (39) right-hand side coefficients for cells of subarea
S is:
where term
is formed by analogy with (31), while term
is written as:
The described direct coupling method allows for the simultaneous discretization of heat transfer equations for fluid and solid body subareas as well as building a uniform “coupled” SLAE relative to the temperature variable on grid models, containing unmatched boundaries in the fluid and solid body coupling area. The resulting virtual interface provides conservatism and conserves the total energy across planar and curved interfaces, because the heat flux flowing out of one side of the interface will always be equal to the heat flux flowing in from the opposite side of the interface. Curvilinear interfaces can affect the accuracy of the calculation of the effective area, which affects the heat transfer coefficient and is most pronounced in non-stationary problems. The method does not require the initial grid modification and allows for matching thermal flows on unmatched interface boundaries, considering the adjacent cells’ connection over the set of virtual faces, thus forming additional terms in the SLAE calculation model. The method application considerably enhances the ability to calculate conjugate heat transfer industrial-type problems, their grid models consisting of a set of unmatched segments containing fluid flow and solid body subareas.
The described method was realized on the basis of the national software suite LOGOS, aimed at modeling 3D problems of computational hydrodynamics, aerodynamics and heat transfer [
30,
31,
32]. The method efficiency is shown by examples of the numerical simulation of conjugate heat transfer problems [
33,
34], their grid models built of unstructured, unmatched segments.