You are on page 1of 49

ANSYS Workbench for Process

Compression and Scalability

Jiaping Zhang, Technical Service Engineer,


Ansys Inc. Houston Office
Jiaping.Zhang@Ansys.com
1

2011 ANSYS, Inc.

June 21, 2012

Agenda
1. Ansys Workbench & Mechanical: An Introduction
2. 6 Steps to a Successful FEA Simulation
3. Physics Coupling and External Data Import
4. ACT Preview: Customizing the User Interface

2011 ANSYS, Inc.

June 21, 2012

Agenda
1. Ansys Workbench & Mechanical: An Introduction
2. 6 Steps to a Successful FEA Simulation
3. Physics Coupling and External Data Import
4. ACT Preview: Customizing the User Interface

2011 ANSYS, Inc.

June 21, 2012

Productivity Challenge
Shorten setup time for a single simulation
Reduce solving time
Simplify results analysis
Increase simulations in fixed time
Setup

Solving

Results

One simulation

Boost Productivity
HPC+GPU
Setup

Solving

Results
N simulations

2011 ANSYS, Inc.

June 21, 2012

Variations

Variations

Workbench: Shorten Setup Time

Multiphysics Workflow
Automatic Contact

CAD& Parametric
5

2011 ANSYS, Inc.

June 21, 2012

Automatic Meshing

Workbench: Reduce Solving Time


Distributed ANSYS+GPU(Graphics Processing Unit) Acceleration

Easy
Turn On GPU

Solder
balls

Solder Joint
Creep Analysis
- 4M DOF

Mold

PCB
6

2011 ANSYS, Inc.

June 21, 2012

Workbench: Simplify Postprocessing

2011 ANSYS, Inc.

June 21, 2012

Workbench: Allows Variations

Single Parameter

Goal Driven Optimization


8

2011 ANSYS, Inc.

June 21, 2012

Response Surface

Sensitivity Study

Agenda
1. Ansys Workbench & Mechanical: An Introduction
2. 6 Steps to a Successful FEA Simulation
3. Physics Coupling and External Data Import
4. ACT Preview: Customizing the User Interface

2011 ANSYS, Inc.

June 21, 2012

Step 1: Define the Simulation Workflow

10

2011 ANSYS, Inc.

June 21, 2012

Step 2: Define Geometry and Materials I

11

2011 ANSYS, Inc.

June 21, 2012

Step 2: Define Geometry and Materials II


Material Library

Material Curve Fitting

12

2011 ANSYS, Inc.

June 21, 2012

Step 3: Define Connections between Bodies

13

2011 ANSYS, Inc.

June 21, 2012

Automatic Contacts Detection


409 Parts, 967 Contacts

14

2011 ANSYS, Inc.

June 21, 2012

More Connections are Available


Spot Welds
Beam

Joint

Spring

Mesh connection
15

2011 ANSYS, Inc.

June 21, 2012

Step 4: Mesh the Model

16

2011 ANSYS, Inc.

June 21, 2012

Global Mesh Control

Curvature On

Proximity On

17

2011 ANSYS, Inc.

June 21, 2012

More Local Controls are Available

18

2011 ANSYS, Inc.

June 21, 2012

Adaptive Mesh Refinement for Convergence

19

2011 ANSYS, Inc.

June 21, 2012

Step 5: Define Loads and Boundary Conditions

20

2011 ANSYS, Inc.

June 21, 2012

Loads and Boundary Condition Options

21

2011 ANSYS, Inc.

June 21, 2012

Applying Loads to Nodes


Nodal orientation allows
users to assign a coordinate
system to node or nodal sets
Direct FE loads and
boundary conditions can be
applied to selected nodes,
whose direction is defined
by Nodal orientation

Nodes are oriented in cylindrical system for loads and


boundary condition definitions
22

2011 ANSYS, Inc.

June 21, 2012

Step 6: Understanding and Verifying Results

23

2011 ANSYS, Inc.

June 21, 2012

Thoroughly Investigate Your Results

24

2011 ANSYS, Inc.

June 21, 2012

Check The Quality of Your Results

Applied Load

Reactive Force

25

2011 ANSYS, Inc.

June 21, 2012

Create a Project Report

26

2011 ANSYS, Inc.

June 21, 2012

Enhance Simulation Using Command


Objects

27

2011 ANSYS, Inc.

June 21, 2012

Command Object Example: Contact Setting

Frictional
Surface
Set shear stress limit

28

2011 ANSYS, Inc.

June 21, 2012

Command Object Example: Loading


Apply Constraint and Loading on this surface

Load step 2: Clamp top surface


Load Step 3: Apply vertical loading to clamped surface

29

2011 ANSYS, Inc.

June 21, 2012

Command Object Example: PostProcessing

30

2011 ANSYS, Inc.

June 21, 2012

Agenda
1. Ansys Workbench & Mechanical: An Introduction
2. 6 Steps to a Successful FEA Simulation
3. Physics Coupling and External Data Import
4. ACT Preview: Customizing the User Interface

31

2011 ANSYS, Inc.

June 21, 2012

Coupling Physics Approach Reality

32

2011 ANSYS, Inc.

June 21, 2012

ANSYS Solution for Multiphysics


Mechanical
Simulation

Electromagnetic
Simulation
Low
Frequency
Maxwell
Simplorer

High
Frequency

Implicit

Computational Fluid
Dynamics (CFD)

Explicit
ANSYS Explicit

ANSYS
Mechanical

HFSS
SIwave

ANSYS
AUTODYN
ANSYS LS-DYNA

Fluid Dynamics

2011 ANSYS, Inc.

