Professional Documents
Culture Documents
David H. Porter
Minnesota Supercomputer Institute
University of Minnesota
Topics Covered in this Tutorial
● What you can do with FLUENT
– FLUENT is feature rich
– Summary of features and capabilities
● Using FLUENT at MSI
– Hosts, X forwarding, environment, startup
● Essentials of working with FLUENT
– Basic steps for success
● User Resources at MSI
– Web documentation: User Guides & tutorials
– Help is available: helpline & forums
What You Can Do With FLUENT
● Flow problems in 2D and 3D
● Compressible & Incompressible
● Steady state and time dependent
● Variety of material properties
● Complex physics & chemsitry
● Inviscid, viscous, and turbulence models
● Complex geometries & meshes
● Multiple and non-inertial reference frames
● Quantitative analysis & visualization
Flow Problems in 2D and 3D
● 2D
– Planar
– Axisymmetric
– Axisymmetric with swirl
● 3D
– Full 3D
– Complex boundaries
Compressible and Incompressible
● Low subsonic
– Incompressible or weakly compressible
– Constant or variable density
– Equation of state
● Transonic
– Strong compressibility
– Shock waves
● Supersonic & Hypersonic
– Inviscid model
– Euler discontinuities
– Strong shocks
Steady State and Time Dependent
● Iterative convergence to
steady state solutions
● Porous media
– Non-isotropic permeability
– Inertial resistance Porous media in a catalytic converter
– Solid heat conduction
– Porous-face pressure jump conditions
● Combustion models
– Homogeneous
– Heterogeneous
● Heat transfer
– solid/fluid “conjugate” transfer Natural Convection
Velocity field
– Forced, natural & mixed convection
● Non-inertial
– Rotating
– Accelerating
Re = (2/3)U(2h)/nu = 500
vip=(-1,1) vop=(10,1)
Wall Outflow
Inflow
Wall vm0=(0,0)
X
vi0=(-1,0)
Wall
Wall
vmm=(0,-1) vom=(10,-1)
● Start GAMBIT
– module load fluent
– gambit
● Specify solver
menu: solver -> FLUENT 5/6
Specify Vertices
● Vertexes from point coordinates
– Operation: GEOMETRY button
– Geometry: VETREX button
– Vertex: CREATE VERTEX button
– Enter coordinates with labels & APPLY for each pair
vip (-1,1) vmm (0,-1)
vim (-1,0) vom (10,-1)
vm0 (0,0) vop (10,1)
● Export mesh
– Generates a mesh file: step.msh
– Will import this file into FLUENT
Menu: File -> Export -> Mesh ...
● Enable “Export 2-D (X-Y) Mesh”
● Accept
Solve for Steady State Solution
● Use FLUENT
● Import mesh
● Models: solver, viscous, source terms, ...
● Material properties
● Boundary conditions
● Operating conditions
● Solution controls & initialization
● Monitors
● Iterate ...
Setup FLUENT
● Use “step” project directory
– Contains file: step.msh
● Set environment: module load fluent
– Only need to do once per shell
– Can put “module load ...” in file: .bashrc
● Run FLUENT for 2D simulations
fluent 2D
● Import mesh from file step.msh
File -> Read -> Case
● Check mesh: Grid -> Check
Choose Model
● Solver framework
Define -> Models -> Solver
– Retain defaults
● Energy equation?
Define -> Models -> Energy ...
– Simple, low Mach flow: Try energy eqn. off
● Viscosity model
Define -> Models -> Viscous ...
– Try Laminar option.
Materials & Boundaries
● Select fluid
Define -> Materials ...
– Can select from Database
– Can define your own
– Will keep default: air
● Dynamic Viscosity: 1.7894e-05 [kg/m-s]
● Boundaries: Define -> Bounary Conditions
– Select Inlet (Velocity Inlet) & Set...
– Set Velocity Magnitude: 0.002435 m/s (Re ~ 500)
– Retain default settings for outlet (Pressure Outlet)
– Retain defaults for all other boundaries (Wall)
Operating Conditions & Solver Controls
● Set operating conditions
Define -> Operating Conditions ...
– Retain defaults