22. Nonreflecting Open Boundary Conditions#
This appendix documents the nonreflecting open-boundary formulation used for compressible open boundaries in the current solver. It supplements the generic inlet and outlet discussion in Chapter 6 by focusing on how the boundary primitive state itself is constructed when the objective is to reduce spurious acoustic reflection.
The discussion here is intentionally mathematical. User-side specification of the target data is covered in the stream guide; in this appendix, the required target state is assumed to already be known.
The equations below are not meant as ad hoc boundary formulas. They belong to the broader family of characteristic open-boundary conditions introduced for hyperbolic systems by Thompson (1987) and adapted to compressible Navier-Stokes flow by Poinsot and Lele (1992). For viscous, reacting, and multidimensional open boundaries, the present formulation follows the same line of development as Sutherland and Kennedy (2003) and Yoo and Im (2007).
Three ideas organize the formulation:
the boundary update is split into supersonic, subsonic, and backflow branches,
the subsonic branch uses one-dimensional characteristic compatibility in the boundary-normal direction,
the subsonic branch is relaxed toward a target state over a user-controlled length scale and, at outlets, corrected by multidimensional transverse terms.
22.1. Characteristic Background#
At an open compressible boundary, the key question is not “what value should be imposed for each primitive variable?” but rather “which characteristic information is entering the computational domain, and which characteristic information is leaving it?”
The usual starting point is a locally one-dimensional inviscid analysis in the outward normal direction \(\mathbf n\). In that approximation, the acoustic part of the boundary data can be written in terms of the characteristic combinations
where \(u_n=\mathbf u\cdot\mathbf n\) and \(Z\) is the acoustic impedance. The signs here are tied to the outward-pointing normal: at a subsonic boundary, one acoustic characteristic carries information from the interior toward the boundary, while the other carries information from the exterior or target state into the domain.
This observation is the reason the NRBC is formulated differently at inlet and outlet:
at a subsonic inlet, one acoustic relation must remain compatible with the interior state, while the remaining incoming information is supplied by the target inflow state,
at a subsonic outlet, the incoming acoustic content is associated primarily with pressure, while the outgoing information is taken from the interior flow,
at supersonic boundaries, the characteristic picture becomes one-way: all information enters at a supersonic inflow, and all information leaves at a supersonic outflow.
The one-dimensional characteristic picture alone is not sufficient for a practical multidimensional CFD boundary condition. The formulation below therefore augments the normal-direction compatibility relation with explicit relaxation toward a target state and, at subsonic outlets, with transverse multidimensional corrections. Those additions are the parts of the model most closely associated with the later NSCBC developments of Sutherland and Kennedy (2003) and Yoo and Im (2007).
22.2. Notation#
At one boundary face, let \(\mathbf n\) be the outward unit normal. The adjacent interior-cell state is written
where \(a_i\) is the acoustic speed associated with the interior state.
The target state prescribed for the boundary model is written
For outlet boundaries, the target pressure is denoted by
Because the solver is nonlinear and pressure-based, the NRBC update also uses a lagged reference during a time step’s nonlinear iteration sequence. The velocity and pressure components are face values, while density and acoustic speed are taken from the adjacent cell:
This lagged reference plays a stabilizing role. At the first inlet iteration, the target state supplies these values; at the first outlet iteration, the adjacent-cell state does. Later outer iterations use values captured on the first outer iteration of that time step. For the outlet formulation, lagged face gradients are also used so that the boundary state is not reconstructed from the same just-updated face state.
The normal velocity components are
The tangential part of a vector is written with the projector
The acoustic impedances used in the characteristic relations are
Two user-controlled parameters enter the relaxation terms:
Here \(\sigma\) is a dimensionless relaxation strength and \(L\) is a boundary length scale. The present formulation also uses representative patchwise normal-Mach measures:
\(M_{\max}\), which modulates the strength of the relaxation term,
\(M_{\mathrm{avg}}\), which modulates the strength of the outlet transverse correction.
With that notation, the subsonic relaxation coefficient used repeatedly below is
For subsonic inflow, a second relaxation rate is used:
22.3. Boundary-State Philosophy#
The NRBC model does not attempt to prescribe all primitive variables blindly at every open boundary. Instead, it distinguishes between outgoing and incoming characteristic content.
At a subsonic inlet, only one acoustic characteristic leaves the domain, so the boundary pressure is determined from a compatibility relation, while density and velocity are relaxed toward a target state.
At a subsonic outlet, one acoustic characteristic enters the domain, so the pressure is relaxed toward the target outlet pressure while the velocity and density are reconstructed from the resulting pressure change and from the interior state.
At supersonic boundaries, the branching is simpler: all characteristics enter at a supersonic inflow, while all characteristics leave at a supersonic outflow.
22.4. Inlet Formulation#
22.4.1. Supersonic Inflow#
If the prescribed inflow speed is supersonic relative to the target acoustic speed,
the full target state is imposed:
This is the expected characteristic result: for a supersonic inflow, all primitive information is incoming and can be prescribed.
22.4.2. Subsonic Inflow#
For a subsonic inlet, the acoustic picture is mixed: one wave leaves the domain and must remain compatible with the adjacent interior state, while the incoming acoustic content is associated with the target inflow state. In the local one-dimensional approximation, this is expressed by taking the outgoing characteristic from the interior and the incoming characteristic from the target state,
The implementation limits the interior pressure used by this compatibility relation to a band around the target pressure,
Using Eq. (22.1.1) with the interior impedance \(Z_i=\rho_i a_i\), the resulting compatible boundary pressure is
or equivalently,
This is the essential reason pressure is not prescribed freely at a subsonic inlet: the boundary pressure is the value compatible with one outgoing interior acoustic signal and one incoming target acoustic signal. The pressure band is an implementation safeguard for strongly mismatched startup states; it is not part of the underlying linear characteristic relation.
If the adjacent-cell velocity reverses so that \(u_{i,n}\ge 0\), the face is no longer behaving as an inlet. The implementation then applies the full target inlet state instead of amplifying the reversal through the subsonic characteristic update.
Once \(p_b\) is known, the remaining variables are not reconstructed from a purely one-dimensional inviscid model alone. Following the practical NSCBC open-boundary philosophy of relaxing the boundary state toward the target data over a finite length scale emphasized by Sutherland and Kennedy (2003), density is updated by combining acoustic compressibility with explicit relaxation toward the target density:
The boundary velocity is then relaxed toward the target velocity, while still responding to the acoustic pressure correction in the normal direction:
The boundary temperature follows from the equation of state after \((\rho_b,p_b)\) has been determined:
where \(Y_b\) denotes the boundary composition used by the mixture model.
The role of the inlet formulation can be summarized compactly:
use characteristic compatibility to obtain the admissible boundary pressure,
relax density toward the target thermodynamic state,
relax velocity toward the target inflow direction and magnitude,
recover temperature from the EOS.
22.5. Outlet Formulation#
22.5.1. Backflow and Supersonic Branches#
The outlet treatment first checks whether the face is actually behaving like an outlet.
If
the present formulation does not apply the nonreflecting update. Instead, it switches to a robust backflow fallback. Conceptually, this branch treats the face as a temporarily ill-posed outlet and suppresses the outgoing update.
If
the outlet is supersonic and all characteristics leave the domain. The boundary state is therefore extrapolated from the interior:
22.5.2. Subsonic Outlet#
For a subsonic outlet, the characteristic roles are reversed: the outgoing information is carried mainly by the interior flow, while the incoming acoustic information is associated with pressure. The practical consequence is that the pressure update becomes the primary boundary relation, and the outlet density and velocity are reconstructed afterward from that pressure change.
The subsonic outlet branch is therefore the main nonreflecting relation. It uses the lagged state
and the normal-velocity change
If only the one-dimensional characteristic picture were retained, the outlet pressure would be updated from the outgoing acoustic compatibility and a relaxation toward the target outlet pressure. In multidimensional viscous/reacting flow, however, purely normal-direction compatibility is not sufficient. The outlet model therefore also includes a transverse correction of the kind introduced by Yoo and Im (2007). Let
denote the tangential pressure gradient. Let
denote the tangential gradient of the normal velocity and the tangential divergence of the tangential velocity. The transverse contribution is then written as
where \(\gamma_i\) is the effective ratio of specific heats inferred from the adjacent interior thermodynamic state. This term is the part of the outlet model that accounts for multidimensional wave content that a purely one-dimensional LODI relation would miss.
The strength of the transverse term is modulated by
With these definitions, the subsonic outlet pressure update is
Each term in Eq. (22.5.2.7) has a clear origin:
\(p^{\ell}\) is the lagged boundary pressure about which the new update is formed,
\(\rho^{\ell}a^{\ell}\Delta u_n\) is the one-dimensional acoustic compatibility contribution,
\(\Delta t\,\kappa p_{\mathrm{tar}}\) is the explicit relaxation toward the desired outlet pressure,
\(-\Delta t\,\beta_{\mathrm{NR}}\mathcal T_t^{\ell}\) is the multidimensional transverse correction.
Once \(p_b\) is known, the boundary velocity is reconstructed from the acoustic pressure jump:
The boundary density is then updated through the acoustic linearization
and the temperature again follows from the EOS:
This construction is consistent with the intended role of a subsonic outlet: pressure carries the incoming characteristic information, while velocity and density adjust to that pressure change and to the interior state already inside the domain.
22.6. Interpretation of the Relaxation Parameters#
The two user-controlled quantities \(\sigma\) and \(L\) appear only through ratios of the form \(a/L\), so their interpretation is straightforward:
larger \(\sigma\) strengthens relaxation toward the target state,
smaller \(L\) strengthens the same relaxation by shortening the nominal damping distance,
\(\sigma=0\) removes the explicit relaxation-to-target contribution and leaves only the compatibility update.
The parameter \(\kappa\) in Eq. (22.2.9) also carries the factor \((1-M_{\max}^2)\), so the explicit relaxation weakens as the characteristic normal Mach number of the boundary patch approaches unity from below. The nonnegative limit prevents a locally supersonic patch value from turning relaxation into anti-damping while a face is still evaluated by the subsonic branch.
The factor \(\beta_{\mathrm{NR}}\) in Eq. (22.5.2.6) increases the influence of the transverse term as the mean outlet Mach number grows. In that sense, it acts as a multidimensional correction weight rather than as a separate target-state relaxation parameter.
22.7. Closing Remarks#
The present NRBC formulation is designed to reduce reflections at open compressible boundaries, not to guarantee a perfectly reflection-free boundary for arbitrary nonlinear waves. In particular:
the subsonic inlet relies on a normal-direction characteristic compatibility relation plus relaxation toward a target state,
the subsonic outlet relaxes pressure toward a target outlet pressure while adding transverse-gradient corrections,
the supersonic branches reduce to full prescription at inflow and pure extrapolation at outflow,
the outlet branch includes a separate backflow fallback because a genuine backflow event is not a one-way-wave outflow problem.
Once the boundary primitive state has been constructed by these relations, the corresponding boundary mass fluxes and pressure-correction contributions fit into the finite-volume framework developed in Finite-Volume Transport Assembly on Unstructured Grids and Pressure-Correction Equation on Unstructured Grids.
22.8. Literature Context#
The equations in this appendix should therefore be read as one practical member of the characteristic open-boundary family:
Thompson, K.W. (1987), “Time-Dependent Boundary Conditions for Hyperbolic Systems,” Journal of Computational Physics, 68(1), 1-24.
Poinsot, T.J. and Lele, S.K. (1992), “Boundary Conditions for Direct Simulations of Compressible Viscous Flows,” Journal of Computational Physics, 101(1), 104-129.
Sutherland, J.C. and Kennedy, C.A. (2003), “Improved Boundary Conditions for Viscous, Reacting, Compressible Flows,” Journal of Computational Physics, 191(2), 502-524.
Yoo, C.S. and Im, H.G. (2007), “Characteristic Boundary Conditions for Simulations of Compressible Reacting Flows with Multi-Dimensional, Viscous and Reaction Effects,” Combustion Theory and Modelling, 11(2), 259-286. Older code comments sometimes cite this work as 2006 because that corresponds to the accepted-manuscript date rather than the final journal issue.