Modul Ansys Day 3
Modul Ansys Day 3
#DAY 1
By: Haidar Fakhri
TRAINING AGENDA
DAY 1 DAY 2 DAY 3 DAY 4
@anakteknikindo @cfdhack
WORKBENCH INTERFACE FOR FLUENT
@anakteknikindo @cfdhack
FLUENT LAUNCHER
@anakteknikindo @cfdhack
FLUENT INTERFACE
@anakteknikindo @cfdhack
FLUENT INTERFACE
@anakteknikindo @cfdhack
Material Properties
• Fluent provides a standard • Select Materials in the Project Setup tree
database of materials and the • Or Define Materials... in the Menu bar
ability to create a custom
user-defined database
@anakteknikindo @cfdhack
Materials Databases
• Fluent materials database
– Provides access to a number
of pre-defined fluid, solid and
mixture materials
– Materials can be copied to
the case file and edited if
required
@anakteknikindo @cfdhack
Available Boundary Condition Types
• External Boundaries • Internal Boundaries
– General – Fan
• Pressure Inlet – Interior
• Pressure Outlet – Porous Jump
– Radiator
– Incompressible – Wall
• Velocity Inlet
• Outflow (not recommended) outlet
orifice
– Compressible wall
• Mass Flow Inlet
• Pressure Far Field
– Other
• Wall
• Symmetry
• Axis
• Periodic
plate
– Special plate-shadow
• Inlet / Outlet Vent
• Intake / Exhaust Fan inlet
@anakteknikindo @cfdhack
Changing Boundary Condition Types
• Zones and zone types are initially
defined in the preprocessing phase
@anakteknikindo @cfdhack
Velocity Inlet
• Velocity Specification Method
– Magnitude, Normal to Boundary
– Components
– Magnitude and Direction
– Turbulence quantities (if applicable)
• Covered in Day 2
– Thermal conditions (if applicable)
• Covered in Day 2
@anakteknikindo @cfdhack
Pressure Inlet
• Required inputs
– Gauge Total Pressure
– Supersonic / Initial Gauge Pressure
– Inlet flow direction
– Turbulence quantities (if applicable)
– Total temperature (if heat transfer and/or compressible)
@anakteknikindo @cfdhack
Mass Flow Inlet
• Required information
– Mass Flow Rate or Mass Flux
– Supersonic/Initial Gauge Pressure
• Static pressure where flow is
locally supersonic; ignored if subsonic
• Will be used if flow field is initialized from this
boundary
– Total Temperature (on Thermal tab)
• Used as static temperature for incompressible flow
– Direction Specification Method
@anakteknikindo @cfdhack
Pressure Outlet
• Required information
– Gauge Pressure (static) – static pressure of the
environment into which the flow exits
• Specified pressure is ignored if flow is locally
supersonic at the outlet
– Backflow quantities – Used as inlet
conditions if/when backflow occurs
(outlet acts like an inlet)
@anakteknikindo @cfdhack
Outflow
• No pressure or velocity information is required
– Data at exit plane is extrapolated from interior
– Mass balance correction is applied at boundary
– Flow exiting outflow boundary exhibits zero normal
diffusive flux for all flow variables
• Appropriate where the exit flow is fully developed
• Limitations :
– Cannot be used with a pressure inlet boundary
• must use velocity-inlet
• Combination does not uniquely set pressure gradient over whole domain
– Cannot be used for unsteady flows with variable density
• The outflow boundary is intended for use with incompressible flows
• Poor rate of convergence when backflow occurs during iterations
– Cannot be used if backflow is expected in the final solution
@anakteknikindo @cfdhack
Wall Boundaries
• In viscous flows, no-slip conditions are applied at walls
– Shear stress can be applied
– Wall roughness can be defined for turbulent flows
• Modification of the Logarithmic Standard Wall Function
@anakteknikindo @cfdhack
Available Solvers
• There are two kinds of solvers available in Fluent
• Pressure based
• Density based Pressure-Based Density-Based
Segregated Coupled Coupled Implicit Coupled-Explicit
Solve U-Momentum
Solve Energy
Solve Species
@anakteknikindo @cfdhack
Pressure-based Solver (PBS)
• The pressure-based solvers Pressure-Based
Segregated Coupled
– Velocity field is obtained from the momentum
equation Solve U-Momentum
– Mass conservation (continuity) is achieved by Solve V-Momentum
solving a pressure correction equation Solve Mass
• Pressure-velocity coupling algorithms are derived by Solve W-Momentum & Momentum
reformatting the continuity equation
Solve Mass
• The pressure equation is derived in such a way that Continuity;
the velocity field, corrected by the pressure, satisfies Update Velocity
continuity
@anakteknikindo @cfdhack
Density-based Solver (DBS)
• Density-based Solver (DBS) Density-Based
Coupled Implicit Coupled Explicit
– The governing equations of continuity,
momentum, and (where appropriate) energy
and species transport are solved Solve Mass, Solve Mass,
simultaneously (i.e., coupled together) Momentum, Momentum,
Energy, Energy,
– Additional scalar equations are solved in a Species Species
segregated fashion
– The density-based solver can be run implicit or
explicit
@anakteknikindo @cfdhack
Choosing a Solver
@anakteknikindo @cfdhack
PBS - Pressure-Velocity Coupling
• Pressure-velocity coupling refers to the numerical algorithm which uses a
combination of continuity and momentum equations to derive an equation for
pressure correction when using the PBS
@anakteknikindo @cfdhack
Pressure-Based Coupled Solver: Convergence
• Pressure based coupled solver with default settings
Rotating propeller 1500 rpm SIMPLE: ~2250 iterations Coupled: ~120 iterations
@anakteknikindo @cfdhack
Initialization
• Fluent requires that all solution variables be initialized before starting
iterations
– A realistic initial guess improves solution stability and accelerates convergence
– In some cases a poor initial guess may cause the solver to fail during the first few
iterations
@anakteknikindo @cfdhack
Convergence Monitors – Residuals
• Residual plots show when the residual values have reached the
specified tolerance
– It is possible to modify or disable the default
checking criterion for convergence
(to prevent the calculation from being stopped
prematurely)
All equations
converged
10-3
10-6
@anakteknikindo @cfdhack
Convergence vs Accuracy
• A converged solution is not necessarily an accurate solution
– Accuracy depends on :
• Order of the discretization schemes (2nd order schemes are
recommended)
• Mesh resolution
• Boundary Conditions
• Model limitations
• Geometry simplifications
• Precision of the solver (2d/3d or 2ddp/3ddp)
• …
@anakteknikindo @cfdhack
Convergence vs Accuracy
• A converged solution is not necessarily an accurate solution
– Accuracy depends on :
• Order of the discretization schemes (2nd order schemes are
recommended)
• Mesh resolution
• Boundary Conditions
• Model limitations
• Geometry simplifications
• Precision of the solver (2d/3d or 2ddp/3ddp)
• …
@anakteknikindo @cfdhack
TERIMA KASIH
HAIDAR F
FOLLOW
@CFDHACK