Question 1. Ignore bottom surface. Problem formulation: Design variables: X = (R, H)

Similar documents
Question 1. Ignore bottom surface. Solution: Design variables: X = (R, H) Objective function: maximize volume, πr 2 H OR Minimize, f(x) = πr 2 H

D : SOLID MECHANICS. Q. 1 Q. 9 carry one mark each. Q.1 Find the force (in kn) in the member BH of the truss shown.

DESIGN OF BEAMS AND SHAFTS

COLUMNS: BUCKLING (DIFFERENT ENDS)

FINAL EXAMINATION. (CE130-2 Mechanics of Materials)

Solution: The moment of inertia for the cross-section is: ANS: ANS: Problem 15.6 The material of the beam in Problem

CHAPTER 3 THE EFFECTS OF FORCES ON MATERIALS


Critical Load columns buckling critical load

Name :. Roll No. :... Invigilator s Signature :.. CS/B.TECH (CE-NEW)/SEM-3/CE-301/ SOLID MECHANICS

Bending Stress. Sign convention. Centroid of an area

Stress Analysis Lecture 3 ME 276 Spring Dr./ Ahmed Mohamed Nagib Elmekawy

and F NAME: ME rd Sample Final Exam PROBLEM 1 (25 points) Prob. 1 questions are all or nothing. PROBLEM 1A. (5 points)

Advanced Structural Analysis EGF Section Properties and Bending

QUESTION BANK DEPARTMENT: CIVIL SEMESTER: III SUBJECT CODE: CE2201 SUBJECT NAME: MECHANICS OF SOLIDS UNIT 1- STRESS AND STRAIN PART A

External Work. When a force F undergoes a displacement dx in the same direction i as the force, the work done is

D : SOLID MECHANICS. Q. 1 Q. 9 carry one mark each.

PURE BENDING. If a simply supported beam carries two point loads of 10 kn as shown in the following figure, pure bending occurs at segment BC.

UNIT-I STRESS, STRAIN. 1. A Member A B C D is subjected to loading as shown in fig determine the total elongation. Take E= 2 x10 5 N/mm 2

National Exams May 2015

2. Determine the deflection at C of the beam given in fig below. Use principal of virtual work. W L/2 B A L C

2 marks Questions and Answers

Mechanics of Materials CIVL 3322 / MECH 3322

Multi-Objective Optimization of Carbon Fibre Reinforced Plastic (CFRP) Circular Hollow Section Using Genetic Algorithm for Engineering Structures

2. Rigid bar ABC supports a weight of W = 50 kn. Bar ABC is pinned at A and supported at B by rod (1). What is the axial force in rod (1)?

STRENGTH OF MATERIALS-I. Unit-1. Simple stresses and strains

needed to buckle an ideal column. Analyze the buckling with bending of a column. Discuss methods used to design concentric and eccentric columns.

2012 MECHANICS OF SOLIDS

MAAE 2202 A. Come to the PASS workshop with your mock exam complete. During the workshop you can work with other students to review your work.

QUESTION BANK SEMESTER: III SUBJECT NAME: MECHANICS OF SOLIDS

STRESS. Bar. ! Stress. ! Average Normal Stress in an Axially Loaded. ! Average Shear Stress. ! Allowable Stress. ! Design of Simple Connections

Mechanics of Solids. Mechanics Of Solids. Suraj kr. Ray Department of Civil Engineering

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MECHANICAL ENGINEERING QUESTION BANK. Subject code/name: ME2254/STRENGTH OF MATERIALS Year/Sem:II / IV

Unit III Theory of columns. Dr.P.Venkateswara Rao, Associate Professor, Dept. of Civil Engg., SVCE, Sriperumbudir

PES Institute of Technology

ME Final Exam. PROBLEM NO. 4 Part A (2 points max.) M (x) y. z (neutral axis) beam cross-sec+on. 20 kip ft. 0.2 ft. 10 ft. 0.1 ft.

Aluminum shell. Brass core. 40 in

