DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 1
COMPUTER AIDED DESIGN AND MANUFACTURING LABORATORY
MANUAL IV-b.tECh i-sem-mechanical
& iv-b.tech i-sem-automobile
Prepared By:
SOUGANDH KOWTHAL
Assistant Professor
&
D.U.M.MANIKANTA
Assistant Professor
DEPARTMENT OF
MECHANICAL ENGINEERING
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 2
SYLLABUS
(A70390) COMPUTER AIDED DESIGN AND
MANUFACTURING LAB
S.NO: NAME OF THE EXPERIMENT NAME OF THE EQUIPMENT
Drafting
1 Drawing Experiments Using Auto Cad
Cotter Joint With Sleeve
Auto CAD
2 Knuckle Joint Auto CAD
3D PART MODELING (CAD)
3 Oldham coupling Solid works
4 Screw Jack
Solid works
5 Universal Coupling
Solid works
COMPUTER AIDED ANALYSIS (CAE)
6 Determination of deflection and stresses
in Cantilever Beam With Point Load
ANSYS
7 Determination of deflection and stresses
in Simply supported beam with UDL
ANSYS
8 Determination of deflection and stresses in Trusses
ANSYS
9 Determination of deflections, Principle , Von-mises stresses in Plane stress
ANSYS
10 Estimation of natural frequencies and mode shapes (Modal Analysis of Cantilever beam)
ANSYS
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 3
11 Estimation of natural frequencies and
mode shapes (Harmonic analysis of a Bar
subjected to forcing function)
ANSYS
12 Heat conduction and convection
ANSYS
CAM
13 study the “G” codes and “M” codes for the CNC milling machine
CNC
14 CNC-Milling Rectangular Pockating
CNC
15 CNC- Lathe simple turning
CNC
16 CNC -Lathe step turning
CNC
17 CNC -Lathe right hand left hand taper turning taper turning
CNC
18 CNC -Lathe thread cutting operation CNC
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 4
Experiment NO: 1
DRAWING EXPERIMENTS USING AUTO CAD
COTTER JOINT WITH SLEEVE
Aim : To draw the cotter joint with sleeve using Auto CAD.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 5
Procedure
Set limits of Auto CAD screen. Set units Type : Decimal, Insertion scale :Millimetres
Insert line types Centre line and Dashed line into the drawing using Line type
command.
Draw the centre line. Draw the two shafts by taking diameter of the shaft as30mm and
increasing the diameter to 1.3D inside the sleeve as shown in the figure. Use line
command and spline command for drawing cut sections of the rods at the ends.
Draw a sleeve over the rods by taking diameter as 2.5D and length as 8D. using trim
command remove required portion of the sleeve and rods to insert cotters. Cotter length
is 4D, width 1.3D and taper is 1:30.
Represent the top half in section by applying hatching using hatch command. Represent
invisible portion of the rods and cotters in the sleeve with dashed lines.
Drawing the projections from the front view draw the top view using line, arc or circle,
fillet and trim commands.
Create a new layer using layer command and set color for layer to display dimensions.
Name this layer as Dim.
Create a new dimension style. Draw all dimensions of the drawing in Dim layer.
Precautions
Use zoom and Pan Commands properly while doing trim and fillet operations at very
small dimensions.
Use line type scale command (lts) for correct display of dashed and center lines.
Use hatch edit command to adjust the hatching of the sections.
Draw all the dimensions in new layer only.
Result
Cotter joint with sleeve has been drawn successfully using Auto CAD software.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 6
Experiment NO: 2
Knuckle Joint
Aim : To draw the Knuckle using Auto CAD.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 7
Procedure
Set limits of Auto CAD screen. Set units Type : Decimal, Insertion scale :Millimeters
Insert line types Centre line and dashed line into the drawing using Line type command.
Draw the centre line. Draw the pin in the top view by taking D as diameter 4D as
length. Draw the Eye end and forked end using line, circle and arc commands. Draw a
octagon and draw the octagonal ends of the rods by drawing projections from the
octagon drawn in the side view. Erase the octagon after drawing projections.
Draw the collar by taking 1.5D diameter and 0.5D as length. Draw the pin inside the
collar.
Represent partial section by applying hatching using hatch command.
Drawing the projections from the top view draw the front view using line, arc or circle,
fillet and trim commands.
Create a new layer using layer command and set color for layer to display dimensions.
Name this layer as Dim.
Create a new dimension style. Draw all dimensions of the drawing in Dim layer.
Precautions
Use zoom and Pan Commands properly while doing trim and fillet operations at very
small dimensions.
Use line type scale command(lts) for correct display of dashed and center lines.
Use hatch edit command to adjust the hatching of the sections.
Draw all the dimensions in new layer only.
Result
Knuckle joint has been drawn successfully using Auto CAD software.
.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 8
3D MODELLING EXPERIMENTS USING SOLID WORKS
Experiment NO:3
Oldham coupling
Aim : To make the part model, Assembly and Drawing of the Oldham coupling using Solid
works.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 9
Procedure
Part modeling
Flange: Select work plane in the side view and create a sketch. Draw a circle of 100mm
dia in the sketch and extrude it to 20mm. Take a new sketch in the top view and draw a
rectangle of 10X12mm and create a slot using extruded cut feature. Create a hub of
60mm diameter using extrude feature. Create hole with key way for the shaft of 30mm
diameter.
Central disc: Select the work plane in the side view and create a new sketch. Draw a
circle of 100mm diameter and extrude it to 20mm. Remove the unwanted portion using
extruded cut feature and create the projection on both sides of the central disc.
Shaft: Select the work plane side view and create a sketch with circle of 30mm diameter
using extrude feature. Create key way using extruded cut feature.
Key: Select the work plane side view and create a sketch with rectangle D/4 as width
and length.
Assembly
Create a sub assembly using shaft and key using coincidence mates. Create a main
assembly by taking a central disc as main part. Assemble flanges to the central disc and
insert sub assembly of shaft and key to flanges.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 10
Drawing
Create a new drawing file. Insert the assembly into drawing and project the side view
and front view. Take a sectional view from the side view. Draw the dimensions using
smart dimensioning.
Precautions
Select the Work plane properly based on the views required in the drawing.
Use constrains properly while drawing sketches.
Select the correct mates between the parts.
Result
Parts, Assembly and Drawing of the Oldham coupling done using Solid Works.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 11
Experiment NO:4
Screw Jack
Aim: To make the part model, Assembly and Drawing of the Screw jack using Solid works.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 12
Procedure
Part modeling:
Body: Select the work plane in the front view. Draw the sketch for the body with given
dimensions and revolve it using revolve feature to get body of screw jack.
Nut: Select the work plane in the front view. Draw the sketch for the nut with given
dimensions and revolve it using revolve feature.
Screw: Select the work plane in the front view. Draw the sketch for the screw with
given dimensions and revolve it using revolve feature. Select the work plane in the side
view and make a through hole using extruded cut feature. Make a M12 tapped hole at
the top of screw using hole feature.
Cup: Select the work plane in the front view. Draw the sketch for the cup with given
dimensions and revolve it using revolve feature. Create a work plane in the side view
and draw a hole and make a semi circular cut using the extruded cut option. Repeat the
same procedure in the front work plane.
Washer: Select the work plane in the front view. Draw the sketch for the washer with
given dimensions and revolve it using revolve feature.
Screw: Select the work plane in the front view. Draw the sketch for the washer with
given dimensions and revolve it using revolve feature.
Tommy bar: Select the work plane in the front view. Draw the sketch for the tommy bar
with given dimensions and revolve it using revolve feature.
Assembly
Create a sub assembly with Cup, washer and screw. Insert the Body as main part. Use
proper mates to assemble remaining parts sub assembly.
Drawing
Insert the assembly into a new drawing file and project the front view and top view.
Create the sectional front view to get the details of screw and washer in the drawing.
Mark the dimensions for the entire drawing using smart dimensioning.
Precautions
Select the Work plane properly based on the views required in the drawing.
Use constrains properly while drawing sketches.
Select the correct mates between the parts.
Result: Parts, Assembly and Drawing of the Screw Jack prepared using Solid Works.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 13
Experiment NO:5
Universal Coupling
Aim: To make the part model, Assembly and Drawing of the Universal coupling using Solid
works.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 14
Procedure
Part modeling
Fork: Select the front work plane and draw the sketch for the vertical portion of the
fork. Select the top face and create the sketch for top part of the fork. Use the mirror
feature to get the bottom part of the fork. Create the hub and shaft for fork using extrude
feature.
Central block: Select top work plane Draw the sketch with two concentric circles and
extrude them. Select the front work plane Draw the sketch with two concentric circles
according to the given dimensions and extrude them.
Shaft: Select the work plane side view and create a sketch with circle of 30mm diameter
using extrude feature. Create key way using extruded cut feature.
Key: Select the work plane side view and create a sketch with rectangle D/4 as width
and length.
Assembly
Create a sub assembly using shaft and key using coincidence mates. Create a main
assembly by taking a central block as main part. Assemble Forks to the central block
and insert sub assembly of shaft and key to flanges.
Drawing
Create a new drawing file. Insert the assembly into drawing and project the side view
and front view. Take a sectional view from the side view. Draw the dimensions using
smart dimensioning.
Precautions
Select the Work plane properly based on the views required in the drawing.
Use constrains properly while drawing sketches.
Select the correct mates between the parts.
Result: Parts, Assembly and Drawing of Universal Coupling prepared using Solid Works.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 15
ANALYSIS EXPERIMENTS
Experiment NO: 6
DETERMINATION OF DEFLECTION AND STRESSES IN
CANTILEVER BEAM WITH POINT LOAD
Compute the stresses for the beam shown and find the maximum deflection. Assume
rectangular c/s area of 2000mm * 1000mm, Young’s modulus of 70 GPa, Poisson’s ratio
0.27.Length of the beam 50m and material is aluminum.
STEP:1 ADDING THE ANALYSIS SYSTEM
1. Since it is a static structural problem add "STATIC STRUCTURAL" in the project
schematic.
2. To add a analysis system double click on it, or press the right mouse button on it and drag it
inside.
STEP: 2 ENGINEERING DATA
1. To begin setup for your simply supported beam, double click or right click on Engineering
Data and click edit. This will bring up another screen.
2. This new window will allow you to alter the material properties of your simply supported
beam. Under Outline of Schematic A2: Engineering Data, it shows click here to add a new
material, this menu allows you to input the material of your cantilever beam, double click and
type aluminum.
3. Double click on Isotropic Elasticity to give the material the same properties across the beam.
This action brought up a new table on the right; this allows us to add necessary properties. As
show on the top right of the screen in Table of Properties Row 2: Isotropic Elasticity.
fixed end
50 m
100 kN
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 16
4. Click in Temperature and type 25.
5. Click in Young’s Modulus and type 70e3 and poisons ratio 0.27.
STEP: 3 GEOMETRY
1. Go to Workbench -> Project Schematic -> Geometry and double click. This will open a
new window for ANSYS Design Modeler where the Geometry will be created.
2. In the new window, click the Display Plane icon to toggle the coordinate system.
3. Go to Design Modeler -> Tree Outline -> right click on XY Plane. Click Look At to view
the xy plane.
4. Go to Design Modeler -> Tree Outline -> Sketching.
5. In sketching>Draw>Rectangle.
6. Sketching>dimension>length of rectangle 2000mm>breadth 1000mm.
7. Go to modeling>extrude>select geometry by apply>depth of extrusion 50m.
8. Exit the design modular.
STEP4: MESHING
1. After returning to project schematic double click on model cell.
2. Go to outline>model (A4)>geometry>solid>details of solid>assignment>by default
structural steel-change it to aluminum.
3. Next go to outline>model (A4)>mesh>details of mesh>sizing>element size>give
2mm>right click on mesh>generate mesh.
STEP5:BOUNDRY CONDITION
1. Go to outline>model (A4)>static structural (A5)>right click on it select fixed
support>details of fixed support>select one end face of beam>apply.
2. Go to outline>model (A4)>static structural (A5)>right click on it select force>apply on
other end edge.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 17
STEP6: SOLVE
1. Do analysis settings by keeping large deflection on and then give solve.
RESULTS:
EQUIVALENT VON-MISES STRESS =
MAXIMUM TOTAL DEFLECTION =
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 18
Experiment NO: 7
DETERMINATION OF DEFLECTION AND STRESSES IN SIMPLY SUPPORTED BEAM WITH UDL
Compute the Stresses for the beam shown and find the maximum deflection. Assume
rectangular c/s area of 3500mm * 500mm, Young’s modulus of 210 GPa, Poisson’s ratio
0.27.Length of beam 50 m. Material is structural steel.
STEP: 1 ADDING THE ANALYSIS SYSTEM
1. Since it is a static structural problem add "STATIC STRUCTURAL" in the project
schematic.
2. To add a analysis system double click on it, or press the right mouse button on it and drag it
inside.
STEP: 2 ENGINEERING DATA
1. To begin setup for your simply supported beam, double click or right click on Engineering
Data and click edit. This will bring up another screen.
2. This new window will allow you to alter the material properties of your simply supported
beam. Under Outline of Schematic A2: Engineering Data, it shows click here to add a new
material, this menu allows you to input the material of your cantilever beam, double click and
type structural steel.
3. Double click on Isotropic Elasticity to give the material the same properties across the beam.
This action brought up a new table on the right; this allows us to add necessary properties. As
show on the top right of the screen in Table of Properties Row 2: Isotropic Elasticity.
4. Click in Temperature and type 25.
5. Click in Young’s Modulus and type 210e3 and poisons ratio 0.27.
UDL 25 kN/m entire span
50 m
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 19
STEP: 3 GEOMETRY
1. Go to Workbench -> Project Schematic -> Geometry and double click. This will open a
new window for ANSYS Design Modeler where the Geometry will be created.
2. In the new window, click the Display Plane icon to toggle the coordinate system.
3. Go to Design Modeler -> Tree Outline -> right click on XY Plane. Click Look At to view
the xy plane.
4. Go to Design Modeler -> Tree Outline -> Sketching.
5. In sketching>Draw>Rectangle.
6. Skething>dimension>length of rectangle 3500mm>breadth 500mm.
7. Go to modeling>extrude>select geometry by apply>depth of extrusion 50m.
8. Exit the design modular.
STEP4: MESHING
1. After returning to project schematic double click on model cell.
2. Go to outline>model (A4)>geometry>solid>details of solid>assignment>by default
structural steel-change it to aluminum.
3. Next go to outline>model (A4)>mesh>details of mesh>sizing>element size>give
2mm>right click on mesh>generate mesh.
STEP5: BOUNDRY CONDITION
1. Select the two edges of simply supported beam and fix "y" direction displacement.
2. Select upper surface of beam and apply a uniform pressure
STEP6: SOLVE
1. Do analysis settings by keeping large deflection on and then give solve.
RESULTS:
EQUIVALENT VON-MISES STRESS =
MAXIMUM TOTAL DEFLECTION =
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 20
EXPERIMENT NO: 8
DETERMINATION OF DEFLECTION AND STRESSES IN TRUSSES
For the given data, find internal stresses developed Nodal displacement in the planar truss shown in
figure when a vertically downward load of 10000 N is applied as shown.
Member C/s area mm
2 E
N/mm2
1 200
2 200 2 x 105
3 100
4 100
Step 1: Ansys Utility Menu
File - clear and start new - do not read file - ok - yes.
Step 2: Ansys Main Menu - Preferences Select - STRUCTURAL - ok
Step 3: Preprocessor
Element type - Add/Edit/Delete - Add - Link - 2D spar 1 - ok - close.
Real constants - Add - ok - real constant set no - 1 - c/s area - 200 - apply - real constant set no
- 2 - c/s area - 100 - ok - close.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 21
Material Properties - material models - Structural - Linear - Elastic - Isotropic - EX - 2e5 -
PRXY - 0.27 - ok - close.
Step 4: Preprocessor
Modeling - Create - Nodes - In Active CS - Apply (first node is created) - x,y,z location in CS
- 1000 (x value w.r.t first node) - apply (second node is created) - 500, 500 (x, y value w.r.t first
node) - apply (third node is created) - 2000, 1000 (x, y value w.r.t first node) - ok (forth node is
created).
Create - Elements - Elem Attributes - Material number - 1 - Real constant set number - 1 - ok
- Auto numbered - Thru Nodes - pick 1 & 3 - apply - pick 2 & 3 - ok - Elem Attributes -
Material number - 1 - Real constant set number - 2 - ok - Auto numbered - Thru Nodes - pick 3
& 4 - apply - pick 2 & 4 - ok (elements are created through nodes).
Step 5: Preprocessor
Loads - Define loads - apply - Structural - Displacement - on Nodes - pick node 1 & 2 - apply
- DOFs to be constrained - All DOF - ok.
Loads - Define loads - apply - Structural - Force/Moment - on Nodes- pick node 4 - apply -
direction of For/Mom - FY - Force/Moment value - -10000 (-ve value) - ok.
Step 6: Solution Solve - current LS - ok (Solution is done is displayed) - close.
Step 7: General Post Processor Element table - Define table - Add - ‘Results data item’ - By Sequence num - LS - LS1 - ok.
Step 8: General Post Processor
Plot Results - Deformed Shape - def+undeformed - ok.
Plot results - contour plot - Line Element Results - Elem table item at node I - LS1 - Elem table
item at node J - LS1 - ok (Line Stress diagram will be displayed).
Plot results - contour plot - Nodal solution - DOF solution - displacement vector sum - ok.
List Results - reaction solution - items to be listed - All items - ok (reaction forces will be
displayed with the node numbers).
Step 9: PlotCtrls - Animate - Deformed shape
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 22
EXPERIMENT NO: 9
DETERMINATION OF DEFLECTIONS, PRINCIPLE , VON-MISES
STRESSES IN PLANE STRESS
In the plate with a hole under plane stress, find deformed shape of the hole and determine the
maximum stress distribution along A-B (you may use t = 1 mm). E = 210GPa, t = 1 mm,
Poisson’s ratio = 0.3, Dia of the circle = 10 mm, Analysis assumption - plane stress with
thickness is used
STEP: 1 ADDING THE ANALYSIS SYSTEM
1. Since it is a static structural problem add "STATIC STRUCTURAL" in the project
schematic.
2. To add a analysis system double click on it, or press the right mouse button on it and drag it
inside.
STEP: 2 ENGINEERING DATA
1. To begin setup for your simply supported beam, double click or right click on Engineering
Data and click edit. This will bring up another screen.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 23
2. This new window will allow you to alter the material properties of your simply supported
beam. Under Outline of Schematic A2: Engineering Data, it shows click here to add a new
material, this menu allows you to input the material of your cantilever beam, double click and
type structural steel.
3. Double click on Isotropic Elasticity to give the material the same properties across the beam.
This action brought up a new table on the right; this allows us to add necessary properties. As
show on the top right of the screen in Table of Properties Row 2: Isotropic Elasticity.
4. Click in Temperature and type 25.
5. Click in Young’s Modulus and type 210e3 and poisons ratio 0.3.
STEP: 3 GEOMETRY
1. Get into the design modular
2. Draw a rectangle of 60mm*40mm
3. Add the thickness of 1mm.
4. Close the design modular
STEP4: MESHING
1. Get into the mesh modular
2. Select the method of meshing as patch confirming.
3. Select body sizing give element size as 2mm.
4. Generate mesh.
5. Close the mesh modular.
STEP5: BOUNDRY CONDITION 1. Give fixed support at one end of plate.
2. Select the face of other end and apply a tensile force of 2000 N.
STEP6: SOLVE 1. Give solve.
RESULTS:
EQUIVALENT VON-MISES STRESS =
MAXIMUM TOTAL DEFORMATION =
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 24
Experiment NO:10
ESTIMATION OF NATURAL FREQUENCIES AND MODE SHAPES
(MODAL ANALYSIS OF CANTILEVER BEAM)
For natural frequency determination. Modulus of elasticity = 200GPa, Density = 7800
Kg/m3.cross section 3500mm×500mm.length of beam 50m.Maximum number of modes 5.
STEP: 1 ADDING THE ANALYSIS SYSTEM
1. Since it is a thermal problem add "MODAL" in the project schematic.
2. To add a analysis system double click on it, or press the right mouse button on it and drag it
inside.
STEP: 2 ENGINEERING DATA
1. Add the material properties as done earlier.
STEP: 3 GEOMETRY
1. Get into the design modular
2. Construct the geometry as shown in the figure.
3. Close the design modular.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 25
STEP4: MESHING
1. Get into the mesh modular
2. Select the method of meshing as patch confirming.
3. Select body sizing give element size as 2mm.
4. Generate mesh.
5. Close the mesh modular.
STEP5: BOUNDRY CONDITION
1. Apply fixed support at one end of the beam.
STEP6: SOLVE
1. Give solve.
RESULTS:
TOTAL DEFORMATION=
MODAL FREQUENCIES=
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 26
Experiment NO:11
ESTIMATION OF NATURAL FREQUENCIES AND MODE SHAPES
(HARMONIC ANALYSIS OF A BAR SUBJECTED TO FORCING
FUNCTION)
Consider the bar shown in figure below. Conduct a harmonic forced response test by applying a
cyclic load (harmonic) at the end of the bar. The frequency of the load will be varied from 1 -
100 Hz. Modulus of elasticity = 200GPa, Poisson’s ratio = 0.3, Density = 7800 Kg/m3.
STEP: 1 ADDING THE ANALYSIS SYSTEM
1. Since it is a thermal problem add "HARMONIC" in the project schematic.
2. To add a analysis system double click on it, or press the right mouse button on it and drag it
inside.
STEP: 2 ENGINEERING DATA
1. Add the material properties as done earlier.
STEP: 3 GEOMETRY
1. Get into the design modular
2. Construct the geometry as shown in the figure.
3. Close the design modular.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 27
STEP4: MESHING
1. Get into the mesh modular
2. Select the method of meshing as patch confirming.
3. Select body sizing give element size as 2mm.
4. Generate mesh.
5. Close the mesh modular.
STEP5: BOUNDRY CONDITION
1. Apply fixed support at one end face as shown in figure.
2. Apply a force of 1500 at other end.
STEP6: SOLVE
1. Give solve.
RESULTS:
TOTAL DEFORMATION =
FRQUENCY VS TIME =
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 28
Experiment NO:12
HEAT CONDUCTION AND CONVECTION
For the two-dimensional stainless-steel shown below, determine the temperature distribution.
The left and right sides are insulated. The top surface is subjected to heat transfer by
convection. The bottom and internal portion surfaces are maintained at 300 °C. Thermal
conductivity of stainless steel = 16 W/m.K)
STEP: 1 ADDING THE ANALYSIS SYSTEM
1. Since it is a thermal problem add "STATIC THERMAL" in the project schematic.
2. To add a analysis system double click on it, or press the right mouse button on it and drag it
inside.
STEP: 2 ENGINEERING DATA
1. Add thermal conductivity of the material as given in the problem.
STEP: 3 GEOMETRY
1. Get into the design modular
2. Construct the geometry as shown in the figure.
3. Close the design modular.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 29
STEP4: MESHING
1. Get into the mesh modular
2. Select the method of meshing as patch confirming.
3. Select body sizing give element size as 2mm.
4. Generate mesh.
5. Close the mesh modular.
STEP5: BOUNDRY CONDITION
1. Apply temperature to all the faces as shown in figure.
2. Add convection coefficient at the given surface.
STEP6: SOLVE
1. Give solve.
RESULTS:
TOTAL HEAT FLUX=
TEMPERATURES=
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 30
Experiment .NO:13
STUDY THE ‘G’ CODES AND ‘M’ CODES FOR THE CNC MILLING MACHINE
AIM:-To study the “G” codes and “M” codes for the CNC milling machine.
Programming codes:
Codes are model and do not have to be repeated in every sequence line.
All dimensions are entered as decimals.
G –codes for turning machine:
MTAB INDIA PVT LTD
G- To define tool movement for preparatory function.
G OO > Rapid movement
G O1 > Linear movement with feed rate G 02 > Circular interpretation clockwise with feed rate G 03 > Circular interpretation counterclockwise with feed rate G 04 > Dwell time in seconds G 17 > XY plane G 18 > XZ plane G 19 > YZ plane G 20 > Inch mode input (in”) G 21 > multi mode input (mm) G 28 > return to reference point (home position) G 40 > tool nose radius compensation cancel G 41 > tool nose radius compensation left G 42 > tool nose radius compensation right G 70 > finishing cycle G 71 > multiple turning cycle G 72 > multiple facing cycle G 74 > deck drilling cycle in z axis G 75 > grooving cycle in z axis G 76 > thread cutting cycle G 90 > turning cycle G 92 > thread cutting cycle G 94 > facing cycle G 98 > feed per minute G 99 > feed per revolution
M- Codes / Miscellaneous codes:
M 00 > program stop
M 01 > optional stop
M 02 > program end
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 31
M 03 > spindle forward (cw)
M 04 > spindle reverse ( ccw)
M 05 > spindle stop M 06 > tool change M 08 > coolant ON
M 09 > coolant OFF
M 10 > chuck open
M 11 > chuck close M 30 > program stop and restart M 98 > sub program call M 99 > sub program exit
G- CODES FOR MILLING MACHINES:
HYTECH CNC MACHINE,PUNE
G 00 > point to point rapid positioning
G 01 > linear interpretation G 02 > Circular interpretation arc clockwise G 03 > Circular interpretation arc counterclockwise G 04 > Dwell time in seconds G 12 > circular pocketing clockwise G 13 > circular pocketing anticlockwise G 15 > polar coordinate system OFF G 16 > polar coordinate system ON G 17 > XY plane selection for arc movement G 18 > XZ plane selection for arc movement G 19 > YZ plane selection for arc movement G 20 > selecting inch mode input G 21 > selecting metric mode input G 40 > cutter compensation/offset,cancel G 41 > cutter radius compensation / offset-left G 42 > cutter radius compensation / offset-right G 43 > tool length compensation -positive G 44 > tool length compensation -negative G 49 > tool length compensation -cancel G 50 > scaling mode cancel (OFF) G 51 > scaling mode ON G 54 > shift of coordinate G 55 > shift of coordinate
G 56 > shift of coordinate
G 57 > shift of coordinate
G 58 > shift of coordinate
G 59 > shift of coordinate
G 68 > coordinate rotation system ON G 69 > coordinate rotation system ON G 70 > Inch programming G 71 > metric programming G 80 > drilling cycle
G 81 > fixed cycle no 1 drill, spot drill
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 32
G 82 > fixed cycle no 2 drill, counter bore G 83 > fixed cycle no 3 drill, deep hole
G 84 > tapping cycle
G 85 > fixed cycle no 4 drill, bore G 86 > boring cycle G 87 > back boring cycle G 88 > boring cycle G 89 > boring cycle G 90 > absolute dimension input G 91 > incremental dimension input G 94 > feed rate selection per min G 95 > feed rate selection per minute G 98, 99 > tool return position G 28 > return to reference point (home position) G 40 > tool nose radius compensation cancel G 41 > tool nose radius compensation left G 42 > tool nose radius compensation right G 70 > finishing cycle G 71 > multiple turning cycle G 72 > multiple facing cycle G 74 > peck drilling cycle in z axis G 75 > grooving cycle in z axis G 76 > thread cutting cycle G 90 > turning cycle G 92 > thread cutting cycle G 94 > facing cycle G 98 > feed per minute G 99 > feed per revolution
M- Codes / Miscellaneous codes:
M 00 > program stop M 01 > optional program stop M 02 > program end M 03 > spindle motor ON and forward direction (cw) M 04 > spindle motor ON and reverse direction ( ccw) M 05 > spindle stop M 06 > automatic tool change M 08 > coolant pump motor ON
M 09 > coolant pump motor OFF
M 21 > mirror image along x axis
M 22 > mirror image along y axis
M 23 > mirror image along z axis
M 30 > program stop and restart
M 98 > sub program call
M 99 > sub program exit
RESULT
Thus the “G” codes and “M” codes for the CNC milling machines were studied.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 33
Experiment No.14
CNC LATHE-MILLING RECTANGULAR POCKETING
AIM: To perform a rectangular milling operation by using CNC milling programming codes.
Apparatus required:
CNC machine
Personal computer
CNC software Program:
M 03 S 1500
(Stock /block 100,100, 10, -4, -
4, -7) (tool /mill 10, 0, 30, 0)
(color 0,
255, 0) G21
G98
G00 X0 Y0 Z5
G00 X10 Y10 Z5 F120
G01 X60 Y10 Z-3 F120
G01 X60 Y60 Z-3 F120
G01 X10 Y60 Z-3 F120
G01 X10 Y10 Z-3 F120
G00 X0 Y0 Z5
M05 M30
RESULT:
Thus the rectangular milling operations by using CNC milling programming codes
were performed.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 34
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 35
Experiment No.15
CNC LATHE-SIMPLE TURNING
AIM:
To perform the simple turning operation by using CNC programming codes.
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece Program:
Billet X32 Z70
G21 G98
G28 U0 W0
M06 T02
M03 S1000
G00 X32 Z3
G90 X31 Z-28 F100
X30
X29
X28
G28 U0 W0
M05
M30
RESULT:
Thus the simple turning operation was performed by using CNC Lathe programming codes
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 36
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 37
Experiment No.16
CNC LATHE-STEP TURNING
AIM:
To perform the step turning operation by using CNC programming codes. Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece Program:
Billet X32 Z70
G21 G98
G28 U0 W0
M06 T01
M03 S1500
G00 X32 Z5
G90 X31 z-30
X30 Z-25
X28 Z-20
X24 Z-15
G28 U0 W0
M05
M30
RESULT:
Thus the step turning operation was performed by using CNC Lathe programming codes.
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 38
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 39
Experiment No.17
CNC LATHE- RIGHT HAND AND LEFT HAND TAPER TURNING
AIM:
To perform the right hand and left hand taper turning operation by using CNC
programming codes.
FOR RIGHT HAND TAPER TURNING
Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
Billet X32 Z70
G21 G98
G28 U0 W0
M06 T01
M03 S1500
G00 X32 Z5
G90 X30 Z-30 R-1 F50
R-2
R-3
G28 U0 W0
M05
M30
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 40
FOR LEFT HAND TAPER TURNING Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece
Program:
Billet X32 Z70
G21 G98
G28 U0 W0
M06 T01
M03 S1500
G00 X32 Z5
G90 X30 Z-30 R-1 F50
X28 R2
X26 R3
G28 U0 W0
M05
M30 RESULT:
Thus the right hand and left hand taper turning operation was performed by using CNC Lathe programming codes
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 41
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 42
For left Hand taper turning
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 43
Experiment No.18
CNC LATHE - THREAD CUTTING OPERATION
AIM:
To perform thread cutting operation by using CNC programming codes. Apparatus required:
CNC machine
Personal computer
CNC software
Cutting tool
Work piece Program:
Billet X32 Z70
G21 G99
G28 U0 W0
M06 T02
M03 S1500
G00 X32 Z5
G94 X31 Z45 F1.5
X30.5
X30
G00 X29.3 Z2
G76 P1 Q12 R0.7 F0.5
G76 X28.05 Z40 P12 Q12 F0.5
X28.6 R1.4
X28 R1.95
G28 U0 W0
M05
M30
RESULT:
Thus the thread cutting operation was performed by using CNC Lathe programming codes
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 44
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 45
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 46
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 47
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 48
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 49
DEPARTMENT OF MECHANICAL ENGINEERING NRIH
Page 50