review: cfd step-by-step - chalmershani/kurser/tmex02_2007/fluent... · 2006. 12. 28. · cad,...

13
© Fluent Inc. 4/20/2005 2-1 Introductory FLUENT Notes FLUENT v6.1 Feb 2003 Fluent User Services Center www.fluentusers.com CFD Analysis CFD Analysis ( ) 0 = + ∫∫∫ V t u ρ ρ Geometry Geometry CAD, Gambit CAD, Gambit Physics Fluent Physics Fluent Mesh generation Mesh generation Gambit Gambit Visualization Visualization Fluent Fluent Mathematics Mathematics Fluent Fluent Convection Conduction Turbulence Transient flow Combustion Radiation Rotation Multiphase Chemical reactions Phase change Acoustics Deforming mesh EMC Plasma flows ...

Upload: others

Post on 07-Sep-2021

25 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-1

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

CFD AnalysisCFD Analysis

( ) 0=⎟⎠⎞

⎜⎝⎛ ⋅∇+∂∂

∫∫∫V t

uρρGeometryGeometry

CAD, GambitCAD, Gambit

PhysicsFluent

PhysicsFluent

Mesh generationMesh generationGambitGambit

VisualizationVisualizationFluentFluent

MathematicsMathematicsFluentFluent

• Convection• Conduction• Turbulence• Transient flow• Combustion• Radiation• Rotation• Multiphase• Chemical

reactions• Phase change• Acoustics• Deforming

mesh• EMC• Plasma flows• ...

Page 2: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-2

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

What is CFD?Computational Fluid Dynamics (CFD) is the science of predicting fluid flow, heat and mass transfer, chemical reactions, by solving numerically the set of governing mathematical equations.

Conservation of mass, momentum, energy, species, ...

The results of CFD analyses are relevant in:conceptual studies of new designsProduct developmenttroubleshootingRedesign

CFD analysis complements experimentation and theory.Reduces the total effort required in the experiment design and data acquisition

Page 3: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-3

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

CFD with Finite Volume Method?Control volumes or Cells.General conservation (transport) equationfor mass, momentum, energy, etc.:

Partial differential equations => algebraic equation systemSolved numerically

∫∫∫∫ +⋅∇Γ=⋅+∂∂

VAAV

dVSdddVt φφρφρφ AAV

unsteady convection diffusion generation

Eqn.continuity 1

x-mom. uy-mom. venergy h

φ

control volume

Page 4: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-4

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

The Tools

Transport Equationsmass

species mass fractionphasic volume fraction

momentumenergy

Equation of StateSupporting Physical Models

Solving

Physical ModelsTurbulenceCombustionRadiationMultiphasePhase ChangeMoving ZonesMoving Mesh

Mesh Generator

Material PropertiesBoundary ConditionsInitial Conditions

Solver Settings

Pre-Processing

Solid Modeler

Post-Processing

Equations solved on mesh

GAMBIT / Tgrid Fluent

Page 5: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-5

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

CFD Analysis: Basic Steps

Problem Identification and Pre-Processing1. Define your modeling goals.2. Identify the domain you will model.3. Design and create the grid.Solver Execution4. Set up the numerical model.5. Compute and monitor the solution.Post-Processing6. Examine the results.7. Consider revisions to the model.

Page 6: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-6

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Define Your Modeling GoalsProblem Identification and Pre-Processing1. Define your modeling goals.2. Identify the domain you will model.3. Design and create the grid.

What results are you looking for, and how will they be used?What are your modeling options?

What physical models will need to be included in your analysis?What simplifying assumptions do you have to make?What simplifying assumptions can you make?

What degree of accuracy is required?How quickly do you need the results?

Page 7: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-7

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Identify the Domain

Isolate a piece of the complete physical systemComputational domain.

Boundary condition informationCan the boundary condition types accommodate that information?Can you extend the domain to a point where reasonable data exists?

Is a 2D or axisymmetric approximation feaseable?

Problem Identification and Pre-Processing1. Define your modeling goals.2. Identify the domain you will model.3. Design and create the grid

Gas

Riser

Cyclone

L-valve

Gas Example: Cyclone Separator

Page 8: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-8

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Design and Create the Grid

Quad/hex grid, tri/tet grid or hybrid grid.

Grid resolution.Is the geometry resolved?Are large gradients resolved?Adaption?

Computer resources.How many cells are required?How many models will be used?

triangle quadrilateral

tetrahedron

pyramid prism/wedge

hexahedron

Problem Identification and Pre-Processing1. Define your modeling goals.2. Identify the domain you will model.3. Design and create the grid.

Page 9: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-9

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Tri/Tet vs. Quad/Hex Meshes

For simple geometries, quad/hex meshes can provide higher-quality solutions with fewer cells than a comparable tri/tet mesh.

Align the gridlines with the flow.

For complex geometries, quad/hex meshes show no numerical advantage, and you can save meshing effort by using a tri/tet mesh.

Page 10: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-10

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Set Up the Numerical Model

For a given problem, you will need to:Select physical models.Define material properties.Prescribe operating conditions.Prescribe boundary conditions.Provide an initial solution.Set up solver controls.Set up convergence monitors.

Solver Execution4. Set up the numerical model.5. Compute and monitor the solution.

Solving initially in 2D will provide valuable experience with the models and solver settings for your problem in a short amount of time.

Page 11: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-11

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Compute the SolutionThe discretized equations are solved iteratively.

Convergence is reached when:Changes in solution variables from one iteration to the next are negligible.

Residuals provide a mechanism to help monitor this trend.

Overall property conservation is achieved.

The accuracy of a converged solution is dependent upon:

Accuracy of physical modelsGrid resolutionProblem setup

Solver Execution4. Set up the numerical model.5. Compute and monitor the solution.

A converged and grid-independent solution on a well-posed problem will provide useful engineering results!

Page 12: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-12

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Examine the ResultsExamine the results and extract useful data.

Visualization ToolsFlow pattern?Separation?Shocks, shear layers, etc.?Are key flow features being resolved?

Numerical Reporting ToolsForcesHeat transfer coefficientsSurface and Volume integrated quantitiesFlux Balances

Post-Processing6. Examine the results.7. Consider revisions to the model.

Examine results to ensure property conservation and correct physical behavior. High residuals may be attributable to only a few cells of poor quality.

Page 13: Review: CFD Step-by-Step - Chalmershani/kurser/TMEX02_2007/Fluent... · 2006. 12. 28. · CAD, Gambit Physics Fluent Physics Fluent Mesh generation GambitGambit Visualization Fluent

© Fluent Inc. 4/20/20052-13

Introductory FLUENT NotesFLUENT v6.1 Feb 2003

Fluent User Services Center

www.fluentusers.com

Consider Revisions to the ModelAre physical models appropriate?

Is flow turbulent?Is flow unsteady?Are there compressibility effects?Are there 3D effects?

Are boundary conditions correct?Is the computational domain large enough?Are boundary conditions appropriate?Are boundary values reasonable?

Is grid adequate?Can grid be adapted to improve results?Does solution change significantly with adaption, or is the solution grid independent?Does boundary resolution need to be improved?

Post-Processing6. Examine the results.7. Consider revisions to the model.