1.050: Beam Elasticity (HW#9)


BTECH MECHANICAL PRINCIPLES AND APPLICATIONS. Level 3 Unit 5

Mechanics of Structure

= 50 ksi. The maximum beam deflection Δ max is not = R B. = 30 kips. Notes for Strength of Materials, ET 200

Entrance exam Master Course

Engineering Science OUTCOME 1 - TUTORIAL 4 COLUMNS

MTE 119 STATICS FINAL HELP SESSION REVIEW PROBLEMS PAGE 1 9 NAME & ID DATE. Example Problem P.1

Downloaded from Downloaded from / 1

CIV 207 Winter For practice

PROBLEM #1.1 (4 + 4 points, no partial credit)

Materials: engineering, science, processing and design, 2nd edition Copyright (c)2010 Michael Ashby, Hugh Shercliff, David Cebon.

ISHIK UNIVERSITY DEPARTMENT OF MECHATRONICS ENGINEERING

Design of Beams (Unit - 8)

CIVIL DEPARTMENT MECHANICS OF STRUCTURES- ASSIGNMENT NO 1. Brach: CE YEAR:

Stress Analysis Lecture 4 ME 276 Spring Dr./ Ahmed Mohamed Nagib Elmekawy

Chapter 2 Examples of Optimization of Discrete Parameter Systems

ε t increases from the compressioncontrolled Figure 9.15: Adjusted interaction diagram

Limit State Design of Steel Pin Connections for Bamboo Truss Structures

BEAM DEFLECTION THE ELASTIC CURVE

ME325 EXAM I (Sample)

3 Hours/100 Marks Seat No.

ENGINEERING SCIENCE H1 OUTCOME 1 - TUTORIAL 4 COLUMNS EDEXCEL HNC/D ENGINEERING SCIENCE LEVEL 4 H1 FORMERLY UNIT 21718P

The University of Melbourne Engineering Mechanics

Module 2 Stresses in machine elements. Version 2 ME, IIT Kharagpur

2. Polar moment of inertia As stated above, the polar second moment of area, J is defined as. Sample copy

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. BEng (HONS) CIVIL ENGINEERING SEMESTER 1 EXAMINATION 2016/2017 MATHEMATICS & STRUCTURAL ANALYSIS

3.032 Problem Set 1 Fall 2007 Due: Start of Lecture,

FEA CODE WITH MATLAB. Finite Element Analysis of an Arch ME 5657 FINITE ELEMENT METHOD. Submitted by: ALPAY BURAK DEMIRYUREK

Symmetric Bending of Beams

CHAPTER 4: BENDING OF BEAMS

Chapter 5 Elastic Strain, Deflection, and Stability 1. Elastic Stress-Strain Relationship

BOOK OF COURSE WORKS ON STRENGTH OF MATERIALS FOR THE 2 ND YEAR STUDENTS OF THE UACEG

Chapter 4 Deflection and Stiffness

JUT!SI I I I TO BE RETURNED AT THE END OF EXAMINATION. THIS PAPER MUST NOT BE REMOVED FROM THE EXAM CENTRE. SURNAME: FIRST NAME: STUDENT NUMBER:

UNIT 1 STRESS STRAIN AND DEFORMATION OF SOLIDS, STATES OF STRESS 1. Define stress. When an external force acts on a body, it undergoes deformation.

Mechanics of Materials II. Chapter III. A review of the fundamental formulation of stress, strain, and deflection

σ = Eα(T T C PROBLEM #1.1 (4 + 4 points, no partial credit)

BE Semester- I ( ) Question Bank (MECHANICS OF SOLIDS)

R13. II B. Tech I Semester Regular Examinations, Jan MECHANICS OF SOLIDS (Com. to ME, AME, AE, MTE) PART-A

Sample Question Paper

Comb resonator design (2)

Sub. Code:

14. *14.8 CASTIGLIANO S THEOREM

Outline. Organization. Stresses in Beams

Mechanical Properties of Materials

ME 323 Examination #2 April 11, 2018

Bending Load & Calibration Module

Design of Steel Structures Prof. S.R.Satish Kumar and Prof. A.R.Santha Kumar

8 Deflectionmax. = 5WL 3 384EI

Only for Reference Page 1 of 18

[5] Stress and Strain

BME 207 Introduction to Biomechanics Spring 2017

STATICALLY INDETERMINATE STRUCTURES

CHAPTER THREE SYMMETRIC BENDING OF CIRCLE PLATES

Chapter 11. Displacement Method of Analysis Slope Deflection Method

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA SCIENCE FOR TECHNICIANS OUTCOME 1 - STATIC AND DYNAMIC FORCES TUTORIAL 3 STRESS AND STRAIN

External Pressure... Thermal Expansion in un-restrained pipeline... The critical (buckling) pressure is calculated as follows:

Mechanical Engineering Ph.D. Preliminary Qualifying Examination Solid Mechanics February 25, 2002

Reg. No. : Question Paper Code : B.Arch. DEGREE EXAMINATION, APRIL/MAY Second Semester AR 6201 MECHANICS OF STRUCTURES I

FIXED BEAMS IN BENDING

Neutral Axis Depth for a Reinforced Concrete Section. Under Eccentric Axial Load

GEOSYNTHETICS ENGINEERING: IN THEORY AND PRACTICE

Transcription:

Question 1 (Problem 2.3 of Arora s Introduction to Optimum Design): Design a beer mug, shown in fig, to hold as much beer as possible. The height and radius of the mug should be not more than 20 cm. The mug must be at least 5cm in radius. The surface area of the sides must not be greater than 900cm2 (ignore the area of the bottom of the mug and ignore the mug handle see fig). Formulate the optimal design problem. R H Ignore bottom surface Problem formulation: Design variables: X = (R, H) Objective function: maximize volume, πr 2 H OR Minimize, f(x) = πr 2 H Subjected to: 1) H 20 OR g 1 (X) = H 20 0 2) 5 R 20 OR g 2 (X) = R 20 0 g 3 (X) = 5 R 0 3) 2πRH 900 OR g 4 (X) = 2πRH 900 0 4) H 0 Graphical solution: Graphical solution is shown on the next page. Objective function and constraints are plotted in the design domain. Feasible domain is contained by constraint boundaries is as marked in the plot. Optimum point is marked by black dot. Constraint g 2 and g 4 are active at the optimum point. Minimum f(x) is found to be = 9000 cm 3 at R=20 cm and H = 7.16 cm 1

