CodeCogs - An iteractive open source Numerical library Welcome... Login
CodeCogs
shopping cart
OSXWindowsLinux
Search CodeCogs
Numerical Components

Valid RSS

EngineeringMaterialsStrengthAxial

bar diameter

Only available under a commercial licence
COST (GBP)
this unit 4.16
sub units 0.00
add a commercial licence to your cart
0
viewed 1259 times and licensed 1 times

Computes the diameter of a bar based on various stress conditions.

Controller: CodeCogs  Contact Controller
+View version details
Contents hide toc
buy now     add cart

Group Description

Consider the case of a bar made of a certain material on which various forces are exerted along its longitudinal axis, in an upward or downward direction. This module computes the minimum diameter of the bar such that it will withstand the sum of forces that act upon it, also taking into account a safety coefficient.

Technical details

This module computes the diameter of a bar in the case of tensial and/or compressive stress, where each section of the bar is found between the origins of two consecutive forces.

Let \overrightarrow{F_1}, \overrightarrow{F_2}, \ldots, \overrightarrow{F_n} be the stress forces that act along the axis of the bar. We define N_k for k = 1, 2, \ldots, n the norm of the resultant of the first k forces, thus:

N_k = \left| \sum_{i=1}^k \overrightarrow{F_i} \right|.

For the sake of clarity, the forces should be given in a consecutive order such that the diameters will correspond to consecutive sections of the bar.

In the following image you may notice the final shape of the bar (the red contour at the right side of the image) based on the various axial forces that act upon it. The diameter of sufficient size is in this case equal to d_2 corresponding to the maximum stress N_2.

The force R is the reaction force and l_1, l_2, \ldots, l_n are the lengths that give the origin of the axial forces.

1/suff_shape-378.jpg
+

References:

Gh. Buzdugan - "Strength of Materials"
Authors:
Grigore Bentea, Lucian Bentea (October 2006)

Interface

#include <codecogs/engineering/materials/strength/axial/bar_diameter.h>

using namespace Engineering::Materials::Strength::Axial;

double bar_diameter (int n, double *forces, double sigma)
Computes the diameter of a bar based on the value of the maximum allowable stress per unit area.
ExcelReal cc_bar_diameter (Integer n, Range forces, Real sigma)
This function is available as a Microsoft Excel add-in.
Real cc_bar_diameter_ird (Integer n, Range forces, Real sigma)
This function is available as a Microsoft Excel add-in.
double bar_diameter (int n, double *forces, double E, double delta)
Computes the diameter of a bar based on the value of the maximum allowable elongation/shortening and the elastic modulus.
ExcelReal cc_bar_diameter_irdd (Integer n, Range forces, Real E, Real delta)
This function is available as a Microsoft Excel add-in.

Function Documentation

Bar Diameter Calculator
  
Add calculator to website or email
 
doublebar_diameterintn
double*forces
doublesigma )
Considering \sigma the value of the maximum allowable stress per unit area, we compute the diameter of the bar using the following formula:
d = \max \left\{ 2 \sqrt{\frac{N_k}{\pi \sigma}} \,\mid\, k = \overline{1,n} \right\}
where the value of \sigma is expressed as:
\sigma = \frac{\sigma_f}{s_c}
with \sigma_f the failure stress per unit area and s_c \geq 1 the safety coefficient. The values of \sigma_f for various materials are given in the following table.

Material
\sigma_f (N/sq.m)
Steel 6.2E+8 - 6.6E+8
Iron 2.6E+8 - 4.0E+8
Copper 3.2E+8
Wood 0.6E+8 - 1.0E+8

The example code below computes the diameter of a copper bar on which axial forces with various values are exerted.
Example 1:
#include <codecogs/engineering/materials/strength/axial/bar_diameter.h>
#include <stdio.h>
 
int main()
{
  // input data
  double F[4] = {32000, 11000, -8000, 2500}, sigma = 3.2E+8;

// display the input data printf("Forces:\n\n"); for (int i = 0; i < 4; i++) printf("F[%d] = %8.2lf N\n", i+1, F[i]); printf("\nSigma = %.2lf N/sq.m\n\n", sigma);   // compute the diameter of the bar double diameter = Engineering::Materials::Strength::Axial::bar_diameter (4, F, sigma);   // display the result printf("Diameter = %.10lf m\n\n", diameter);   return 0; }
Output:
Forces:
 
F[1] = 32000.00 N
F[2] = 11000.00 N
F[3] = -8000.00 N
F[4] =  2500.00 N
 
Sigma = 320000000.00 N/sq.m
 
Diameter = 0.0130801974 m
Parameters:
nthe number of axial forces
forcesan array containing the signed value of each force (Newtons)
sigmathe value of the maximum allowable stress per unit area (Newtons per sq. meters)
Returns:
The diameter of the bar (meters).
Source Code:

To view or download source code you need to buy a Commercial licence.

buy now     add cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Bar Diameter Calculator
  
Add calculator to website or email
 
doublebar_diameterintn
double*forces
doubleE
doubledelta )
Considering \delta the value of the maximum allowable elongation/shortening and E the elastic modulus, we compute the diameter of the bar using the following formula:

d = \max \left\{ 2 \sqrt{\frac{N_k}{\pi E \delta}} \,\mid\, k = \overline{1,n} \right\}.

The values of the elastic modulus E for various materials are given in the following table.

Material
E (N/sq.m)
Steel 0.2E+12 - 0.21E+12
Iron 0.115E+12 - 0.16E+12
Copper 0.11E+12 - 0.13E+12
Wood 0.9E+10 - 1.2E+10

The example code below computes the diameter of a copper bar on which axial forces with various values are exerted.
Example 2:
#include <codecogs/engineering/materials/strength/axial/bar_diameter.h>
#include <stdio.h>
 
int main()
{
  // input data
  double F[4] = {32000, 11000, -8000, 2500},
  E = 0.12E+12, delta = 1E-5;

// display the input data printf("Forces:\n\n"); for (int i = 0; i < 4; i++) printf("F[%d] = %8.2lf N\n", i+1, F[i]); printf("\nE = %.2lf N/sq.m", E); printf("\nDelta = %.5lf m\n\n", delta);

// compute the diameter of the bar double diameter = Engineering::Materials::Strength::Axial::bar_diameter (4, F, E, delta);   // display the result printf("Diameter = %.10lf m\n\n", diameter);   return 0; }
Output:
Forces:
 
F[1] = 32000.00 N
F[2] = 11000.00 N
F[3] = -8000.00 N
F[4] =  2500.00 N
 
E = 120000000000.00 N/sq.m
Delta = 0.00001 m
 
Diameter = 0.2135987290 m
Parameters:
nthe number of axial forces
forcesan array containing the signed value of each force (Newtons)
Ethe elastic modulus (Newtons per sq. meters)
deltathe value of the maximum allowable elongation/shortening (meters)
Returns:
The diameter of the bar (meters).
Source Code:

To view or download source code you need to buy a Commercial licence.

buy now     add cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2010-03-11 21:41:30

Valid CSS!   Valid XHTML 1.0 Transitional