Class Index | File Index

Classes


Class CrossSection

represents (so far polygonal only) cross section
Defined in: jsbeams.src.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CrossSection(nodes, holes)
Cross section implementation
Field Summary
Field Attributes Field Name and Description
 
a
area
 
angle from global axes to principal inertia orientation
 
core of cross section
 
cy
y coordinate of center of mass
 
cz
z coordinate of center of mass
 
dyz
deviation (product) moment of inertia with respect to yz coordinate system
 
i1
first principal value of moment of inertia (i1>i2)
 
i2
second principal value of moment of inertia (i1>i2)
 
iy
moment of inertia (second moment of area) with respect to y coordinate (local)
 
iz
moment of inertia (second moment of area) with respect to z coordinate (local)
 
array of polygon nodes in yz plane ( this.nodes[0]==this.nodes[this.nodes.length-1] )
 
sy
static moment (first moment of mass) with respect to y coordinate (global)
 
sz
static moment (first moment of mass) with respect to z coordinate (global)
Method Summary
Method Attributes Method Name and Description
 
Computes area of receiver
 
computeCore(local)
Computes core (area, where applied force in x direction causes no tension)
 
Computes y coordinate of center of mass of receiver
 
Computes z coordinate of center of mass of receiver
 
computeDyz(local)
Computes deviation (prodict) moment of inertia of receiver with respect to yz coordinates
 
Computes polar moment of inertia of receiver with respect to yz coordinate axis
 
