You are on page 1of 33

# ANNA UNIVERSITY:: CHENNAI

PRACTICAL EXAMINATION-APRIL-2013

## Dr.NAGARATHINAMS COLLEGE OF ENGINEERING

RASIPURAM-637505
DEPARTMENT

OF MECHANICAL ENGINEERING

NAME

: .

REG NO

YEAR/SEM

## Dr.NAGARATHINAMS COLLEGE OF ENGINEERING

Vennandur, Namakkal-637505

## Certified that this is a Bonafide Record

of Work done by the above

Student of the

. Laboratory during
the academic year 2012-2013.

## Submitted for Practical Examination

Held on

Internal Examiner
Examiner
S.NO

DATE

External
P.NO MARKS

SIGN

S.NO

DATE

## INTRODUCTION to FEA and ANSYS

What is FEA?
Finite Element analysis is a way to simulate loading conditions on a design and
determine the designs response to those conditions.
The design is modeled using discrete building blocks called elements.
Each element has exact equations that describe how it responds to a certain load.
The Sum of the response of all elements in the model gives the total response of the
design.
The elements have a finite number of unknowns, hence the name finite elements.
The finite element model, which has a finite number of unknowns, can only
approximate the response of the physical system which has infinite unknowns.
How good is the approximation?
Unfortunately, there is no easy answer to this question, it depends entirely on what you
are simulating and the tools you use for the simulation.
Why is FEA needed?
To reduce the amount of prototype testing.
Computer Simulation allows multiple what ifscenarios to be tested quickly and
effectively.
To simulate designs those are not suitable for prototype testing. E.g. Surgical Implants
such as an artificial knee.
About ANSYS:
ANSYS is a complete FEA software package used by engineers worldwide in virtually all
fields of engineering. ANSYS is a virtual Prototyping technique used to iterate various
scenarios to optimize the product.
General Procedure of Finite Element Analysis:
1.
2.
3.
4.
5.
6.

## Creation of geometry or continuum using preprocessor.

Discretization of geometry or continuum using preprocessor.
Checking for convergence of elements and nodes using preprocessor.
Applying loads and boundary conditions using preprocessor.
Solving or analyzing using solver
Viewing of Results using postprocessor.

Build Geometry:
Construct a two (or) three dimensional representation of the object to be modeled and
tested using the work plane co-ordinate system in Ansys.

## Define Material Properties:

Define the necessary material from the library that composes the object model which
includes thermal and mechanical properties.
Generate Mesh:
Now define how the model system should be broken down into finite pieces.
Apply Loads:
The last task in preprocessing is to restrict the system by constraining the displacement
and physical loading.
Obtain Solution:
The solution is obtained using solver available in ANSYS. The computer can understand
easily if the problem is solved in matrices.
Present the Result:
After the solution has been obtained there are many ways to present Ansys result either in
graph or in plot.
Specific Capabilities of ANSYS Structural Analysis:
Structural analysis is probably the most the common application of the finite element
method such as piston, machine parts and tools.
Static Analysis:
It is the used to determine displacement, stress etc. under static loading conditions. Ansys
can compute linear and non-linear types (e.g. the large strain hyper elasticity and creep
problems).
Transient Dynamic Analysis:
It is used to determine the response of a structure to time varying loads.
Buckling Analysis:
It is used to calculate buckling load and to determine the shape of the component after
applying the buckling load. Both linear buckling and non linear buckling analysis are
possible.

Thermal Analysis:
The steady state analysis of any solid under thermal boundary conditions calculates the
effect of steady thermal load on a system (or) component that includes the following.
a) Convection.
b) Radiation.
c) Heat flow rates.
d) Heat fluxes.
e) Heat generation rates.
f) Constant temperature boundaries.
Fluid Flow:
The ANSYS CFD offers comprehensive tools for analysis of two-dimensional and three
dimensional fluid flow fields.
Magnetic:
Magnetic analysis is done using Ansys / Electromagnetic program. It can calculate the
magnetic field in device such as power generators, electric motor etc. Interest in magnetic
analysis is finding magnetic flux, magnetic density, power loss and magnetic forces.
Acoustic / Vibrations:
Ansys is the capable of modeling and analyzing vibration system. Acoustic is the study of
the generation, absorption and reflection of pressure waves in a fluid application.
Few examples of acoustic applications are
a) Design of concert house, where an even distribution of sound pressure is
possible.
b) Noise cancellation in automobile.
c) Underground water acoustics.
d) Noise minimization in machine shop.
e) Geophysical exploration.
Coupled Fields:
A coupled field analysis is an analysis that takes into account the interation
between two (or) more fields of engineering analysis. Pressure vessels, Induction
heating and Micro electro mechanical systems are few examples.

