Post · 16 min read· pp. 256–265

Governing Equations in SU2

This page contains a very brief summary of the different governing equation sets that are treated in each of the solvers within SU2. The reader will be referred to other references in some instances for the full detail of the numerical implementations, but the approaches are also described at a high level here.



Compressible Navier-Stokes

SolverVersion
NAVIER_STOKES, RANS, FEM_NAVIER_STOKES7.0.0

SU2 solves the compressible Navier-Stokes equations expressed in differential form as

R(U)=∂U∂t+∇⋅Fˉc(U)−∇⋅Fˉv(U,∇U)−S=0\mathcal{R}(U) = \frac{\partial U}{\partial t} + \nabla \cdot \bar{F}^{c}(U) - \nabla \cdot \bar{F}^{v}(U,\nabla U) - S = 0

where the conservative variables are the working variables and given by

U={ρ,ρvˉ,ρE}TU = \left \{ \rho, \rho \bar{v}, \rho E \right \}^\mathsf{T}

SS is a generic source term, and the convective and viscous fluxes are

Fˉc={ρvˉρvˉ⊗vˉ+IˉˉpρEvˉ+pvˉ}\bar{F}^{c} = \left \{ \begin{array}{c} \rho \bar{v} \\ \rho \bar{v} \otimes \bar{v} + \bar{\bar{I}} p \\ \rho E \bar{v} + p \bar{v} \end{array} \right \}

and

Fˉv={⋅τˉˉτˉˉ⋅vˉ+κ∇T}\bar{F}^{v} = \left \{ \begin{array}{c} \cdot \\ \bar{\bar{\tau}} \\ \bar{\bar{\tau}} \cdot \bar{v} + \kappa \nabla T \end{array} \right \}

where ρ\rho is the fluid density, vˉ={u,v,w}T\bar{v}=\left\lbrace u, v, w \right\rbrace^\mathsf{T} ∈\in R3\mathbb{R}^3 is the flow speed in Cartesian system of reference, EE is the total energy per unit mass, pp is the static pressure, τˉˉ\bar{\bar{\tau}} is the viscous stress tensor, TT is the temperature, κ\kappa is the thermal conductivity, and μ\mu is the viscosity. The viscous stress tensor can be expressed in vector notation as

τˉˉ=μ(∇vˉ+∇vˉT)−μ23Iˉˉ(∇⋅vˉ)\bar{\bar{\tau}}= \mu \left ( \nabla \bar{v} + \nabla \bar{v}^{T} \right ) - \mu \frac{2}{3} \bar{\bar I} \left ( \nabla \cdot \bar{v} \right )

Assuming a perfect gas with a ratio of specific heats γ\gamma and specific gas constant RR, one can close the system by determining pressure from p=(γ−1)ρ[E−0.5(vˉ⋅vˉ)]p = (\gamma-1) \rho \left [ E - 0.5(\bar{v} \cdot \bar{v} ) \right ] and temperature from the ideal gas equation of state T=p/(ρR)T = p/(\rho R). Conductivity can be a constant, or we assume a constant Prandtl number PrPr such that the conductivity varies with viscosity as κ=μcp/Pr\kappa = \mu c_p / Pr.

It is also possible to model non-ideal fluids within SU2 using more advanced fluid models that are available, but this is not discussed here. Please see the tutorial on the topic.

For laminar flows, μ\mu is simply the dynamic viscosity μd\mu_{d}, which can be constant or assumed to satisfy Sutherland’s law as a function of temperature alone, and PrPr is the dynamic Prandtl number PrdPr_d. For turbulent flows, we solve the Reynolds-averaged Navier-Stokes (RANS) equations. In accord with the standard approach to turbulence modeling based upon the Boussinesq hypothesis, which states that the effect of turbulence can be represented as an increased viscosity, the viscosity is divided into dynamic and turbulent components, or μd\mu_{d} and μt\mu_{t}, respectively. Therefore, the effective viscosity in becomes

μ=μd+μt\mu =\mu_{d}+\mu_{t}

Similarly, the thermal conductivity in the energy equation becomes an effective thermal conductivity written as

κ=μd cpPrd+μt cpPrt\kappa =\frac{\mu_{d} \, c_p}{Pr_{d}}+\frac{\mu_{t} \, c_p}{Pr_{t}}