g 1 =0 g 3 =0 g 4 =0 g 2 =0 Feasible region Optimum point g 5 =0 At Optimum point : f(x) = 9000 cm 3 R = 20 cm H = 7.16 cm Maximum Volume = 9000 cm 3 at R=20 cm and H = 7.16 cm 2

Question 2 (Problem 2.16 of Arora s Introduction to Optimum Design): Design of a two bar truss. Design a symmetric two bar truss (both members have the same cross section) shown in figure to support a load W. The truss consists of two steel tubes pinned together at one end and supported on the ground at the other. The span of the truss is fixed at s. formulate the minimum mass truss design problem using height and the cross sectional dimension as design variable. The design should satisfy the following constraint. 1. Because of the space limitation, the height of the truss must not exceed b 1, and must not be less than b 2. 2. The ratio of the mean diameter to thickness of the tube must not exceed b 3. 3. The compressive stress in the tubes must not exceed the allowable stress σ a for steel. 4. The height, diameter, and thickness must be chosen to safeguard against member buckling. Use the following data: W=10kN; span s=2m; b 1 = 5m; b 2 = 2m; b 3 = 90; allowable stress, σ a = 250 MPa; modulus of elasticity, E = 210 GPa; mass density, ρ = 7850 kg/m 3 ; factor of safety against buckling, FS = 2; 0.1 <=D<=2 (m); and 0.01 <=t<=0.1 (m). W A A Height, H t s D Section at A A Problem formulation: W F 1 F 2 α L s F 1 and F 2 are the forces in the two truss bars. Let L be the length of each bar and s be the distance between two end points of bars (as shown in fig). Let t be the thickness of cross section. Due to the symmetry, F 1 = F 2 = F Also, ΣF y = 0 2Fcos(α) + W = 0 F = W/2cos(α) Assuming t << D, cross section area of truss bar, A = πdt Length of bar.5 Stress in truss member, σ c = F/A = W/[2cos(α) πdt] 3

For pinned pinned column, critical buckling load, P cr = π 2 EI/L 2 Where, moment of inertia, I = πd 3 t/8 and E is young s modulus Design variables: Objective function: X = (H,D,t) Minimize the mass of truss Minimize, f(x) = 2ρAL Subjected to: 1) D/t b 3 OR g 1 (X) = D b 3 t 0 2) σ c σ a OR g 2 (X) = σ c σ a 0 3) F P cr /2 OR g 3 (X) = F P cr /2 0 4) 2 H 5 5) 0.1 D 2 6) 0.01 t 0.1 Graphical solution: Since we have 3 design variables, to solve the problem graphically, we take 2 variables at a time. Here we choose to take D and t as 2 design variables in design domain while fixing value of H at different levels (min, mean, max) and checking its effect on objective function and if any of the constraints are violated. 1) Minimum H = 2 m g 1 =0 Decreasing f 4

2) Mean H = 3.5 m g 1 =0 Decreasing f 3) Maximum H = 5 m g 1 =0 Decreasing f 5

