HPC ANSYS 2012
HPC ANSYS 2012
HPC ANSYS 2012
Ma Shengwei
Assistant Technical Manager
CAD-IT Consultants
January 2010
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 1 ANSYS, Inc. Proprietary
.
Welcome
• Objectives
• Why ANSYS HPC?
• An introduction to FEA
• Using ANSYS in HPC Center
• Using ANSYS LS-DYNA in HPC Center
• Using AUTODYN in HPC Center
• An introduction to CFD simulations
• Using FLUENT in HPC Center
• Using CFX in HPC Center
•Q&A
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 3
Objectives
Source: http://www.lanl.gov/news/index.php/fuseaction/1663.article/d/20085/id/13277
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 7
Why ANSYS HPC?
HP Z800 Workstation
NCSA TeraGrid IA-64 Linux Cluster
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 8
Why ANSYS HPC?
Processor 3
Processor 1
Processor 4
Processor 2
1990 1990
► Shared Memory Multiprocessing for structural simulations
1980 1980’s
► Vector Processing on Mainframes
© 2010
2008 CAD-IT
ANSYS,Consultants
Inc. All rights
andreserved.
ANSYS, Inc. All rights reserved. 10 ANSYS, Inc. Proprietary
Why ANSYS HPC?
• One may view 3D solid elements as the most general with other
elements including idealizations/assumptions but being more
computationally efficient.
K x F
M x C x K x F
M x K S x 0
Field Solutions
Solution Options
Loads Send/Receive
• Transfer results data from one simulation and apply the results
as loads in another
• Available in the Workbench environment
• Automatic load mapping
– Solution quantities mapped to new model
• Fluid pressures, temperatures, Joule heat, etc.
• Many applications:
– Thermal-stress, fluid-structure interaction with small displacements,
Joule heating with constant properties, etc.
Param- Meshing
terization
MULTIPHYSICS
Fluids
CAD In-house
DEPTH Emag Workflow
Import Solution
Elastic-Plastic (material
50 -1000 10-1 - 101
strength significant)
Hydrodynamic (pressure
3000 - 12000 106 - 108 many times material
strength)
Vaporization of colliding
Explicit > 12000 > 108
solids
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 27
An introduction to FEA
Response Time ms - s µs - ms
PUNCH
BLANK
DIE
SF=0 SF» 0 S F = ma
IMPLICIT METHOD
EXPLICIT METHOD
• In HPC center, you will mainly be in batch mode. You need prepare your
input files in interactive mode, usually on your workstations.
Starting ANSYS
Command Line Start-up –essential for this cluster
• Allows you to start ANSYS by entering a command at the
system level.
• /ansys_inc/v110/ansys/bin/ansys110 -[b|g] [options] [input]
/ansys_inc/v121/ansys/bin/ansys121 -[b|g] [options] [input]
Product Launcher
• Allows you to select and start ANSYS products and utilities.
• On Unix/Linux systems, issue: launcher110/121
• On Windows systems:
Start > Programs > ANSYS 11.0 (or 12.1) > ANSYS Product
Launcher
• Customization/Preferences
tab allows you to set
memory options, run a
custom version of ANSYS,
define parameters, set the
language to be used by the
Graphical User Interface
(GUI), and specify a
Graphics Device (2D or 3D).
• MFX - ANSYS/CFX
Setup tab is used to
set up ANSYS Multi-
field solving options
for ANSYS and CFX.
Toolbars
Menus
Graphics Window
Tree Outline
Mechanical
Application Wizard
Status Bar
Demo:
1. Starting ANSYS
2. Example
3. Generate input
file
Demo:
1. Edit the job script
2. Submit a job
3. Monitor status
AUTODYN® - Focus
• Transient dynamic wave propagation
– Gases, Liquids, Solids + their
Interaction (FSI)
• Non-linear
– Material behaviour
– Structural behaviour
– Contact/Interaction
– Fluid Structure Interaction
• Large/extreme deformation
• Large/extreme strain and
fragmentation
• Typical Applications
– Impact
– Ballistic Protection
• Low => Hypervelocity
– Energetic Systems
– Blast Propagation
– Materials Research
Coupling
Euler (CFD) Solvers
Lagrange (FE) Solvers (Multi-material, Blast)
(Solids, shells & beams)
Solid / Gas / Fluid Flow
Structural Response
Complex Materials
Interactions Blast Waves
Solid Impact
FSI (Deforming Structures)
Bonding / Contact
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 51
Using AUTODYN
• Material models
Equations of State Strength Models Failure Models
(Hydrodynamic) (Plasticity)
Set Up
Run Analysis Interactively Parallel Processing
Visually Refreshed Load / Save Model Host Configuration
Stop / Start at any time Startup Files Decomposition
Interrogate progress Restart Files Load Balancing
Notes:
• Linux---solver only till current release (R12.1)
• Windows--- standalone or within Workbench
View panel
Button
opens
window
Demo
1. Autodyn interface
2. Parallel settings
3. Edit job script
4. Submit a job
5. Useful resources
ANSYS /POST26
LS-PREPOST (phase 2)
Time history postprocessing
Postprocess time history binary results files
Reads Jobname.HIS
- d3thdt
- selective binary results data
Similar to Jobname.HIS
EDHIST,Comp and EDHTIME,Freq
EDHIST,Comp and EDHTIME,Freq
I=inf O=otf G=ptf D=dpf F=thf U=xtf T=tpf A=rrd M=sif J=jif S=iff Z=isf1
L=isf2 B=rlf W=root E=efl X=scl C=cpu K=kill V=vda Y=c3d BEM=bof
{KEYWORD} {THERMAL} {COUPLE} {INIT} MEMORY=nwds NCPU= ncpu
PARA=para ENDTIME=time NCYCLE=ncycle JOBID=jobid
D3PROP=d3prop
Demo
1. On keyword file;
2. Edit job script
3. Submit a job;
4. Useful resources
Problem Identification
1. Define goals
2. Identify domain
• What results are you looking for (i.e. pressure drop, mass flow rate),
and how will they be used?
– What are your modeling options?
• What physical models will need to be included in your analysis (i.e.
turbulence, compressibility, radiation)?
• What simplifying assumptions do you have to make?
• What simplifying assumptions can you make (i.e. symmetry,
periodicity)?
• Do you require a unique modeling capability?
– User-defined functions (written in C) in FLUENT or User FORTRAN
functions in CFX
• What degree of accuracy is required?
• How quickly do you need the results?
• Is CFD an appropriate tool?
3.
Pre-Processing
Geometry
Hex or Tet?
4. Meshing • For flow-aligned geometries,
5. Physics
quad/hex meshes can provide
6. Solver Settings
higher-quality solutions with fewer
• For complex geometries, cells/nodes than a comparable tri/tet
quad/hex meshes show no mesh
numerical advantage, and you
– Quad/Hex meshes show reduced
can save meshing effort by numerical diffusion when the mesh
using a tri/tet mesh or hybrid is aligned with the flow.
mesh – It does require more effort to
– Quick to generate generate a quad/hex mesh
– Flow is generally not aligned with • Meshing tools designed for a
the mesh
specific application can streamline
• Hybrid meshes typically the process of creating a quad/hex
combine tri/tet elements with mesh for some geometries.
other elements in selected • GAMBIT, TGrid, ICEM CFD, ANSYS Meshing
regions
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 72
Introduction of CFD
9. Update Model
and extract useful data
– Visualization Tools can be used to
Post Processing
8. Examine results
answer such questions as:
• What is the overall flow pattern?
• Is there separation?
• Where do shocks, shear layers, etc.
form?
• Are key flow features being
resolved?
ANSYS
CAD CFX-Pre CFX-Solver
Plug-in ANSYS CFD-Post
DesignModeler
CAD
Meshing FLUENT
System Setup/Solve/Post
ANSYS Workbench
FLUENT or CFX?
Procedures
Prepare the geometry– DesignModeler,GAMBIT, ICEM CFD,CAD software
Meshing– GAMBIT, TGrid, ICEM CFD, ANSYS Meshing
Setup the problem—FLUENT
Solving –FLUENT (batch or interactive)
Postprocessing—FLUENT, CFD POST
For large problems that need this HPC cluster, you can
prepare the case and data files in WB or FLUENT
standalone.
Solve U-Momentum
• The pressure-based solvers take
momentum and pressure (or Solve V-Momentum Solve Mass,
pressure correction) as the primary Solve Mass Momentum,
Energy,
variables. Solve W-Momentum & Momentum
Species
– Pressure-velocity coupling algorithms
Solve Mass
are derived by reformatting the Continuity;
continuity equation Update Velocity
• Two algorithms are available with
the pressure-based solvers:
Solve Energy
– Segregated solver – Solves for
pressure correction and momentum
sequentially. Solve Species
– Coupled Solver (PBCS) – Solves
pressure and momentum Solve Turbulence Equation(s)
simultaneously.
Solve Other Transport Equations as required
Demo 1 Demo 2
1. GAMBIT FLUENT in WB
2. FLUENT standalone
3. Solving
4. Post-processing Demo 3
1. Prepare case file
2. Prepare input file
3. Modify job script
4. Submit a job
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 100
Using CFX
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 101
Using CFX
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 102
Using CFX
Difference Plot
• Expression syntax:
– function()@CASE:#.Location
– E.g: areaAve(Pressure)@CASE:1.Inlet
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 103
Using CFX
by CFX-Pre
Open .cfx
.cfx, .def, .res
CFX-Pre (CFX-Pre Database)
• .def files contain mesh and
.def (Solver Input or Definition File)
physics data and can be run in
the Solver .out
CFX-Solver (Solver Output File)
.res (Results File)
• .res files contain mesh, physics
and results data and can be .def, .cmdb
CFD-Post
.cst
(Mesh Files) .cse
opened in CFD-Post
• CFX-Pre can also open .def and .res files to recover the mesh and physics. Some
unused data (e.g. unused Materials) is not written to the .def / .res files and is
therefore not recovered.
• The CFX-Solver can use .res files to continue a run or as an initial guess
• CFD-Post can also open .def and .cmdb files to view the mesh
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 104
Using CFX
Demo 1 Demo 2
1. DM 1. Prepare definition file
2. Meshing 2. Modify job script
3. CFX-Pre 3. Submit a job
4. CFX-Solver
5. CFD-POST
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 105
Questions?
© 2010 CAD-IT Consultants and ANSYS, Inc. All rights reserved. 106