where we have introduced a turbulent Prandtl number PrtPr_t. The turbulent viscosity μt\mu_{t} is obtained from a suitable turbulence model involving the mean flow state UU and a set of new variables for the turbulence.

Within the NAVIER_STOKES and RANS solvers, we discretize the equations in space using a finite volume method (FVM) with a standard edge-based data structure on a dual grid with vertex-based schemes. The convective and viscous fluxes are evaluated at the midpoint of an edge. In the FEM_NAVIER_STOKES solver, we discretize the equations in space with a nodal Discontinuous Galerkin (DG) finite element method (FEM) with high-order (> 2nd-order) capability.


Compressible Euler

SolverVersion
EULER, FEM_EULER7.0.0

SU2 solves the compressible Euler equations, which can be obtained as a simplification of the compressible Navier-Stokes equations in the absence of viscosity and thermal conductivity. They can be expressed in differential form as

R(U)=∂U∂t+∇⋅Fˉc(U)−S=0\mathcal{R}(U) = \frac{\partial U}{\partial t} + \nabla \cdot \bar{F}^{c}(U) - S = 0

where the conservative variables are the working variables and are given by

U={ρ,ρvˉ,ρE}TU = \left \{ \rho, \rho \bar{v}, \rho E \right \}^\mathsf{T}

SS is a generic source term, and the convective flux is

Fˉc={ρvˉρvˉ⊗vˉ+IˉˉpρEvˉ+pvˉ}\bar{F}^{c} = \left \{ \begin{array}{c} \rho \bar{v} \\ \rho \bar{v} \otimes \bar{v} + \bar{\bar{I}} p \\ \rho E \bar{v} + p \bar{v} \end{array} \right \}

where ρ\rho is the fluid density, vˉ={u,v,w}T\bar{v}=\left\lbrace u, v, w \right\rbrace^\mathsf{T} ∈\in R3\mathbb{R}^3 is the flow speed in Cartesian system of reference, EE is the total energy per unit mass, pp is the static pressure, and TT is the temperature. Assuming a perfect gas with a ratio of specific heats γ\gamma and gas constant RR, one can close the system by determining pressure from p=(γ−1)ρ[E−0.5(vˉ⋅vˉ)]p = (\gamma-1) \rho \left [ E - 0.5(\bar{v} \cdot \bar{v} ) \right ] and temperature from the ideal gas equation of state T=p/(ρR)T = p/(\rho R).

Within the EULER solvers, we discretize the equations in space using a finite volume method (FVM) with a standard edge-based data structure on a dual grid with vertex-based schemes. The convective and viscous fluxes are evaluated at the midpoint of an edge. In the FEM_EULER solver, we discretize the equations in space with a nodal Discontinuous Galerkin (DG) finite element method (FEM) with high-order (> 2nd-order) capability.


Thermochemical Nonequilibrium Navier-Stokes

SolverVersion
NEMO_NAVIER_STOKES7.0.0

To simulate hypersonic flows in thermochemical nonequilibrium, SU2-NEMO solves the Navier-Stokes equations for reacting flows, expressed in differential form as

R(U)=∂U∂t+∇⋅Fˉc(U)−∇⋅Fˉv(U,∇U)−S=0\mathcal{R}(U) = \frac{\partial U}{\partial t} + \nabla \cdot \bar{F}^{c}(U) - \nabla \cdot \bar{F}^{v}(U,\nabla U) - S = 0

where the conservative variables are the working variables and given by

U={ρ1,…,ρns,ρvˉ,ρE,ρEve}TU = \left \{ \rho_{1}, \dots, \rho_{n_s}, \rho \bar{v}, \rho E, \rho E_{ve} \right \}^\mathsf{T}

SS is a source term composed of

S={w˙1,…,w˙ns,0,0,θ˙tr:ve+∑sw˙sEve,s}TS = \left \{ \dot{w}_{1}, \dots, \dot{w}_{n_s}, \mathbf{0}, 0, \dot{\theta}_{tr:ve} + \sum_s \dot{w}_s E_{ve,s} \right \}^\mathsf{T}

and the convective and viscous fluxes are

Fˉc={ρ1vˉ⋮ρnsvˉρvˉ⊗vˉ+IˉˉpρEvˉ+pvˉρEvevˉ}\bar{F}^{c} = \left \{ \begin{array}{c} \rho_{1} \bar{v} \\ \vdots \\ \rho_{n_s} \bar{v} \\ \rho \bar{v} \otimes \bar{v} + \bar{\bar{I}} p \\ \rho E \bar{v} + p \bar{v} \\ \rho E_{ve} \bar{v} \end{array} \right \}