## Result: Thus the basics of FEA and ANSYS are studied.

EX.NO:1
STRESS ANALYSIS OF RECTANGULAR L BRACKET
DATE:

Aim
To perform stress analysis of rectangular L- bracket and to determine the maximum stress and
maximum deflection.
Procedure
1. Utility Menu > Change Job Name > Enter Job Name.
Utility Menu > File > Change Title > Enter New Title.
2. Preference > Structural > OK.
3. Preprocessor > Element Type > Add/Edit/Delete > Solid Quad 8Node 82 >
Select > Options > Plane Stress/Thickness.
4. Preprocessor > Material Properties > Material Model > Structural > Linear >
> Isotropic > EX = 2E5, PRXY = 0.3.
5. Preprocessor > Real Constant > Add/Edit/Delete > plane 82> thickness = 12.
6. Preprocessor > modeling > create > Area > rectangle > centre & corner
WP X = 75
WP Y = 0
Width = 150
Height = 50
Apply
WP X = 125
WP Y = -75
Width = 50
Height = 100
Ok
7. Preprocessor > modeling > create > Areas > circle > solid circle >
WP X = 0
WP Y = 0
Radius = 25
Apply
WP X = 125
WP Y = -125, Radius = 25 > Ok

Elastic

8. Preprocessor > modeling > operate > Booleans > Add > Areas > pick all
9. Preprocessor > modeling > create > line > line fillet > select 2 lines > fillet radius = 10
> Ok.
10. Preprocessor > modeling > create > Areas > Arbitrary > By lines > select the three
lines.
11. Preprocessor > modeling > create > Area > circle > solid circle >
WP X = 0
WP Y = 0
Radius = 10
Apply
WP X = 125
WP Y = -125
Radius = 10
Ok.
12. Preprocessor > modeling > operate > Booleans > Subtract > Areas > Select the
rectangle > Apply > select two circles > Ok.
13. Preprocessor > meshing > mesh tool > size control > Areas > Element edge length = 2
mm > Ok > mesh > Areas > free> pick all.
14. Solution > define loads > apply > Structural > displacement > online > select the left
hole (Inside) > apply > All DOF > Displacement value = 0 > ok.
15. Solution > pressure > on line > pick all (Select bottom left of the circle> apply.
Load value = 50; optional value = 25 > apply
16. Solution > pressure > on line > pick all (Select bottom right of the circle> apply.
Load value = 25; optional value = 50 > apply
17. Solution > solve current LS > ok
18. General post processor > plot result > Deformed shaped > Deformed + Undeformed >
Ok.
18. General post processor > plot result > contour plot > nodal solution > stress > von
mises > Ok.
19. List result > reaction solution > Ok

Result:

Thus the stress analysis of rectangular L-bracket with circular hole is performed.
Ex. No:2

## STRESS ANALYSIS ON CANTILEVER BEAM SUBJECTED TO POINT LOAD

DATE:
Aim:
To obtain stress analysis of cantilever beam subjected to point load and to determine max. stress
and max. deflection.
Procedure:
1. Utility Menu > Change Job Name > Enter Job Name.
Utility Menu > File > Change Title > Enter New Title.
2. Preference > Structural > OK.
3. Preprocessor > Element type > Add/Edit/ delete > beam > 2D elastic 3 > close.
4. Preprocessor > Real Constant > Add/Edit/Delete > Area = 100, Izz = 833.33 & Height
= 10 > Ok
5. Preprocessor > Material Properties > Material Model > Structural > Linear >
> Isotropic > EX = 2E5, PRXY = 0.3.
6. Preprocessor > Modeling > create > nodes > Inactive CS
Node 1
X=0
Y=0
Node 2
X= 20
Y=0
Node 3
X= 40
Y=0
Node 4
X= 60
Y=0
Node 5
X= 80
Y=0
Node 6
X= 100

Elastic

Y=0
7. List > nodes > coordinate only > ok
8. Preprocessor > modeling > create > elements > Auto numbered thru nodes > select
Node 1 & 2
Node 2 & 3
Node 3 & 4
Node 4 & 5
Node 5 & 6 > ok.
9. Solution > define loads > apply > structural > displacement > on nodes > select node 1 > apply >
all DOF > displacement = 0 > ok.
10. Solution > Force/moment > on nodes > node 6 > apply > FY > -100 > ok.
11. Solution > solve > current L.S > ok.
12. General post processor > plot result > deform shape > Deformed + Undeformed > ok.
13. General post processor > element table > define table > add > user table for item
I > by sequence num > NMISC 1 > apply
J > by sequence num > NMISC 3 > apply
I > by sequence num > NMISC 2 > apply
J > by sequence num > NMISC 4 > Ok.
14.

Plot result > line element result > I > J > first result > deformed shape & undeformed shape > ok
15. General postprocessor > list result > nodal solution > DOF solution > UY > displacement result
( Table 1)
16. General postprocessor > contour plot > line element res. > Ok.

## Table 1: Displacement Deflection

Nodes
1
2
3
4
5
6

UY
0
-1.0667 e-01
-0.39619 e-01
-0.82286 e-01
-0.13410
-0.19048

Result:
Thus the stress analysis on cantilever beam subjected point load is performed.

Ex. No: 3

## STRESS ANALYSIS OF SIMPLY SUPPORTED BEAM.

DATE:
Aim:
To perform Stress analysis of simply supported beam.
Procedure:
1. Utility Menu > Change Job Name > Enter Job Name.
Utility Menu > File > Change Title > Enter New Title.
2. Preference > Structural > OK.
3. Preprocessor > Element type > Add/Edit/ delete > beam > 2D elastic 3> close.
4. Preprocessor > Real Constant > Add/Edit/Delete > Area = 100, Izz = 833.33 & Height
= 10 > Ok
5. Preprocessor > Material Properties > Material Model > Structural > Linear >
> Isotropic > EX = 2E5, PRXY = 0.3.
6. Preprocessor > Modeling > create > nodes > Inactive CS
Node 1
X=0
Y=0
Node 2
X= 25
Y=0
Node 3
X= 50
Y=0
Node 4
X= 75
Y=0
Node 5
X= 100
Y=0
17. List > nodes > coordinate only > ok

Elastic

18. Preprocessor > modeling > create > elements > Auto numbered thru nodes > select
Node 1 & 2
Node 2 & 3
Node 3 & 4
Node 4 & 5
Node 5 & 6 > ok.
19. Solution > define loads > apply > structural > displacement > on nodes > select node 1 & node 5
> apply > UY > displacement = 0 > ok.
20. Solution > Force/moment > on nodes > node 3 > apply > FY > -100 > ok.
21. Solution > solve > current L.S > ok.
22. General post processor > plot result > deform shape > Deformed + Undeformed > ok.
23. General post processor > element table > define table > add > user table for item
I > by sequence num > NMISC 1 > Apply
J > by sequence num > NMISC 3 > Apply
I > by sequence num > NMISC 2 > apply
J > by sequence num > NMISC 4 > Ok.
24. Plot result > line element result > Smax I > Smax J > first result > deformed shape &
undeformed shape > ok
25. General postprocessor > list result > nodal solution > DOF solution > UY > displacement result
( Table 1)
26. General postprocessor > contour plot > line element res. > Ok.
Table 1: Displacement Deflection
Nodes
1
2
3
4

UY
0
-0.81846 e-2
-0.11905 e-1
-0.81846 e-2

Result:
Thus the stress analysis of simply supported beam is obtained.

Ex. No: 4

## MODE FREQUENCY ANALYSIS OF CANTILEVER BEAM

DATE:
Aim:
To obtain the mode frequency analysis on Cantilever beam and to determine its natural
frequency.
Procedure:
1. Utility Menu > Change Job Name > Enter Job Name.
Utility Menu > File > Change Title > Enter New Title.
2. Preference > Structural > OK.
3. Preprocessor > Element type > Add/Edit/ delete > beam > 2D elastic 3> close.
4. Preprocessor > Real Constant > Add/Edit/Delete > Area = 100, Izz = 833.33 & Height
= 10 > Ok.
5. Preprocessor > Material Properties > Material Model > Structural > Linear > Elastic >
Isotropic > EX = 2.068 E5, PRXY = 0.3 & Density = 7.83E-6.
6. Preprocessor > Modeling > create > key points > inactive CS
Key point no.1 = (0, 0)
Key point no.2 = (1000, 0)
7. Preprocessor > Modeling > create > lines > straight lines > select 1&2.
8. Meshing > mesh tool > lines > Element edge length > = 100 mm > mesh > pick all
9. Solution > analysis type > new analysis > modal > ok > analysis options > subspace =
5 > ok.
10. Solution > define loads > apply > structural > displacement > on key points > select
first point > apply > all DOF > displacement = 0 > Ok.
11. Solve > current L.S > close
12. General postprocessor > result summary.
13. General postprocessor > read result > first set > Ok.
14. General postprocessor > plot result > deform shape > deformed + undeformed > Ok.

15. General postprocessor > plot control > animate > modal shape.

Table :

Result:

S.No.

Time/Frequency

1
2
3
4
5

8.3
52.011
145.64
285.51
427.54

Load Sub
Cumulation
Shape step
1
1
1
1
2
2
1
3
3
1
4
4
1
5
5

Ex. No: 5

## MODE FREQUENCY ANALYSIS OF SIMPLY SUPPORTED BEAM

DATE:
Aim:
To perform the model frequency analysis on simply supported beam.
Procedure:
1. Utility Menu > Change Job Name > Enter Job Name.
Utility Menu > File > Change Title > Enter New Title.
2. Preference > Structural > OK.
3. Preprocessor > Element type > Add/Edit/ delete > beam > 2D elastic 3 > close.
4. Preprocessor > Real Constant > Add/Edit/Delete > Area = 100, Izz = 833.33 & Height
= 10 > Ok.
5. Preprocessor > Material Properties > Material Model > Structural > Linear > Elastic >
Isotropic > EX = 2.068 E5, PRXY = 0.3 & Density = 7.83E-6.
6. Preprocessor > Modeling > create > key points > inactive CS
Key point no.1 = (0, 0)
Key point no.2 = (1000, 0)
7. Preprocessor > Modeling > create > lines > straight lines > select 1&2.
8. Meshing > mesh tool > lines > Element edge length > = 100 mm > mesh > pick all
9. Solution > analysis type > new analysis > modal > ok > analysis options > subspace
= 5 > ok.
10. Solution > define loads > apply > structural > displacement > on key points > select
first point & second point > apply > UY > displacement = 0 > Ok.
11. Solve > current L.S > close
12. General postprocessor > result summary.
13. General postprocessor > read result > first set > Ok.
14. General postprocessor > plot result > deform shape > deformed + undeformed > Ok.
15. General postprocessor > plot control > animate > modal shape.

Table :

S.No.

Time/Frequency

1
2
3
4
5

0
23.298
93.191
209.73
373.16

Load Sub
Cumulation
Shape step
1
1
1
1
2
2
1
3
3
1
4
4
1
5
5

Result:
Thus the mode frequency analysis of simply supported beam is obtained.

Ex. No: 6

## HARMONIC ANALYSIS OF A 2D COMPONENT

DATE :
AIM
To conduct the harmonic analysis of a 2D component by using ANSYS software.
PROCEDURE
1. Preprocessor - Element type - Add/Edit/Delete Add Beam, 2D elastic 3 Ok Close.
2. Real constants - Add/Edit/Delete Add Ok Area 0.1e-3, Izz 0.833e-9, Height 0.01 Ok Close.
3.

Material props - Material Models Structural Linear Elastic - Isotropic EX 206e9, PRXY

## 0.25 Ok Density DENS 7830 Ok.

4. Modeling Create Key points Inactive CS Enter the coordinate values - Ok. Lines lines
Straight Line Join the two key points Ok.
5.

Meshing Size Cntrls manual size lines all lines Enter the value of no of element

## divisions 25 Ok. Mesh Lines Select the line Ok.

6. Solution - Analysis type New analysis Harmonic Ok. Analysis type Analysis options
Full, Real+ imaginary Ok Use the default settings Ok
7. Solution Define Loads Apply Structural Displacement - On nodes Select the node point
Ok All DOF Ok. Force/Moment On Nodes select the node 2 Ok Direction of force/mom
FY, Real part of force/mom -100 Ok. Load step Opts Time/Frequency Freq and Substps Enter
the values of Harmonic freq range 1-100, Number of sub steps 100, Stepped Ok.
8.

## Solve Current LS Ok Solution is done Close.

9.

TimeHist postpro Variable Viewer Click Add icon Nodal Solution DOF Solution Y-

Component of displacement Ok Enter 2 Ok. Click List data icon and view the amplitude list.
Click Graph icon and view the graph. To get a better view of the response, view the log scale of
UY. Plotctrls Style Graphs Modify axes Select Y axis scale as Logarithmic Ok. Plot Replot
Now we can see the better view.
10. File Report Generator Choose Append OK Image Capture Ok - Close. (Capture all images)

RESULT
Thus the harmonic analysis of a 2D component is done by using the ANSYS Software.

Ex. No:7

## THERMAL STRESS ANALYSIS OF A 2D COMPONENT

DATE :
AIM
To conduct the thermal stress analysis of a 2D component by using ANSYS software.
PROCEDURE
1.

## 2. Preprocessor - Element type - Add/Edit/Delete Add Solid, Quad 4 node 42 Ok Options

plane strs w/thk Ok Close.
3. Real constants - Add/Edit/Delete Add Ok THK 100 Ok Close.
4. Material props - Material Models Structural Linear Elastic - Isotropic EX 2e5, PRXY 0.3
Ok Thermal expansion Secant coefficient Isotropic ALPX 12e-6 Ok.
5. Modeling Create Areas - Rectangle by 2 corners Enter the coordinate values, height, width Ok.
6. Meshing Mesh tool Areas, set select the object Ok Element edge length 10 - Ok Mesh
tool- Tri, free - mesh Select the object Ok.
7. Solution Define Loads Apply Structural Displacement - On lines Select left boundary of
the object Ok Temperature Uniform Temp select all boundaries - Enter the temp. Value 50 Ok.
8. Solve Current LS Ok Solution is done Close.
9. General post proc Plot results Contour plot Nodal solution Stress 1st principal stress
Ok Nodal solution DOF Solution Displacement vector sum - Ok.
10. File Report Generator Choose Append OK Image Capture Ok - Close.

RESULT

Thus the thermal stress analysis of a 2D component is done by using the ANSYS Software.
Ex.No: 8

## STRESS ANALYSIS OF A PLATE WITH A CIRCULAR HOLE

DATE :

Aim
To perform stress analysis of a plate with a circular hole.
Procedure
1. Utility Menu > Change Job Name > Enter Job Name.
Utility Menu > File > Change Title > Enter New Title.
2. Preference > Structural > OK.
3. Preprocessor > Element Type > Add/Edit/Delete > Solid Quad 4Node 42 >
Select > Options > Plane Stress/Thickness.
4. Preprocessor > Material Properties > Material Model > Structural > Linear >
> Isotropic > EX = 2E5, PRXY = 0.3.

Elastic

5. Preprocessor > Real Constant > Add/Edit/Delete > plane 42> thickness = 10
6. Preprocessor > Modeling > Create > Areas > Rectangular by Dimension >
X1, X2 = 0, 50
Y1, Y2 = 0, 50.
7. Preprocessor > Modeling > Create > Areas > Circle > Solid circle > WP X = 0, WP Y =
50 & Radius = 10 > OK.
8. Preprocessor > Modeling > Create > Subtract > Areas > Select rectangle >Apply >
Select Circle > Ok.
9. Preprocessor > Meshing > Element Edge Length = 2 > Mesh > Areas > Free.
10. Solution > Analysis Type > New Analysis > Static > OK.
11. Solution > Define Load > Apply > Structural > Displacement > On lines > Select
Bottom Line > UY > Displacement value = 0 > OK.
10. Solution > Define Load > On Lines > Select left line > Ok > UX > Displacement
value = 0 > OK.
11. Solution > Pressure > On Line > Select Right line > Ok > Value  > Ok.
12. Solution > Solve > Current LS > Ok.

13. Utility menu > Plot control > Style > Symmetry Expansion > Periodic > Reflect about
XY.
14. Plot control > Animate > deformed shape > Ok.
13. General Postprocessor > Plot Result > Deformed shape > Ok.
14. Plot Result > Plot Result > Contour Plot > Nodal Solution > Stress > Von Mises >
Ok.

Result:
Thus the stress analysis of a plate with a circular hole is performed.

Ex. No:9

## CONDUCTIVE HEAT TRANSFER ANALYSIS OF 2D COMPONENT

DATE :
Aim:
To perform the thermal analysis on a given block with convective heat transfer coefficient (h) of
10 W/m C and the thermal conductivity (k) of the material is 10 W/m C.
Procedure:
1. Preference > thermal > Ok.
2. Preprocessor > Element type > Add/edit /delete > Select thermal mass solid, Quad 4 node 55
(Plane 55) > close.
3. Preprocessor > material properties > Material Models > Thermal conductivity > Isotropic >
KXX = 10 (thermal Conductivity )
4. Preprocessor > modeling > create > Areas > Rectangle > By 2 Corners > X = 0, Y = 0, width
= 1, Height = 1 > Ok.
5. Preprocessor > Meshing > Mesh tool > Size Controls > Manual Size > element edge length
= 0.05 > mesh > Areas > Free > Pick All
6. Solution > Analysis type > New analysis > steady state > Ok.
7. Solution > Define loads > Apply > Thermal > Temperature > on lines > click the top of the
rectangular box > temperature > 500 > apply > click the left side of the rectangular box > ok
> temperature > 100 > Ok.
8. Solution > Define loads > Apply > Thermal > convection > on lines > click the right side of
the rectangular box > Ok.
9. Solve > current L.S > Ok.
10. General Preprocessor > Plot results > Contour Plot > Nodal Solution > DOF solution > nodal
temperature (TEMP) > Ok.

Result:
Thus convective heat transfer analysis is performed.

Ex. No: 10

## CONVECTIVE HEAT TRANSFER ANALYSIS OF A 2D COMPONENT

DATE :

AIM
To conduct the convective heat transfer analysis of a 2D component using ANSYS software.
PROCEDURE
1. Preference Thermal - h-Method - Ok.
2. Preprocessor - Element type - Add/Edit/Delete Add Solid, Quad 4 node 55 Ok Close.
3. Real constants - Add/Edit/Delete Add Ok.
4. Material props - Material Models Thermal Conductivity Isotropic KXX 16 Ok.
5. Preprocessor > modeling > create > Areas > Rectangle > By 2 Corners > X = 0, Y = 0, width = 1,
Height = 1 > Ok.
6. Meshing Mesh tool Areas, set select the object Ok Element edge length 0.05 - Ok Mesh
tool- Tri, free mesh Select the object Ok.
7. Solution Define Loads Apply Thermal Temperature - On lines Select the lines Ok
Temp. Value 300 Ok Convection On lines select the appropriate line Ok Enter the values of
film coefficient 50, bulk temperature 40 Ok.
8. Solve Current LS Ok solution is done Close.
9. General post proc List results Nodal Solution DOF Solution Nodal temperature Ok
10. Plot results Contour plot Nodal solution DOF solution Nodal Temperature Ok.
11. File Report Generator Choose Append OK Image Capture Ok - Close.
RESULT
Thus the convective heat transfer analysis of a 2D component is done by using the ANSYS
Software.

EX NO: 11

## SIMULATION OF CAM & FOLOWER MECHANISM

DATE:
AIM:
To simulation of cam & follower mechanism.
FORMULA:
For simple harmonic motion displacement of follower

,
Lift of the Follower
= Full Rotation
= Cam Rotation
:
Title ('simulation of cam & follower')
phi=0:1:60;
theta=360;
h=0.4;
s=(h./2)*((1-(cos((pi*theta)./phi))));
plot(phi,s);
xlabel ('cam angle (degree)');
ylabel ('follower disp (meter)');
grid;

Result:
Thus the MAT Lab Program has been simulated and output is verified.

EX NO: 12
DATE:
SIMULATION OF AIR CONDITIONING WITH CONDENSER
AND EVAPORATOR, TEMPERATURE AS INPUT TO ESTIMATE COP [VARIATION OF
EVAP, TEMP]
AIM:
Simulation of air conditioning with condenser and evaporator, temperature as input of estimate
COP
FORMULA:
Co-efficient of performance is given by
COP = [1/ (Te/Tc)-1]
Where,
Te = evaporator temperature
Tc = condenser temperature
MAT LAB PRAGRAM:
title ('simulation of coefficient of performance variation of condenser and evaporator temperature')
te=2:0.1:5;
tc=40;
x=(te./tc);
y=x-1;
c=1./y;
plot(te,c);
xlabel ('evap temp (degree)');
ylabel ('COP');
grid;

RESULT:
Thus the MAT LAB PROGRAM has been simulated and output is verified.
EX NO: 13
DATE:
SIMULASTION OF AIR CONDITIONING WITH CONDENSER
EVAPATORTEMPERATURE AS INPUT TO ESTIMATE COP [VARIATION OF COND TEMP]
AIM:
To simulate of air conditioning with condenser and evaporator temperature as input to estimate
COP [variation of condenser temp]
FORMULA USED:
Co-efficient of performance is given by
COP = [1/ (Te/Tc)-1]
Where,
Te = evaporator temp
Tc = condenser temp
Mat lab program:
Title ('simulation of coefficient of performance variation of condenser and evaporator temperature')
tc=35:1:45;
te=5;
x =te./tc;
y=(x-1);
c=(1./(y));
plot(tc,c);
xlabel ('cond temp');
ylabel ('COP');
grid;

RESULT:
Thus the MAT LAB PROGRAM has been simulated and output is verified.
EX NO: 14

## SIMULATION OF HEAT EXCHANGER PROCESS

DATE:
AIM:
To simulation of heat exchanger processor.
FORMULA:
Heat transfer rate is given, Q = UA
MAT LAB PROGRAM:
title ('Simulation of heat exchanger')
s=1:0.5:5;
q=200000000;
u=4478;
n=30000;
d=0.024;
t= q./(u*2*pi*n*d*s);
plot(s,t);
xlabel ('length of tube (m)');
ylabel ('lmtd');
grid;

RESULT:
Thus the MAT LAB PROGRAM has been simulated and output is verified.

EX NO: 15
DATE:
AIM:

## To simulation of spring mass system by varying mass.

FORMULA USED:
Natural frequency given by,
Fn = [(1/2) x

Where,
Fn = Natural Frequency,
m = mass
MAT LAB PROGRAM:
title ('simulation of spring mass system by varing mass')
m=0:1:500;
K=5000;
f=(sqrt(K./m))./(2*pi);
plot(m,f);
xlabel ('mass (kg)');
ylabel ('frequency (HZ)');
grid;

RESULT:
Thus the MAT LAB PROGRAM has been simulated and output is verified.

EX NO: 16

## SIMULATION OF SPRING MASS SYSTEM BY VARING STIFFNESS

DATE:
AIM:
To simulation of spring mass system by varying stiffness.
FORMULA:
Natural frequency is given by,
Fn = [1/ (2) x

## MAT LAB PROGRAM:

title ('simulation of spring mass system by varing Stiffness')
K=0:1:500;
m=5000;
f=(sqrt(K./m))./(2*pi);
plot(K,f);
xlabel ('Stiffness (N/m)');
ylabel ('frequency (Hz)');
grid;

RESULT:

Thus the MAT LAB PROGRAM has been simulated and output is verified.