3.4 Initial and Boundary Conditions 初始与边界条件[cfd-3-4]

无论选择何种数值方法来求解控制方程(2.19),都必须规定合适的初始条件与边界条件。初始条件确定\(t=0\)时刻或迭代格式第一步时的流体状态。显然,初始猜测越好(越接近解),获得最终解就越快,而且数值求解过程发散的概率也会相应降低。因此,初始解至少应满足控制方程以及补充的热力学关系,这一点很重要。外流空气动力学中的常见做法是在整个流场内给定压力、密度和速度分量的自由来流值(以马赫数、迎角和侧滑角的形式给出)。在叶轮机械中,重要的是要凭已有知识尽可能好地在整个域内给定流动方向;对压力场也是如此。因此,采用低阶近似方法(如位势方法)来生成物理上有意义的初始猜测是相当值得的。en

Regardless of the numerical methodology chosen to solve the governing equations (2.19), we have to specify suitable initial and boundary conditions. The initial conditions determine the state of the fluid at the time \(t=0\), or at the first step of an iterative scheme. Clearly, the better (the closer to the solution) the initial guess will be, the faster the final solution will be obtained. Moreover, the probability of breakdown of the numerical solution process will be reduced correspondingly. Therefore, it is important that the initial solution satisfies at least the governing equations and the additional thermodynamic relations. A common practice in external aerodynamics consists of prescribing freestream values of pressure, density and velocity components (given as Mach number, angle of attack and sideslip angle) in the whole flow field. In turbomachinery, it is important to specify the flow directions in the complete domain to one's best knowledge. The same holds also for the pressure field. It is therefore quite worthwhile to employ lower-order approximations (like potential methods) to generate a physically meaningful initial guess.

任何数值流动模拟都只考虑物理域的某一部分。计算域的截断产生了人工边界,在这些边界上必须给定物理量的值。例如:外流空气动力学中的远场(farfield)边界;内流情形的入口、出口和周期性边界;还有对称面。构造这类边界条件的主要问题当然是:截断域上的解应当尽可能接近对整个物理域所得到的解。对远场、入口和出口边界,常采用特征边界条件(characteristic boundary conditions)[233]-[235],以抑制流场中非物理扰动的产生。尽管如此,远场或入口、出口边界仍不能放置得离所研究的物体(机翼、叶片等)太近,否则解的精度会降低。对于外流,当考虑有升力的物体时,可以用一个以翼型或机翼为中心的点涡来修正远场边界上的流动变量[235]-[237]。这样,在不损害解精度的前提下,物体与远场边界之间的距离可以显著缩短;或者在给定外边界位置时提高解的精度[160]、[237]、[238]。对于内流问题,人们发展了基于线性化Euler方程和扰动Fourier级数展开的入口与出口边界公式[239]-[241]。这些公式允许把入口和出口边界放置得非常靠近叶片而不影响解。en

Any numerical flow simulation considers only a certain part of the physical domain. The truncation of the computational domain creates artificial boundaries, where values of the physical quantities have to be specified. Examples are the farfield boundary in external aerodynamics; the inlet, outlet and the periodic boundary in the case of internal flows; and finally the symmetry plane. The main problem when constructing such boundary conditions is of course that the solution on the truncated domain should stay as close as possible to a solution which would be obtained for the whole physical domain. In the case of the farfield, inlet and outlet boundaries, characteristic boundary conditions [233]-[235] are often used in order to suppress the generation of non-physical disturbances in the flow field. But despite this, the farfield or the inlet and outlet boundaries may still not be placed too close to the object under consideration (wing, blade, etc.). Otherwise, the accuracy of the solution would be reduced. For external flows, when a lifting body is considered, it is possible to correct the flow variables at the farfield boundary using a single vortex centred at the airfoil or the wing [235]-[237]. In this way, the distance between the body and the farfield boundary can be significantly reduced without impairing the solution accuracy, or improving the accuracy for a given outer boundary position [160], [237], [238]. For internal flow problems, formulations for the inlet and outlet boundaries based on linearised Euler equations and Fourier series expansion of the perturbations were developed [239]-[241]. These formulations allow for a very close placement of the inlet and outlet boundaries to a blade without influencing the solution.

当物体的表面暴露于流体之中时,出现另一类边界条件。对于由Euler方程(2.45)控制的无黏流动,合适的边界条件是要求流动与表面相切,即en

A different type of boundary condition is found when the surface of a body is exposed to the fluid. In the case of inviscid flow governed by the Euler equations (2.45), the appropriate boundary condition is to require the flow to be tangential to the surface, i.e.,

\[\vec{v}\cdot\vec{n}=0\qquad\mbox{at the surface.} \tag{1}\]

相反,对于Navier-Stokes方程,则假定表面与紧贴表面的流体之间没有相对速度——即所谓的无滑移(no-slip)边界条件en

By contrast, for the Navier-Stokes equations no relative velocity between the surface and the fluid immediately at the surface is assumed - the so-called no-slip boundary condition

\[u=v=w=0\qquad\mbox{at the surface.} \tag{2}\]

在某些情形下,壁面的处理变得更加复杂,例如必须满足给定的壁面温度分布,或必须考虑热辐射(参见例如[242]、[243])。en

The treatment of walls becomes more involved in cases, where, e.g., a specified wall temperature distribution has to be met, or when the heat radiation has to be taken into account (see, e.g., [242], [243]).

此外,还必须为不同流体(例如空气和水)相遇的表面定义边界条件[244]-[247]。除了物理边界条件和由流动域截断所施加的边界条件之外,还可能有由数值求解方法本身产生的边界,例如坐标割缝(coordinate cuts)以及块(block)或分区(zonal)边界[20]-[26]。en

Furthermore, boundary conditions have to be defined for surfaces where different fluids (e.g., air and water) meet together [244]-[247]. But apart from the physical boundary conditions and those imposed by truncating the flow domain, there can be boundaries generated by the numerical solution method itself. These are for example coordinate cuts and block or zonal boundaries [20]-[26].

边界条件的正确实现是每个流动求解器的关键所在。解的精度不仅在很大程度上取决于边界的物理与数值处理是否恰当,求解器的稳健性和收敛速度也会受到显著影响。各种重要边界条件的更多细节见第8章。en

The correct implementation of boundary condition is the crucial point of every flow solver. Not only the accuracy of the solution depends strongly on a proper physical and numerical treatment of the boundaries, but also the robustness and the convergence speed are considerably influenced. More details of various important boundary conditions are presented in Chapter 8.