As we can see, constraint g 1 is active in the design domain, whereas constraints g 2 and g 3 are not active in any design domain tested here. (for three values of H) Working in minimum H design domain, H = 2 m g 1 =0 Feasible region Optimum solution Optimum point : H = 2 m, D = 0.1 m and t = 0.01 m Minimum mass of truss, f(x) = 110.29 kg 6

Question 3 (Problem 2.17 of Arora s Introduction to Optimum Design): A beam of rectangular cross section as shown in figure is subjected to maximum bending moment of M and maximum sheer of V. The allowable bending and shearing stresses are σ a and τ a respectively. The bending stress in the beam is calculated as σ = 6M/bd 2 and average shear stress in the beam is calculated as τ = 3V/2bd Where d is the depth and b is the width of the beam. It is also desired that the depth of the beam shall not exceed twice its width. Formulate the design problem for minimum cross sectional area using the following data: M = 140kN.m, V=24kN σ a = 165MPa τ a = 50MPa d Problem formulation: Bending stress, σ = 6M/bd 2 Shear stress, τ = 3V/2bd Design variables: X = (d, b) b Objective function: minimize the cross sectional area Minimize, f(x) = bd Subjected to: 1) d 2b OR g 1 (X) = d 2b 0 2) σ σ a OR g 2 (X) = σ σ a 0 3) τ τ a OR g 3 (X) = τ τ a 0 4) b, d 0 Graphical solution: For graphical solution, following design domain is shown : 0 b 300, 0 d 300 (mm) Contours of objective function and constraints are plotted in the design domain. Optimum point is marked by black dot. Constraint g 1 and g 2 are active at the optimum point. 7

Optimum point Feasible region g 2 =0 g 1 =0 g 3 =0 Minimum f(x), cross sectional area of beam, is found to be = 23500 mm 2 Optimum design: b = 108 mm, d = 217 mm (constraints g 1 and g 2 are active) 8

Question 4 (Problem 2.17 of Arora s Introduction to Optimum Design): Design a hollow circular beam shown in figure for two conditions when P = 50KN, the axial stress σ should be less then σ a, and when P = 0, deflection δ due to self weight should satisfy δ <= 0.001l. The limits for dimension are t = 0.10 to 1.0 cm, R = 2.0 to 20.0 cm. Formulate the minimum weight design problem and transcribe it into the standard form. Use the following the data: δ = 5wl 4 /384EI; w = self weight force/length (N/m); σ a = 250MPa; modulus of elasticity, E = 210GPa; mass density; ρ = 7800kg/m 3 ; σ = P/A; gradational constant, g = 9.9m/s 2 ; moment of inertia, I = πr 3 t (m 4 ). P Beam δ A A P t l = 3m 2R Problem formulation: Part 1: P = 50KN Part 2: P=0 Beam cross section area, A = 2πRt Axial stress, σ = P/A w = self weight force/length = ρg*2πrtl/l = 7800*9.9*2πRt Moment of inertia I = πr 3 t Displacement under self weight: δ = 5wl 4 /384EI Design variables: X = (R, t) Objective function: minimization of weight = ρg*2πrtl Minimize, f(x) = 6πρgRt Subjected to: 1) σ σ a OR g 1 (X) = (σ/ σ a ) 1 0 2) δ 0.001 l 0 OR g 2 (X) = (δ / 0.001 l) 1 0 NOTE: IT IS GOOD TO WORK WITH NON DIMENSIONAL NORMALIZED CONSTRAINTS 3) 0.1 t 1 4) 2 R 20 Graphical solution: Figure on the next page shows contour plots of the objective function with tube thickness on x axis and mean radius of tube cross section on the y axis. Constraints are plotted on the graph and the feasible domain is as marked. 9

Feasible region g 1 = 0 g 2 = 0 R 0.02 (2) Optimum solution line g 1 = 0 R > 0.02 g 2 = 0 (1) 10

One objective function contour line follows constraint g 1, thus we have an optimum solution line as indicated by the solid black line. All the points on this line are optimum and minimize the beam weight. Minimum f(x), beam weight = 46.4 N Sample optimum designs : (1) R = 0.02 m, t = 0.0016 m (constraints g 1 and R 0.02 are active) (2) R = 0.032 m, t = 0.001 m (constraints g 1 and t 0.001 are active) 11

