Professional Documents
Culture Documents
Unit-1 2019
Unit-1 2019
Unit-1 2019
UNIT – I 15 Periods
Computer Aided Design:
Computer Aided Design (CAD)- role of Computer in Design Process, Benefits of CAD, Graphic Primitives- Line and Circle, Line (DDA,
Bresenham’s) and Circle (Mid-Point) Drawing Algorithms, Geometrical Transformations (2D & 3D)-Translation, Scaling, Rotation.
Geometric Modelling- Wire Frame Entities, Wire Frame Modelling, Parametric Representation of Bezier, Cubic Spline and B-Spline Curves,
Surface Entities, Surface Modeling, Solid Entities, Solid Modeling – Constructive Solid Geometry (CSG), Boundary Representation (B-Rep),
Product Data Exchange-Types of Translators, IGES, Introduction to Finite Element Modelling - Mesh Generation, Types and Techniques of
Simulation in Manufacturing.
UNIT –II 15 Periods
Computer Aided Planning and Control:
Group Technology - Part Families, Parts Classification and Coding Systems, OPITZ and MICLASS coding, Computer Aided Process Planning
(CAPP) – Retrieval and Generative Process Planning Systems, Benefits of CAPP.
Computer Integrated Production Management System – Master Production Schedule, Capacity Planning, Cost Planning and Control, Shop Floor
Control, Factory Data Collection System, Inventory Management - Material Requirement Planning (MRP), Introduction to Manufacturing
Resource Planning (MRP-II) and Enterprise Resource Planning (ERP).
UNIT – III 15 Periods
Computer Aided Process Monitoring and Quality Control:
Computer Process Interfacing - Monitoring, Types of Production Monitoring Systems, Structure
Model of Manufacturing Process, Process Control and Strategies, Direct Digital Control Supervisory Computer Control.
Computer Aided Quality Control (CAQC) - Contact Inspection Methods – Coordinate Measuring Machine (CMM), Stylus Profilometer- Optical
Inspection Methods, Non Contact Inspection Methods, Machine Vision – Image Processing and Analysis, Computer Aided Testing, Integration
of CAQC with CAD/CAM.
UNIT – IV 15 Periods
Computer Integrated Manufacturing:
Computer Integrated Manufacturing (CIM)- Hardware and Software, Benefits, Data Base Requirements of CIM, Data Base Models, Types of
Manufacturing Systems - Single Stations, Multi-Station Cells, Production Lines.
Over View and Principles of Materials Handling, Material Transport Systems - Automated Guided Vehicles (AGV), Monorails and other Rails,
Conveyors, Cranes and Hoists, Automated Storage and Retrieval System (AS & RS), Robots and its Applications in CIM, Direct and Distributed
Numerical Control System, Cellular and Flexible Manufacturing Systems (FMS), Manufacturing Strategies - Introduction to Lean, Agile, Just in
Time and Collaborative Manufacturing, Artificial Intelligence and Expert System in CIM. Industry 4.0-Introduction to the industrial internet of
things- smart factories.
BOOKS:
Groover M and Zimmers E, "CAD/CAM: Computer Aided Design and Manufacturing", Prentice Hall of India, New Delhi, 2003.
Ibrahim Zeid, Sivasubramanian R, CAD/CAM: Theory and Practice, McGraw-Hill education (India) Private Limited, New Delhi, 2009 1
UNIT1 - COMPUTER AIDED DESIGN
4. Geometric modeling: -
1.wire frame: entities, modeling, curve representation.
2. surface: entities, modeling.
3. solid modeling: CSG, B-REP.
4
Computer Aided Design (CAD)
CAD is the integration of computer science techniques for engineering
design.
CAD is also defined as the use of computer systems to assist in the
Creation
Modification
Analysis or optimization of a design.
5
2D/3D drafting.
3D modelling
An aid to visualization.
Represents curves and surfaces
and solids.
6
Interactive Computer Graphics (ICG)
Modern CAD systems are based on ICG.
7
Reason for implementing CAD
To increase the productivity of the designer
Reduces the time required to synthesize, analyze and
document the design.
9
Shigley- Design Process
10
Cont..
1. Recognition of need:
It involves the realization by someone that a problem exists for which
some feasible solution is to be found.
Historical Information
Collected from the literature,
marketing surveys.
This should be able to answer
questions like
The current technology
Existing solutions
Requirement Specification
Clear definition of the requirements is specified.
This helps in understanding the product from the current practices and
manufacturing resources of the plant.
Market forces
Consider the various market forces that will affect the product in one
way or the other.
11
General solutions
Specify general solution, which will be broad and would not
contain too many details.
This can be done by resorting to past designs, engineering
standards, technical reports, handbooks, patterns.
This helps in its further evaluation and refinement at a later
stage.
2. Definition of problem
It involves a thorough specification of the item to be
designed.
The specification include functional and physical
characteristics, cost, quality, performance, etc.
3. Synthesis
During this phase various preliminary ideas are developed
through research of similar products or designs in use.
12
4. Analysis and optimization:
The preliminary designs are subjected to the appropriate
analysis to determine their suitability for the specified design
constraints.
5. Evaluation:
The evaluation of the design against the specifications
established during the problem definition phase.
6. Presentation:
It is the final phase, which includes documentation of the design
through drawings, material specifications, assembly lists and so
on. 13
Application of Computers to the Design Process
14
Various Design Tasks by CAD
1. Geometric Modeling
2. Engineering Analysis
3. Design Review and Evaluation
4. Automated Drafting
1. Geometric modeling
It deals with the mathematical description of the geometry of
an object.
15
Three types of commands in Geometric modeling
Solid Modeling
16
Three types wire frame modeling
17
Wire frame modeling
Solid Modeling
Advance method of geometric modeling
in three dimensions.
19
Finite Element Analysis of a Component 20
3. DESIGN REVIEW AND EVALUATION
The designer can check the accuracy of the design to reduce the
dimensioning errors.
The designer can zoom in on part design details for close scrutiny.
In conventional manufacturing
Engineering drawing prepared by design draftsmen and used by
manufacturing engineer to develop the process plan.
24
CAD/ CAM data base
25
Benefits of computer aided design
3. Design Analysis
26
Improvement in visualization of images
8. Improved Procedures for engineering changes
Control and implementation of engineering changes is
significantly improved with CAD.
Data base can be checked against new information.
Easy to compare with the current design.
27
Benefits in Manufacturing
Robotics planning
Group Technology
The pixel is the intersection area of the rows and columns (smallest
addressable screen element).
The control is achieved by setting the intensity and colour of the pixel.
To display point P1 (4.2, 3.8) and
point P2 (4.8, 3.1), P1 and P2 are
represented by only one pixel
(4,3) .
For a raster display, the line colour (intensity) is then loaded into the
frame buffer at the corresponding pixel coordinates.
32
Line - Slope
The slope of a line is the rise over the run, or the change in y divided by the
change in x . To find the slope of a line, pick any two points on the line.
33
Example : Find the slope of the line which passes through the points (2,
5) and (0, 1) :
34
Positive Slope
If a line has a positive slope (i.e. m > 0 ), then y always increases
when x increases and y always decreases when x decreases. Thus, the graph
of the line starts at the bottom left and goes towards the top right.
Negative Slope
Negative slope implies that y always
decreases when x increases and y always
increases when x decreases.
35
Line Drawing Algorithm- Analog Devices
The Cartesian slope intercept equation for a straight line is
Y = m. x + b
‘m’ representing the slope of the line, b as the y intercept.
y2 y1 y
m b y1 m.x1
x2 x1 x
For any given x interval Δx along a line, the
corresponding y interval Δy can be computed from the
equation
y mx
Similarly for Δx y
x
m
If m 1 Vertical deflection is calculated from y mx
If m 1 Horizontal deflection is calculated from x y
m
If m 1 x y Smooth line is generated between the endpoints.
36
Line Drawing Algorithm- Raster System
On raster systems, lines are plotted
with pixels and step sizes in the
horizontal and vertical directions are
constrained by pixel separations.
37
Digital Differential Analyser (DDA) Algorithm/ Vector Algorithm
DDA is one of the incremental scan conversion methods.
38
Digital Differential Analyser (DDA) Algorithm/ Vector
Algorithm
DDA is a scan conversion line algorithm based
on calculating either Δx or Δy.
Case 1: Line with positive slope
If m 1 sample at unit x intervals (Δx = 1)
yk 1 yk m
Where ‘k’ is integer starting from 1, for the
first point and increases by 1 until the final
endpoint is reached.
‘m’ can be any real number between 0 and 1
The calculated ‘y’ values must be rounded to the nearest integer.
If m 1 sample at unit ‘y’ intervals (Δy = 1)
1
xk 1 xk
m
39
Case 2: Line with negative slope
If m 1 Δx = -1 yk 1 yk m
1
m 1 xk 1 xk
If Δy = -1 m
The DDA algorithm is a faster method for calculating pixel
positions than the direct use of line equation.
40
To draw a straight line from connecting two points (2, 7) and (15,10)
X1 = 2, X2 = 15 Δx=X2 - X1 = 13
Y1 = 7, Y2 = 10 Δy= (Y2 - Y1) = 3
m= Δy/Δx = 3/13 =0.23
Pixel values
Plotting a line 41
x1=0 x2=6 Δx = x2-x1= 6-0 = 6
y1=0 y2=7 Δy = y2-y1 = 7-0 = 7
43
Drawbacks of DDA Algorithm
44
Bresenham’s Line Algorithm
An accurate and efficient raster line
generating algorithm.
y m xk 1 b
46
y m xk 1 b
d1 y yk
m xk 1 b yk
d 2 yk 1 y
yk 1 m xk 1 b
The difference between these two separations is
d1 d 2 2m xk 1 2 yk 2b 1
A decision parameter pk for the kth step in the line algorithm can be obtained
by rearranging the above equation and substituting m= Δy/ Δx.
pk x d1 d 2
Pk 2y xk 2x yk 2y x(2b 1)
47
Pk 2y xk 2x yk 2y x(2b 1)
pk 2y xk 2x yk c
Where C is C 2y x(2b 1)
If the pixel at yk is closer to the line path than the pixel at yk+1 (that is,
d1<d2), then decision parameter pk is negative.
In that case, we plot the lower pixel; otherwise we plot the upper pixel.
pk 1 2y xk 1 2x yk 1 c
pk 1 pk 2y ( xk 1 xk ) 2x( yk 1 yk )
But, xk+1 is the same as xk+1 so:
pk 1 pk 2y 2x( yk 1 yk )
If pk value negative(lower pixel), yk 1 yk
pk 1 pk 2y 2x( yk yk )
pk 1 pk 2y
yk 1 yk 1
If pk value positive(upper pixel),
pk 1 pk 2y 2x( yk 1 yk )
pk 1 pk 2y 2x
If |m|>1 then interchange x and y in the above equations. 49
Bresenham’s Line Drawing Procedure
If m 1
Input the two line endpoints and store the left endpoint in (x0,y0) .
Load (x0,y0) into the frame buffer; that is plot the first point.
Calculate constants Δx, Δy, 2Δy and 2Δy- 2Δx and obtain the starting value
for the initial decision parameter as
p0 2y x
At each xk along the line, starting at k=0, perform the following test:
If pk<0, the next point to plot is (xk+1,yk) and
pk 1 pk 2y
If pk value positive(upper
pixel).
51
Develop the pixel positions for the straight line joining P1 (10, 20) and
P2 (18, 25)
52
Advantage of Bresenham’s Line Algorithm
53
Circle Generating Algorithms
A circle is defined as the set of points that are all at a
given distance r from the center position (xc,yc).
54
Cont…
Another way to eliminate the unequal spacing is to calculate points
along the circular boundary using polar coordinates r and θ.
The step size chosen for θ depends on the application and the display
device.
We can generate the circle section in second quadrant of the xy plane
by noting that the two circle sections are symmetric with respect to the y
axis.
56
Bresenham’s Circle Algorithm
More efficient circle algorithms are based on incremental calculation of
decision parameters, as in the Bresenham line algorithm, which involves
only simple integer operations.
57
Mid Point Circle Algorithm
As in the raster line algorithm, sample at unit intervals and determine the
closest pixel position to the specified circle path at each step.
The each calculated position (x, y) is moved to its proper screen position by
adding xc to x and yc to y.
Take unit step in the positive x direction over the octant and use a decision
parameter to determine which of the two possible y positions is closer to the
circle path at each step.
58
The circle function tests are performed for the
midpositions between pixels near the circle
path at each sampling step.
Figure shows the midpoint between the two pixels at sampling position xk+1.
If pk < 0, this midpoint is inside the circle and the pixel on yk is closer to
the circle boundary.
2
2
pk xk 1 yk 1
2 2
r
1
pk 1 f circle xk 1 1, yk 1
2
The difference between these two
pk 1 pk 2 xk 1 y 2 k 1 yk2 yk 1 yk 1
The initial decision parameter is obtained by evaluating the circle function at
the start position (x0, y0) = (0, r)
1
p0 f circle 1, r
2
2
1
1 r r2
2
5
r
4
p0 1 r
60
Mid Point Circle Algorithm- Steps
1. Input radius ‘r’ and circle center (xc, yc), and obtain the first point on the
circumference of a circle centered on the origin as
(x0, y0) = (0, r)
3. If pk < 0, the next point along the circle is (xk+1, yk) and
pk 1 pk 2 xk 1 1
Otherwise, the next point along the circle is (xk+1, yk -1) and
pk 1 pk 2 xk 1 1 2 yk 1
5. Move each calculated pixel position (x, y) onto the circular path centered on
(xc, yc) and plot the coordinate values.
x= x +xc, y = y +yc
-3
62
Given a circle of radius r=15cm, determine the pixel positions along the circle
octant using mid point algorithm in the first quadrant from x=0 to x=y
R=15 p0 1 r 1 15 14
Initial point is (x0,y0) = (0,15), the initial increment terms for calculating the decision
parameters are 2x0 = 0, 2y0 =30.
Pk <0
Next position
pk 1 pk 2 xk 1 1
pk 1 14 2 xk 2 1 11
63
Transformation
64
Cont..
This would imply that the geometric model must undergo motion
relative to its MCS.
66
3D Euclidean transformation
( x, y, z ) ( x x, y y, z z )
1 0 0 1 0 0
( x, y, z ) 0 1 0 (x, y, z ) 0 1 0
0 0 1 0 0 1
3D Homogeneous transformation
( x , y , z , 1) ( x x , y y , z z , 1)
1 0 0 0
0 1 0 0
( x , y , z , 1)
0 0 1 0
x y z 1
67
Transformation of a point
68
Representation of points in matrix form
• In two dimensional coordinate system any point is represented in terms of x
and y coordinates.
• The point (x,y) can be converted into matrix in the following two ways:
69
Representation of points in matrix form
• Represent any rectangle in matrix form.
• Let (x1, y1) and (x2,y2) be the opposite vertices of a rectangle.
• Then , the four vertices of the rectangle will be: (x1,y1), (x2, y1),
(x2,y2), (x1,y2).
• Matrix form
70
TRANSLATION
• Every entity of the geometric model remains parallel to its initial
position, the rigid body transformation of the model is defined as translation.
• Every point on it moves an equal given distance in a given direction
• Translation can be specified by a vector, a unit vector and a distance or two
points that denote the initial and final positions of the model to be translated.
P* = P+d
72
TRANSLATION- EXAMPLE
73
(1,1) & (2,4) 2units x and 3 units y.
74
TRANSLATION- EXAMPLE
Translate the outline of a house by (3, -4)
75
SCALING
Scaling is used to change, increase or decrease the size of an entity or a
model.
Point wise scaling can be performed by
The elements sx, sy, sz of the scaling matrix [S] are the scaling factors in
the X, Y, Z directions respectively.
76
UNIFORM SCALING
77
DIFFERENTIAL SCALING
Differential scaling occurs when
78
SCALING OF A PLANE FIGURE
X1 Y1
P* = X2 Y2
79
80
81
82
ROTATION
Rotation is an important form of geometrical transformation.
It enables the users to view geometric models from different angles.
Rotation of a point through an angle θ about x or y or z is sometimes
referred to as rotation about the origin.
A rotation in the counter clockwise direction is considered as positive.
83
The coordinates of P* are given by:
where
84
(1,1) & (2,4) Rotate 30 degree CCW.
85
Homogeneous Transformation
86
Concatenated Transformation
A series of transformations is applied to a geometric model.
It is also called as combination of transformations.
Concatenated transformations are simply obtained by multiplying the
[T] matrices of the corresponding individual transformations.
87
The line has to be rotated 45 degree ccw about point A.
88
89
90
3D -Transformations
A 3D object has a three dimensional geometry and therefore it requires
a three dimensional coordinate transformation.
The scaling and translation transformations are essentially the same as
two dimensional transformations.
However, the matrix will have a non zero third column.
91
92
93
Geometric Model
Three types of geometric models
Wireframe Model
Surface Model
Solid Model
The user construct geometric model by inputting the object data via the
user interface provided by the software.
94
Wireframe Entities
Wire frame entities can be divided into analytic and synthetic entities
95
Wireframe Entities
Method of defining Lines:
96
Wireframe Entities
Method of defining Ellipses and parabolas:
97
Wireframe Entities
Method of defining Synthetic curves:
B-Spline curve
98
Wireframe Model
A wireframe model -simplest geometric model - represent it
mathematically in the computer.
The word wireframe is related to the fact that one may imagine a wire
that is bent to follow the object edges to generate the model.
A wire frame model consists of points, lines, arcs and circles, conics
and curves.
99
Wireframe Model
100
101
Wireframe Model
Advantages
Simple to construct.
Does not require as much computer time and memory as does surface and
solid modeling.
Disadvantages
Unambiguous representation of real objects.
Volume, mass properties, NC tool path generation, cross sectioning are not
possible.
102
Representation of Curves
Generally shape representation have two uses
Analytic use.
Synthetic use.
In Analytical, representation are used analytically to describe shapes
that can be measured.
In synthetic, the designer interactively creates or modifies a model of
a shape, examining and improving the design until it is acceptable.
103
104
Synthetic Curves
As the name implies these are artificial curves
Bezier
B-Spline
CUBIC
etc.
105
Synthetic Curves
Interpolated
Control Points
Approximated
106
SYNTHETIC CURVES
107
Important properties for designing curves
Control Points:
Locate points through which the curve must pass or
points that control the curve shape.
Axis independence:
The shape of an object must not change when the control
points are measured in a different coordinate system.
Versatility:
A curve representation that allows a limited variety of
shapes may frustrate a designer.
The control of a curve representation, often by adding
or removing control points.
Order of continuity:
A complex shape is usually not modeled by a single
curve, but by several curves pieced together end to end.
When creating joints, the designer often wants to control
the order of continuity at the joint.
109
Position Continuity
Zero order continuity (C0) yields a position continuous curve
(same end point).
Mid-points are connected
1 2
3
110
Slope Continuity
Both curves have the same first
derivative value at the connection
point. At the same time position
continuity is also attained.
Continuous
tangent
111
Curvature Continuity
Both curves have the same second derivative value at the connection point.
At the same time position and slope continuity is also attained.
1
2
Continuous
curvature
112
Most commonly used Synthetic Curves
• Cubic Spline
– It passes through the control points.
• Bezier Curve
– It does not pass through the control points but only approximates the trend.
• B-Spline Curve
– It is also most generally an approximator.
113
Cubic Spline
A cubic spline has C1 continuity at intermediate points
Cubic splines do not allow local control
Lagrange interpolation - 4 points
Hermite interpolation - 2 points, 2 slopes
2
1 3
4
Cubic polynomials
p1 p3 P1’
P0’
p1
p2
p0 Lagrange Hermite
p0
114
Cubic Spline
Parametric cubic spline curves are
piecewise polynomial curves with first
order continuity.
The parametric cubic spline connects two data points and utilizes
a cubic function.
Therefore four conditions (positions of the two end points and two
tangent vectors at the points) are required to determine the
coefficients of the equation.
115
Parametric equation of cubic spline is given by
116
The tangent vector to the curve at any point is given by
differentiating the equation with respect to ‘u’ to give
In order to find the coefficients Ci, consider the cubic spline curve with
two endpoints P0 and P1.
Applying the boundary conditions
119
120
The use of the cubic splines in design applications is not popular
compared to Bezier or B-spline curves.
The control of the curve is not very obvious from the input data due to its
global control characteristics.
The curve’s shape can be controlled by changing its endpoints or its tangent
vectors.
If the two end points are fixed in space, the designer can control the shape
of the spline by changing either the magnitudes or the direction of the
tangent vectors.
121
Cubic Hermite Interpolation
P0 ’
P1
P0
P 1’
Hermite curve set with same end points (P 0 ve P1),
Tangent vectors P0’ and P1’ have the same directions but
P0’ have different magnitude P1’ is constant
122
Cubic Hermite Interpolation
All tangent vector magnitudes are equal but the direction of left
tangent vector changes.
123
BEZIER CURVES
Bezier curves and surfaces are credited to P. Bezier of the French car
firm Regie Renault who developed (1962).
The data points are used to control the shape of the resulting curves.
Only the first and the last control points or vertices of the polygon
actually lie on the curve.
The other vertices define the order and shape of the curve.
Control polygon
125
Bezier Curves
126
BEZIER CURVE
127
BEZIER CURVES FOR VARIOUS CONTROL POINTS
128
BEZIER CURVES FOR VARIOUS CONTROL POINTS
129
BEZIER CURVE
Mathematically for n+1 control points, the Bezier curve is defined by the
following polynomial of degree n:
130
131
Characteristics of the Bezier Curve
The curve interpolates the first and last control points; that is,
it passes through P0 and Pn.
132
Cont..
The curve lies entirely within the convex hull formed by four
control points.
133
Modifications of cubic Bezier Curve
134
135
CONVEX HULL OF A BEZIER CURVE
136
Some Bezier Curves
137
Bezier Curves- Disadvantages
The curve does not pass through the control points which may be
inconvenient to some designers.
The curve lacks local control. It only has the global control nature.
138
Cubic Bezier Curves or 3rd degree Bezier curve
139
140
141
Plotted Bezier Curve
142
B – Spline Curve
B-splines are a powerful tool for generating curves with many
control points and provide many advantages over Bezier curves.
Curve is defined by n+1 control points and the order (k) of the
curve.
143
B – Spline Curve
Similar to Bezier curves, the B-spline curve defined by n+1 control points
Pi is given by
144
The Characteristics of B- Spline Curve
The local control of the curve can be achieved by changing the
position of a control points, using multiple control points by placing
several points at the same location, or by choosing a different degree.
B-spline curve passes through the first and last control points P0 and
Pn+1 and is tangent to the first and last segments of the control
polygon.
145
The Effect of Degree of B- Spline Curve on its shape
Increasing the degree of the curve tightens it. In general, the less the
degree, the closer the curve gets to the control points.
When k=1, a zero degree curve results. The curve then becomes the
control points themselves.
146
Identical B-spline and Bezier Curves
147
Multiple Control point B-Spline curve
148
An Closed B-spline curve with P0 and P5 coincident
149
INTRODUCTION TO SURFACE MODELING
Surface modeling is required in Shape design and representation of
complex objects such as car, ship and aircraft bodies as well as
castings.
151
Mesh in Surface Models
Finer the mesh size of surface entities in a model, the longer the CPU
time to construct the entities and to update the graphics display and the
longer it takes to plot the surface model.
152
Surface Entities
Major surface entities provided by CAD/CAM systems.
1. Plane Surface
This is the simplest surface.
153
2. Ruled (lofted )Surface
154
3. Surface of revolution
155
4. Tabulated Cylinder
This is a surface generated by translating a planar curve a
certain distance along a specified direction (axis of the
cylinder)
156
5. Bezier Surface
157
6. B-spline surface
158
7. Coons Patch
8. Fillet surface
159
9. Offset surface
160
SURFACE REPRESENTATION
161
Solid Modeling-Introduction
Solid Modeling (Volumetric modeling) techniques begun to develop in
the late 1960s and early 1970s.
Eliminate all kinds of ambiguities in representation and
manipulations.
163
Use of Solid Modeling in design and manufacturing increasing due to
Software improvements
164
Geometry and Topology in Solid Models
165
Geometry and Topology in Solid Models
• Using primitive approach, one can construct the solid model of the object by
dividing it into blocks and cylinders.
167
Solid Models-Features Approach
• In feature approach the designer can create different cross sections and
extrude them.
168
Solid Entities
Primitives (building blocks) are simple basic shapes and are
considered the solid modeling entities which can be combined by a
mathematical set of Boolean operations to create the solid.
The most common primitives are:-
Block
Cylinder
Cone
Sphere
Wedge
Torus
170
Most Common Primitives
171
Primitives
Union
Intersection
Difference
172
Boolean Operations of a Block A and Cylinder B
173
174
Solid Representation
• A solid model of an object is defined
mathematically as a point set S in 3-D
Euclidean space.
W bSsetWiSis
• The universal cS
represented by
Finiteness and Finite Describability – Size of the solid is not infinite and a limited
amount of information can describe the solid.
Boundary Determinism –
The boundary of a solid must contain the solid and hence
must determine distinctively the interior of the solid.
176
The properties of representation schemes
Domain –
Class of objects that the scheme can represent or it is the geometric
coverage of the scheme.
Validity –
Validity of a representation scheme is determined by its range, i.e.,
the set of valid representations or models it can produce.
Completeness or Unambiguousness –
This properties determines the ability of the scheme to support
analysis and other engineering applications.
Uniqueness –
Used to determine object equality.
177
Solid Representation
Representation scheme is defined as a relation that maps a valid point
set into a valid model.
178
Positional and permutational nonuniqueness
179
Other properties of representation schemes
Conciseness
Measure of the size of data a scheme requires to describe an
object.
The scheme generates compact databases, convenient to
store and efficient to transmit from one system to another.
Ease of operation
Determines the user-friendliness of a scheme.
Efficacy
Measures how accessible a representation is by downstream
applications.
Good representation schemes should permit the use of a wide
variety of application algorithms for evaluating various
functions.
180
Various representation schemes
The nine solid representation schemes are
Half-spaces
Boundary Representation (B-rep)
Constructive Solid Geometry (CSG)
Sweeping
Analytical Solid Modeling (ASM)
Cell decomposition
Spatial enumeration
Octree encoding and
Primitive instancing
181
Algorithms
183
• Topology – by Euler operations.
• Geometry- by Euclidean calculations.
• Euler operations - to create, manipulate and edit the faces, edges and vertices.
184
Basic Elements of B-rep
185
Types of polyhedral objects
186
187
188
189
Object Faces Edges Vertices Inner Bodies Genus
No (F) (E) (V) Loop (B) (G)
(L)
4 1 6 12 8 0 1 0
2 5 8 5 0 1 0
3 10 24 16 0 1 0
4 16 36 24 2 1 0
5 11 24 16 1 1 0
6 12 24 16 0 2 0
5 7 10 24 16 2 1 1
8 20 48 32 4 1 1
9 14 36 24 2 1 1
8 9
1 7
2 3
190
Exact B-rep of a cylinder and a sphere
191
Approximate B-rep or Faceted B-rep
Faceted cylinder is
generated by rotating a
line incrementally about
the axis.
192
General data structure for B-rep
193
194
195
Euler Operations
196
Topology Creation via Euler Operators
197
198
Create the boundary model of solid S as shown in the figure
199
200
201
Boundary Model of Solid S
202
Rotational Sweep Boundary Model
203
Advantages of B-rep
Disadvantage
204
Constructive Solid Geometry (CSG)
CSG and B-rep schemes are very popular schemes and best understood
representations so far.
CSG representations are easy to create, store and easy to check for
validity.
205
206
207
208
209
Data Base of CSG
• The Database of CSG model stores its topology and
geometry.
210
Graph
• A graph is defined as a set of nodes connected by a set of
branches or lines.
• Each branch in a graph is specified by a pair of nodes.
• The set of nodes is A, B, C , D, E , F , G
• The set of branches or pairs is
A, B, A, C, B, C, B, E, B, F , B, G, C, D, C, E
211
Directed Graph or Digraph
A, B, A, C, C, B, B, E, F , B, B, G, D, C, E, C
212
Path in Digraph
Each node in digraph has an
Indegree (number of arrow heads entering the
node)
If the start and end nodes of a path are the same, the path is a cycle.
213
Tree
• A tree is defined as an acyclic digraph in which only a single
node, called the root, has a zero indegree and every other
node has an indegree of one.
• This implies that any node in the tree except the root has
predecessors or ancestors.
214
Binary and Inverted Binary Tree
• If the ordered tree has two descendants, the tree is called a binary
tree.
Any node in a tree that does not have
descendants, that is, with an out degree
equal to zero, is called a leaf node
(D,E,F,G).
216
Typical solid and its primitives
A block and a cylinder primitive are enough to create CSG model of the solid.
217
• A user can construct the CSG model using the following steps:
B1= block positioned properly
B2= block positioned properly
B3= block
B4= B3 moved properly in X direction
C1= cylinder positioned properly
C2= C1 moved properly in X direction
C3= cylinder positioned properly
C4= C3 moved properly in X direction
218
S1 B1 *B3
S 2 S1 *C1
S3 S 2 *C3
S 4 B2 *B4
S5 C2 *S 4
S 6 C4 *S5
S S3 *S 6
219
CSG graph
S1 B1 *B3
S 2 S1 *C1
S 3 S 2 *C3
S 4 B2 *B4
S 5 C2 *S 4
S 6 C4 *S 5
S S 3 *S 6
220
Data structure of a Primitive solid
221
222
• Create the CSG model of solid S as shown in the figure
223
Constructive Solid Geometry
224
Solid Modeling using 3D Primitives
225
226
227
228
229
230
231
232
233
234
235
236
237
238
Finite Element Modeling (FEM)
• What is finite element modeling?
– It involves taking a continuous structure and “cutting”
it into several smaller elements and describing each
of these small elements by simple algebraic
equations. These equations are then assembled for
the structure and the field quantity (displacement) is
solved.
• In which fields can it be used?
– Stresses
– Heat transfer
– Fluid flow
– Electromagnetic
239
FEM: The process
• The continuous model was cut into 2 smaller
elements.
• An algebraic stiffness equation was developed
at each node.
• The algebraic equations were assembled and
solved.
• This process can be applied for complicated
system with the help of a finite element software.
240
FEM: Element types
• 1-dimensional • Each of the elements have an
– Rod elements associated stiffness matrix
– Beam elements
• 2-dimensional
– Shell elements
• 3-dimensional
– Tetrahedral elements
– Hexahedral elements
• Special Elements
– Springs
– Dampers
– Contact elements
– Rigid elements
Finite elements and placing loads for analysis
Mesh Elements
One-dimensional
Planar
Shell
Solid
FEM: Materials
• Properties
– Modulus of elasticity (E)
– Poisson’s ratio ()
– Shear modulus (G)
– Density
– Damping
– Thermal expansion (α)
– Thermal conductivity
– Latent heat
– Specific heat
– Electrical conductivity
• Isotropic, orthotropic, anisotropic
• Homogeneous, composite
• Elastic, plastic, viscoelastic
Strain (%)
FEM: Boundary Conditions
(constraints and loads)
• Boundary conditions are used to mimic the surrounding environment
(what is not included in your model)
– Simple example: Cantilever beam
• Beam is bolted to a wall and displacements and rotations are
hindered.
– More complex example: Tire of a car
• Is the bottom of the tire fixed to the ground?
• Is there friction involved?
• How is the force transferred into the tire?
– Are the transfer characteristics of the bearings considered?
– Are breaking loads considered?
– Interface between components?
Geometry Modelling
Discretization
(Meshing)
Pre-processing
Apply Materials
Properties
Apply boundary
conditions
Interpretation
of Results like Post-processing
Displacement, stress,
velocity, Temperature
245
Meshing is discretization. It is the most important
part of an analysis and can determined the efficiency
and effectiveness of an analysis. Therefore, a lot of
time is given to meshing of complex models.
246
247
248
249
250
251
252
Visualize the mesh
Definition of solution and visualize color ranges
Nodal values – details from different regions of the solid
Common FEA Applications
Simulation in manufacturing refers to a broad collection of
computer based applications to imitate the behavior of
manufacturing systems.
258
iii. Deterministic or stochastic:
Systems which have no random inputs are deterministic.
A design bureau or a rapid prototyping shop may receive
orders at random. Several fabrication companies may also
fall under this category.
259
TECHNIQUES OF SIMULATION
Simulation can be carried out in three ways.
260
SIMULATION PROCESS FOR MANUFACTURING SYSTEMS ANALYSIS
The process of simulating a manufacturing system involves the following
steps.
i. Model design: In this step the issues to be addressed are identified based
on which the project is planned. Next step is to develop a conceptual
model.
iii. Model deployment: The model is used to carry out experiments like
‘What if” analysis. The results are then studied and used for making
decisions.
261