Computes moment of inertia tensor of receiver (i.e.
 
computeIy(local)
Computes moment of inertia (second moment of area) of receiver with respect to y coordinate axis
 
computeIz(local)
Computes moment of inertia (second moment of area) of receiver with respect to z coordinate axis
 
computeNeutralAxis(N, My, Mz, local)
Computes neutral axis
 
Computes principal inertia values and angle from global axes to principal inertia orientation
 
computeStress(y, z, N, My, Mz, local)
Computes normal stress at certain point with coordinates x and y
 
computeStressInNode(node, N, My, Mz)
Computes normal stress at certain polygon node
 
computeSy(local)
Computes static moment (first order moment of mass) of receiver with respect to y coordinate axis
 
computeSz(local)
Computes static moment (first order moment of mass) of receiver with respect to z coordinate axis
<static>  
CrossSection.create(nodes, holes)
Constructor, see CrossSection for input parameters description
 
Returns those nodes of receiver that forms the convex hull
 
Reset receiver (sets all values to null)
 
computes all values (a,sy,sz,cy,cz,iy,iz,dyz,i1,i2,beta,core) within one function call
Class Detail
CrossSection(nodes, holes)
Cross section implementation
Parameters:
{[Nodes]} nodes
array of nodes to create yz (!!) polygon in anti-clockwise (!!) order
{[[Nodes]]} holes Optional, Default: [[]]
array of arrays of nodes representing holes in polygon created by nodes
Field Detail
{float} a
area
Default Value:
null

{float} beta
angle from global axes to principal inertia orientation
Default Value:
null

{[Nodes]} core
core of cross section
Default Value:
null

{float} cy
y coordinate of center of mass
Default Value:
null

{float} cz
z coordinate of center of mass
Default Value:
null

{float} dyz
deviation (product) moment of inertia with respect to yz coordinate system
Default Value:
null

{float} i1
first principal value of moment of inertia (i1>i2)
Default Value:
null

{float} i2
second principal value of moment of inertia (i1>i2)
Default Value:
null

{float} iy
moment of inertia (second moment of area) with respect to y coordinate (local)
Default Value:
null

{float} iz
moment of inertia (second moment of area) with respect to z coordinate (local)
Default Value:
null

{[Nodes]} nodes
array of polygon nodes in yz plane ( this.nodes[0]==this.nodes[this.nodes.length-1] )

{float} sy
static moment (first moment of mass) with respect to y coordinate (global)
Default Value:
null

{float} sz
static moment (first moment of mass) with respect to z coordinate (global)
Default Value:
null
Method Detail
{float} computeA()
Computes area of receiver
Returns:
{float} area of receiver

{[Nodes]} computeCore(local)
Computes core (area, where applied force in x direction causes no tension)
Parameters:
{bool} local Optional, Default: false
if computed with respect to this.cx center of mass or global yz coordinates
Returns:
{[Nodes]} array of nodes creating core polygon

{float} computeCy()
Computes y coordinate of center of mass of receiver
Returns:
{float} Cy of receiver

{float} computeCz()
Computes z coordinate of center of mass of receiver
Returns:
{float} Cz of receiver

{float} computeDyz(local)
Computes deviation (prodict) moment of inertia of receiver with respect to yz coordinates
Parameters:
{bool} local Optional, Default: true
if computed with respect to this.cy and this.cz (center of mass) or global yz coordinates
Returns:
{float} deviation (product) moment of inertia (yz) of receiver

{float polar} computeI0()
Computes polar moment of inertia of receiver with respect to yz coordinate axis
Returns:
{float polar} moment of inertia (yz) of receiver

{[[float|float]|[float|float]]} computeInertiaTensor()
Computes moment of inertia tensor of receiver (i.e. [[Iy,-Dyz],[-Dyz,Iz]] )
Returns:
{[[float|float]|[float|float]]} moment of inertia tensor (yz) of receiver

{float} computeIy(local)
Computes moment of inertia (second moment of area) of receiver with respect to y coordinate axis
Parameters:
{bool} local Optional, Default: true
if computed with respect to this.cy center of mass or global yz coordinates
Returns:
{float} moment of inertia (y) of receiver

{float} computeIz(local)
Computes moment of inertia (second moment of area) of receiver with respect to z coordinate axis
Parameters:
{bool} local Optional, Default: true
if computed with respect to this.cz center of mass or global yz coordinates
Returns:
{float} moment of inertia (z) of receiver

{[float|float|float]} computeNeutralAxis(N, My, Mz, local)
Computes neutral axis
Parameters:
{float} N
normal force
{float} My
moment y
{float} Mz
moment z
{bool} local Optional, Default: false
if returned equation is in local coordinates or not
Returns:
{[float|float|float]} [a,b,c] as ay+bz+c=0;

{[float|float|float]} computePrincipalValues()
Computes principal inertia values and angle from global axes to principal inertia orientation
Returns:
{[float|float|float]} principal values and angle of principal direction [I1,I2,angle], I1 > I2

{float} computeStress(y, z, N, My, Mz, local)
Computes normal stress at certain point with coordinates x and y
Parameters:
{float} y
y coordinate of desired point
{float} z
z coordinate of desired point
{float} N
normal force
{float} My
moment y
{float} Mz
moment z
{bool} local Optional, Default: false
if y z are local coordinates or not
Returns:
{float} stress at [x,z] caused by N,My,Mz

{float} computeStressInNode(node, N, My, Mz)
Computes normal stress at certain polygon node
Parameters:
{Node} node
polygon node
{float} N
normal force
{float} My
moment y
{float} Mz
moment z
Returns:
{float} stress at node caused by N,My,Mz

{float} computeSy(local)
Computes static moment (first order moment of mass) of receiver with respect to y coordinate axis
Parameters:
{bool} local Optional, Default: false
if computed with respect to this.cy center of mass or global yz coordinates
Returns:
{float} Sy of receiver

{float} computeSz(local)
Computes static moment (first order moment of mass) of receiver with respect to z coordinate axis
Parameters:
{bool} local Optional, Default: false
if computed with respect to this.cz center of mass or global yz coordinates
Returns:
{float} Sz of receiver

<static> {CrossSection} CrossSection.create(nodes, holes)
Constructor, see CrossSection for input parameters description
Parameters:
nodes
holes
Returns:
{CrossSection} new CrossSection object

{[Nodes]} giveConvexHull()
Returns those nodes of receiver that forms the convex hull
Returns:
{[Nodes]} those nodes that forms convex hull (ret[0]==ret[ret.length-1])

reset()
Reset receiver (sets all values to null)

update()
computes all values (a,sy,sz,cy,cz,iy,iz,dyz,i1,i2,beta,core) within one function call

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 12 2012 09:21:50 GMT+0100 (CET)