Fluent User Services Center

Similar documents
Solver Settings. Introductory FLUENT Training ANSYS, Inc. All rights reserved. ANSYS, Inc. Proprietary

Introduction to C omputational F luid Dynamics. D. Murrin

Introduction to Computational Fluid Dynamics Mech 122 D. Fabris, K. Lynch, D. Rich

Modeling External Compressible Flow

A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS

Explicit and Implicit Coupling Strategies for Overset Grids. Jörg Brunswig, Manuel Manzke, Thomas Rung

Modeling Unsteady Compressible Flow

Express Introductory Training in ANSYS Fluent Workshop 04 Fluid Flow Around the NACA0012 Airfoil

Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow

Grid. Apr 09, 1998 FLUENT 5.0 (2d, segregated, lam) Grid. Jul 31, 1998 FLUENT 5.0 (2d, segregated, lam)

Introduction to ANSYS CFX

CFD MODELING FOR PNEUMATIC CONVEYING

Introduction to ANSYS SOLVER FLUENT 12-1

Flow and Heat Transfer in a Mixing Elbow

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011

Tutorial 17. Using the Mixture and Eulerian Multiphase Models

Heat transfer and Transient computations

Using a Single Rotating Reference Frame

Middle East Technical University Mechanical Engineering Department ME 485 CFD with Finite Volume Method Fall 2017 (Dr. Sert)

Adjoint Solver Workshop

Supersonic Flow Over a Wedge

Numerical Investigation of Transonic Shock Oscillations on Stationary Aerofoils

CFD-1. Introduction: What is CFD? T. J. Craft. Msc CFD-1. CFD: Computational Fluid Dynamics

NUMERICAL VISCOSITY. Convergent Science White Paper. COPYRIGHT 2017 CONVERGENT SCIENCE. All rights reserved.

Calculate a solution using the pressure-based coupled solver.

Simulating Sinkage & Trim for Planing Boat Hulls. A Fluent Dynamic Mesh 6DOF Tutorial

Chapter 1 Introduction

Express Introductory Training in ANSYS Fluent Workshop 08 Vortex Shedding

CFD Best Practice Guidelines: A process to understand CFD results and establish Simulation versus Reality

Tutorial: Heat and Mass Transfer with the Mixture Model

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Using the Eulerian Multiphase Model for Granular Flow

Advanced ANSYS FLUENT Acoustics

Multi-Mesh CFD. Chris Roy Chip Jackson (1 st year PhD student) Aerospace and Ocean Engineering Department Virginia Tech

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

An introduction to mesh generation Part IV : elliptic meshing

Accurate and Efficient Turbomachinery Simulation. Chad Custer, PhD Turbomachinery Technical Specialist

Tutorial: Hydrodynamics of Bubble Column Reactors

Backward facing step Homework. Department of Fluid Mechanics. For Personal Use. Budapest University of Technology and Economics. Budapest, 2010 autumn

Lab 9: FLUENT: Transient Natural Convection Between Concentric Cylinders

DNV GL s 16th Technology Week

Free Convection Cookbook for StarCCM+

Coupling of STAR-CCM+ to Other Theoretical or Numerical Solutions. Milovan Perić

Recent developments for the multigrid scheme of the DLR TAU-Code

Compressible Flow in a Nozzle

Express Introductory Training in ANSYS Fluent Workshop 07 Tank Flushing

Implementation of an integrated efficient parallel multiblock Flow solver

Flow in an Intake Manifold

Simulation of Flow Development in a Pipe

Public Release: Native Overset Mesh in FOAM-Extend

Missile External Aerodynamics Using Star-CCM+ Star European Conference 03/22-23/2011

Application of Finite Volume Method for Structural Analysis

CS205b/CME306. Lecture 9

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Modeling Evaporating Liquid Spray

Modeling Supersonic Jet Screech Noise Using Direct Computational Aeroacoustics (CAA) 14.5 Release

This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following:

CFD Project Workflow Guide

Auto Injector Syringe. A Fluent Dynamic Mesh 1DOF Tutorial

Navier-Stokes & Flow Simulation

Aero-Vibro Acoustics For Wind Noise Application. David Roche and Ashok Khondge ANSYS, Inc.

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

Numerical Simulation of Fuel Filling with Volume of Fluid

Isotropic Porous Media Tutorial

1.2 Numerical Solutions of Flow Problems

Accelerating Double Precision FEM Simulations with GPUs

Numerical and theoretical analysis of shock waves interaction and reflection

Mutltiphysics for Ironcad Demonstration Models (Rev. 1.1)

Using the Discrete Ordinates Radiation Model

The purpose of this tutorial is to illustrate how to set up and solve a problem using the. Moving Deforming Mesh (MDM) using the layering algorithm.