June 21, 2012

General CFD

ANSYS
Icepak

ANSYS CFD

Structural Mechanics

Electromagnetics
33

Electronics
cooling

Fluid-Structure Coupling

34

2011 ANSYS, Inc.

June 21, 2012

Electromagnetic-Structure Coupling

Magnetics forces will induce stresses(Example: Motor)

Resistive losses will cause thermal stress(Example: Satellite Dish Antenna)


35

2011 ANSYS, Inc.

June 21, 2012

Electromagnetic-Fluid-Structure Coupling
Maxwell+Fluent
One-way and two-way coupling

Combine with 1-way FSI

36

2011 ANSYS, Inc.

June 21, 2012

External Data Mapping: Motivation


Exchange files are
frequently encountered
to transfer quantities
from one simulation to
another.

Efficient mapping of
point cloud data is
required to account for
misalignment, non
matching units or
scaling issues.
37

2011 ANSYS, Inc.

June 21, 2012

Supported Data Types

38

2011 ANSYS, Inc.

June 21, 2012

Importing Multiple Files


Multiple files can be
imported for transient
analyses or to handle
different data to be
mapped on multiple
bodies

39

2011 ANSYS, Inc.

June 21, 2012

Validating the Mapped Data

Visual tools have been


implemented to control how
well the data has been
mapped onto the target
structure
Both the size of the spheres and
their color provide indication of
the mapping quality
40

2011 ANSYS, Inc.

June 21, 2012

Agenda
1. Ansys Workbench & Mechanical: An Introduction
2. 6 Steps to a Successful FEA Simulation
3. Physics Coupling and External Data Import
4. ACT Preview: Customizing the User Interface

41

2011 ANSYS, Inc.

June 21, 2012

ACT Introduction
Application Customization Toolkit (New in R14.0)

Encapsulate APDL macros: Allows re-use of legacy


APDL-scripts and encourages migration from MAPDL
to Mechanical via encapsulated macros
MAPDL exposure: Fills the gap between MAPDL
solver capabilities and their exposure in ANSYS
Mechanical
New pre-processing features (custom loads and
boundary conditions)
New post-processing features (custom results)
3rd party/in-house solver integration (Mechanical
GUI)
42

2011 ANSYS, Inc.

June 21, 2012

Simple ACT Example


APDL

ANSYS Mechanical

! APDL_script_for_convection.inp
! Input parameters:
esel,s,type,,10
cm,component,ELEM
thickness = 0.005
film_coefficient = 200.
temperature = 226.85
! Treatment:
/prep7
et,100,152
keyop,100,8,2.
et,1001,131
keyo,1001,3,2
sectype,1001,shell
secdata,thickness,10
secoff,mid
cmsel,s,component
emodif,all,type,1001
emodif,all,secnum,1001
type,100
esurf
fini
alls
/solu
esel,s,type,,100
nsle
sf,all,conv,film_coefficient,temperature
alls

APDL

43

2011 ANSYS, Inc.

June 21, 2012

Opportunity to migrate existing process automation


from MAPDL to ANSYS Mechanical at low cost

ACT Structure

44

2011 ANSYS, Inc.

June 21, 2012

Customize Toolbar Using XML

XML definition:
<load internalName="Convection on Blade" caption="Convection on Blade" icon="Convection"
issupport="false" isload="true">
<version>1</version>
<callbacks>
<onsolve>Convection_Blade_Computation</onsolve>
</callbacks>
<details>
<property internalName="Geometry" dataType="string" control="scoping"></property>
<property internalName="Thickness" caption="Thickness" dataType="string"
control="text"></property>
<property internalName="Film Coefficient" caption="Film Coefficient" dataType="string"
control="text"></property>
<property internalName="Ambient Temperature" caption="Ambient Temperature"
dataType="string" control="text"></property>
</details>
</load>
45

2011 ANSYS, Inc.

June 21, 2012

Define Internal Process Using Python


Python script:
# Get the scoped geometry:
propGeo = result.GetDPropertyFromName("Geometry")
refIds = propGeo.Value
# Get the related mesh and create the component:
for refId in refIds:
meshRegion = mesh.MeshRegion(refId)
elementIds = meshRegion.Elements
eid = aap.mesh.element[elementIds[0]].Id
f.write("*get,ntyp,ELEM,"+eid.ToString()+",ATTR,TYPE\n")
f.write("esel,s,type,,ntyp \n cm,component,ELEM")
# Get properties from the details view:
propThick = load.GetDPropertyFromName("Thickness")
thickness = propThick.Value
propCoef = load.GetDPropertyFromName("Film Coefficient")
film_coefficient = propCoef.Value
propTemp = load.GetDPropertyFromName("Ambient Temperature")
temperature = propTemp.Value

46

2011 ANSYS, Inc.

June 21, 2012

# Insert the parameters for the APDL commands:


f.write("thickness="+thickness.ToString()+"\n")
f.write("film_coefficient="+film_coefficient.ToString()+"\n")
f.write("temperature="+temperature.ToString()+"\n")
# Reuse the legacy APDL macros:
f.write("/input,APDL_script_for_convection.inp\n")

3rd Party/In-house Solver Integration


ACT allows partners/customers to seamlessly integrate into Mechanical

Non parametric optimization


solver (topological optimization)

47

2011 ANSYS, Inc.

June 21, 2012

Concluding Remarks
Workbench compresses and scale your simulation via:

Compress setup process


Simplify physics coupling and data import
Allows User Customization

48

2011 ANSYS, Inc.

June 21, 2012

Thank you!

49

2011 ANSYS, Inc.

June 21, 2012

You might also like