Docsity

Bio Solid Mechanics - MATLAB Assignment 2 | EGM 4592, Assignments of Engineering

Toggle sidebar
bg1
MATLAB ASSIGNMENT 2 โ€” EGM 4592 Spring 2008
This assignment copied directly from U. Berkely ME C176/BIOE C119, Fall 2007
DUE IN CLASS ON 4/8/08
When analyzing bending tests performed on whole bones, calculations may be
inaccurate if the cross-section is assumed to be symmetric. The appropriate method
would be to use asymmetrical bending theory. This assignment will address the need to
use asymmetric theory in bending analyses of the human femoral diaphysis.
On the course website, you will find the MATLAB file asymmetric.m and the image file
femur.tif. This image file is a quantitative computed tomography (QCT) scan of a cross
section of a human femoral diaphysis. The QCT scan is a grayscale image (512x512
pixels) in which each pixel has a value between 0 (black) and 255 (white), where white
represents bone. The resolution of the image is 0.1375 mm/pixel. In this analysis, we
will assume that the bone is homogeneous.
Presently, asymmetric.m plots the original (Figure 1a) and thresholded (Figure 1b)
QCT scans and calculates the centroid position (variable names = z_hat and y_hat). In
the original QCT scan, the boundary between the bone and the background is unclear.
A thresholding procedure is used to determine the boundary and clearly define the bone
and background regions. Pixels with grayscale values less than a set threshold (variable
name = threshold) are considered to be part of the background, and their associated
grayscale values are reset to 0 (black). Conversely, pixels with a grayscale values
greater than the threshold are assumed to be part of the bone region and are reset to
255 (white).
The goal of this assignment is to perform a mechanical analysis of this cross-section for
bending about two axes. Assuming that My = 46 N-m and Mz = 28 N-m, compare the
maximum stresses obtained from asymmetrical and symmetrical bending analyses.
pf3

Partial preview of the text

Download Bio Solid Mechanics - MATLAB Assignment 2 | EGM 4592 and more Assignments Engineering in PDF only on Docsity!

MATLAB ASSIGNMENT 2 โ€” EGM 4592 Spring 2008

This assignment copied directly from U. Berkely ME C176/BIOE C119, Fall 2007

DUE IN CLASS ON 4/8/

When analyzing bending tests performed on whole bones, calculations may be inaccurate if the cross-section is assumed to be symmetric. The appropriate method would be to use asymmetrical bending theory. This assignment will address the need to use asymmetric theory in bending analyses of the human femoral diaphysis.

On the course website, you will find the MATLAB file asymmetric.m and the image file femur.tif. This image file is a quantitative computed tomography (QCT) scan of a cross section of a human femoral diaphysis. The QCT scan is a grayscale image (512x pixels) in which each pixel has a value between 0 (black) and 255 (white), where white represents bone. The resolution of the image is 0.1375 mm/pixel. In this analysis, we will assume that the bone is homogeneous.

Presently, asymmetric.m plots the original ( Figure 1a ) and thresholded ( Figure 1b ) QCT scans and calculates the centroid position (variable names = z_hat and y_hat ). In the original QCT scan, the boundary between the bone and the background is unclear. A thresholding procedure is used to determine the boundary and clearly define the bone and background regions. Pixels with grayscale values less than a set threshold (variable name = threshold ) are considered to be part of the background, and their associated grayscale values are reset to 0 (black). Conversely, pixels with a grayscale values greater than the threshold are assumed to be part of the bone region and are reset to 255 (white).

The goal of this assignment is to perform a mechanical analysis of this cross-section for bending about two axes. Assuming that My = 46 N-m and Mz = 28 N-m, compare the maximum stresses obtained from asymmetrical and symmetrical bending analyses.

From these results, discuss the need for asymmetric analyses for this type of application. Your specific tasks for this project are to:

  1. 5 pts: Threshold the image by finding a reasonable value for the threshold variable. This is done through trial and error. An appropriate value will eliminate background noise while preserving the contours of the bone. Once the image is properly thresholded, proceed with the mechanical analyses. Report this threshold value and include a diagram showing the centroid of the cross-section on the final version of the thresholded image.
  2. 10 pts: Compute the area moments of inertia in the z-y coordinate system for the bone about its centroid. The code that computes the location of the centroid is provided in the original asymmetric.m file. Include handwritten versions of the equations for the moment of inertia terms in the appendix of your report.
  3. 10 pts: Edit the asymmetric.m file by coding the stress equation for asymmetrical bending of a homogeneous material. Include a handwritten version of this equation in the appendix of your report.
  4. 10 pts: Also code the corresponding symmetrical bending stress equation (i.e. simple beam theory). Use the Iyy and Izz values computed in (2). Include a handwritten version of this equation in the appendix of your report.
  5. 15 pts: For both theories (i.e. symmetrical and asymmetrical bending), determine: (a) the magnitudes of the maximum tensile and compressive stresses in the cross-section; (b) the locations (in z-y coordinates) of these stresses; and (c) the orientation of the neutral axis. Plot the locations of the maximum stresses and orientation of the neutral axis (with appropriate labels!) on the thresholded image.
  6. 15 pts: Assuming that failure will initiate when the maximum tensile and compressive stresses reach values of 135 and 190 MPa, respectively, calculate the magnitude of the Mz and My failure moments for both the asymmetric and symmetric bending theories. Assume a constant ratio for the applied moments up until failure.
  7. 35 pts: Write a two-page (double spaced) discussion of the analysis. Include relevant tables, figures, and MATLAB code in the appendix (does not count towards 2 page limit). Your discussion should follow the INTRO/ METHODS/ RESULTS/ DISCUSSION format. The report must be your own work.