Question 5 Consider a laminate made from graphite/epoxy with E 1 =128 GPa, E 2 =13 GPa, G 12 = 6.4 GPa, and 12 0.3. Formulate the design problem of obtaining an 8 ply symmetric balanced laminate with maximum E x, such that G xy is at least 25 GPa, and is not bigger than 1. Problem formulation: E 1 = 128 GPa, E 2 = 13 GPa, G 12 = 6.4 GPa and v 12 = 0.3 v 21 = E 2 * v 12 /E 1 = 0.030 Also, Q 11 = E 1 /(1 v 12 * v 21 ) =128*10 9 /(1 0.009) = 129.16*10 9 Q 22 = 13.11*10 9 Q 12 = 3.93*10 9 Q 66 = 6.4*10 9 Also we can find the material invariants by: U 1 = (3Q 11 + 3Q 22 + 2Q 12 + 4Q 66 )/8 = 57.53*10 9 U 2 = (Q 11 Q 22 )/2 = 58.02*10 9 U 3 = (Q 11 + Q 22 2Q 12 4Q 66 )/8 = 13.6*10 9 U 4 = (Q 11 + Q 22 + 6Q 12 4Q 66 )/8 = 17.55*10 9 U 5 = (Q 11 + Q 22 2Q 12 + 4Q 66 )/8 = 20*10 9 Thickness of individual ply is assumed to be constant = t For balanced laminate we will have the following stacking sequence, (θ1/ θ1 / θ2/ θ2)s xy Design variables: X = (θ1, θ2) Objective function: Maximize E x = [(A 11 /h)*(a 22 /h) (A 12 /h) 2 ] / (A 22 /h) OR Minimize, f(x) = [(A 11 /h)*(a 22 /h) (A 12 /h) 2 ] / (A 22 /h) Subjected to: 1) G xy = (A 66 /h) 25*10 9 OR g 1 (X) = 1 [(A 66 /h)/ 25*10 9 ] 0 2) v xy = A 12 /A 22 1 OR g 2 (X) = (A 12 /A 22 ) 1 0 3) 0 θ1 90 4) 0 θ2 90 12

Graphical solution: Graph below shows contours of objective function with constraints g 1 =0 and g 2 = 0 marked. Feasible domain is as marked on the plot. g 1 =0 Feasible region (1) Optimum points g 2 =0 (2) Design (1) and (2) both are simultaneously optimum with minimum f(x) = 60 GPa. Both the constraints g 1 and g 2 are active. Maximum E x = 60 GPa Layup sequence = (θ1/ θ1 / θ2/ θ2)s With, Design (1) θ 1 = 21.2, θ 2 = 36.4 Design (2) θ 1 = 36.4, θ 2 = 21.2 13

Annexure 1 Matlab code used for problems Problem 1 clear all close all % Design variables [xr,yh] = meshgrid(2:0.5:22,-2:0.5:22); % Objective function f = -pi()*xr.^2.*yh; % Constraints g1 = yh - 20; g2 = 5 - xr; g3 = xr - 20; g4 = 2*pi*xR.*yH - 900; g5 = -yh; % plotting fv = [0:-3000:-30000]; cs = contour(xr,yh,f,fv); clabel(cs) hold on cs1 = contour(xr,yh,g1,[0 0],'r'); clabel(cs1) cs2 = contour(xr,yh,g2,[0 0],'b'); clabel(cs2) cs3 = contour(xr,yh,g3,[0 0],'b'); clabel(cs3) cs4 = contour(xr,yh,g4,[0 0],'p'); clabel(cs4) cs5 = contour(xr,yh,g5,[0 0],'r'); clabel(cs5) xlabel('r (Radius, cm)') ylabel('h (Height, cm)') hold off Problem 2 clear all close all % Design variables xt,yd,zh] = ndgrid(0.01:0.001:0.1,0.1:0.01:2,2:0.1:5); % Objective function f = 2*7850*pi()*yD.*xt.*sqrt(zH.^2+1); % Constraints W = 10*1000; E = 210*1e9; g1 = yd - 90*xt; g2 = W/(2*(zH./sqrt(zH.^2+1)*pi().*yD.*xt))-250*1e6; g3 = (W*sqrt(zH.^2+1)./zH)-((pi()^3*E*yD.^3.*xt)./(8*(zH.^2+1))); 14