and

Fˉv={−Jˉ1⋮−Jˉnsτˉˉτˉˉ⋅vˉ+∑kκk∇Tk−∑sJˉshsκve∇Tve−∑sJˉsEve}\bar{F}^{v} = \left \{ \begin{array}{c} \\- \bar{J}_1 \\ \vdots \\ - \bar{J}_{n_s} \\ \bar{\bar{\tau}} \\ \bar{\bar{\tau}} \cdot \bar{v} + \sum_k \kappa_k \nabla T_k - \sum_s \bar{J}_s h_s \\ \kappa_{ve} \nabla T_{ve} - \sum_s \bar{J}_s E_{ve} \end{array} \right \}

In the equations above, the notation is is largely the same as for the compressible Navier-Stokes equations. An individual mass conservation equation is introduced for each chemical species, indexed by s∈{1,…,ns}s \in \{1,\dots,n_s\}. Each conservation equation has an associated source term, w˙s\dot{w}_{s} associated with the volumetric production rate of species ss due to chemical reactions occuring within the flow.

Chemical production rates are given by w˙s=Ms∑r(βs,r−αs,r)(Rrf−Rrb)\dot{w}_s = M_s \sum_r (\beta_{s,r} - \alpha_{s,r})(R_{r}^{f} - R_{r}^{b})

where the forward and backward reaction rates are computed using an Arrhenius formulation.

A two-temperature thermodynamic model is employed to model nonequilibrium between the translational-rotational and vibrational-electronic energy modes. As such, a separate energy equation is used to model vibrational-electronic energy transport. A source term associated with the relaxation of vibrational-electronic energy modes is modeled using a Landau-Teller formulation θ˙tr:ve=∑sρsdEve,sdt=∑sρsEve∗,s−Eve,sτs.\dot{\theta}_{tr:ve} = \sum _s \rho_s \frac{dE_{ve,s}}{dt} = \sum _s \rho_s \frac{E_{ve*,s} - E_{ve,s}}{\tau_s}.

Transport properties for the multi-component mixture are evaluated using a Wilkes-Blottner-Eucken formulation.


Thermochemical Nonequilibrium Euler

SolverVersion
NEMO_EULER7.0.0

To simulate inviscid hypersonic flows in thermochemical nonequilibrium, SU2-NEMO solves the Euler equations for reacting flows which can be obtained as a simplification of the thermochemical nonequilibrium Navier-Stokes equations in the absence of viscous effects. They can be expressed in differential form as

R(U)=∂U∂t+∇⋅Fˉc(U)−S=0\mathcal{R}(U) = \frac{\partial U}{\partial t} + \nabla \cdot \bar{F}^{c}(U) - S = 0

where the conservative variables are the working variables and given by

U={ρ1,…,ρns,ρvˉ,ρE,ρEve}TU = \left \{ \rho_{1}, \dots, \rho_{n_s}, \rho \bar{v}, \rho E, \rho E_{ve} \right \}^\mathsf{T}

SS is a source term composed of

S={w˙1,…,w˙ns,0,0,θ˙tr:ve+∑sw˙sEve,s}TS = \left \{ \dot{w}_{1}, \dots, \dot{w}_{n_s}, \mathbf{0}, 0, \dot{\theta}_{tr:ve} + \sum_s \dot{w}_s E_{ve,s} \right \}^\mathsf{T}

and the convective and viscous fluxes are

Fˉc={ρ1vˉ⋮ρnsvˉρvˉ⊗vˉ+IˉˉpρEvˉ+pvˉρEvevˉ}\bar{F}^{c} = \left \{ \begin{array}{c} \rho_{1} \bar{v} \\ \vdots \\ \rho_{n_s} \bar{v} \\ \rho \bar{v} \otimes \bar{v} + \bar{\bar{I}} p \\ \rho E \bar{v} + p \bar{v} \\ \rho E_{ve} \bar{v} \end{array} \right \}

Incompressible Navier-Stokes

SolverVersion
INC_NAVIER_STOKES, INC_RANS7.0.0

SU2 solves the incompressible Navier-Stokes equations in a general form allowing for variable density due to heat transfer through the low-Mach approximation (or incompressible ideal gas formulation). The reader is referred to this paper for extended details on the incompressible Navier-Stokes and Euler solvers in SU2. The equations can be expressed in differential form as

