Harmonic Balance

Harmonic Balance equations describe periodic unsteady flows where the unsteady frequencies are known beforehand. They are suited to modeling periodically repeating flow fields that typically occur in turbomachinery such as compressors, turbines, and fans.

The Harmonic Balance method in Simcenter STAR-CCM+ is a full decomposition of the Navier-Stokes equations in the frequency domain. The unsteady, transient flow is represented in the frequency domain as a Fourier series in time. All transport equations for momentum, energy, and turbulence are decomposed into the frequency domain on the basis of fundamental driving modes, usually a blade-passing frequency or repeating wake modes. Steady-state equations representing the unsteady solution at discrete time levels in a single unsteady period are solved to obtain the Fourier coefficients.

The number of time levels required depends on the number of modes retained in the problem. The steady-state solution in every time level is implicitly coupled at the periodic boundaries by the physical time derivatives. The linear system is then subjected to approximate factorization to achieve implicit coupling between time levels.

Governing Equations
The governing equations for harmonic balance are the Navier-Stokes equations in integral form for a rigid, arbitrary control volume V with differential surface area da in a relative frame of reference rotating steadily with angular velocity Ω.
Figure 1. EQUATION_DISPLAY
VWtdV+[FG]da=VHdV
(5042)

where:

  • W is the solution vector of conservation variables, W=[ρ,ρv,ρE]T.
  • F is the inviscid flux, F=[ρvr,ρvvr+pI,ρEvr+pv]T.
  • G is the viscous flux, G=[0,T,Tvr+q]T.
  • H is the source vector, H=[Su,ρΩv,Su]T.

and:

  • ρ is the density.
  • v is the absolute velocity.
  • vr is the relative velocity, vr=vrΩ.
  • E is the total enthalpy.
  • p is the pressure.
  • T is the shear stress tensor.
  • q is the heat flux.
  • Su is a user-defined source term.
Harmonic Balance Equations
Since the solution W to the governing equations is periodic in time, it can be represented by a Fourier series:
Figure 2. EQUATION_DISPLAY
W(x,t)=m=MMW^m(x)eiωmt
(5043)

where:

  • ω is the fundamental frequency of the disturbance.
  • M is the number of harmonics retained in the solution.

W^m are the Fourier coefficients, uniquely determined from the discrete Fourier transform:

Figure 3. EQUATION_DISPLAY
W^m(x)=1Nn=0N1Wn*(x,tn)eiωmtn
(5044)

where Wn* are a set of N=2M+1 solutions at discrete time levels tn=nT/N distributed throughout one period of unsteadiness T.

At any location in the flowfield domain, the time-level solutions can be transformed into Fourier coefficients and vice versa using a discrete Fourier transform operator E and its corresponding inverse E1 as follows:

Figure 4. EQUATION_DISPLAY
W^=EW*
(5045)
Figure 5. EQUATION_DISPLAY
W*=E1W^
(5046)

where E and E1 are square matrices of dimension N×N and the Fourier coefficients and time-level solutions have been assembled into the vectors W^ and W*:

W^=[W^M,W^M+1  ,W^M1,W^M]TW*=[W0*,W1*,,WN2*,WN1*]T

The solutions at each discrete time level are obtained by applying the governing equations Eqn. (5042) to all the W* simultaneously:

Figure 6. EQUATION_DISPLAY
VW*tdV+[F*G*]da=VH*dV
(5047)

where the flux and source vectors F*, G*, and H* are evaluated using the corresponding time-level solution. Example:

F*=[F(W0*),F(W1*),...,F(WN2*),F(WN1*)]T

The time derivative in Eqn. (5047) is evaluated by differentiating Eqn. (5047) with respect to time, then using Eqn. (5045) as follows:

W*t=E1tW^=E1tEW*

or

Figure 7. EQUATION_DISPLAY
W*t=DW*
(5048)

where D is the pseudo-spectral N×N operator. Substituting Eqn. (5048) for the time derivative in Eqn. (5047) yields the final harmonic balance equation:

Figure 8. EQUATION_DISPLAY
VDW*dV+[F*G*]da=VH*dV
(5049)