Simulation

ANSYS offers engineering simulation solution sets for different engineering fields that a design process requires. Companies in a wide variety of industries use ANSYS software. The tools put a virtual product through a testing procedure (such as crashing a car into wall, or running for shaft for several thousands revolutions before it becomes a physical object.

 

Optimization

Want to know more about you model? Run a What if scenario? How sensitive are you results for changes in the input variables? Maybe optimize your model in terms of weight or stress ? Then ANSYS Parametric Design Language is the tool for you.

Over view about ANSYS products and fields

Simulation Technology: Structural Mechanics, Multiphysics, Fluid Dynamics, Explicit Dynamics, Electromagnetics, Hydrodynamics (AQWA).

My Field in ANSYS 

I am interested using ANSYS in simulating structural problems such as metal forming (closed die forging - sheet metal forming) in addition using ANSYS optimizer to optimize the process based on a certain objective function

The user must use ANSYS Parametric Design Language APDL in order to define the design variables such as (width and height of a beam) and then read the results and define some as state variables such as (stress or stain). the objective function is some thing that is going to be minimized or maximized (e.g. minimum deflection )

Very good APDL editor that may help you in APDL programming syntaxeditor_v1_7

The flowing APDL code is simple example for simulating sheet metal forming trying to find out the maximum angle that the sheet can reach for design variables (thickness range - fillet radii) keeping the state variables with in allowable range (strain). All you need to do is executing this code in ANSYS   

 


Copy and past the following lines in ANSYS command prompt.

!*create, Analysis File Name
/TITLE,sheet metal forming
/PREP7
*AFUN,DEG
FRICTION=.1
THETA=80 !Change to 40 and note the change 
x1=.06
x3=.03
offs=.04
R1=offs/sin(THETA)
x2=R1*cos(THETA)
t=.006
radius=.005
K,1,0,0,0, ! Key Points
k,2,x1,0,0,
k,3,x1+x2,offs,0,
k,4,x1+x2+x3,offs,0,
k,5,x1+x2+x3,(2*offs)+t+.00001,0,
k,6,x1+x2-(t*tan(THETA/2)),(2*offs)+t+.00001,0,
k,7,x1-(t*tan(THETA/2)),offs+t+.00001,0,
k,8,0,offs+t+.00001,0,
k,9,0,offs+.000005,0,
k,10,x1+x2+(X3),offs+.000005,0
k,11,x1+x2+(X3),(t+offs+.000005),0
k,12,0,t+offs+.000005,0,
K,13,x1+(.4*x2)+.001,offs+.000005,0
K,14,x1+(.6*x2)+.004,offs+.000005,0
K,15,x1+(.4*x2)+.001,(t+offs+.000005),0
K,16,x1+(.6*x2)+.004,(t+offs+.000005),0
LSTR, 2, 1 ! Lines
LSTR, 3, 2
LSTR, 4, 3
LSTR, 6, 5
LSTR, 7, 6
LSTR, 8, 7
LSTR, 9, 13
LSTR, 13, 14
LSTR, 14, 10
LSTR, 10, 11
LSTR, 11, 16
LSTR, 16, 15
LSTR, 15, 12
LSTR, 12, 09
LSTR, 16, 14
LSTR, 13, 15
LFILLT,2,1,radius+(t/2), , ! Fillets Radii
LFILLT,3,2,radius-(t/2), ,
LFILLT,5,4,radius+(t/2), ,
LFILLT,6,5,radius-(t/2), ,
/POST1
*GET, react, NODE, 1, rf,fy, ,
FoForce=-react
PLNSOL, S, EQV, 0, 1,
*GET, eqvsts, PLNSOL, 0, MAX, , ,
PLNSOL, eptt, EQV, 0, 1,
*GET, eqvstn, PLNSOL, 0, MAX, , ,
PLNSOL,CONT,GAP,0,1.0
*GET,gap1,PLNSOL,0,Min, , ,
congap=-gap1
*get,k14y,kp,14,loc,y,,
*get,k14x,kp,14,loc,x,,
*get,k13y,kp,13,loc,y,,
*get,k13x,kp,13,loc,x,,
*get,n14y,Node,10,u,y,,
*get,n14x,node,10,u,x,,
*get,n13y,node,9,u,y,,
*get,n13x,node,9,u,x,,
slop=((k14x+n14x)-(k13x+n13x))/((k14y+n14y)-(k13y+n13y))
finish
*end
*use, Analysis File Name
/OPT
opanl, Analysis File Name
OPVAR,THETA,DV,45,80,,
OPVAR,t,DV,.003,.006,,
OPVAR,radius,DV,.005,.02,,
OPVAR,EQVSTN,SV, ,.75, ,
OPVAR,congap,SV, ,0.1*t, ,
OPVAR,slop,OBJ,,,,
OPTYPE,SUBP
OPSUBP,30,7,
OPEQN,0,0,0,0,0,
OPEXE
finish

Pin It