” 辅导MEC – 311程序、 写作Design Analysis程序TCNJDepartment of Mechanical EngineeringMechanical Design Analysis – IMEC – 311FALL 2O20Computer Program Assignment # 1Determination of the Principal and the Maximum Shear StressesProf. Bijan Sepahpour, DE, PEI. Requirements:This computer Program design challenge will require the student to demonstrate two engineeringcompetencies. Specifically,1. Understanding of the concepts involved with the relationships between stress and strain and whattechniques or modes may be available to conduct a First Order Analysis for obtaining the Principaland the Maximum Shear Stresses and2. Ability to develop a robust and flexible computer program that calculates solutions for MachineComponents/Structural members subject to stresses at critical locations.II. Assignment:Design and write a computer program for conducting Stress Analysis. The program must havethe following specific characteristics and attributes. It must be:1. Generic2. Created using a High Level Language such as C++3. User-Friendly4. Flexible enough to take input values in any of the two System International (SI) or US CustomarySystem of Units (USCS) and return results in the same units chosen for input.The program needs to use the following recommended set of units:SI USCSKN MPa m lb Ksi / Psi in 辅导MEC – 311作业、 写作Design Analysis作业5. Enable the user to choose between Strains or Stresses as Input.6. If the Inputs are chosen to be Strains, only those strains obtained from a Rectangular Rosette(with a 0-45-90 pattern) may be inputted. [See Appendix-A (in this Handout) for information onthe relevant equations for this type of Strain Gauge.] Recalling that: 1 2 3 ;A. If both 1and 2are larger than zero, the program needs to add 3=0 to the set of thePrincipal Stresses,B. If 1 0 and 3 0 , it would add 2=0 to the set of the Principal Stresses.C. If both 3and 2are smaller than zero, it would add 1=0 to the set of thePrincipal Stresses.D. This Subroutine must display: 1, 2, 3, and |Max|Absolute in its Output.Note that: |Max| Absolute= (1- 3)/27. If the Inputs are chosen to be Stresses, all six (6) stresses in a General 3-D state of stress [usingthe Cubic Stress Equation need to be inputted].A. Refer to the text and the handout on the use of the Cubic Stress Equation and I1, I2 ,and I3.B. This Subroutine must also display: 1, 2, 3, and | Max |Absolute in its Output.III. Deliverables (elements required in the Project Report):1. Cover with information about the project and the Designer This is a Single-Effort Project.2. Grading/Evaluation Sheet of the Project [which is included in this Handout]3. Completion and inclusion of the Project Rating and Assessment sheet,4. Abstract,5. Table of Contents,6. Introduction and description of the goals in this challenge (One Page Max.),7. The Flowchart of the program (using Standard symbols) on One (independent) Page-only,8. The Program Code in the Appendix (only),9. Testing the reliability of the program using the cases shown on Table #1 (next page) and DirectlyPrinting the Input VS Output Results. Directly Printing means: Not Typed!This part needs to be conducted:A. for each and every case,B. in the order of the Case #s listed in the table, andC. placed in that order in your report.10. Summary, conclusions, and comments regarding:A. The description of the Findings andB. the Challenges involved,11. Recommendations for Additions / Changes (for the next iteration),12. Acknowledgement(s),13. References / Bibliography,14. Appendix for inclusion of any relevant material and this Project Outline.3Table 1. Cases for Testing the Reliability of the Program# Input Output1E = 115 GPa = 0.310 1 = -140 2 = -280 3 = 35 1 = 12.65 MPa2 = 0.0000 MPa3 = -30.15 MPa Max. = 21.40 MPa2E = 10,300 ksi = 0.334 1 = 100 2 = 300 3 = 200 1 = 3541 psi2 = 1099 psi3 = 0.0000 psi Max. = 1770 psi3E = 190 GPa = 0.305 1 = 150 2 = 250 3 = 200 1 = 59.35 MPa2 = 36.33 MPa3 = 0.0000 Mpa Max. = 29.68 MPa4E = 10,300 ksi = 0.245 1 = -125 2 = -238 3 = -15 1 = 507.5 psi2 = 0.0000 psi3 = -2417 psi Max. = 1463 psi5x xy xz 30 0 6yx y yz = 0 -20 3.5 MPazx zy z 6 3.5 12.51 = 31.88MPa2 = 11.00 MPa3 = -20.38 Mpa Max. = 26.14 MPa6x xy xz 34 0 6yx y yz = 0 -12 3.5 Ksizx zy z 6 3.5 22.51 = 36.60 Ksi2 = 20.26 Ksi3 = -12.36 Ksi Max. = 24.48 Ksi7Input from Example (4.4) in the TextOutput of Example (4.4)4Appendix: ARelevant Relationships in application of Strains for obtaining Principal StressesUsing the strain readings obtained from a 0-45-90 rectangular rosette strain gage, it is possible toobtain the principal stresses and the maximum shear stress the following information:1 Principal Stresses; 1= Max. , 2 = Min.2 Maximum Shear Stress; Max.Formulas:= (for a 2-D State of Stress)Where:v = Poissons Ratio = Normal strain = Normal stressE = Modulus of ElasticityIntersection point5MECH 311 / Mechanical Design Analysis IEVALUATION OF THE COMPUTER PROJECT1. Organization: Possible – (10%)….Assigned:______Cover.. This (Evaluation) sheet (placed after the Cover).. Project Rating and Assessment sheet.. Numbering of the Pages…… Abstract … Table of Contents… List of Tables…….. List of Figures…… Introduction and Description of the Project Goals . Flow Chart……. Testing (for Reliability of) the Program…… Conclusions, Observations, and Recommendations… Bibliography…. Appendices…… On Time Submission…… 2. Flow Chart: Possible – (15%)….Assigned:______Logic .. (10)Neatness and Readability (05)3. Quality/Efficiency of the (Program) Code: Possible – (20%)….. Assigned:______Consistent with Flowchart . (10)Annotated for readability .. (10)4. Testing and Reliability of the Program: Possible – (40%)…..Assigned:______Program, returns correct calculations (30)Program returns calculations in correct format (10)5. Quality of the Technical Writing: Possible – (15%)……….Assigned:______Correct grammar, sentence structure and spelling (05)Quality and Clarity of statements (05)Economy of wording; succinct and direct .. (05)_________ % x 35 Points = TOTAL: ____________ Pts.35如有需要,请加QQ:99515681 或邮箱:99515681@qq.com
“
添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导。