% plotting % 3) Try D,t at various H i = 1; % H = 2 m % i = 4; % H = 3.5 m % i = 7; % H = 5 m fv = [500:1000:1e4]; cs = contour(xt(:,:,i),yd(:,:,i),f(:,:,i),fv); clabel(cs) hold on cs1 = contour(xt(:,:,i),yd(:,:,i),g1(:,:,i),[0,0],'r'); clabel(cs1) % cs2 = contour(xt(:,:,i),yd(:,:,i),g2(:,:,i),[-2.498e8,-2.498e8],'b'); % clabel(cs2) % cs2 = contour(xt(:,:,i),yd(:,:,i),g2(:,:,i),[0,0],'b'); clabel(cs2) % cs3 = contour(xt(:,:,i),yd(:,:,i),g3(:,:,i),[-0.5e7,-0.5e7],'c'); clabel(cs3) % cs3 = contour(xt(:,:,i),yd(:,:,i),g3(:,:,i),[0,0],'c'); clabel(cs3) xlabel('t (Tube thickness, m)') ylabel('d (Tube diameter, m)') % zlabel('h (Truss height, m)') hold off Problem 3 clear all close all % Design variables [xb,yd] = meshgrid(0:1:300,0:1:300); % Objective function f = xb.*yd; % Constraints g1 = yd - 2*xb; g2 = (6*140*1e6./(xb.*yd.^2)) - 165; g3 = (3*24*1e3./(2*xb.*yd)) - 50; % plotting fv = [0:10000:60000,23500]; cs = contour(xb,yd,f,fv); clabel(cs) hold on cs1 = contour(xb,yd,g1,[0,0],'r'); clabel(cs1) cs2 = contour(xb,yd,g2,[0,0],'b'); clabel(cs2) cs3 = contour(xb,yd,g3,[0,0],'g'); clabel(cs3) xlabel('b (Beam width, mm)') ylabel('d (Beam depth, mm)') hold off 15

Problem 4 clear all close all % Design variables [xt,yr] = meshgrid(0.1/100:0.005/100:1/100,0/100:0.05/100:20/100); % % zoom plot % [xt,yr] = meshgrid(0.1/100:0.005/100:0.22/100,0:0.05/100:5/100); % Objective function f = 6*pi()*7800*9.9*yR.*xt; % Constraints g1 = (1./(10000*pi()*yR.*xt)) - 1; g2 = ((5*7800*9.9*2*3^3)./(0.001*384*210*1e9*yR.^2)) - 1; g3 = 2/100 - yr; % plotting fv = [0:100:1000]; cs = contour(xt,yr,f,fv); clabel(cs) % zoom plot % fv = [10:5:80]; % cs = contour(xt,yr,f,fv); clabel(cs) hold on cs1 = contour(xt,yr,g1,[0,0],'r'); clabel(cs1) cs2 = contour(xt,yr,g2,[0,0],'b'); clabel(cs2) cs3 = contour(xt,yr,g3,[0,0],'g'); clabel(cs3) xlabel('t (m)') ylabel('r (m)') hold off Problem 5 clear all close all % Design variables incr = 0.1; tstart = 0; tend = 90; [xthe1,ythe2] = meshgrid(tstart:incr:tend,tstart:incr:tend); E1 = 128; E2 = 13; G12 = 6.4; v12 = 0.3; v21 = E2* v12/e1; Q11 = E1/(1-v12*v21); 16

Q22 = E2/(1-v12*v21); Q12 = v12*q22; Q66 = G12; % material invariants U1 = (3*Q11 + 3*Q22 + 2*Q12 + 4*Q66)/8; U2 = (Q11 - Q22)/2; U3 = (Q11 + Q22-2*Q12-4*Q66)/8; U4 = (Q11 + Q22 + 6*Q12-4*Q66)/8; U5 = (Q11 + Q22-2*Q12 + 4*Q66)/8; Vs1A = 0.5*(cos(2*xthe1*pi()/180)+cos(2*ythe2*pi()/180)); Vs3A = 0.5*(cos(4*xthe1*pi()/180)+cos(4*ythe2*pi()/180)); A11h = U1+U2*Vs1A+U3*Vs3A; A22h = U1-U2*Vs1A+U3*Vs3A; A12h = U4-U3*Vs3A; A66h = U5-U3*Vs3A; % Objective function f = -(((A11h.*A22h)-A12h.^2)./A22h); % Constraints g1 = 1 - (A66h./25); g2 = (A12h./A22h) - 1; % plotting cs = contour(xthe1,ythe2,f); clabel(cs) hold on cs1 = contour(xthe1,ythe2,g1,[0,0],'r'); clabel(cs1) cs2 = contour(xthe1,ythe2,g2,[0,0],'b'); clabel(cs2) xlabel('theta 1 (deg)') ylabel('theta 2 (deg)') hold off 17