int nn = 20; // Mesh quality
int[int] labs = [1, 2, 2, 1, 1, 2]; // Label numbering
mesh3 Th = cube(nn, nn, nn, label=labs);
// Remove the ]0.5,1[^3 domain of the cube
Th = trunc(Th, (x < 0.5) | (y < 0.5) | (z < 0.5), label=1);
fespace Vh(Th, P1);
Vh u, v;
macro Grad(u) [dx(u), dy(u), dz(u)] //
// Define the weak form and solve
solve Poisson(u, v, solver=CG)
Grad(u)' * Grad(v)
1 * v
+ on(1, u=0)
A high level multiphysics finite element software
FreeFEM offers a fast interpolation algorithm and a language for the manipulation of data on multiple meshes.
July 03, 2019 | Jian Li, Pengzhan Huang, Jian Su and Zhangxin Chen
In this paper, a linear, stabilized, non-spatial iterative, partitioned time stepping method is developed and studied for the nonlinear Navier–Stokes/Navier–Stokes interaction. A backward Euler scheme is utilized for the temporal discretization while a linear Oseen scheme for the trilinear term is used to affect the spatial discretization approximated by the equal order elements. Therefore, we only solve a linear Stokes problem without spatial iterative per time step for each individual domain. Then, the method exploits properties of the Navier–Stokes/Navier–Stokes system to establish the stability and convergence by rigorous analysis. Finally, numerical experiments are presented to show the performance of the proposed method.
July 02, 2019 | Simone Camarri, Giacomo Mengali
In this paper, it is shown that when a flow undergoes a steady bifurcation breaking one reflection symmetry, the mean flow obtained by averaging the two possible asymmetric flow fields resulting from the instability remains marginally stable in the postcritical regime. This property is demonstrated rigorously through an asymptotic analysis which closely follows that proposed in Sipp and Lebedev (J Fluid Mech 792:620–657, 2007) for a Hopf bifurcation with focus on wakes. In the case of wakes, the marginal stability of the mean flow is well known and had several consequences documented in the literature. To the authors’ knowledge, the marginal stability of mean flows after a symmetry-breaking pitchfork bifurcation is demonstrated here for the first time. As an example of possible consequences of marginal stability, the self-consistent model proposed for wakes in Mantič-Lugo et al. (Phys Rev Lett 113:084501, 2014) and relying on marginal stability is also applied here to the symmetry-breaking instability of the flow in a channel with a sudden expansion. For this specific case, the marginal stability of the mean flow is first demonstrated by dedicated direct numerical simulations; successively, it is shown that the resulting self-consistent model predicts the nonlinear saturation of the instability with remarkable accuracy.
June 11, 2019 | Gonçalo Mendonça, Frederico Afonso, Fernando Lau
The need of the aerospace industry, at national or European level, of faster yet reliable computational fluid dynamics models is the main drive for the application of model reduction techniques. This need is linked to the time cost of high-fidelity models, rendering them inefficient for applications like multi-disciplinary optimization. With the goal of testing and applying model reduction to computational fluid dynamics models applicable to lifting surfaces, a bibliographical research covering reduction of nonlinear, dynamic, or steady models was conducted. This established the prevalence of projection and least mean squares methods, which rely on solutions of the original high-fidelity model and their proper orthogonal decomposition to work. Other complementary techniques such as adaptive sampling, greedy sampling, and hybrid models are also presented and discussed. These projection and least mean squares methods are then tested on simple and documented benchmarks to estimate the error and speed-up of the reduced order models thus generated. Dynamic, steady, nonlinear, and multiparametric problems were reduced, with the simplest version of these methods showing the most promise. These methods were later applied to single parameter problems, namely the lid-driven cavity with incompressible Navier–Stokes equations and varying Reynolds number, and the elliptic airfoil at varying angles of attack for compressible Euler flow. An analysis of the performance of these methods is given at the end of this article, highlighting the computational speed-up obtained with these techniques, and the challenges presented by multiparametric problems and problems showing point singularities in their domain.