Solving Partial Differential Equations on Overlapping Grids

Multigrid Pattern. I. Problem. II. Driving Forces. III. Solution

LS-DYNA 980 : Recent Developments, Application Areas and Validation Process of the Incompressible fluid solver (ICFD) in LS-DYNA.

Use of CFD in Design and Development of R404A Reciprocating Compressor

Adaptive-Mesh-Refinement Hydrodynamic GPU Computation in Astrophysics

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

Modeling Flow Through Porous Media

Driven Cavity Example

A mass-conservative version of the semi- Lagrangian semi-implicit HIRLAM using Lagrangian vertical coordinates

Application of CFD to Industrial Safety Studies (with Prediction Accuracy and Error estimations)

Tutorial 2. Modeling Periodic Flow and Heat Transfer

Partial Differential Equations

Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent

Numerical Methods for (Time-Dependent) HJ PDEs

Multigrid Algorithms for Three-Dimensional RANS Calculations - The SUmb Solver

ENERGY-224 Reservoir Simulation Project Report. Ala Alzayer

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

Optimization of under-relaxation factors. and Courant numbers for the simulation of. sloshing in the oil pan of an automobile

Shape optimisation using breakthrough technologies

Continuum-Microscopic Models

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard

Solver Basics. Introductory FLUENT Training ANSYS, Inc. All rights reserved. ANSYS, Inc. Proprietary

Solution Recording and Playback: Vortex Shedding

FloEFD 16 What s New. Alexey Kharitonovich Product Manager. Tatiana Trebunskikh Product Manager

Pressure Drop Evaluation in a Pilot Plant Hydrocyclone

Multiphysics simulations of nuclear reactors and more

Using Multiple Rotating Reference Frames

Example 24 Spring-back

Investigation of cross flow over a circular cylinder at low Re using the Immersed Boundary Method (IBM)

Transcription:

Solver Settings 5-1

Using the Solver Setting Solver Parameters Convergence Definition Monitoring Stability Accelerating Convergence Accuracy Grid Independence Adaption Appendix: Background Finite Volume Method Explicit vs. Implicit Segregated vs. Coupled Transient Solutions Outline 5-2

Solution Procedure Overview Solution Parameters Set the solution parameters Choosing the Solver Discretization Schemes Initialization Initialize the solution Convergence Enable the solution monitors of interest Monitoring Convergence Stability Setting Under-relaxation Setting Courant number Accelerating Convergence Accuracy Yes Calculate a solution Check for convergence Check for accuracy Modify solution parameters or grid No Grid Independence Adaption Yes Stop No 5-3

Choosing a Solver Choices are Coupled-Implicit, Coupled-Explicit, or Segregated (Implicit) The Coupled solvers are recommended if a strong inter-dependence exists between density, energy, momentum, and/or species. e.g., high speed compressible flow or finite-rate reaction modeled flows. In general, the Coupled-Implicit solver is recommended over the coupled-explicit solver. Time required: Implicit solver runs roughly twice as fast. Memory required: Implicit solver requires roughly twice as much memory as coupledexplicit or segregated-implicit solvers! The Coupled-Explicit solver should only be used for unsteady flows when the characteristic time scale of problem is on same order as that of the acoustics. e.g., tracking transient shock wave The Segregated (implicit) solver is preferred in all other cases. Lower memory requirements than coupled-implicit solver. Segregated approach provides flexibility in solution procedure. 5-4

Initialization Iterative procedure requires that all solution variables be initialized before calculating a solution. Solve Initialize Initialize... Realistic guesses improves solution stability and accelerates convergence. In some cases, correct initial guess is required: Example: high temperature region to initiate chemical reaction. Patch values for individual variables in certain regions. Solve Initialize Patch... Free jet flows (patch high velocity for jet) Combustion problems (patch high temperature for ignition) 5-8

Convergence At convergence: All discrete conservation equations (momentum, energy, etc.) are obeyed in all cells to a specified tolerance. Solution no longer changes with more iterations. Overall mass, momentum, energy, and scalar balances are obtained. Monitoring convergence with residuals: Generally, a decrease in residuals by 3 orders of magnitude indicates at least qualitative convergence. Major flow features established. Scaled energy residual must decrease to 10-6 for segregated solver. Scaled species residual may need to decrease to 10-5 to achieve species balance. Monitoring quantitative convergence: Monitor other variables for changes. Ensure that property conservation is satisfied. 5-10

Convergence Monitors: Residuals Residual plots show when the residual values have reached the specified tolerance. Solve Monitors Residual... All equations converged. 10-3 10-6 5-11

Convergence Monitors: Forces/Surfaces In addition to residuals, you can also monitor: Lift, drag, or moment Solve Monitors Force... Variables or functions (e.g., surface integrals) at a boundary or any defined surface: Solve Monitors Surface... 5-12

