MULTLAB FEM-UNICAMP UNICAMP EVALUATING RESIDUALS AND IMBALANCE FORCES BY INFORM Residuals These are imbalances (errors) in the finite-volume equations.

Slides:



Advertisements
Similar presentations
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Advertisements

MULTLAB FEM-UNICAMP UNICAMP SETTING PROPERTIES USING INFORM The use of In-Form is introduced by means of examples to the user get acquainted with the syntax.
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.
UNICAMP GENERAL PARTICLE TRACKING ALGORITHM Sources of Information : Phoenics Lecture: GENTRAGENTRA Workshop: GENTRAGENTRA GENTRA user guide: (html) or.
Drag and Momentum Balance
Experiment #5 Momentum Deficit Behind a Cylinder
ES 202 Fluid and Thermal Systems Lecture 28: Drag Analysis on Flat Plates and Cross-Flow Cylinders (2/17/2003)
University of Western Ontario
Output - Derived Variables Derived Variables are quantities evaluated from the primitive (or solved) variables by PHOENICS. It means, PHOENICS first solve.
© Fluent Inc. 5/10/2015N1 Fluids Review TRN Postprocessing and Visualization.
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Centrifugal Pump
Who Wants to Be a CFD Expert? In the ME 566 course title, CFD for Engineering Design, what does the acronym CFD stand for? A.Car Free Day B.Cash Flow Diagram.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
UNICAMP THE HEIGHT OF LIQUID METHOD FOR FREE SURFACE FLOWS Flow simulations of real processes often involve fluids that are separated by a sharp interface.
MULTLAB FEM-UNICAMP UNICAMP SETTING STORAGE USING INFORM To get acquainted with the In-Form syntax it is introduced by means of examples. To begin with,
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 7.
Fluid Dynamics.
Physics 106: Mechanics Lecture 07
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 2 Mathematical Modeling and Engineering Problem Solving.
Introduction to Convection: Flow and Thermal Considerations
Quanitification of BL Effects in Engineering Utilitites… P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Engineering Parameters.
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 9: Boundary Conditions, BTE Code J. Murthy Purdue University.
Fluid mechanics 3.1 – key points
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.
Introduction to Convection: Flow and Thermal Considerations
Hydraulic Routing in Rivers
UNICAMP FULLY DEVELOPED & PERIODIC FLOWS Source of Information on Phoenics Lecture: fully developed flowsfully developed flows Includes: 1.Introduction,
MULTLAB FEM-UNICAMP UNICAMP SETTING PROPERTIES USING INFORM The use of In-Form is introduced by means of examples to the user get acquainted with the syntax.
MULTLAB FEM-UNICAMP UNICAMP SETTING SOURCES & BOUNDARY CONDITIONS USING INFORM Section 3.7 of TR003 brings a set of examples in ‘sources and sinks’. A.
PTT 204/3 APPLIED FLUID MECHANICS SEM 2 (2012/2013)
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
One of the most important fields in engineering Mechanics.
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.
Mass Transfer Coefficient
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.
Silesian University of Technology in Gliwice Inverse approach for identification of the shrinkage gap thermal resistance in continuous casting of metals.
CFX-10 Introduction Lecture 1.
Using the Segregated and Coupled Solvers
Hydraulic Routing in Rivers Reference: HEC-RAS Hydraulic Reference Manual, Version 4.1, Chapters 1 and 2 Reading: HEC-RAS Manual pp. 2-1 to 2-12 Applied.
FALL 2015 Esra Sorgüven Öner
SECTION 12.5 TRIPLE INTEGRALS.
CFD Study of the Development of Vortices on a Ring Wing
Distributed Resistances and Fan Models Chapter 4.

Statika Fluida Section 3. Fluid Dynamics Objectives Introduce concepts necessary to analyse fluids in motion Identify differences between Steady/unsteady.
Lecture Objectives: Define 1) Reynolds stresses and
Central Force Umiatin,M.Si. The aim : to evaluate characteristic of motion under central force field.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
External flow: drag and Lift
Chapter 6: Introduction to Convection
A V&V Overview of the 31st Symposium on Naval Hydrodynamics
Workshop 7 Tank Flushing
Chapter 4 Fluid Mechanics Frank White
Chapter 13 Solver .out File and CCL
Prepared BY: Helwan University Faculty Of Engineering
Workshop 6 Modeling of Catalytic Convertor
The β-spiral Determining absolute velocity from density field
Workshop 5 Centrifugal Pump
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Convergence in Computational Science
Modeling and experimental study of coupled porous/channel flow
Drag and Momentum Balance for Flow Around a Cylinder
The application of an atmospheric boundary layer to evaluate truck aerodynamics in CFD “A solution for a real-world engineering problem” Ir. Niek van.
Objective Numerical methods Finite volume.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019
Presentation transcript:

MULTLAB FEM-UNICAMP UNICAMP EVALUATING RESIDUALS AND IMBALANCE FORCES BY INFORM Residuals These are imbalances (errors) in the finite-volume equations which are computed during the solution procedure, the aim of which, of course, is to reduce them to an acceptable magnitude. Their magnitudes can be reported to the user, variable-by-variable, in two ways, namely as: 1.Global values, which are the sums of the absolute values for all cells; or 2.Fields of values, which can be printed in the RESULT file, or viewed by means of PHOTON, AUTOPLOT or the VR-Viewer, in the same manner as for other SOLVEd or STOREd variables. The global values appear both in the result file, where they are influenced by the setting of ITABL and in the graphical monitor, if that is activated. The most convenient means of printing and plotting the field values of residuals (and of "corrections" also) is to make use of the In-Form function RESI (and the function CORR for corrections.)RESICORR

