Spelling suggestions: "subject:"discrete adjoint method"" "subject:"iscrete adjoint method""
1 |
Robust and stable discrete adjoint solver development for shape optimisation of incompressible flows with industrial applicationsWang, Yang January 2017 (has links)
This thesis investigates stabilisation of the SIMPLE-family discretisations for incompressible flow and their discrete adjoint counterparts. The SIMPLE method is presented from typical \prediction-correction" point of view, but also using a pressure Schur complement approach, which leads to a wider class of schemes. A novel semicoupled implicit solver with velocity coupling is proposed to improve stability. Skewness correction methods are applied to enhance solver accuracy on non-orthogonal grids. An algebraic multi grid linear solver from the HYPRE library is linked to flow and discrete adjoint solvers to further stabilise the computation and improve the convergence rate. With the improved implementation, both of flow and discrete adjoint solvers can be applied to a wide range of 2D and 3D test cases. Results show that the semi-coupled implicit solver is more robust compared to the standard SIMPLE solver. A shape optimisation of a S-bend air flow duct from a VW Golf vehicle is studied using a CAD-based parametrisation for two Reynolds numbers. The optimised shapes and their flows are analysed to con rm the physical nature of the improvement. A first application of the new stabilised discrete adjoint method to a reverse osmosis (RO) membrane channel flow is presented. A CFD model of the RO membrane process with a membrane boundary condition is added. Two objective functions, pressure drop and permeate flux, are evaluated for various spacer geometries such as open channel, cavity, submerged and zigzag spacer arrangements. The flow and the surface sensitivity of these two objective functions is computed and analysed for these geometries. An optimisation with a node-base parametrisation approach is carried out for the zigzag con guration channel flow in order to reduce the pressure drop. Results indicate that the pressure loss can be reduced by 24% with a slight reduction in permeate flux by 0.43%.
|
2 |
Qualification des simulations numériques par adaptation anisotropique de maillages / Qualification of numerical simulations by anisotropic mesh adaptationNguyen-Dinh, Maxime 19 March 2014 (has links)
La simulation numérique est largement utilisée pour évaluer les performances aérodynamiques des aéronefs ainsi qu'en optimisation de forme. Ainsi l'objectif de ces simulations est souvent le calcul de fonctions aérodynamiques. L'objet de cette thèse est d'étudier des méthodes d'adaptation de maillages basées sur la dérivée totale de ces fonctions par rapport aux coordonnées du maillage (notée dJ/dX). Celle-ci pouvant être calculée par la méthode adjointe discrète. La première partie de cette étude concerne l'application de méthodes d'adaptation de maillages appliquées à des écoulements de fluides parfaits. Le senseur qui détecte les zones de maillage à raffiner s'appuie sur la norme de cette dérivée pour adapter des maillages pour le calcul d'une fonction J. La seconde partie du travail est la construction et l'étude de critères plus fiables basés sur dJ/dX pour d'une part adapter des maillages et d'autre part estimer si un maillage est bien adapté ou non pour le calcul de la fonction J. De plus une méthode de remaillage plus efficace basée sur une EDP elliptique est aussi présentée. Cette nouvelle méthode est appliquée pour des écoulements bidimensionnels de fluides parfaits ainsi que pour un écoulement décrit par les équations RANS. La dernière partie de l'étude est consacrée à l'application de la méthode proposée à des cas tridimensionnels d'écoulement RANS sur des géométries d'intérêt industriel. / Numerical simulation is widely used for the assessment of aircraft aerodynamic performances and shape optimizations. Hence the objective of these simulations is often to compute aerodynamic outputs. The purpose of this thesis is to study mesh adaptation methods based on the total derivative of the outputs with respect to mesh coordinates (denoted dJ/dX). This derivative can be computed using the discrete adjoint method. The first part of this study is about the application of mesh adaptation methods applied for Eulerian flows. The mesh locations to refine are detected using a sensor based on the norm of the derivative dJ/dX. This study confirmed that this derivative is relevant in order to adapt a mesh for the computation of the output J. The second part of this work is the construction and the study of reliable criteria based on dJ/dX for both mesh adaptation and the quality assessment of a given mesh for the computation of the output J. Moreover a more efficient remeshing method based on an elliptic PDE is presented too. This new method is applied for both two-dimensional Eulerian flows and a flow described by the RANS equations. The last part of the study is devoted to the application of the proposed method to three-dimensional RANS flows on geometries of industrial interest.
|
3 |
Optimal Control Of Numerical Dissipation In Modified KFVS (m-KFVS) Using Discrete Adjoint MethodAnil, N 05 1900 (has links)
The kinetic schemes, also known as Boltzmann schemes are based on the moment-method-strategy, where an upwind scheme is first developed at the Boltzmann level and after taking suitable moments we arrive at an upwind scheme for the governing Euler or Navier-Stokes equations. The Kinetic Flux Vector Splitting (KFVS)scheme, which belongs to the family of kinetic schemes is being extensively used to compute inviscid as well as viscous flows around many complex configurations of practical interest over the past two decades. To resolve many flow features accurately, like suction peak, minimising the loss in stagnation pressure, shocks, slipstreams, triple points, vortex sheets, shock-shock interaction, mixing layers, flow separation in viscous flows require an accurate and low dissipative numerical scheme. The first order KFVS method even though is very robust suffers from the problem of having much more numerical diffusion than required, resulting in very badly smearing of the above features. However, numerical dissipation can be reduced considerably by using higher order kinetic schemes. But they require more points in the stencil and hence consume more computational time and memory. The second order schemes require flux or slope limiters in the neighbourhood of discontinuities to avoid spurious and physically meaningless wiggles or oscillations in pressure, temperature or density. The limiters generally restrict the residue fall in second order schemes while in first order schemes residue falls up to machine zero. Further, pressure and density contours or streamlines are much smoother for first order accurate schemes than second order accurate schemes. A question naturally arises about the possibility of constructing first order upwind schemes which retain almost all advantages mentioned above while at the same time crisply capture the flow features.
In the present work, an attempt has been made to address the above issues by developing yet another kinetic scheme, known as the low dissipative modified KFVS (m-KFVS) method based on modified CIR (MCIR) splitting with molecular velocity dependent dissipation control function. Different choices for the dissipation control function are presented. A detailed mathematical analysis and the underlying physical arguments behind these choices are presented. The expressions for the m-KFVS fluxes are derived. For one of the choices, the expressions for the split fluxes are similar to the usual first order KFVS method. The mathematical properties of 1D m-KFVS fluxes and the eigenvalues of the corresponding flux Jacobians are studied numerically. The analysis of numerical dissipation is carried out both at Boltzmann and Euler levels. The expression for stability criterion is derived. In order to be consistent with the interior scheme, modified solid wall and outer boundary conditions are derived by extending the MCIR idea to boundaries.
The cell-centred finite volume method based on m-KFVS is applied to several standard test cases for 1D, 2D and 3D inviscid flows. In the case of subsonic flows, the m-KFVS method produces much less numerical entropy compared to first order KFVS method and the results are comparable to second order accurate q-KFVS method. In transonic and supersonic flows, m-KFVS generates much less numerical dissipation compared to first order KFVS and even less compared to q-KFVS method. Further, the m-KFVS method captures the discontinuities more sharply with contours being smooth and near second order accuracy has been achieved in smooth regions, by still using first order stencil. Therefore, the numerical dissipation generated by m-KFVS is considerably reduced by suitably choosing the dissipation control variables. The Euler code based on m-KFVS method almost takes the same amount of computational time as that of KFVS method.
Although, the formal accuracy is of order one, the m-KFVS method resolves the flow features much more accurately compared to first order KFVS method but the numerical dissipation generated by m-KFVS method may not be minimal. Hence, the dissipation control vector is in general not optimal. If we can find the optimal dissipation control vector then we will be able to achieve the minimal dissipation. In the present work, the above objective is attained by posing the minimisation of numerical dissipation in m-KFVS method as an optimal control problem. Here, the control variables are the dissipation control vector. The discrete form of the cost function, which is to be minimised is considered as the sum of the squares of change in entropy at all cells in the computational domain. The number of control variables is equal to the total number of cells or finite volumes in the computational domain, as each cell has only one dissipation control variable.
In the present work, the minimum value of cost function is obtained by using gradient based optimisation method. The sensitivity gradients of the cost function with respect to the control variables are obtained using discrete adjoint approach. The discrete adjoint equations for the optimisation problem of minimising the numerical dissipation in m-KFVS method applied to 2D and 3D Euler equations are derived. The method of steepest descent is used to update the control variables. The automatic differentiation tool Tapenade has been used to ease the development of adjoint codes.
The m-KFVS code combined with discrete adjoint code is applied to several standard test cases for inviscid flows. The test cases considered are, low Mach number flows past NACA 0012 airfoil and two element Williams airfoil, transonic and supersonic flows past NACA 0012 airfoil and finally, transonic flow past Onera M6 wing. Numerical results have shown that the m-KFVS-adjoint method produces even less numerical dissipation compared to m-KFVS method and hence results in more accurate solution. The m-KFVS-adjoint code takes more computational time compared to m-KFVS code.
The present work demonstrates that it is possible to achieve near second order accuracy by formally first order accurate m-KFVS scheme while retaining advantages of first order accurate methods.
|
4 |
Contribution à une méthode de raffinement de maillage basée sur le vecteur adjoint pour le calcul de fonctions aérodynamiques / Contribution to a mesh refinement method based on the adjoint vector for the computation of aerodynamic outputsBourasseau, Sébastien 14 December 2015 (has links)
L’adaptation de maillage est un outil puissant pour l’obtention de simulations aérodynamiques précises à coût limité. Dans le cas particulier des simulations visant au calcul de fonctions aérodynamiques (efforts, moments, rendements...), plusieurs méthodes dites de raffinement ciblé (ou, en anglais, « goal-oriented ») basées sur le vecteur adjoint de la fonction d’intérêt ont été proposées. L’objectif de la thèse est l’extension d’une méthode de ce type basée sur la dérivée totale dJ/dX de la grandeur aérodynamique d’intérêt, J, par rapport aux coordonnées du maillage volumique, X. Les trois méthodes usuelles de calcul de gradient discret – la méthode de différentiation directe, la méthode adjointe-"paramètres" et la méthode adjointe-"maillage" évaluant dJ/dX – ont tout d’abord été étudiées et codées dans le logiciel elsA de l’ONERA pour des maillages non-structurés, pour des écoulements compressibles de fluide parfait et des écoulements laminaires. La seconde étape du travail a consisté à créer un senseur local θ basé sur dJ/dX qui identifie les zones du maillage volumique où la position des nœuds a une forte incidence sur l’évaluation de la fonction J. Ce senseur sert d’indicateur pour l’adaptation de différents maillages, pour différents régimes d’écoulement (subsonique, transsonique, supersonique), pour des configurations d’aérodynamique interne (aube et tuyère) et externe (profil d’aile). La méthode proposée est comparée à une méthode de raffinement ciblée très populaire (Venditti et Darmofal, 2001) et à une méthode de raffinement basée sur les caractéristiques de l’écoulement (ou, en anglais, « feature-based ») ; elle conduit à des résultats très satisfaisants. / Mesh adaptation is a powerful tool to obtain accurate aerodynamic simulations with limited cost. In the specific case of computation of aerodynamic functions (forces, moments, efficiency ...), goal-oriented methods based on the adjoint vector have been proposed. The aim of the thesis is the extension of a method of this type based on the total derivative dJ/dX of the aerodynamic output of interest, J, with respect to the volume mesh coordinates, X. The three common methods for calculating discrete gradient – the direct differentiation method, the parameter-adjoint method and mesh-adjoint method evaluating dJ/dX – have been studied first and coded in the elsA ONERA software for unstructured grids, for compressible inviscid and laminar flows. The second part of this work was has been to define a local sensor θ based on dJ/dX in order to identify zones where the volume mesh nodes position has a strong impact on the evaluation of the function J. This sensor is the selected indicator for different mesh adaptations for different flow regimes (subsonic, transonic, supersonic) for internal (blade and nozzle) and external (wing profile) aerodynamic configurations. The proposed method is compared to a well-known goal-oriented method (Darmofal and Venditti, 2001) and to a feature-based method ; it leads to very consistent results. very consistent results.
|
Page generated in 0.058 seconds