Difference between revisions of "Ecfd:ecfd 3rd edition"
(→Project #5: Jet-in-crossflow par une méthode d’interface diffuse) |
(→Project #21: AVBP Dense Gases) |
||
Line 225: | Line 225: | ||
[[media:ecfd3_final_project21.pdf | Final presentation of project #21]] | [[media:ecfd3_final_project21.pdf | Final presentation of project #21]] | ||
+ | |||
+ | La simulation d'écoulements de gaz denses dans AVBP s'appuie actuellement sur l'équation d'état de Martin-Hou pour obtenir les grandeurs thermodynamique dans chaque cellule du maillage à partir de la masse volumique (ou du volume spécifique v) et de l'énergie interne déduites des variables conservatives. Le projet développe une approche alternative où les grandeurs thermodynamiques locales sont calculées à partir de propriétés thermodynamiques tabulées. Pour préserver la physique de l'écoulement, l'interpolation dans les tables doit être réalisée de façon consistante (une simple interpolation bilinéaire pour chaque grandeur thermodynamique ne suffit pas). La représentation de l'énergie libre f(v,T) par un polynôme hermitien bi-quintique dans chaque cellule de la table permet d'assurer une interpolation consistante (puisque toutes les grandeurs thermodynamique sont obtenues en dérivant ce polynôme). Le workshop a permis de mettre en place les fonctions nécessaires à cette interpolation dans le module "real gas". Les perspectives à court terme sont la finalisation de cette implémentation, sa validation sur des cas-tests simples précédemment calculés avec équation d'état et l'optimisation de l'implémentation (en particulier la stratégie d'identification de la position dans la LuT pour chaque état local associé à une cellule du maillage | ||
=== Project #22: Numerical prediction of wind turbine wakes using AMR === | === Project #22: Numerical prediction of wind turbine wakes using AMR === | ||
[[media:ecfd3_final_project22.pdf | Final presentation of project #22]] | [[media:ecfd3_final_project22.pdf | Final presentation of project #22]] |
Revision as of 11:33, 31 January 2020
ECFD workshop, 3rd edition, 2020
Contents
- 1 Sponsors
- 2 Participants
- 3 Flyer
- 4 Presentations
- 5 Booklet
- 6 Project achievements
- 6.1 Project #1: Hackathon GENCI/ATOS/AMD/CERFACS on AVBP
- 6.2 Project #2: Hackathon GENCI/ATOS/AMD/CORIA on YALES2
- 6.3 Project #3: Implementation of a secondary atomization model in YALES2
- 6.4 Project #4: Conservative Heat Transfers in the the Accurate Conservative Level-Set framework
- 6.5 Project #5: Jet-in-crossflow par une méthode d’interface diffuse
- 6.6 Project #6: Accurate numerical prediction of vortical flows using AMR
- 6.7 Project #7: Modélisation de parois pour la simulation des grandes échelles
- 6.8 Project #8: Accurate numerical simulation of contact lines with dynamic mesh adaptation
- 6.9 Project #9: Remeshed particle method at high Schmidt and Reynolds number
- 6.10 Project #10: Adaptive mesh refinement for turbulent premixed combustion
- 6.11 Project #11: Multiphysics coupling for wind turbine wake modeling
- 6.12 Project #12: Stability of a semi-implicit compressible cavitation solver
- 6.13 Project #13: Validations and comparisons of Diffuse / Sharp interface methods in a structured DNS solver (Titan)
- 6.14 Project #14: Méthode d'ordre élevé
- 6.15 Project #15: Validation of a fluid structure interaction case with the coupling ALE/SMS
- 6.16 Project #16: Development of a RANS solver in YALES2
- 6.17 Project #17: IMPLEMENTATION OF A COLD PLASMA MODEL IN YALES2
- 6.18 Project #18: L’Evaporo O Maıtre
- 6.19 Project #19: The Clone Wars
- 6.20 Project #20: Stiff complex fluid simulation with YALES2
- 6.21 Project #21: AVBP Dense Gases
- 6.22 Project #22: Numerical prediction of wind turbine wakes using AMR
Sponsors
Participants
Flyer
Presentations
Booklet
Project achievements
Project #1: Hackathon GENCI/ATOS/AMD/CERFACS on AVBP
C. Piechurski (GENCI), S. Jauré (ATOS), B. Pajot (ATOS), P.-A. Harraud (AMD), P. Mohanamuraly (CERFACS), G. Staffelbach (CERFACS), J. Legaux (CERFACS)
We ported the AVBP solver to the AMD Rome system available at GENCI -TGCC ( IRENE Joliot Curie). Characterisation of the application on the architecture showed a 1/3 performance dependency to bandwidth and 2/3 to compute. Strong scaling performance up to 130k cores was measured with openmpi and provided an acceleration of 75% without optimisations. Weak scaling up to 32k MPI ranks suggests that decimation of the processes by a factor 2 improves computational efficiency by up to 30%. This suggests a trade off between mpi imbalance and decimation is possible if imbalance is higher than 30% to improve time to solution.
Currently Openmpi offers the best perfofrmance, intelmpi is still a bit unstable.
During the Hackathon we also introduced colour based cache blocking using ColPack in the code in order to use OpenMP without critical sections. On a 2x18 core Skylake processor the new implementation offered similar speedup using full threading versus full MPI with the best trade off being 4 MPI and 9 threads per MPI. On AMD Rome, Full threading did not offer much acceleration and needs to be inversigated but 8 MPI and 16 threads per MPI seem quite promising.
Final presentation of project #1
Project #2: Hackathon GENCI/ATOS/AMD/CORIA on YALES2
C. Piechurski (GENCI), S. Jauré (ATOS), P.-A. Harraud (AMD), P. Mohanamuraly (CERFACS), G.Lartigue (CORIA), F. Gava (CORIA), P. Begou (LEGI)
Final presentation of project #2
Project #3: Implementation of a secondary atomization model in YALES2
C. G. Guillamon (Safran Tech), L .Voivenel (Safran Tech), R. Mercier (Safran Tech)
In Lagrangian simulations, droplets are transported following a ballistic motion in an eulerian mesh. For non-reactive environments, droplets might undergo secondary atomization due to the aerodynamic interaction. In this work, we implement in YALES2 a breakup model known as Taylor-Analogy Breakup (TAB). This model is based on the analogy between a droplet and a second-order mechanical system, hence making possible to determine the breakup behaviour by means of Newton's second law.
Another model, the stochastic breakup model by Gorokhovski, is also suggested for future work and will be implemented in YALES2.
Final presentation of project #3
Project #4: Conservative Heat Transfers in the the Accurate Conservative Level-Set framework
François Pecquery (ARIANE GROUP), Mélody Cailler (SAFRAN TECH), Romain Janodet (SAFRAN TECH/CORIA) and Vincent Moureau (CORIA)
Objectives of the project was to introduce conservative heat transfers in the Accurate Conservative Level-Set framework to be able to describe heat transfers and liquid dynamics in an accurate, robust and conservative manner. A Multi-Phase Transport solver is introduced relying on the conserving and level-set coherent transport of the temperature. The solution is to use the fluxes of a phase indicator that may be sharp, contrarily to the level-set. The new solver was used on a simplified test case where a liquid droplet is transported in a temperature stratified environment. Results show promising capabilities of the new framework. Next work include improvement of the transport equation stability, and of the jump condition at the interface.
Final presentation of project #4
Project #5: Jet-in-crossflow par une méthode d’interface diffuse
Contributors: T. Laroche, N. Odier, B. Cuenot (CERFACS). In collaboration with M. Pelletier, T. Schmitt, S. Ducruix (EM2C)
In the context of fuel injection in an aircraft engine, liquid fuel is injected through a swirler, and sheared by a high-speed oxyder which destabilizes the liquid interface. This interaction induces liquid ligaments, which break up into large droplets (primary atomization), and then themselves break into small droplets (secondary atomization) This project deals with the implementation of a diffuse-interface method in the massively parallel solver AVBP to represent the liquid interface destabilization during primary atomization for compressible applications. This methodology is found to be very efficient, however a control of the interface diffusion is mandatory as soon as convective effects are added. During this workshop, the methodology proposed by Chiodi and Desjardins ( A reformulation of the conservative level set reinitialization equation for accurate and robust simulation of complex multiphase flows, JCP 2017) to control the interface thickness has been implemented in AVBP, and is currently under validation on a periodic liquid jet with surface tension effects.
Final presentation of project #5
Project #6: Accurate numerical prediction of vortical flows using AMR
Final presentation of project #6 We try to demonstrate that Eulerian method YALES2 using AMR can do a very good job to capture complex vortical flows at moderate Re=10k Here we use an AMR strategy based on vorticity. We investigate the problem of vortex ring collision. We have a gain of 1000 on the numbers of elements compared to a non adaptative approach. We are able to capture the transition from a very simple laminar flow to a complex turbulent flow.
Project #7: Modélisation de parois pour la simulation des grandes échelles
Final presentation of project #7
Project #8: Accurate numerical simulation of contact lines with dynamic mesh adaptation
S. Pertant (LEGI), G. Ghigliotti (LEGI), G. Balarac (LEGI)
The main objective of this project was to develop a methodology to simulate contact lines on unstructured meshes. We especially wanted to get rid of mesh influence on contact line movement when the flow is driven by surface tension and the contact line close to its equilibrium position. A slight modification in the Ghost Fluid Method to apply the pressure jump has been tested and seems promising. The pressure gradient at contact line is indeed less sensitive to mesh elements for high density ratios. Furthermore, dynamic mesh adaptation has been used to simulate a 2D vapour bubble lying on a wall. Due to gravity, the two contact lines are receding until their merging and the bubble departure. The mesh remains fine to capture the contact line dynamics. As a future work, we plan to perform mesh adaptation on 3D contact line cases and to include additional physics such as contact angle imposition (already implemented but not used yet with mesh adaptation).
Final presentation of project #8
Project #9: Remeshed particle method at high Schmidt and Reynolds number
S. Santoso (LJK), J.-B. Lagaert (Math Orsay), G.Balarac (LEGI)
We study the advection of a scalar function in turbulent flows with a multimesh method. The finite volume method is used to solve Navier-Stokes equations on an unstructured mesh (YALES2). The advection equation is solved with remeshed particle method on a cartesian mesh. In the context of parallel computing, we face a very unbalanced problem since a large number of particles are created in a very fine meshed zone. Our strategy to load-balance the problem is to give a weight to every element group which is equal to the density of particle.
Final presentation of project #9
Project #10: Adaptive mesh refinement for turbulent premixed combustion
W. Agostinelli, O. Dounia, , T. Jaravel, O. Vermorel
The objective of the project was to evaluate the potential of adaptive mesh refinement (AMR) for premixed combustion in unsteady systems. Three target cases were identified: a semi-vented deflagration with laminar to turbulent transition, a planar detonation wave, and a bluff-body stabilized burner subjected to thermoacoustic oscillations. The simulations were performed with AVBP and coupled to the AMR implementation of YALES2. Several metrics and remeshing criterions were developed to identify and correctly resolve both the combustion wave front and the turbulent flow. The comparison of numerical results with reference simulations showed that the main features of the physics could be recovered with a significant speed-up in term of computational cost.
Final presentation of project #10
Project #11: Multiphysics coupling for wind turbine wake modeling
F.Houtin-Mongrolle (CORIA), B. Duboc (SGRE), P. Benard (CORIA)
The goal of this project was to evaluate the coupling of YALES2 (flow solver) and BHawC(Aero-Servo-Elastic solver).
Final presentation of project #11
Project #12: Stability of a semi-implicit compressible cavitation solver
The compressible cavitation solver is used to simulate cavitation inception in an initially liquid flow behind an obstacle. This solver is based on the implicit compressible solver, that has been modified to include a « barotropic » pressure-density relationship playing the role of an equation of state independent from the temperature. While this strategy has proven to be effective for DNS simulations of the implosion of vapour bubbles, the simulation of cavitation inception in an initially liquid flow was leading to strong instabilities in the simulation shortly after the appearence of vapour. The test case chosen is a flow behind a 2D cylinder. The analysis of the results has shown that instabilities were correlated with very low (and even unphysically negative) values of the pressure, that were triggering negative density values leading to code instability. Using limiters to ensure a positive pressure and a density within the range of the equation of state improved the stability and allowed to perform a preliminary simulation of a cavitating flow behind an obstacle. Ultimately instabilities appear anyways, so that the spatial discretisation is now under study, notably through upwinding.
Final presentation of project #12
Project #13: Validations and comparisons of Diffuse / Sharp interface methods in a structured DNS solver (Titan)
V. Boniou (EM2C), J.M. Dupays (EM2C), M. Pelletier (EM2C), T. Schmitt (EM2C), A. Vié (EM2C)
The project aimed at using academic test cases to compare the sharp (incompressible) and diffuse (compressible) models. In particular, the test case of an inviscid initially elliptical oscillating droplet has been carried out. The solvers features are the following:
- incompressible VOF solver (sharp): Numerical Method: Projection Method, Interface reconstruction: VOF, Surface tension: CSF
- compressible multifluid solver (diffuse): Advection scheme: MUSCL + RK2 + minmod limiter, Surface tension: CSF.
The source term is integrated with operator-splitting, and the curvature computation relies on a 2nd-order differentiation of the liquid volume fraction, which is previously smooth by filtering. This test case showed good agreement on the oscillation period, while exhibiting a slight numerical diffusion in the incompressible case and a strong numerical diffusion in the compressible case. In the compressible case, the use of higher-order splitting (Strang [SIAM Num. An. 1968]) has been tested, yielding no noticeable improvement. Reduction of the number of filtering iterations on the liquid volume fraction provides a slight improvement, which may indicate that a better curvature computation could participate to reduce the numerical diffusion.
Final presentation of project #13
Project #14: Méthode d'ordre élevé
M. Bernard (LEGI), G. Lartigue (CORIA), G. Balarac (LEGI), V. Moureau (CORIA)
Final presentation of project #14
Project #15: Validation of a fluid structure interaction case with the coupling ALE/SMS
T. Fabbri (LEGI), G. Lartigue (CORIA), G. Balarac (LEGI), V. Moureau (CORIA)
The objective of this project was the validation of the Turek(2006) benchmark for fluid structure case. The Structural Mechanics Solver (SMS) was already existing before the workshop, as the coupling with the Arbitrary-Lagrangian Eulerian solver. However, the results were not in agreement with the case. The data compared here are the flexible part tip displacement, but also the drag and the lift integrated on the cylinder and the flexible part. The pure structure test cases were validated, but the forces computed for the pure fluid test cases were not satisfying. The work of this week was then to improve the viscous shear computation, which implies the wall normal gradient computation.
Final presentation of project #15
Project #16: Development of a RANS solver in YALES2
G. Sahut (LEGI), G. Balarac (LEGI), V. Moureau (CORIA), G. Lartigue (CORIA), P. Bénard (CORIA), A. Grenouilloux (CORIA)
While the accuracy of LES usually approaches the one of DNS, LES are still too time-consuming for daily use in industrial applications. In this context, we started the development of a RANS solver in YALES2. We are first only interested in the steady state of the solution. In order to remove the CFL constraint, we developed, implemented and validated an implicit projection method for the resolution of the Navier-Stokes equations without turbulence models. The method is based on the implicitation of the velocity predictor ; the Poisson equation and the correction step of the velocity are then solved and applied as in the explicit incompressible solver. We validated the method on a stationary 2D Poiseuille flow with periodic boundary conditions: the simulation runs fine for CFL and Fourier numbers which are inaccessible with the explicit incompressible solver. The advection-diffusion equation for scalars has also been implicited and will be used to add turbulence models to the new implicit incompressible solver developped during this Workshop. More complex boundary conditions will also be addressed in a near future.
Final presentation of project #16
Project #17: IMPLEMENTATION OF A COLD PLASMA MODEL IN YALES2
J.-M. Orlac'h (EM2C), G. Lartigue (CORIA), B. Fiorina (EM2C)
The objective of this project was to further develop the cold plasma solver in YALES2 in order to accurately model silane nanodusty discharges. The electron temperature equation has been implemented successfully and validated against a reference plasma code. In a second step, a detailed electron kinetics has been implemented in YALES2 in order to couple the electron temperature with the charged species mass fractions. The user can now define a list of reactions whose rates depend on the electron temperature. These improvements open the path to the simulation of nanoparticle production in silane discharges using a Lagrangian description for the nanoparticles.
Final presentation of project #17
Project #18: L’Evaporo O Maıtre
Final presentation of project #18
Project #19: The Clone Wars
H. Maldonado Colman (EM2C), C. Nguyen Van (EM2C - Safran-Tech), R. Mercier (Safran-Tech), B. Fiorina (EM2C)
The aim of this project was to increase the computation performance using virtual chemistry approach in the YALES2 solver.
In order to reach this goal three test cases where identified:
- 1D laminar premixed flame (methane / air combustion with carbon monoxide prediction)
- 2D laminar premixed bunsen flame (methane / air combustion with carbon monoxide prediction)
- 3D two phase and turbulent flame (nheptane / air combustion with nitrogen monoxide prediction)
Several ways were explored:
- Profiling of reactive simulations when using Virtual Chemistry
- Effect of redundant species transport
- Effect of the size and the numbers of jacobian matrix to compute and solve
- Effect of the correction functions smoothing
Conclusions of the study are:
- String trimming and concatenation heavily affect computing performances
- Redundant species transport and source terms computations has a minor impact on performances
Final presentation of project #19
Project #20: Stiff complex fluid simulation with YALES2
Sam Whitmore, Yves Dubief, M2CE, University of Vermont
The objective was to simulate (1) ionized gases and (2) polymer solutions in flows using YALES2. Both problems are challenging owing to their stiff thermodynamics (1) or polymer dynamics (2). Significant gains were achieved in the implementation of the respective models thanks to the stiff integrator library CVODE. The plasma flow demonstrated an increase in time step of two orders of magnitude compared to previous implementation of the plasma chemistry in the variable density solver. Polymer models are notoriously prone to numerical instability. Again the use of CVODE showed equivalent if not superior stability of the solution at a fraction of the cost of commonly employed algorithms designed to address the stiffness of the problem.
Final presentation of project #20
Project #21: AVBP Dense Gases
Final presentation of project #21
La simulation d'écoulements de gaz denses dans AVBP s'appuie actuellement sur l'équation d'état de Martin-Hou pour obtenir les grandeurs thermodynamique dans chaque cellule du maillage à partir de la masse volumique (ou du volume spécifique v) et de l'énergie interne déduites des variables conservatives. Le projet développe une approche alternative où les grandeurs thermodynamiques locales sont calculées à partir de propriétés thermodynamiques tabulées. Pour préserver la physique de l'écoulement, l'interpolation dans les tables doit être réalisée de façon consistante (une simple interpolation bilinéaire pour chaque grandeur thermodynamique ne suffit pas). La représentation de l'énergie libre f(v,T) par un polynôme hermitien bi-quintique dans chaque cellule de la table permet d'assurer une interpolation consistante (puisque toutes les grandeurs thermodynamique sont obtenues en dérivant ce polynôme). Le workshop a permis de mettre en place les fonctions nécessaires à cette interpolation dans le module "real gas". Les perspectives à court terme sont la finalisation de cette implémentation, sa validation sur des cas-tests simples précédemment calculés avec équation d'état et l'optimisation de l'implémentation (en particulier la stratégie d'identification de la position dans la LuT pour chaque état local associé à une cellule du maillage