Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 When the convergence gets rough… MIGAL for PHOENICS.

Slides:



Advertisements
Similar presentations
Stable Fluids A paper by Jos Stam.
Advertisements

19 May 2000 MIGAL for Phoenics 3.3 The New Coupled Algebraic Multi-grid Solver.
O.Yoshida, M.Andou Tokyo Gas Co., Ltd.
MASS TRANSFER TO SPHERE AND HEMISPHERE ELCTRODES BY IMPINGING JET
School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
Phoenics User Conference on CFD May 2004 Vipac Engineers & Scientists Ltd COMPUTATIONAL FLUID DYNAMICS Simulation of Turbulent Flows and Pollutant Dispersion.
1 Application of for Predicting Indoor Airflow and Thermal Comfort.
PHOENICS SEGREGATED SOLVER
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
MULTLAB FEM-UNICAMP UNICAMP SETTING SOURCES & BOUNDARY CONDITIONS USING VR Section 7 of TR326 describes Sources and B.C. 5n the form of object and its.
CFD II w/Dr. Farouk By: Travis Peyton7/18/2015 Modifications to the SIMPLE Method for Non-Orthogonal, Non-Staggered Grids in k- E Turbulence Flow Model.
UNICAMP GENERAL PARTICLE TRACKING ALGORITHM Sources of Information : Phoenics Lecture: GENTRAGENTRA Workshop: GENTRAGENTRA GENTRA user guide: (html) or.
MULTLAB FEM-UNICAMP UNICAMP EVALUATING RESIDUALS AND IMBALANCE FORCES BY INFORM Residuals These are imbalances (errors) in the finite-volume equations.
MULTLAB FEM-UNICAMP UNICAMP LID DRIVEN CAVITY FLOW The lid-driven cavity problem has long been used a test or validation case for new codes or new solution.
1 Pressure-based Solver for Incompressible and Compressible Flows with Cavitation Sunho Park 1, Shin Hyung Rhee 1, and Byeong Rog Shin 2 1 Seoul National.
Lecture Objectives: Simple algorithm Boundary conditions.
Free Convection: General Considerations and Results for Vertical and Horizontal Plates Chapter 9 Sections 9.1 through 9.6.2, 9.9.
Output - Derived Variables Derived Variables are quantities evaluated from the primitive (or solved) variables by PHOENICS. It means, PHOENICS first solve.
MTM 144 ASPEN FLUENT Timeschedule ProgramLecturesTeaching assistance Fluent INTRO4h2h GAMBIT4h8h FLUENT6h14h ASPEN6h4h
2003 International Congress of Refrigeration, Washington, D.C., August 17-22, 2003 CFD Modeling of Heat and Moisture Transfer on a 2-D Model of a Beef.
1 Numerical Solvers for BVPs By Dong Xu State Key Lab of CAD&CG, ZJU.
A Mach-uniform pressure correction algorithm Krista Nerinckx, J. Vierendeels and E. Dick Dept. of Flow, Heat and Combustion Mechanics GHENT UNIVERSITY.
Introduction to numerical simulation of fluid flows
Computer Aided Thermal Fluid Analysis Lecture 7 Dr. Ming-Jyh Chern ME NTUST.
NAE C_S2001 FINAL PROJECT PRESENTATION LASIC ISMAR 04/12/01 INSTRUCTOR: PROF. GUTIERREZ.
Computation of FREE CONVECTION P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi Quantification of Free …….
Fluid Dynamics: Boundary Layers
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
Matthew Fischels Aerospace Engineering Department Major Professor : Dr. R. Ganesh Rajagopalan REDUCING RUNTIME OF WIND TURBINE SIMULATION Los Alamos National.
Next Class Final Project and Presentation – Prepare and me the ppt files 5-7 slides Introduce your problem (1-2 slides) – Problem – Why CFD? Methods.
Enhancement of Heat Transfer P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi Invention of Compact Heat Transfer Devices……
Free Convection A free convection flow field is a self-sustained flow driven by the presence of a temperature gradient. (As opposed to a forced convection.
ParCFD Parallel computation of pollutant dispersion in industrial sites Julien Montagnier Marc Buffat David Guibert.
© Fluent Inc. 10/26/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Settings.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
Free Convection: General Considerations and Results for Vertical and Horizontal Plates 1.
CFX-10 Introduction Lecture 1.
Using the Segregated and Coupled Solvers
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
Modeling of the Unsteady Separated Flow over Bilge Keels of FPSO Hulls under Heave or Roll Motions Yi-Hsiang Yu 09/23/04 Copies of movies/papers and today’s.
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
Reynolds Analogy It can be shown that, under specific conditions (no external pressure gradient and Prandtle number equals to one), the momentum and heat.
Sarthit Toolthaisong FREE CONVECTION. Sarthit Toolthaisong 7.2 Features and Parameters of Free Convection 1) Driving Force In general, two conditions.
External Flow: The Flat Plate in Parallel Flow
Multigrid Methods The Implementation Wei E Universität München. Ferien Akademie 19 th Sep
External Flow: The Flat Plate in Parallel Flow Chapter 7 Section 7.1 through 7.3.
Higher Order Runge-Kutta Methods for Fluid Mechanics Problems Abhishek Mishra Graduate Student, Aerospace Engineering Course Presentation MATH 6646.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Computational Fluid Dynamics.
O.Yoshida, M.Andou Tokyo Gas Co., Ltd.
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
“Solve the equations right” Mathematical problem Validation :
Solving Poisson Equations Using Least Square Technique in Image Editing Colin Zheng Yi Li.
Lecture Objectives: Review Explicit vs. Implicit
Penetration Buoyant flow inside cavity Conference paper UKHTC 2011
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Convergence in Computational Science
Fluent Features قابليت های فلوئنت
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Numerical Model Atmospheres (Hubeny & Mihalas 16, 17)
Konferanse i beregningsorientert mekanikk, Trondheim, Mai, 2005
Convergence in Numerical Science
Objective Numerical methods Finite volume.
Lecture Objectives Review for exam Discuss midterm project
Practical Course SC & V Discretization II AVS Dr. Miriam Mehl
Lecture Objectives: Simple Algorithm vs. Direct Solvers Discuss HW 3
Solving Equations with Variables on Both Sides
Solving Equations with Variables on Both Sides
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Presentation transcript:

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 When the convergence gets rough… MIGAL for PHOENICS

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Migal How to What’s happening Conclusion MFRDC is specialized in numerical methods and embedded scientific software MIGAL is a coupled multigrid solver that…

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Turns hours 8 hours 12 minutes into minutes Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 And the more cells… the better… Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 the better… Because segregated algorithms are at least N² because MIGAL is a fully coupled multi-grid solver almost N Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Why? Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 The Equations for U,V,W,P Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Segregated Approach 1.Linearize, discretize and solve x- momentum equation for U 2.Linearize, discretize and solve y- momentum equation for V 3.Linearize, discretize and solve z- momentum equation for W 4.Linearize, discretize and solve mass equation for P 5.Back to step 1 until convergence Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Segregated Approach LinearizeDiscretizeSolve Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Segregated Approach LinearizeDiscretize Solve Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Coupled Approach 1.Linearize and discretize momentum and mass equations in the same way than segragted approach 2.Solve by coupled solver for U,V,W,P 3.Back to step 1 until convergence Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Coupled Approach Dr Michel Ferry September 2002 Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Advantages 1.Segregated approach needs small time steps, especially when cell sizes diminish 2.Improving segregated solvers does not improve the over all convergence 3.Almost no time step restiriction for linear flows with the coupled approach 4.Improving the coupled solver (multi- grid) directly improves the over all convergence. Migal How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 How to… How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 How to control MIGAL? 2- by changing parameters 3- by extending to single variables 1- by Editing the q1 file 4- that’s all… How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 How to… How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 How to check MIGAL? 1- by openning the RESULT file 2- by looking for the MIGAL header 3- by looking for the sweeps outputs 4- that’s all… How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 How to check MIGAL? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 What’s happening? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Flow Past a Flat Plate UINI = WINI = 0 Z X How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 SIMPLEST’s first sweep How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL’s first sweep How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with SIMPLEST? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with SIMPLEST What for How to What’s happen New features More examples Conclusion isweep=1isweep=2isweep=3isweep=4isweep=15isweep=30isweep=45isweep=60isweep=300isweep=450isweep=1000isweep=1500

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Phew… How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with MIGAL? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with MIGAL isweep=1isweep=2isweep=3isweep=4isweep=5isweep=10 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Converged How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Flow Past a Flat Plate UINI = 0 WINI = 1 Z X How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 SIMPLEST’s first sweep How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL’s first sweep How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with SIMPLEST? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with SIMPLEST isweep=1isweep=2isweep=3isweep=4isweep=15 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with SIMPLEST … How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with SIMPLEST isweep=1500 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with MIGAL? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More sweeps with MIGAL isweep=1isweep=2isweep=3isweep=4isweep=10 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Converged How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Free Convection in Cavity Laminar Ra=1.E5 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 SIMPLEST convergence? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 SIMPLEST (velocity) isweep=1isweep=2isweep=3isweep=4isweep=50isweep=100isweep=200isweep=500 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 SIMPLEST (temperature) isweep=1isweep=2isweep=3isweep=4isweep=50isweep=100isweep=200isweep=500 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL convergence? How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL (velocity) isweep=1isweep=2isweep=3isweep=4isweep=10isweep=20 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL (temperature) isweep=1isweep=2isweep=3isweep=4isweep=10isweep=20 How to What’s happening Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 When the convergence gets rough Convergence

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Correct setting RELAX(V1,FALSDT, E+10) RELAX(W1,FALSDT, E+10) RELAX(TEMP,FALSDT, E+00) SPEDAT(SET,MIGAL,SOLVED1,C,HYDRO) SPEDAT(SET,MIGAL,LINRLX1,R,1.0000E+00) SPEDAT(SET,MIGAL,SOLVED2,C,TEMP) SPEDAT(SET,MIGAL,LINRLX2,R,1.0000E+00) RELAX(V1,FALSDT, E-02) RELAX(W1,FALSDT, E-02) RELAX(TEMP,FALSDT, E+00) SPEDAT(SET,MIGAL,SOLVED1,C,HYDRO) SPEDAT(SET,MIGAL,LINRLX1,R,1.0000E+00) SPEDAT(SET,MIGAL,SOLVED2,C,TEMP) SPEDAT(SET,MIGAL,LINRLX2,R,1.0000E+00) Ambitious setting Convergence

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL (velocity) isweep=1isweep=2isweep=3isweep=4isweep=5isweep=6isweep=7 Convergence

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 MIGAL (temperature) isweep=1isweep=2isweep=3isweep=4isweep=5isweep=6isweep=7 Convergence

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Why? ok Convergence

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 RELAX(V1,FALSDT, E+10) RELAX(W1,FALSDT, E+10) RELAX(TEMP,FALSDT, E+00) SPEDAT(SET,MIGAL,SOLVED1,C,HYDRO) SPEDAT(SET,MIGAL,LINRLX1,R,5.0000E-01) SPEDAT(SET,MIGAL,SOLVED2,C,TEMP) SPEDAT(SET,MIGAL,LINRLX2,R,1.0000E+00) Alternative setting Convergence

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Non-linearities Convergence Convection -Momentum convection => quadradtic terms in momentum equations

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Non-linearities Convergence Buoyancy –Heat convection => density dependence to velocity field

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Non-linearities Convergence Turbulence –Convection of turbulent quantities (k,  ) –Production term highly dependent on velocity gradients

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Non-linearities Convergence Non-Orthogonality –Missing terms in correction operator P E N S SE NE e x y P E N S SE NE e x y

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Non-linearities Convergence High-order schemes –Missing terms in correction operator P E W WW w

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Parameters When facing non-linear oscillations –Reduce time step –RELAX(U1,FALSDT,...) –RELAX(V1,FALSDT,...) –RELAX(W1,FALSDT,...) –Under-relax corrections –SPEDAT(MIGAL,LINRLX1,R,...) Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Parameters When facing poor linear convergence –Increase effort on each grid (very large grids) –SPEDAT(MIGAL,NBRELAX1,I,...) –SPEDAT(MIGAL,NBPRER1,I,...) –SPEDAT(MIGAL,LITER1,I,...) –SPEDAT(MIGAL,RESFAC1,R,...) Parameters cycle max mean rms E E E E E E E E E E E E E E E E E E-03 Restriction Prolongation Pre-Restriction relaxations Post-Prolongation relaxations Last level relaxations

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Parameters When facing strong local convergence issue –Use the multi-grid preconditionned GMRES facility –SPEDAT(MIGAL,IGMRES1,I,...) –SPEDAT(MIGAL,NBPRECO1,I,...) NB: Increase memory footprint! Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Parameters : GMRES cycle max mean rms E E E E E E E E E E E E E E E E E E-03 IGMRES = 0 cycle max mean rms E E E E E E E E E-04 IGMRES = 5 1 order 2 orders Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 More Examples? Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Turbulent (k-  ) open cavity RELAX(V1,FALSDT, E-02) RELAX(W1,FALSDT, E-02) RELAX(KE,FALSDT, E-02) RELAX(EP,FALSDT, E-02) SPEDAT(SET,MIGAL,SOLVED1,C,HYDRO) SPEDAT(SET,MIGAL,LINRLX1,R,8.0000E-01) SPEDAT(SET,MIGAL,SOLVED2,C,KEMODL) SPEDAT(SET,MIGAL,LINRLX2,R,1.0000E+00) Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Comfort in a supermarket VARMAX(TEM1 ) = VARMIN(TEM1 ) = RELAX(U1,FALSDT, E+3) RELAX(V1,FALSDT, E+3) RELAX(W1,FALSDT, E+3) SPEDAT(MIGAL,SOLVED1,C,HYDRO) SPEDAT(MIGAL,LINRLX1,R,0.4) SPEDAT(MIGAL,IGMRES1,I,5) SPEDAT(MIGAL,RESFAC1,R,0.O) SPEDAT(MIGAL,SOLVED2,C,TEM1) SPEDAT(MIGAL,RESFAC2,R,0.0) SPEDAT(MIGAL,SOLVED3,C,KEMODL) SPEDAT(MIGAL,LINRLX3,R,0.8) SPEDAT(MIGAL,RESFAC3,R,0.0) Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Racing Car Model RELAX(U1,FALSDT, E+10) RELAX(V1,FALSDT, E+10) RELAX(W1,FALSDT, E+10) SPEDAT(MIGAL,SOLVED1,C,HYDRO) SPEDAT(MIGAL,LINRLX1,R,0.6) SPEDAT(MIGAL,IGMRES1,I,5) SPEDAT(MIGAL,RELAX1,R,0.85) SPEDAT(MIGAL,SOLVED2,C,KEMODL) SPEDAT(MIGAL,LINRLX2,R,0.8) SPEDAT(MIGAL,NBRELAX2,I,10) Parameters

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Conclusion

Migal How to What’s happening Convergence Parameters Conclusion Michel Ferry June 2008 Conclusion MIGAL boosts your convergence. MIGAL proceeds only few sweeps. Parameters can overcome usual convergence issues. Conclusion