R(V)=∂V∂t+∇⋅Fˉc(V)−∇⋅Fˉv(V,∇V)−S=0\mathcal{R}(V) = \frac{\partial V}{\partial t} + \nabla \cdot \bar{F}^{c}(V) - \nabla \cdot \bar{F}^{v}(V,\nabla V) - S = 0

where the conservative variables are given by

U={ρ,ρvˉ,ρcpT}TU=\left\lbrace \rho, \rho\bar{v},\rho c_{p} T \right\rbrace ^\mathsf{T}

but the working variables within the solver are the primitives given by

V={p,vˉ,T}TV = \left \{ p, \bar{v}, T \right \}^\mathsf{T}

SS is a generic source term, and the convective and viscous fluxes are

Fˉc(V)={ρvˉρvˉ⊗vˉ+Iˉˉpρcp Tvˉ}\bar{F}^{c}(V) = \left\{\begin{array}{c} \rho \bar{v} \\ \rho \bar{v} \otimes \bar{v} + \bar{\bar{I}} p \\ \rho c_{p} \, T \bar{v} \end{array} \right\}
Fˉv(V,∇V)={⋅τˉˉκ∇T}\bar{F}^{v}(V,\nabla V) = \left\{\begin{array}{c} \cdot \\ \bar{\bar{\tau}} \\ \kappa \nabla T \end{array} \right\}

where ρ\rho is the fluid density, vˉ={u,v,w}T\bar{v}=\left\lbrace u, v, w \right\rbrace^\mathsf{T} ∈\in R3\mathbb{R}^3 is the flow speed in Cartesian system of reference, pp is the pressure, τˉˉ\bar{\bar{\tau}} is the viscous stress tensor, TT is the temperature, κ\kappa is the thermal conductivity, and μ\mu is the viscosity. The viscous stress tensor can be expressed in vector notation as

τˉˉ=μ(∇vˉ+∇vˉT)−μ23Iˉˉ(∇⋅vˉ)\bar{\bar{\tau}}= \mu \left ( \nabla \bar{v} + \nabla \bar{v}^{T} \right ) - \mu \frac{2}{3} \bar{\bar I} \left ( \nabla \cdot \bar{v} \right )

In the low-Mach form of the equations, the pressure is decomposed into thermodynamic and dynamic components. pp is interpreted as the dynamic pressure in the governing equations, and pop_o is the thermodynamic (operating) pressure, which is constant in space. The system is now closed with an equation of state for the density that is a function of temperature alone ρ=ρ(T)\rho = \rho(T). Assuming an ideal gas with a specific gas constant RR, one can determine the density from ρ=poRT\rho = \frac{p_o}{R T}.

Conductivity can be a constant, or we assume a constant Prandtl number PrPr such that the conductivity varies with viscosity as κ=μcp/Pr\kappa = \mu c_p / Pr. For laminar flows, μ\mu is simply the dynamic viscosity μd\mu_{d}, which can be constant or assumed to satisfy Sutherland’s law as a function of temperature alone, and PrPr is the dynamic Prandtl number PrdPr_d. For turbulent flows, we solve the incompressible Reynolds-averaged Navier-Stokes (RANS) equations. In accord with the standard approach to turbulence modeling based upon the Boussinesq hypothesis, which states that the effect of turbulence can be represented as an increased viscosity, the viscosity is divided into dynamic and turbulent components, or μd\mu_{d} and μt\mu_{t}, respectively. Therefore, the effective viscosity in becomes

μ=μd+μt\mu =\mu_{d}+\mu_{t}

Similarly, the thermal conductivity in the energy equation becomes an effective thermal conductivity written as

κ=μd cpPrd+μt cpPrt\kappa =\frac{\mu_{d} \, c_p}{Pr_{d}}+\frac{\mu_{t} \, c_p}{Pr_{t}}

where we have introduced a turbulent Prandtl number PrtPr_t. The turbulent viscosity μt\mu_{t} is obtained from a suitable turbulence model involving the mean flow state UU and a set of new variables for the turbulence.

The governing equation set in the general form above is very flexible for handling a number of variations in the modeling assumptions, from constant density inviscid flows up to variable density turbulent flows with a two-way coupled energy equation and temperature-dependent transport coefficients. Natural convection and 2D axisymmetric problems can be treated in a straightforward manner with the addition of source terms.

