Ansys Manual Final
Ansys Manual Final
Ansys Manual Final
COM
LAB MANUAL
VIDYARTHIPLUS.COM
WWW.VIDYAUS.COM
INDEX
Mark /
S/No Date Experiments
Signature
ANALYSIS
1. Stress Analysis of a Rectangular Plate with Circular Hole
SIMULATION
12. Modal Analysis of a Spring-Mass System
beam.out – output of all ANSYS operations (text). This is what normally scrolls in the output
window during ANSYS session.
beam.log – log file or listing of ANSYS commands (text). Listing of all equivalent
2. GENERAL ANALYSIS PROCEDURE IN ANSYS
2.1. PREFERENCES: Define Analysis Type
The "Preferences" dialog box allows you to choose the desired engineering discipline for
context filtering of menu choices. By default, menu choices for all disciplines are shown, with non-
applicable choices "dimmed" based on a set of element types in your model. If you prefer not to see
the dimmed choices at all, you should turn on filtering. For example, turning on structural filtering
completely suppresses all thermal, electromagnetic, and fluid menu topics.
Choose Main Menu> Preferences. The Preferences for GUI Filtering dialog box appears
2.2. PREPROCESSING: Defining the problem
2.2.1. Define the Element Types
1. Choose menu path Main Menu> Preprocessor> Element Type> Add/Edit/Delete.
2. Click on Add. The Library of Element Types dialog box appears.
3. In the scroll box on the left, click once on "Structural Solid."
4. In the scroll box on the right, click once on "beam3."
5. Click on Apply to define it as element type 1.
6. Click on Close in the Element Types dialog box.
2.2.2. Define Material Properties
1. Choose menu path Main Menu> Preprocessor> Material Props> Material Models. The
Define Material Model Behavior dialog box appears.
2. In the Material Models Available window, double-click on the following options:
Structural, Linear, Elastic, Isotropic. A dialog box appears.
3. Type the text EXX in the EX field (for Young's modulus), and .3 for PRXY.
Click on OK. This sets Young's modulus to the parameter specified above. Material Model
Number 1 appears in the Material Models Defined window on the left.
4. Choose menu path Material> Exit to remove the Define Material Model Behavior dialog
box.
2.2.3. Define Real constants
1. ANSYSMainMenu→Preprocessor→Real Constants
2. Select Real Constants in the ANSYS Main
3. Menu as shown
(1) Click Add/Edit/Delete button to open the Real Constants window and click
Add…button.
(2) Then the Element Type for Real Constants window opens. Click OK button.
(3) The Element Type for Real Constants window vanishes and the Real Constants Set
Number 1. for PLANE82 window appears
2.2.4. Create Keypoints
1. Choose menu path Main Menu> Preprocessor> Modeling> Create> Keypoints> In
Active CS. The Create Keypoints in Active Coordinate System dialog box appears.
2. Enter 1 for keypoint number. Type a 0 in each of the X, Y, Z location fields.
3. Click on Apply.
2.2.5. Create Lines
1. Choose menu path Main Menu> Preprocessor> Modeling> Create> Lines> Lines>
Straight Line. The Create Straight Line picking menu appears.
2. Click once on keypoints 1 and 2 to create a line between keypoints 1 and 2.
3. Click on OK.
2.2.6. Set Meshing Density
1. Choose menu path Main Menu> Preprocessor> Meshing> Size Cntrls> Lines> Picked
Lines. The Element Size on Picked Lines picking menu appears.
2. select the line, then press ENTER.
3. Click on OK in the picking menu. The Element Sizes on Picked Lines dialog box appears.
4. Enter number of element divisions and click on OK.
2.2.7. Generate Mesh
1. Choose menu path Main Menu> Preprocessor> Meshing> Mesh> lines> all lines. The
Mesh lines picking box appears.
2. Click on Pick All.
3. Choose menu path Utility Menu> Plot> Elements.
2.2.8. Apply Displacement Boundary Condition
1. Choose menu path Main Menu> Solution> Define Loads> Apply> Structural>
Displacement> on keypoints. The Apply U,ROT on Nodes picking menu appears.
2. Click on Pick All. The Apply U,ROT on Nodes dialog box appears.
3. In the scroll list for DOFs to be constrained, click on "ALL DOF."
4. Click on OK.
2.2.9. Apply Pressure
1. Choose menu path Main Menu> Solution> Define Loads> Apply> Structural>
Pressure> on lines or on beams or on areas. The Apply PRES on Nodes picking menu
appears.
2. Click on Pick All. The Apply PRES on lines dialog box appears.
3. Enter value for Load PRES value and click on OK.
2.2.10. Exit ANSYS
1. Choose QUIT from the ANSYS Toolbar.
2. Choose Quit - No Save!
3. Click on OK.
Stress Analysis of a Rectangular Plate with Circular Hole
Ex No:1 Date:
Aim:
To perform static stress analysis for the given rectangular plate with circular hole using
ANSYS
Description:
DIAGRAM:
Φ5mm Φ10mm
Φ3mm
25mm 20KN
Formula used:
P
1. Normal stress = w−d t
PROCEDURE:
Solution → define load → apply → structural → pressure → on line [Select the line,
enter the pressure value as 53.33 N/mm2]
13. Deflection :General Postproc → Plot Results → Nodal Solution → DOF solution → X-
component
14. Stress:General Postproc → Plot Results → Nodal Solution → von mises stress
15. Stress values: General postproc → list result → nodal solution → von mises stress [Note
down the stress values on respective nodes.
Result:
Thus static stress analysis for the given rectangular plate with circular hole has been
successfully done using ANSYS.
Calculation:
P = 20KN ; d = 3mm
w = 25mm ; t = 15mm
20×10 3
ςN = 25−3 ×15
= 60.61 N/mm2
P = 20KN ; d = 5mm
w = 25mm ; t = 15mm
20×10 3
ςN = 25−5 ×15
= 66.67 N/mm2
P = 20KN ; d = 10mm
w = 25mm ; t = 15mm
20×10 3
ςN = 25−10 ×15
= 88.89 N/mm2
Observation:
1 3 161.62 136.87
2 5 166.68 144.60
3 10 200 191.48
Stress Analysis of A Rectangular L-Bracket
Ex No: 2 Date:
AIM:
To determine a deform shape and stress analysis for a given L- bracket using ANSYS
software.
FORMULA USED:
M / I = ςb / Y
Where, M - Bending moment, I - Moment of inertia of cross sectional area
ςb - Bending stress Y - Distance from neutral axis to the outer most fiber
PROCEDURE:
Pre-processing: Defining the Problem
5. The boundary condition is defined at the both end after beam by arresting displacements in
Y- direction by Solution > loads > structural > displacement > on areas >arrest All DOF.
6. Load is applied on the nodes at the top edge by solution> loads >Structural > Force > on
nodes
7. Now the system is ready to solve and is done by solution > solve > current L.S.
Post processing: Viewing the Results
8. By general post processor > Plot result > counter plot > nodal solution.> DOF solution >
displacement
9. The stress is also obtained by General post processor > plot result > counter plot > Nodal
solution> Von-Mises Stress
RESULT:
Thus the deformed shape and stress analysis for the L bracket is done
CALCULATION:
Resolving the forces 5KN Horizontal component P H = P Sin 60°= 4.33 KN
Vertical component PV = P Cos 60° = 5 cos 60 ° = 2.5 KN
Bending moment due to PH :
MH = 4.33x150x100, MH = 649.5x103 N mm
Bending stress ςbh = My /Z ,649.5x103x6/3.5x102 = 22.72 N/mm2
Bending moment due to Pv : MV = 2.5x106x300 = 750 x 103 N mm
Bending moment due to Pv : ςbv = MY /Z, ςbv = 750x103x6/35x102 = 26.33 N\ mm2
Direct stress due to Vertical force PV
ςdv = PV / A = 2.5x 103/ 70x35 = 1.02 N\ mm2
Total Stress = ςbh+ ςbv + ςdv = 50.16 N\ mm
Stress Analysis of an Axis -Symmetric Component
Ex No: 3 Date :
AIM:
To analyze a cylindrical pressure vessel (axis symmetric) for hoop stress and longitudinal
stress
DIAGRAM:
PROCEDURE:
4. Apply Loads
Solution > Define Loads > Apply > Structural > Force/Moment > On Key points [Pick the
top left corner of the area and click OK. Apply a load of 100 in the FY direction. Pick the
bottom left corner of the area and click OK. Apply a load of -100 in the FY direction. ]
5. Solve the System
General Postproc> List Results > Nodal Solution > Stress > Components SCOMP
2. Plotting the Elements as Axisymmetric
Utility Menu >PlotCtrls> Style > Symmetry Expansion > 2-D Axi-symmetric...
RESULT:
Thus the analyze a cylindrical pressure vessel (axis symmetric) for hoop stress and
longitudinal stress
CALCULATION:
P=1.5MN/m2
P=1.5 N/mm2
d =1000 mm
t=15 mm
pd
ςc = 2t
1.5∗1000
ςC = 2∗15
ςC = 50 N/mm2
Stress Analysis of Truss
Ex No: 4 Date:
6. Create Truss
Keypoint 1.
0,0,0
Keypoint 2.
1.5 3 0
Keypoint 3.
300
Keypoint 4.
4.5 3 0 and so on
7. Meshing
Pre-processor → mesh → mesh tool → Line [set] → pick all → apply → enter no. of
division 1 → ok
9. Define constraints
Result
Thus static stress analysis for the given truss has been successfully done using ANSYS.
Stress Analysis of Beam
Aim: To perform static stress analysis for the given beams using ansys.
Description:
PROCEDURE:
1. Preference → structural → ok
4. Modeling
CantileverPreprocessor → section → beam → common section → section ID-1 →
select sub type → rectangle → enter L*B (150* 300) → ok
KEYPOINTS X Y Z
1 0 0 0
2 2000 0 0
3 1000 0 0
Simply Support
Key points X Y
1. 0 0
2. 3000 0
3. 4000 0
4. 6000 0
Preprocessor → modeling → create → line → straight line → draw the lines b/w the
keypoints.
Fixed Beam
Key points X Y
1. 0 0
2. 4000 0
3. 6000 0
4. 8000 0
Preprocessor → modeling → create → line → straight line → draw the lines
b/w the keypoints
Meshing
Preprocessor→ meshing → mesh tool → set line option → pick line 1→ apply → ok
Simply Supported
Fixed Beam
RESULT:
Thus the stress analysis of beam is performed using ANSYS and results are
plotted.
Mode Frequency analysis of 2d component.
EX NO: 6 DATE:
Aim:
Description:
Diagram:
500
1000
Formula used:
D mπ 2 nπ 2
ω= +
ρ a b
∈ h3
D=
12 1 − γ2
ρ = 7700 kg/m3
ρ
Circular lamina: λ2 = ωa2 D
Procedure:
Rectangular plate :
7. Meshing
Pre-processor → mesh → mesh tool → Areas [set] → select the area → apply →
enter element size as 10 → ok
9. Define constraints
General Postproc → Read Results → by pick [Select the frequency and click read] →
close, Plot controls → animate → Mode shape [select DOF solution ; Deformed shape] → ok
Circular plate :
7. Meshing
Pre-processor → mesh → mesh tool → Areas [set] → select the area → apply →
enter element size as 10 → ok
8. Analysis type
Solution → Analysis type → New analysis → Modal → ok
9. Define constraints
General Postproc → Read Results → by pick [Select the frequency and click read] →
close Plot controls → animate → Mode shape [select DOF solution ; Deformed shape] → ok
RESULT:
The mode frequency analysis of given 2D component has been successfully done
using ANSYS.
Calculation:
D mπ 2 nπ 2 296698 .67 π 2 π 2
ω1 = + = +
ρ a b 192.5 1 .5
296698 .67 2π 2 π 2
+
192 .5 1 .5
ω
f1 = 2π =308.34 Hz f2 = = 493.3Hz
2π
ρ
λ2 = ωa2 D
192.5
10.2158 = 2πF1 × 12 F1 = 63.83Hz
296698 .67
192.5
21.26 = 2πF2 × 12 F2 = 132.84Hz
296698 .67
192.5
34.83 = 2πF4 × 12 F4 = 217.63Hz
296698.67
192.5
34.771 = 2πF6 × 12 F6 = 248.5Hz
296698 .67
192.5
51.04 = 2πF7 × 12 F7 = 318.92Hz
296698 .67
192.5
60.82 = 2πF9 × 12 F9 = 380.03Hz
296698 .67
RESULT :
Frequency
Mode M n Mode shape
Analytical Simulated
1 1 1 308.34 307.93
2 2 1 493.3 492.29
3 3 2 801.73 798.97
4 1 3 1048.36 1043.2
5 4 1 1233.36 1226.8
6 2 2 1233.36 1226.8
7 3 2 1541.71 1531.5
8 5 1 1788.4 1774.8
9 4 2 1968.38 1956.6
10 1 3 2281.72 2260.0
Mode M n Mode Wavelength Frequency
shape
λ Analytical simulated
Aim:
Procedure:
Pre-processing: Defining the Problem
6. Solution > analysis type > new analysis > modal > ok Pick analysis option and select sub space
7.Analysis option > select Sub space > No. of modes to extract = 5 > No. of modes to expand
= 5 > ok > ok .
Fixed Beam
Load > define load > apply > structural > displacement > on keypoints > click two ends of
beam > ok > All DOF > ok
SS Beam
Load > define load > apply > structural > displacement > on keypoints > click two ends of
beam > ok > UY > ok
Cantilever
Load > define load > apply > structural > displacement > on keypoints > click left ends of
beam > ok > All DOF > ok.
8.Solution > Solve > Current LS > ok
9.General postprocessor > read result > First / Next set > Plot result > deformed shape > Def
+ undeformed > ok
General post processor > read result > last set > plot result > contour plot > nodal solution >
DOF solution > Y – component of displacement > ok
EXT: 8 DATE:
Procedure:
Pre-processing: Defining the Problem
7. Load > Define load > Apply > Structural > Displacement > ON keypoint > Click one end
of the beam > OK > All DOF > OK > Force/moment > On nodes > Apply > Fy: -1000 >
OK
8. Solution > Analysis type > New analysis > Harmonic > OK
9. Analysis option > Amplitude and phase > OK
10. Load step option > Output control > Solutions printout > Every substep > OK
11. Time/Frequency > frequency substep > Frequency range (0, 100) > substep; 100 > select
stepped > OK
12. Solve > Current LS > OK
Post processing: Viewing the Results
13. Time history post proc > Click on “Add data” icon > Give DOF solutions > Select Uy >
OK > give value 2 > OK > Click on “List data” icon & look through the answers > close
it > click on “graph data” > close the time history variable dialog box.
14. Plot ctrls > Capture image > File > Save as
15. Plot ctrls > style > graph > modify axes > select single axis (Y axis) > Select logarithm in
Y-component > ok > Plot > replot.
RESULT
Thus the harmonic analysis of a 2D component was done using ANSYS
Convective Heat Transfer Analysis of a 2D Component
EX NO: 9 DATE:
AIM:
DIAGRAM:
PROCEDURE:
RESULT: The temperature and heat flux are shown and results are completed.
Conductive Heat Transfer Analysis of a 2D Element
Ex No: 10 Date:
AIM:
To Conduct heat transfer analysis of a 2-D element for the given example and
determine the temperature at the specified points
FORMULAE USED:
Q = ∆Toverall/R
l1 l2 l3
h1 = k1a1 + k2a2 + k3a3
10. Results Using ANSYS Plot Temperature General Postproc> Plot Results > Contour Plot
> Nodal Solution > DOF solution, Temperature.
11. General Postproc> List Results > Nodal Solution > Report for Node 7 and 9.
Result: Thus the conductive heat transfer analysis of a 2-d element was analysed.
Thermal Stress Analysis of 2D Component
Ex No : 11 Date :
AIM:
DIAGRAM
PROBLEM DESCRIPTION:
FORMULA USED:
α → Thermal co-efficient
ΔΤ → Temperature difference
b → Breadth
ν → Poisson’s ratio
PROCEDURE:
CALCULATION:
σx = EαΔΤ
σx = 2.1×10ˆ5×1.3×10ˆ-5×38
= 103.74 N/mm2
Displacement in Y-direction
y = αΔTb(1+ ν)
= 1.3×10ˆ-5×38×25×(1+0.25)
= 1.524×10ˆ-2mm
RESULT: Thus the thermal stress analysis of 2D component has been done and results are
obtained.
Modal Analysis of a Spring-Mass System
EXP:12 Date:
Aim: To Perform the modal analysis of Spring-Mass System.
x1 x2
K= 5 N/m K= 20 N/m
M= 2 kg M= 1 kg
Procedure:
Preprocessor -> Element Type -> Add/Edit/Delete> click 'Add'>solid>quad 4 node 182
Element Type -> Add/Edit/Delete> click 'Add'>Combination>Spring Damper
Material Props -> -Constant- Isotropic
[Enter “1” in the “EX” input field (EX is the modulus of elasticity), and enter “2” in the
“DENS” input field, as shown, then click on “APPLY”. Note that an arbitrary value was
entered for EX, because we will couple all DOF on each mass so that they move as rigid
bodies. So, the modulus of elasticity for each mass, in this particular analysis, is irrelevant.
However, we chose the density to produce a block of mass=2 kg. Our block will have a
volume of 1 m3.
After entering the input, click on “APPLY”. The “Isotropic Materials Box” should be
showing on the screen, and at this point, the material number is still set to “1”. Change the
material number to “2”, and click on “OK”. The material properties box, like that below, re-
opens. Again, enter “1” for EX, but this time, enter “1” for density. Click on “OK”.]
Real Constant
Preprocessor -> Real Constants -> Add/Edit/Delete -> Add > “Type 2 COMBIN14” For real
constant set “1”, choose “K=5”, Leave the other fields blank, and click on “Apply”.
Then, change the Set Number to “2”, and enter a value of “20” for K, then click on “OK”,
then “Close”.
Modeling
Preprocessor -> Modeling- Create -> -Areas- Rectangle -> By Dimensions
Fill in (X1,X2)=(5,6), and (Y1,Y2)=(0,1), >“Apply”.
Fill in (X1,X2)=(11,12), and (Y1,Y2)=(0,1), > “OK”.
Meshing
Meshing- Size Cntrls -> -Lines- Picked Lines ->Pickall-> No. Of Division->1
Meshing of mass-1
Meshing of mass-2
Preprocessor -> -Meshing- Mesh -> -Areas- Mapped -> 3 or 4 sided [“Mesh Areas” at the top
of the menu). Click on the block on the right (which will be the 1 kg mass]
Preprocessor -> -Modeling- Create -> Elements -> Elem Attributes ->element 2
combine14
A picking menu opens. It should be that the numbered nodes are plotted on screen at this
time. Node number 9 should be the node at the wall, and node number 1 should be the node
at the bottom left-hand side of the 2 kg mass. Click once, with the left mouse button, on node
9, then click again, once, on node 1. Then, in the picking menu, click on “OK”
Now, before creating the other spring, the real constant set number needs to be changed to set
2, because the spring constant is different for the two springs. To do this, use the path:
In the box that opens, change the [REAL] entry to “2”. No other changes are needed at this
time, so click “OK”. Then, choose:
Preprocessor -> -Modeling- Create -> Elements -> -Auto Numbered – Thru Nodes
A picking menu opens. Node number 2 should be the node at the bottom-right corner of the
left-hand mass, and node 5 should be the node at the bottom-left corner of the right-hand
mass. Click once, with the left mouse button, on node 2, then click again, once, on node 5.
Then, in the picking menu, click on “OK”.
Apply constraints
Preprocessor -> Loads -> Apply -> Displacement -> On Nodes
A picking menu applies. We want this constraint to apply to all nodes in the model. So, in
the picking menu, choose “Pick All”. Another box opens. Be sure to Un-highlight “All
DOF”, by clicking on it. Then, highlight “UY” and “UZ” by clicking on these labels, as
shown, and then click on “Apply”.
The picking menu should remain open. Click on the node at the wall (this should be node
number 9), and then click on “OK” in the Picking Menu. This node should not move in any
direction. So, choose, in the box that opens, as shown on the previous page, click on “All
DOF”, and then click on “OK”.
A picking menu opens. Click on nodes 1-2-3-4, to highlight all four nodes that define the
left-hand mass. Then, in the Picking Menu, click on “Apply”. A box, as shown below,
opens. Enter “1” for “NSET”, as shown, and leave the label “UX” for “Lab”. Then, click on
“Apply”.
The picking menu should re-open. Click on nodes 5-6-7-8, to highlight all four nodes that
define the right-hand mass. Then, in the Picking Menu, click on “OK”. A box, as shown
above, re-opens. This time, Enter “2” for “NSET”, and again leave the label “UX” for “Lab”.
Then, click on “OK”.
General Postproc -> -Read Results- First Set, Read Results- Next Set
Result: Thus the modal analysis of Spring mass System was done.
Simulation of Air conditioning system
Exp: Date:
Aim: To calculate COP of air conditioning system using evaporator and condenser temperature.
Program:
T2
Formaula: COP= , T1-Evporator Temp. in 0C, T2-Condensor Temp. in 0C
T1 T 2
>> T1=30;
>>T2=linspace(1,25,25);
>> COP=T2\T1-T2
>>plot(T2,COP);
>>ylabel(‘COP’);
>>grid on;
Exp: Date:
Program:
1 >> x = linspace(0,100,100);
2 >> y = x.ˆ2
3 >> plot(x,y)
4>>area(x,Y)
2. The bar(), barh(), and hist() Functions
1 >> x = [1,2,3,4,5,6];
2 >> y = [0.5,2.2,0.7,1.5,2.5,0.9];
3>>figure
4 >> bar(x,y)
5>>Figure
6>>barh(x,y)
7>>figure
8 >> z = rande(100);
9>> hist(z)
3. Plotting Multiple Plots on the Same Graph Using M-file
clear all;
clf;
x = linspace(1,100,100);
y1 = x.^2.0;
y2 = x.^2.1;
y3 = x.^2.2;
y4 = x.^2.3;
plot(x,y1,"@12",x,y2,x,y3,"4",x,y4,"+")
grid on
legend('xˆ2','xˆ{2.1}','xˆ{2.2}','xˆ{2.3}');
xlabel('x-axis')
ylabel('y-axis')
title('Multiple Graphs')
x = [3,2,1,4,1,2];
figure;
h=pie(x);
a = b = linspace(-8,8,10)';
[xx,yy] = meshgrid(a,b);
d = sin(c)./c;
surf(c,d);
tz = sin (r) ./ r;
figure
meshc(tx,ty,tz)
EXP: Date
Program:
k=100;
m=10;
x0=1;
x0d=0;
t=0:0.01:10
w=sqrt(k/m);
x=x0*cos(w*t)+((x0d/w)*sin(w*t));
figure;
plot(t,x,'k');
xlabel('Time (s)');
ylabel('x(t)');
axis([0 10 -2 2]);
Matrix and Graph Plotting
EXP: Date:
m = 1;
k = 1;
-(k/m) * y(1) ];
subplot(1,2,1);
plot(t,y(:,1),'r-',t,y(:,2),'b-');
xlabel('time');
ylim([-1.2 1.2]);
legend('y1(t)','y2(t)');
subplot(1,2,2);
plot(y(:,1),y(:,2),'b-');
xlabel('y(2)');
ylabel('y(1)');
xlim([-1.2 1.2]);
ylim([-1.2 1.2]);