MULTLAB FEM-UNICAMP UNICAMP GETTING RESIDUALS the residuals, are obtained with the In-Form Statement : (STORED of name is RESI (varname)) The usefulness of having residual field instead of a global residual ensures to the user the places where its numerical solution achieved or not the desired accuracy. In complex flow geometries sometimes is quite difficult to get low residual for the whole domain, but if one is interested in some specific regions of the domain he or she may decide if the residuals are low enough to quit the solver.

MULTLAB FEM-UNICAMP UNICAMP WORKSHOP TO GET RESIDUALS USING INFORM The workshops are based on a single case: steady cross flow of air (IMAT=0) around a 2D cylinder The parameters are described below: Cylinder diameter and length is 0.1 m x 0.1m. The domain is (xy) plane with 2x1 m with 60x30 grid. The inlet velocity is 0.001m/s. The north and south walls have flow symmetry. You can start your In-Form programming lines in the q1 file available for download (wksh_if_resi)wksh_if_resi

MULTLAB FEM-UNICAMP UNICAMP WRITING IN-FROM LINES FOR WKSH_IF_RESI(1) Inform19Begin (STORED OF RESU IS RESI(U1)) (STORED OF RESV IS RESI(V1)) (STORED OF RESP IS RESI(P1)) Inform19End To start with use 20 sweeps only with FALSTD(U1) = FALSDT(V1) =10.

MULTLAB FEM-UNICAMP UNICAMP WKSH_IF_RESI(1) Pressure residuals field for 20 sweeps. Increase the sweeps to 500 and compare the results. Also inspect the U1 and V1 residuals. Check if PARSOL on/off affects the residuals.. For a ‘rescue’ situation a q1 file of this case is available for download (wksh_if_resi)wksh_if_resi

MULTLAB FEM-UNICAMP UNICAMP VIRTUAL WIND TUNNEL APPLICATIONS PHOENICS solves equations which express, cell- by-cell throughout the computational grid, the balances of conserved quantities such as mass, momentum and energy. An "imbalance patch" is such a patch of cells for which the imbalances of the conserved quantities, at a defined instant in the calculation, is computed and printed.

MULTLAB FEM-UNICAMP UNICAMP VIRTUAL WIND TUNNEL APPLICATIONS Such patches provide interesting information of the following kinds: 1.If the patch encloses a volume of material which is free from any source of the quantity in question, if the flow is steady, and if the solution is converged, the printed-out imbalance should be as close to zero as round-off error permits. Larger imbalances are therefore a measure of lack of convergence which it may be useful to know about. 2.For transient flow, the printed imbalance represents the contribution of the transient terms of the equations, integrated over the patch volume. 3.If the patch encloses a volume of fluid within which a solid object is held at rest, the imbalances of momentum in three different directions represent the forces exerted by the fluid on the body.

MULTLAB FEM-UNICAMP UNICAMP PHOENICS IMPLEMENTATION If a patch name in the Q1 file begins with the four characters IMBL, it will be treated as an imbalance patch.IMBL Associated COVAL commands are necessary in order to indicate the variables for which imbalances must be computed; but the values of CO and VAL appearing in them are immaterial

MULTLAB FEM-UNICAMP UNICAMP WKSH_IF_RESI(2) The task of wksh_if_RESI(2) is to evaluate the drag coefficient of the cylinder of wksh-if-resi(1). The center of the cylinder is at IX=25 and IY=15. The IMBL patches must encompass the cylinder body. Two patches with distinct lengths were chosen: IMBL1 and IMBL2. Group 13. Boundary & Special Sources Imbalance patches enclosing a solid object enable the drag on the object to be deduced. All boxes should report the same momentum balance, if the solution has converged PATCH (IMBL1,VOLUME,15,35,8,22,1,1,1,1) COVAL (IMBL1,U1, E+00, E+00) COVAL (IMBL1,V1, E+00, E+00) PATCH (IMBL2,VOLUME,10,40,5,25,1,1,1,1) COVAL (IMBL2,U1, E+00, E+00) COVAL (IMBL2,V1, E+00, E+00)

MULTLAB FEM-UNICAMP UNICAMP WKSH_IF_RESI(2) For comparison purposes also activate the ‘ forces in objects’ in OUTPUP.

MULTLAB FEM-UNICAMP UNICAMP WKSH_IF_RESI(2) Check below an extract from the result file: x-wise force on IMBL1 is 2.117E-08 [N] x-wise force on IMBL2 is 2.264E-08 [N] y-wise force on IMBL1 is 2.990E-10 [N] y-wise force on IMBL2 is 6.235E-10 [N] Notice that X-Force on IMBL1 and IMBL2 are close to but not coincident. They result from a integration along the IMB boundary. Perhaps larger boundaries reduce the error, to be investigated. On the other hand, due to the flow symmetry, is not expected any y-wise force, consequently the deduced y-wise forces for both patch are two orders of magnitude lower. The X-Force evaluated automatically by Phoenics is 2.28E-08 N

MULTLAB FEM-UNICAMP UNICAMP THE DRAG COEFFICIENT The uniform flow of air results a Reynolds number (based on the cylinder diameter) of 6.5 CDexp ~ 4.0 see next slide. The drag coefficient is estimated from the imbalance force: Which bears a good agreement against the experimental CD data.. For a ‘rescue’ situation a q1 file of this case is available for download (wksh_if_resi)wksh_if_resi

MULTLAB FEM-UNICAMP UNICAMP DRAG COEFFICIENT FOR A CYLINDER IN CROSS FLOW

MULTLAB FEM-UNICAMP UNICAMP END OF THE RESIDUALS & IMBALANCES WORKSHOPS