Within the INC_NAVIER_STOKES and INC_RANS solvers, we discretize the equations in space using a finite volume method (FVM) with a standard edge-based data structure on a dual grid with vertex-based schemes. The convective and viscous fluxes are evaluated at the midpoint of an edge. We apply a density-based scheme that is a generalization of artificial compressibility in order to achieve pressure-velocity coupling and solve the incompressible equations in a fully coupled manner.


Incompressible Euler

SolverVersion
INC_EULER7.0.0

SU2 solves the incompressible Euler equations as a simplification of the low-Mach formulation above in the absence of viscosity and thermal conductivity (no energy equation is required). The equations can be expressed in differential form as

R(V)=∂V∂t+∇⋅Fˉc(V)−S=0\mathcal{R}(V) = \frac{\partial V}{\partial t} + \nabla \cdot \bar{F}^{c}(V) - S = 0

where the conservative variables are given by

U={ρ,ρvˉ}TU=\left\lbrace \rho, \rho\bar{v} \right\rbrace ^\mathsf{T}

but the working variables within the solver are the primitives given by

V={p,vˉ}TV = \left \{ p, \bar{v} \right \}^\mathsf{T}

SS is a generic source term, and the convective flux is

Fˉc(V)={ρvˉρvˉ⊗vˉ+Iˉˉp}\bar{F}^{c}(V) = \left\{\begin{array}{c} \rho \bar{v} \\ \rho \bar{v} \otimes \bar{v} + \bar{\bar{I}} p \end{array} \right\}

where ρ\rho is a fluid density (constant), vˉ={u,v,w}T\bar{v}=\left\lbrace u, v, w \right\rbrace^\mathsf{T} ∈\in R3\mathbb{R}^3 is the flow speed in Cartesian system of reference, and pp is the dynamic pressure.

Within the INC_EULER solver, we discretize the equations in space using a finite volume method (FVM) with a standard edge-based data structure on a dual grid with vertex-based schemes. The convective and viscous fluxes are evaluated at the midpoint of an edge. We apply a density-based scheme that is a generalization of artificial compressibility in order to achieve pressure-velocity coupling and solve the incompressible equations in a fully coupled manner.


Turbulence Modeling

Available for RANS, INC_RANS.

SU2 implements several variants of the SST and SA turbulence models, for specifics of the models please see the NASA Turbulence Modeling Resource (TMR). For information on how to use turbulence models in SU2 see the users guide.

The edge-based finite volume discretization of flow solvers is also used in turbulence solvers. Convective fluxes are evaluated using a scalar upwind scheme (1st or 2nd order).

Wall functions

Available for RANS, INC_RANS.

The wall function model of Nichols and Nelson (2004) has been implemented in the compressible and the incompressible solver, for the SA as well as the SST models. For the compressible solver, the wall function model takes into account the frictional heating of the wall according to the Crocco-Busemann relation when the wall boundary conditions is not isothermal. When the wall model is active, the value of the dimensional distance of the first node from the wall can be y+>5y^+ > 5. When the wall model is not active, y+<5y^+ < 5 and in addition a fine mesh is necessary close to the wall to resolve the near wall boundary layer.


Species Transport

Compatible with NAVIER_STOKES, RANS, INC_NAVIER_STOKES, INC_RANS.

R(U)=∂U∂t+∇⋅Fˉc(U)−∇⋅Fˉv(U,∇U)−S=0\mathcal{R}(U) = \frac{\partial U}{\partial t} + \nabla \cdot \bar{F}^{c}(U) - \nabla \cdot \bar{F}^{v}(U,\nabla U) - S = 0

where the conservative variables (which are also the working variables) are given by

U={ρY1,...,ρYN−1}TU=\left\lbrace \rho Y_1, ..., \rho Y_{N-1} \right\rbrace ^\mathsf{T}

with YiY_i [−][-] being the species mass fraction. And

∑i=0NYi=1⇒YN=1−∑i=0N−1Yi\sum_{i=0}^N Y_i = 1 \Rightarrow Y_N = 1 - \sum_{i=0}^{N-1} Y_i

SS is a generic source term, and the convective and viscous fluxes are

