15-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory #002598 Chapter 15 Review and Tips Introduction to CFX.

Slides:



Advertisements
Similar presentations
Workshop 6 Electronics Cooling with Natural Convection and Radiation
Advertisements

Chapter 10 Transient Flow Modeling
SolidWorks Flow Simulation
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Workshop 10 Turbo Pre and Post
Workshop 5 Cavitating Centrifugal Pump
Workshop 8 Transient Brake Rotor
MULTLAB FEM-UNICAMP UNICAMP EVALUATING RESIDUALS AND IMBALANCE FORCES BY INFORM Residuals These are imbalances (errors) in the finite-volume equations.
Chapter 4 Boundary Conditions
Boundary Layer Flow Describes the transport phenomena near the surface for the case of fluid flowing past a solid object.
D-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Appendix D Profile Boundary Conditions Introduction.
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Centrifugal Pump
© Fluent Inc. 5/17/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Boundary Conditions.
Workshop 1 Mixing T-Junction
Chapter 1 Introduction to CFD
Image courtesy of National Optical Astronomy Observatory, operated by the Association of Universities for Research in Astronomy, under cooperative agreement.
Workshop 3 Room Temperature Study
Coupling and Constraint Equations Module 3. Training Manual October 30, 2001 Inventory # Coupling & Constraint Equations Just as DOF constraints.
DESIGN OF AXIAL FLOW COMPRESSORS Proper Integration of Mild Compression Stages !!! P M V Subbarao Professor Mechanical Engineering Department.
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
Chapter Five Vibration Analysis.
Chapter 7 Interfaces, Sources and Additional Variables
Chapter 10 Heat Transfer Introduction to CFX.
Chapter 11 CFX Expression Language (CEL)
1 Calorimeter Thermal Analysis with Increased Heat Loads September 28, 2009.
Workshop 2 Transonic Flow Over a NACA 0012 Airfoil.
© Fluent Inc. 9/20/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Basics.
Workshop 4 Flow Through Porous Media
Catalytic Converter Simulation
Chapter 9 Turbulence Introduction to CFX.
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.
Workshop 3 Room Temperature Study (Part 1)
Chapter Five Vibration Analysis.
Appendix B Turbo Pre and Post
6-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 6 Day 1 Review and Tips Introduction to CFX.
CFX-10 Introduction Lecture 1.
Using the Segregated and Coupled Solvers
Heating Coil Simulation
WS7-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Introductory FLUENT Training Workshop 7 Tank Flushing.
HEAT TRANSFER FINITE ELEMENT FORMULATION
Kyoto UniversityHong Kong University of Science and Technology Coventor Tutorial Bi-Stable Mechanical Beam Simulation -Remote Desktop Connection -Material.
7-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. February 23, 2009 Inventory # Workbench - Mechanical Introduction 12.0 Chapter.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
4-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 4 Solver Settings Introduction to CFX.
Bolted Joint Assembly. Advanced Solid Body Contact Options Goal – In this workshop, our goal is to study the effect that contact stiffness specification.
Chapter 12 Moving Zones Introduction to CFX.
Chapter 11 Thermal Contact.
1 Zonal Boundary Conditions. 2 Some Basics The flow domain is divided into zones and grids are generated within each zone. The flow equations are solved.
Distributed Resistances and Fan Models Chapter 4.
Chapter Four Friction.
General Troubleshooting Nonlinear Diagnostics. Goal – In this workshop, our goal is to use the nonlinear diagnostics tools available in Solution Information.
COUPLED ANALYSES Chapter 7. Training Manual May 15, 2001 Inventory # Fluid-Structure Analysis “One Way” Analysis –Structural deformation effect.
Viscosità Equazioni di Navier Stokes. Viscous stresses are surface forces per unit area. (Similar to pressure) (Viscous stresses)
13-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 13 Solver.out File and CCL Introduction to.
Summary Chapter 13. Training Manual March 15, 2001 Inventory # Chapter Objectives In this chapter, a review will be given of the basic concepts.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W0-1 BladeModeler 11.0 ANSYS, Inc. Proprietary ANSYS TurboSystem Practical.
Chapter 10 Transient Flow Modeling
Workshop 6 Electronics Cooling with Natural Convection and Radiation
Workshop 7 Tank Flushing
Workshop 7 Tank Flushing
Chapter 4 Solver Settings
Chapter 13 Solver .out File and CCL
Maxwell 3D Transient.
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Cavitating Centrifugal Pump
Workshop 5 Centrifugal Pump
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Convergence in Computational Science
Presentation transcript:

15-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 15 Review and Tips Introduction to CFX

Review and Tips 15-2 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Domain Interfaces Domain Interfaces can be used as part of a meshing strategy as well as for connecting different domains or reference frames together Boundary conditions are created in each domain when a Domain Interface is created; generally you should not edit these directly When the mesh is different on each side of the interface a GGI (General Grid Interface) is used – This will use more memory in the Solver than a continuous mesh – Accuracy across a GGI interface is usually not a concern as long as the mesh length scales on each side are similar Automatic Domain Interfaces are created by CFX-Pre in some cases – Always check these and don’t assume that all the required Domain Interfaces have been created

Review and Tips 15-3 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Sources Sources are used to account for physics or processes that have not been directly resolved in the simulation Momentum sources can be used to create a pressure drop (e.g. a screen, a porous material) or a pressure rise (e.g. a fan) Energy sources can account for heat added/removed from the simulation When sources are functions of the solved variable (e.g. momentum sources that are functions of velocity, energy sources that are functions of temperature) the Source Coefficient should be set – The Source Coefficient must be negative otherwise the solver will diverge – May need to re-write the Source so that is has a negative derivative

Review and Tips 15-4 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Transient Simulations In a transient analysis the timestep should be small enough to capture the transient behaviour of interest Boundary conditions can be functions of time Convergence should be monitored so that each timestep is converged – It is generally better to reduce the overall timestep size to improve convergence rather than increasing the number of coefficient loops Remember to create the Transient Results object before running

Review and Tips 15-5 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Turbulence Estimate the flow Reynolds Number to determine if the flow is laminar or turbulent Check y + values to make sure the near-wall mesh is suitable – y + < 300 for a Wall Function solution – y + <=2 with the SST model for a low-Re solution The SST model is a good choice for a general turbulence model Be aware of the limitations of the turbulence model chosen – RANS models resolve the mean flow field, therefore a lot of transient turbulent structures are not captured These may be important when simulating noise and vibration – The k-  model can give inaccurate separation predictions

Review and Tips 15-6 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Heat Transfer High speed flows (Mach > 0.2) should use the Total Energy model The double precision setting for the Solver is recommended for CHT simulations (i.e. when a solid domain is included) Always make sure energy imbalances have reached acceptable levels in CHT cases Enable Viscous Work or Viscous Dissipation if heating due to viscous effects is important If thermal radiation is modeled choose an appropriate model depending on the optical thickness Thin Wall modeling and thermal contact resistances can be set at domain interfaces

Review and Tips 15-7 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Moving Zones Moving boundaries can be simulated in several different ways For rotating walls, a wall velocity can simply be imposed if the motion is purely tangential (e.g. a rotating hub or a solid brake disk) When the rotating walls have a normal component of velocity they must be placed inside a rotating domain (e.g. blades, vented brake disk) – Stationary walls then become counter-rotating in the rotating domain and must form surfaces of revolution (i.e. no normal component of velocity) – Although a Mesh Motion approach is possible, it is much more computationally expensive Mesh motion is usually used to simulate deforming boundaries or linear / cyclic motion

Review and Tips 15-8 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Moving Zones At a change in reference frame a frame change model is used – From low fidelity/cost to high fidelity/cost the choices are Frozen Rotor, Stage or Transient Rotor Stator Other approaches for moving regions are: – Rigid Body Motion A 6-DOF solves calculates the solid body motion Used in conjunction with Mesh Motion – Immersed Solid Used to simulate moving solids that cannot be accommodated with Mesh Motion

