Inlet#
The inlet of a flow is usually defined by a pressure gradient or a imposed velocity, the BCs most frequently used to represent this kind of boundary are described below:
Uniform Velocity#
This boundary condition forces an uniform velocity and pressure profile. Its implementation consists on setting the populations to its equilibrium fixing velocity and pressure values.
Use Case
Uniform velocity is used to assure a constant velocity and density inlet, which increases the simulation stability and allows for the calculation of the pressure coefficient.
Synthetic Eddy Method#
The synthetic eddy method (SEM) builds a turbulent inlet with transient aspect, it was first introduced by Jarrin et al.[1] and presented in an LBM framework by Buffa et al.[2]. It requires the user to provide the flow average velocity profile \(\bar{u}_{\alpha}\) and Reynolds stress tensor \(R_{\alpha\beta}\) associated to the desired turbulent intensity \(\left\{I_{u},I_{v},I_{w}\right\}\). That way, it is possible to reproduce atmospheric boundary layer profiles at inlet.
Note
The input data for the SEM can be obtained from experimental wind tunnel data or by performing a precursor simulation that reproduces a wind tunnel configuration necessary to generate the wind profile of the desired terrain category.
In the SEM, \(N\) synthetic eddies are distributed in random positions \(\left\{x_{i},y_{i}z_{i}\right\}\) in a virtual domain as illustrated below:
The variable \(L\) is a representative length scale provided as input data that represents the radius of influence of each eddy. That way, the interval to which eddies will be distributed in \(x\) is \(\left[-L,L\right]\), in \(y\) is \(\left[0-L,n_{y}+L\right]\), and in \(z\) is \(\left[0-L,n_{z}+L\right]\). The inlet of the simulation domain is then given by the velocity field in the plane \(x=0\). There, the velocity is given by:
where \(u'\) is a fluctuation velocity responsible to provide turbulent intensity at inlet, this vector field is calculated as:
in which, \(A_{\alpha\beta}\) is the Cholesky decomposition of the prescribed Reynolds stress tensor with a user defined scaling factor \(K\), introduced by Buffa et al.[2] as a tunning parameter for turbulent intensity:
and \(\tilde{u}_{\alpha\beta}\) is given by:
where \(N_{\mathrm{eff}}\) is the effective number of vortices acting at a domain position, considering \(L\) as a radius of acting. It can be calculated with:
Where \(n_{y}\) and \(n_{z}\) are the domain size in \(y\) and \(z\).
Note
The use of \(N_{\mathrm{eff}}\) is an adjustment developed in the current solver, in Buffa et al.[2] the value \(N\) is used instead.
The function \(f\left(x\right)\) is a gaussian function:
The tensor \(\epsilon_{\alpha\beta}\left[N:3\right]\) is composed of random signs -1 or 1 for the directions of each eddy. The evolution of inlet boundary occurs through the displacement of the eddies positions. They move alongside flow direction with the average inlet velocity \(U_{\infty}\), hence:
When \(x_{i}\left(t+\Delta t\right)>L\) the positions \(y_{i}\) and \(z_{i}\) are randomized along with \(\epsilon_{i\beta}\). At direction \(x\), periodicity is adopted, so when \(x_{i}\left(t+\Delta t\right)>L\), the new \(x_{i}\) position will be \(x_{i}\left(t+\Delta t\right)-2L\). The average flow velocity \(U_{\infty}\) is given by:
Following the above approach, it is possible to produce a transient velocity field whose statistics return the input data of average velocity and Reynolds stress tensor. Knowing the velocity field at \(x\), the rate-of-strain \(S_{\alpha\beta}\) is calculated through a finite difference scheme and the density is assumed constant \(\rho=\rho_{0}\). such that \(\partial \rho/ \partial \mathbf{n}=0\). For the obtained \(S_{\alpha\beta}\), the SGS viscosity can be calculated and from all known macroscopic variables, the populations at inlet can be built within the LBM framework.
Note
In finite volume methods is also found formulations to which \(\partial \rho/ \partial \mathbf{n}=0\), however as reported by Buffa et al.[2], the LBM is related to a weakly compressible flow, and a purely solenoidal inlet condition is not appropriate. Hence, the density perturbations at the inlet must be freeze to minimize the radiated noise.