Fˉc(V)={ρY1vˉ...ρYN−1 vˉ}\bar{F}^{c}(V) = \left\{\begin{array}{c} \rho Y_1 \bar{v} \\ ... \\\rho Y_{N-1} \, \bar{v} \end{array} \right\}
Fˉv(V,∇V)={ρD∇Y1...ρD∇YN−1}\bar{F}^{v}(V,\nabla V) = \left\{\begin{array}{c} \rho D \nabla Y_{1} \\ ... \\ \rho D \nabla Y_{N-1} \end{array} \right\}

with DD [m2/s][m^2/s] being the mass diffusion. For turbulence modeling, the diffusion coefficient becomes:

ρD=ρDlam+μTScT\rho D = \rho D_{lam} + \frac{\mu_T}{Sc_{T}}

where μT\mu_T is the eddy viscosity and ScTSc_{T} [−][-] the turbulent Schmidt number.


Combustion

SolverVersion
INC_NAVIER_STOKES8.0.0

Combustion with tabulated chemistry solves the scalar transport equations for total enthalpy ht=h+hchemh_t=h + h_{chem}, which is the sum of the sensible enthalpy and the chemical enthalpy. Additionally, it solves a transport equation for the progress variable CC, indicating the progress of combustion. Reaction source terms for the progress variable, as well as necessary thermodynamic quantities like density, temperature, viscosity, heat capacity, etc. are all obtained from a 2D lookup table where the properties are stored as a function of the progress variable and total enthalpy. Note that temperature is now a quantity that is retrieved from the lookup table. These lookup tables are constructed from 1D detailed chemistry simulations, using codes like Cantera, Ember, FlameMaster (RWTH Aachen) or Chem1d (TU Eindhoven) and are also known as flamelets or Flamelet Generated Manifolds (FGM).

The progress variable-enthalpy approach is used to simulate laminar premixed flames. Nonpremixed flames can also be simulated by simply using a lookup table for non-premixed flames. The progress variable then effectively becomes a mixture fraction. Combustion with conjugate heat transfer is also supported in the tabulated chemistry approach. Additional transport of (reacting) species can be supported as well. The source terms for these additional species have to be stored in the lookup table. A split-source-term approach is supported, where the source term is assumed to be of the form Stotal=SProduction+Y⋅SConsumption.S_{total} = S_{Production} + Y \cdot S_{Consumption}. We store the production and consumption terms in the lookup table and construct the total source term internally. If only a total source term is available, the consumption source term can be set to zero.

At the moment there is no turbulence-chemistry interaction implemented in this approach and the Lewis number is assumed to be Le=1Le=1.

For a detailed introduction to flamelet modeling see the work of van Oijen et al.


Elasticity

SolverVersion
ELASTICITY7.0.0

For structural analysis of solids in SU2, we solve the elasticity equations in a form allowing for geometric non-linearities expressed as

ρs∂2u∂t2=∇(F⋅S)+ρsf\rho_s \frac{\partial^2 \mathbf{u}}{\partial t^2} = \nabla (\mathbf{F} \cdot \mathbf{S}) + \rho_s \mathbf{f}

where ρs\rho_s is the structural density, u\mathbf{u} are the displacements of the solid, F\mathbf{F} is the material deformation gradient, S\mathbf{S} is the second Piola-Kirchhoff stress tensor, and f\mathbf{f} is the volume forces on the structural domain.

In the ELASTICITY solver, we discretize the equations in space with a nodal finite element method (FEM).


Heat Conduction

SolverVersion
HEAT_EQUATION_FVM7.0.0

The governing equation for heat conduction through a solid material can be expressed in differential form as the following:

R(U)=∂U∂t−∇⋅Fˉv(U,∇U)−S=0R(U) = \frac{\partial U}{\partial t} - \nabla \cdot \bar{F}^{v}(U,\nabla U) - S = 0

where the conservative variable is U={ρscpsT}U=\left\lbrace \rho_s c_{p_s} T\right\rbrace, ρs\rho_s is the solid density, cpsc_{p_s} is the specific heat of the solid, and TT is the temperature. The viscous flux can be written as

Fˉv(U,∇U)=κs∇T\bar{F}^{v}(U,\nabla U) = \kappa_s \nabla T

where κs\kappa_s is the thermal conductivity of the solid. The material properties of the solid are considered constant.

Within the HEAT_EQUATION_FVM solver, we discretize the equations in space using a finite volume method (FVM) with a standard edge-based data structure on a dual grid with vertex-based schemes. The viscous flux is evaluated at the midpoint of an edge.