Review and Tips 15-9 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Why Does My Case Fail in the Solver? First carefully read the error message – The error message may recommend setting an Expert Parameter – This may be an appropriate fix, or it may mask an underlying problem Example: | Checking for Isolated Fluid Regions | isolated fluid regions were found in domain R1 … … turn off this check by setting the expert parameter "check isolated regions = f". This error usually means domain interfaces are missing, so setting the expert parameter would not usually be appropriate

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Why Does My Case Fail in the Solver? “Insufficient Memory Allocated” type errors – First check the.out file to see which process was running (Solver, Partitioner or Interpolator) – Increase the Memory Alloc Factor in the Solver Manager (Define Run >> enable Show Advanced Controls >> Solver / Partitioner / Interpolator tab) “Not enough free memory is currently available on the system” – A system limitation has been reached! – “Memory” refers to RAM – Possible solutions: Run in parallel or increase the number of partitions to distribute the memory load Reduce the memory requirements for the case – Smaller mesh – Fewer or smaller GGI interfaces

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Why Does My Case Fail in the Solver? “Floating point exception: Overflow” – The solver has diverged – Often some of the equations will show “F” instead of “OK” before the error message – When this error occurs in the first few iterations perform some basic checks: Are the boundary conditions physical? What’s the Reference Pressure? What pressure is set at the boundaries? What’s the initial pressure? What direction would you expect the flow to go given the specified pressures? – Reduce the timescale, particularly if the solver fails later in the run

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Why Does My Case Fail in the Solver? “Floating point exception: Overflow” – Write out backup files before the failure and examine the solution fields (Pressure, Velocity, …) – Look for the max / min values, they will usually be very high / low – Can set the expert parameter “backup file at zero” to write out a file before the first iteration, showing the initial guess – Look for the first “F” – if U, V, W or P failed in the 10 th iteration, but Turbulence failed in the 9 th iteration, then check the turbulence field

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Why Does My Case Not Converge? Walls placed at outlets – If the warning message shown to the right appears during the solution it means that flow is trying to come back in through an outlet boundary – Not a problem if the message then goes away – Otherwise the outlet may be located in a recirculation zone COEFFICIENT LOOP ITERATION = 6 CPU SECONDS = 5.754E | Equation | Rate | RMS Res | Max Res | Linear Solution | | U-Mom | 0.82 | 3.3E-06 | 3.3E-04 | 4.1E-02 OK| | V-Mom | 0.82 | 2.2E-06 | 5.6E-04 | 6.4E-02 OK| | W-Mom | 0.64 | 2.3E-06 | 9.2E-05 | 1.6E-02 OK| | P-Mass | 0.66 | 2.3E-07 | 6.9E-06 | E-01 ok| | ****** Notice ****** | | A wall has been placed at portion(s) of an OUTLET | | boundary condition (at 83.8% of the faces, 89.9% of the area) | | to prevent fluid from flowing into the domain. | | The boundary condition name is: PV33. | | The fluid name is: D2O. | | If this situation persists, consider switching | | to an Opening type boundary condition instead. | | K-TurbKE | 0.45 | 1.4E-05 | 5.9E-04 | E-07 OK| | E-Diss.K | 0.45 | 4.5E-05 | 2.8E-03 | E-06 OK| – Move the outlet or use an Opening boundary – Or, if the area fraction that has been “walled off” is 100%, then the local fluid pressure is likely less than the specified boundary pressure

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Why Does My Case Not Converge? Changing the timescale can help convergence – Slow steady convergence may be accelerated through a larger timescale – Bouncy convergence or solver failure may be fixed with a smaller timescale Sometimes simulations which are run in steady state mode will not converge even with good mesh quality and a well selected timescale – If a steady state run shows oscillatory behavior of the residual plots, the flow may be transient – Run the case in transient mode and observe if the residuals reduce If convergence has stalled try running in double-precision Write out the residual fields (Output Control > Results > Output Equation Residuals) and use Isosurfaces to look for the locations with high residuals

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Setting Expert Parameters Expert Parameter can be set in CFX-Pre, or by editing the CCL In CFX-Pre: Inset > Solver > Expert Parameter – Most, but not all Expert Parameters are shown in CFX-Pre

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Setting Expert Parameters In CCL add the EXPERT PARAMETER: object under the FLOW: object and type in the parameter You can use the Command Editor in CFX-Pre (Tools > Command Editor) to type in CCL

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Mesh Refinement Studies Errors in a converged solution arise from: – Numerical Errors E.g. round-off errors, convergence (lack-of) errors – Model Errors E.g. accuracy of boundary conditions, physical models – Discretization Errors Errors arising from converting the continuous governing equations into a discrete form that can be solved on a computer Discretization errors reduce with mesh spacing Mesh refinement studies are used to estimate the significance of discretization errors on your solution Mesh refinement studies are recommended for each new type of simulation you perform

Review and Tips ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Training Manual Mesh Refinement Studies A mesh refinement study consist of solving the same case on progressively finer meshes – Each mesh should be significantly finer than the previous, e.g. 100k nodes, 200k nodes, 400k nodes The quantities of interest should be evaluated and compared for each mesh – When the quantity reaches a steady value discretization errors are no longer significant Quantity of Interest # of Elements Appropriate mesh