Analysis of Bicycle Frame: Find The Deflection, SF and BM Diagram For The Given Bicycle Frame
Analysis of Bicycle Frame: Find The Deflection, SF and BM Diagram For The Given Bicycle Frame
Find the deflection, SF and BM diagram for the given bicycle frame
We are going to define the vertices of the frame using variables. These variables
represent the various lengths of the bicycle members. Notice that by using
variables like this, it is very easy to set up a parametric description of your model.
This will enable us to quickly redefine the frame should changes be necessary.
The quickest way to enter these variables is via the 'ANSYS Input' window which
was used above to input the command line codes for the verification model. Type
in each of the following lines followed by Enter.
x1 = 500
x2 = 825
y1 = 325
y2 = 400
z1 = 50
4. Enter Keypoints
For this space frame example, these keypoints are the frame vertices.
coordinate
keypoint
x y z
1 0 y1 0
2 0 y2 0
3 x1 y2 0
4 x1 0 0
5 x2 0 z1
6 x2 0 -z1
o Now instead of using the GUI window we are going to enter code into the
'command line'. First, open the 'Preprocessor Menu' from the 'ANSYS
Main Menu'. The preprocessor menu has to be open in order for the
preprocessor commands to be recognized. Alternatively, you can type
/PREP7 into the command line. The command line format required to enter
a keypoint is as follows:
o K, NPT, X, Y, Z
K,1,0,y1,0
As with any programming language, you may need to add comments. The
exclamation mark indicates that anything following it is commented out.
ie - for the second keypoint you might type:
o Enter the 4 remaining keypoints (listed in the table above) using the
command line
o Now you may want to check to ensure that you entered all of the keypoints
correctly:
Utility Menu > List > Keypoints > Coordinates only
(Alternatively, type 'KLIST' into the command line)
o If there are any keypoints which need to be re-entered, simply re-enter the
code. A previously defined keypoint of the same number will be
redefined. However, if there is one that needs to be deleted simply enter
the following code:
o KDELE,#
6. Create Lines
keypoint
line
1st 2nd Again, we will use the command line to create the
lines. The command format to create a straight line
1 1 2 looks like:
2 2 3
L, P1, P2
3 3 4 Line, Keypoint at the beginning of the
line, Keypoint at the end of line
4 1 4
For example, to obtain the first line, I would write:
5 3 5 ' L,1,2 '
6 4 5
Note: unlike 'Keypoints', 'Lines' will automatically
assign themselves the next available reference
7 3 6 number.
8 4 6
o Enter the remaining lines until you get a picture like that shown below.
o Again, check to ensure that you entered all of the lines correctly: type '
LLIST ' into the command line
o If there are any lines which need to be changed, delete the line by typing
the following code: ' LDELE,# ' where # corresponds to the reference
number of the line. (This can be obtained from the list of lines). And then
re-enter the line (note: a new reference number will be assigned)
To set Young's Modulus and Poisson's ratio, we will again use the command line.
(ensure that the preprocessor menu is still open - if not open it by clicking
Preprocessor in the Main Menu)
o To enter the Elastic Modulus (LAB = EX) of 70000 MPa, type: '
MP,EX,1,70000 '
o To set Poisson's ratio (PRXY), type ' MP,PRXY,1,0.33 '
10. Mesh Size
11. Mesh
o In the 'Preprocessor' menu select 'Mesh' > 'Lines' and click 'Pick All' in
the 'Mesh Lines' Window
2. Apply Constraints
Once again, we will use the command line. We are going to pin (translational
DOFs will be fixed) the first keypoint and constrain the keypoints corresponding
to the rear wheel attachment locations in both the y and z directions. The
following is the command line format to apply constraints at keypoints.
DK, KPOI, Lab, VALUE, VALUE2, KEXPND, Lab2, Lab3, Lab4, Lab5,
Lab6
Displacement on K, K #, DOF label, value, value2, Expansion key,
other DOF labels
Not all of the fields are required for this example, therefore when entering the
code certain fields will be empty. For example, to pin the first keypoint enter:
DK,1,UX,0,,,UY,UZ
The DOF labels for translation motion are: UX, UY, UZ. Note that the 5th and 6th
fields are empty. These correspond to 'value2' and 'the Expansion key' which are
not required for this constraint. Also note that all three of the translational DOFs
were constrained to 0. The DOFs can only be contrained in 1 command line if the
value is the same.
DK,5,UY,0,,,UZ
Note that only UY and UZ are contrained to 0. UX is not constrained. Again, note
that the 5th and 6th fields are empty because they are not required.
If you need to delete any of the constraints use the following command:
'DKDELE, K, Lab' (ie 'DKDELE,1,UZ' would delete the constraint in the 'z'
direction for Keypoint 1)
3. Apply Loads
We will apply vertical downward loads of 600N at the seat post location
(keypoint 3) and 200N at the pedal crank location (keypoint 4). We will use the
command line to define these loading conditions.
To apply a force of 600N downward at keypoint 3, the code should look like this:
' FK,3,FY,-600 '
Apply both the forces and list the forces to ensure they were inputted correctly
(FKLIST).
If you need to delete one of the forces, the code looks like this: 'FKDELE, K, Lab'
(ie 'FKDELE,3,FY' would delete the force in the 'y' direction for Keypoint 3)
The applied loads and constraints should now appear as shown below.
1. Deformation
o You may want to try plotting this from different angles to get a better idea
what's going on by using the 'Pan-Zoom-Rotate' menu that was earlier
outlined.
o Try the 'Front' view button (Note that the views of 'Front', 'Left', 'Back', etc
depend on how the object was first defined).
o Your screen should look like the plot below:
2. Deflections
Now let's take a look at some actual deflections in the frame. The deflections have
been calculated at the nodes of the model, so the first thing we'll do is plot out the
nodes and node numbers, so we know what node(s) we're after.
We could also take a look at the forces in the elements in much the same way:
As shown in the cantilever beam example, use the Element Table to gain access to
derived stresses.
Select Element Table > Define Table... to define the table (remember SMISC,6
and SMISC,12)
And, Plot Results > Line Elem Res... to plot the data from the Element Table