Checking for Property Conservation In addition to monitoring residual and variable histories, you should also check for overall heat and mass balances. At a minimum, the net imbalance should be less than 1% of smallest flux through domain boundary. Report Fluxes... 5-13

Decreasing the Convergence Tolerance If your monitors indicate that the solution is converged, but the solution is still changing or has a large mass/heat imbalance: Reduce Convergence Criterion or disable Check Convergence. Then calculate until solution converges to the new tolerance. 5-14

Convergence Difficulties Numerical instabilities can arise with an ill-posed problem, poor quality mesh, and/or inappropriate solver settings. Exhibited as increasing (diverging) or stuck residuals. Diverging residuals imply increasing imbalance in conservation equations. Unconverged results can be misleading! Troubleshooting: Ensure problem is well posed. Compute an initial solution with a first-order discretization scheme. Decrease under-relaxation for equations having convergence trouble (segregated). Reduce Courant number (coupled). Re-mesh or refine grid with high aspect ratio or highly skewed cells. Continuity equation convergence trouble affects convergence of all equations. 5-15

Modifying Under-relaxation Factors Under-relaxation factor, α, is included to stabilize the iterative process for the segregated solver. Use default under-relaxation factors to start a calculation. Solve Controls Solution... Decreasing under-relaxation for momentum often aids convergence. Default settings are aggressive but suitable for wide range of problems. Appropriate settings best learned from experience. φ p = φp, old + α φ For coupled solvers, under-relaxation factors for equations outside coupled set are modified as in segregated solver. p 5-16

Modifying the Courant Number Courant number defines a time step size for steady-state problems. A transient term is included in the coupled solver even for steady state problems. For coupled-explicit solver: Stability constraints impose a maximum limit on Courant number. Cannot be greater than 2. Default value is 1. Reduce Courant number when having difficulty converging. For coupled-implicit solver: Courant number is not limited by stability constraints. t = (CFL) x u Default is set to 5. 5-17

Accelerating Convergence Convergence can be accelerated by: Supplying good initial conditions Starting from a previous solution. Increasing under-relaxation factors or Courant number Excessively high values can lead to instabilities. Recommend saving case and data files before continuing iterations. Controllingmultigrid solver settings. Default settings define robust Multigrid solver and typically do not need to be changed. 5-18

Accuracy A converged solution is not necessarily an accurate one. Solve using 2nd order discretization. Ensure that solution is grid-independent. Use adaption to modify grid. If flow features do not seem reasonable: Reconsider physical models and boundary conditions. Examine grid and re-mesh. 5-21

Mesh Quality and Solution Accuracy Numerical errors are associated with calculation of cell gradients and cell face interpolations. These errors can be contained: Use higher order discretization schemes. Attempt to align grid with flow. Refine the mesh. Sufficient mesh density is necessary to resolve salient features of flow. Interpolation errors decrease with decreasing cell size. Minimize variations in cell size. Truncation error is minimized in a uniform mesh. Fluent provides capability to adapt mesh based on cell size variation. Minimize cell skewnessand aspect ratio. In general, avoid aspect ratios higher than 5:1 (higher ratios allowed in b.l.). Optimal quad/hex cells have bounded angles of 90 degrees Optimal tri/tet cells are equilateral. 5-22

Determining Grid Independence When solution no longer changes with further grid refinement, you have a grid-independent solution. Procedure: Obtain new grid: Adapt Save original mesh before adapting. If you know where large gradients are expected, concentrate the original grid in that region, e.g., boundary layer. Adapt grid. Data from original grid is automatically interpolated to finer grid. file write-bc and file read-bc facilitates set up of new problem file reread-grid and File Interpolate... Continue calculation to convergence. Compare results obtained w/different grids. Repeat procedure if necessary. 5-23

Unsteady Flow Problems Transient solutions are possible with both segregated and coupled solvers. Solver iterates to convergence at each time level, then advances automatically. Solution Initialization defines initial condition and must be realistic. For segregated solver: Time step size, t, is input in Iterate panel. t must be small enough to resolve time dependent features and to ensure convergence within 20 iterations. May need to start solution with small t. Number of time steps, N, is also required. N* t = total simulated time. To iterate without advancing time step, use 0 time steps. PISO may aid in accelerating convergence for each time step. 5-24

Summary Solution procedure for the segregated and coupled solvers is the same: Calculate until you get a converged solution. Obtain second-order solution (recommended). Refine grid and recalculate until grid-independent solution is obtained. All solvers provide tools for judging and improving convergence and ensuring stability. All solvers provide tools for checking and improving accuracy. Solution accuracy will depend on the appropriateness of the physical models that you choose and the boundary conditions that you specify. 5-26