Professional Documents
Culture Documents
SDC伪代码问题
SDC伪代码问题
1. Dims
Parameter = D (Diameter)
ShapeCircularTube.D
Parameter = Cc (Cc)
Description: Chapter 3.2.2.a (page 39)
sqrt((2 * pow(PI, 2) * young) / yield)
2. Limits
Parameter = GeomCheckFail (GeomCheck Fail)
if(Dims.Lambda < 300 and (Units.GetInMillimeters(Dims.Thickness) >= 6), no, yes)
Parameter = Uf (Uf)
if(fa < 0, abs(fa / Fac), abs(fa/Limits.Fat))
4. Bending
Parameter = fby (Bending stress Y)
abs((Mbend1 * Dims.Radius) / Izz)
Parameter = Uf (Uf)
fb / Limits.Fb
5. Shear
Parameter = fvy (Shear stress Y)
Description: (3.2.4-1)
abs(Fshear1 / (0.5 * area))
6. Overall
Replacement = Cmy (Cmy)
if(memberY.CmType = CmTypeA, 0.85, Max(0.6 - 0.4 * Tool.M1M2Ratio_Y, 1 - 0.4 *
if(Axial.fa < 0, Axial.fa / Limits.Fey, 0), 0.85))
Type Limits
GeomCheckFail As String
BelowLimitForLB As String
Fat As Double
Fey As Double
Fez As Double
FayBelowCc As Double
FazBelowCc As Double
Fay As Double
Faz As Double
Fxe As Double
Fxc As Double
FcrLB As Double
CcLB As Double
FayLBbelowCcLB As Double
FazLBbelowCcLB As Double
FayLB As Double
FazLB As Double
Fba As Double
Fbb As Double
Fbc As Double
Fb As Double
Fv As Double
Fvt As Double
End Type
Type Axial
fa As Double
Fac As Double
End Type
Type Bending
fby As Double
fbz As Double
fb As Double
End Type
Type Shear
fvy As Double
fvz As Double
fv As Double
End Type
Function CalculateUfoverall(Dims As Dims, Limits As Limits, Axial As Axial, Bending
As Bending, Shear As Shear) As Double
Dim Uf14 As Double
Dim Uf12 As Double
Dim Uf15 As Double
Dim Uf16 As Double
Dim Ufoverall As Double
CalculateUfoverall = Ufoverall
End Function