CALCS BAS027
CALCS to <html> Conversion

CONTENTS

GUIDANCE
NOTATION
INPUT DATA FORMAT
PROJECT EXAMPLE1: INPUT DATA (direct data input)
<a> This is a header with link to Contents (block code necessary)
PROJECT EXAMPLE1: OUTPUT DATA (From direct data input)
PROJECT EXAMPLE2: INPUT DATA (BAS027 automatically called by a CALC)
PROJECT EXAMPLE2: OUTPUT DATA
PROJECT EXAMPLE2: SUMMARY TABLE

GUIDANCE

The primary object of this program is the conversion of CALCS text output to HTML. Consequently, the formatting possibilities of HTML are invoked only to the extent necessary for the advantages being sought.
The formatting presently provided includes:
CALC tables; General tables; Embedding of images; Headers; Links to table of contents.
See project example 1 when seeking direct access to the program.
There are no input requirements when the program is called by CALCS.
See the project examples for output results.

NOTATION

<a>Text of Contents Title Link
<br>general text line
<img>Image_File_Name
<h2>Header Text
<table>Table Name

INPUT DATA FORMAT

See project examples 1 & 2 and notation

PROJECT EXAMPLE1: INPUT DATA (direct data input)

DAT027

The commencing & final data headers (DAT027 & ENDDAT) are always required for direct access to the program, with a single blank line each of before & after the header (as above).

Data blocks are delimited by single blank lines. This is the first block (DAT027 is not included as input data).

<h2> This is a Header and it is necessary to use the block code

<a> This is a header with link to Contents (block code necessary)

Another text block is written here for demonstration purposes.
Second line, just noting, this is the forth block.

<img> carpark.jpg

This line embeds the named image, at this location (block code necessary).
For the record, it is the carpark that featured in the Get Carter film.

This is a table block and the block code is not required. Note the use of TAB data delimiters for columns across data lines.
Load capacities of simply supported concrete slabs:
Thickness TAB Self Weight TAB Imposed Load TAB Total Load TAB Span
(mm) TAB (kg/m2) TAB (kg/m2) TAB (kg/m2) TAB (m)
100 TAB 240 TAB 500 TAB 740 TAB 2.4
125 TAB 300 TAB 500 TAB 800 TAB 3.0
150 TAB 360 TAB 500 TAB 860 TAB 3.6

The final data line (ENDDAT as below) marks the end of the input data for the direct entry method.

ENDDAT

PROJECT EXAMPLE1: OUTPUT DATA (From direct data input)

The commencing & final data headers (DAT027 & ENDDAT) are always required for direct access to the program, with a single blank line each of before & after the header (as above).

Data blocks are delimited by single blank lines. This is the first block (DAT027 is not included as input data).

<h2> This is a Header and it is necessary to use the block code


<a> This is a header with link to Contents (block code necessary)


Another text block is written here for demonstration purposes.
Second line, just noting, this is the forth block.



This line embeds the named image, at this location (block code necessary).
For the record, it is the carpark that featured in the Get Carter film.

This is a table block and the block code is not required. Note the use of TAB data delimiters for the columns across the data lines.
Load capacities of simply supported concrete slabs:
ThicknessSelf WeightImposed LoadTotal LoadSpan
(mm)(kg/m2)(kg/m2)(kg/m2)(m)
100 240 500 740 2.4
125 300 500 800 3.0
150 360 500 860 3.6

The final data line (ENDDAT as below) marks the end of the input data for the direct entry of data to the program.

PROJECT EXAMPLE2: INPUT DATA (BAS027 called by a CALC)


--- preliminary case definition data extracted ---

PROCtitle("D80-363 MH Winch Frame"," ",L06_D$)
LET Pxw=0:Pyw=-3.3:Pr=L06:dr=3.2:PCDr=75.2:Azr=RAD(10):zd1=65:zr=zd1-dr/2:zt=0:x1=45:y1=-53:z1=80.7:x2=-45:z3=-80.7
PROC073
PROCtitle("A38-9-U034 MH Winch Pin"," ",L06_D$)
LET Ngr%=X4:Nk%=AISC:D=3.5:d=0:Px=0:Py=Py1/2:Mx=0:Mz=Py*((2.7+2)/2-2.5/4):R=3.5/2:r=0
PROC012

PROJECT EXAMPLE2: OUTPUT DATA

D80-363 - PROC073 Winch Foundation - 4 Point Fixing Forces 150918 -

x_tgt= PCDr/2*COS(Azr)= 37.03
x_tgt= 75.2/2*COS(0.1745)= 37.03
y_tgt= PCDr/2*SIN(Azr)= 6.529
y_tgt= 75.2/2*SIN(0.1745)= 6.528
rope_pos_z= zr= -63.4
rope_pos_z= -63.4= -63.4
Py12t= (Pr*PCDr/2)*((zt-z3)/(z1-z3))/(x1-x2)= 4.621
Py12t= (22.12*75.2/2)*((0--80.7)/(80.7--80.7))/(45--45)= 4.621
Py12y= (Pr*COS(Azr)*(zr-z3)+Pyw*(0-z3))/(z1-z3)= 0.685
Py12y= (22.12*COS(0.1745)*(-63.4--80.7)+-3.3*(0--80.7))/(80.7--80.7)= 0.685
Py12x= (Pr*SIN(Azr)*(zr-z3)-Pxw*(0-z3))/(z1-z3)*((0-y1)/(x1-x2))= 0.2425
Py12x= (22.12*SIN(0.1745)*(-63.4--80.7)-0*(0--80.7))/(80.7--80.7)*((0--53)/(45--45))= 0.2424
Py34t= (Pr*PCDr/2)*((z1-zt)/(z1-z3))/(x1-x2)= 4.621
Py34t= (22.12*75.2/2)*((80.7-0)/(80.7--80.7))/(45--45)= 4.621
Py34y= (Pr*COS(Azr)*(z1-zr)+Pyw*(z1-0))/(z1-z3)= 17.8
Py34y= (22.12*COS(0.1745)*(80.7--63.4)+-3.3*(80.7-0))/(80.7--80.7)= 17.8
Py34x= (Pr*SIN(Azr)*(z1-zr)-Pxw*(z1-0))/(z1-z3)*((0-y1)/(x1-x2))= 2.02
Py34x= (22.12*SIN(0.1745)*(80.7--63.4)-0*(80.7-0))/(80.7--80.7)*((0--53)/(45--45))= 2.019
Py1= Py12y*(x_tgt-x2)/(x1-x2)+Py12x+Py12t= 5.487
Py1= 0.685*(37.03--45)/(45--45)+0.2425+4.621= 5.488
Py2= Py12y*(x1-x_tgt)/(x1-x2)-Py12x-Py12t= -4.802
Py2= 0.685*(45-37.03)/(45--45)-0.2425-4.621= -4.803
Py3= Py34y*(x_tgt-x2)/(x1-x2)+Py34x+Py34t= 22.86
Py3= 17.8*(37.03--45)/(45--45)+2.02+4.621= 22.86
Py4= Py34y*(x1-x_tgt)/(x1-x2)-Py34x-Py34t= -5.064
Py4= 17.8*(45-37.03)/(45--45)-2.02-4.621= -5.065
rope_pos_z= zr= 0
rope_pos_z= 0= 0
Py12t= (Pr*PCDr/2)*((zt-z3)/(z1-z3))/(x1-x2)= 4.621
Py12t= (22.12*75.2/2)*((0--80.7)/(80.7--80.7))/(45--45)= 4.621
Py12y= (Pr*COS(Azr)*(zr-z3)+Pyw*(0-z3))/(z1-z3)= 9.242
Py12y= (22.12*COS(0.1745)*(0--80.7)+-3.3*(0--80.7))/(80.7--80.7)= 9.242
Py12x= (Pr*SIN(Azr)*(zr-z3)-Pxw*(0-z3))/(z1-z3)*((0-y1)/(x1-x2))= 1.131
Py12x= (22.12*SIN(0.1745)*(0--80.7)-0*(0--80.7))/(80.7--80.7)*((0--53)/(45--45))= 1.131
Py34t= (Pr*PCDr/2)*((z1-zt)/(z1-z3))/(x1-x2)= 4.621
Py34t= (22.12*75.2/2)*((80.7-0)/(80.7--80.7))/(45--45)= 4.621
Py34y= (Pr*COS(Azr)*(z1-zr)+Pyw*(z1-0))/(z1-z3)= 9.242
Py34y= (22.12*COS(0.1745)*(80.7-0)+-3.3*(80.7-0))/(80.7--80.7)= 9.242
Py34x= (Pr*SIN(Azr)*(z1-zr)-Pxw*(z1-0))/(z1-z3)*((0-y1)/(x1-x2))= 1.131
Py34x= (22.12*SIN(0.1745)*(80.7-0)-0*(80.7-0))/(80.7--80.7)*((0--53)/(45--45))= 1.131
Py1= Py12y*(x_tgt-x2)/(x1-x2)+Py12x+Py12t= 14.18
Py1= 9.242*(37.03--45)/(45--45)+1.131+4.621= 14.18
Py2= Py12y*(x1-x_tgt)/(x1-x2)-Py12x-Py12t= -4.933
Py2= 9.242*(45-37.03)/(45--45)-1.131-4.621= -4.934
Py3= Py34y*(x_tgt-x2)/(x1-x2)+Py34x+Py34t= 14.18
Py3= 9.242*(37.03--45)/(45--45)+1.131+4.621= 14.18
Py4= Py34y*(x1-x_tgt)/(x1-x2)-Py34x-Py34t= -4.933
Py4= 9.242*(45-37.03)/(45--45)-1.131-4.621= -4.934
rope_pos_z= zr= 63.4
rope_pos_z= 63.4= 63.4
Py12t= (Pr*PCDr/2)*((zt-z3)/(z1-z3))/(x1-x2)= 4.621
Py12t= (22.12*75.2/2)*((0--80.7)/(80.7--80.7))/(45--45)= 4.621
Py12y= (Pr*COS(Azr)*(zr-z3)+Pyw*(0-z3))/(z1-z3)= 17.8
Py12y= (22.12*COS(0.1745)*(63.4--80.7)+-3.3*(0--80.7))/(80.7--80.7)= 17.8
Py12x= (Pr*SIN(Azr)*(zr-z3)-Pxw*(0-z3))/(z1-z3)*((0-y1)/(x1-x2))= 2.02
Py12x= (22.12*SIN(0.1745)*(63.4--80.7)-0*(0--80.7))/(80.7--80.7)*((0--53)/(45--45))= 2.019
Py34t= (Pr*PCDr/2)*((z1-zt)/(z1-z3))/(x1-x2)= 4.621
Py34t= (22.12*75.2/2)*((80.7-0)/(80.7--80.7))/(45--45)= 4.621
Py34y= (Pr*COS(Azr)*(z1-zr)+Pyw*(z1-0))/(z1-z3)= 0.685
Py34y= (22.12*COS(0.1745)*(80.7-63.4)+-3.3*(80.7-0))/(80.7--80.7)= 0.685
Py34x= (Pr*SIN(Azr)*(z1-zr)-Pxw*(z1-0))/(z1-z3)*((0-y1)/(x1-x2))= 0.2425
Py34x= (22.12*SIN(0.1745)*(80.7-63.4)-0*(80.7-0))/(80.7--80.7)*((0--53)/(45--45))= 0.2424
Py1= Py12y*(x_tgt-x2)/(x1-x2)+Py12x+Py12t= 22.86
Py1= 17.8*(37.03--45)/(45--45)+2.02+4.621= 22.86
Py2= Py12y*(x1-x_tgt)/(x1-x2)-Py12x-Py12t= -5.064
Py2= 17.8*(45-37.03)/(45--45)-2.02-4.621= -5.065
Py3= Py34y*(x_tgt-x2)/(x1-x2)+Py34x+Py34t= 5.487
Py3= 0.685*(37.03--45)/(45--45)+0.2425+4.621= 5.488
Py4= Py34y*(x1-x_tgt)/(x1-x2)-Py34x-Py34t= -4.802
Py4= 0.685*(45-37.03)/(45--45)-0.2425-4.621= -4.803
END073


A38-9-U034 MH Winch Pin - - MH Rope Dyn Force Li0041$

LET Ngr%=X4:Nk%=AISC:D=3.5:d=0:Px=0:Py=Py1/2:Mx=0:Mz=Py*((2.7+2)/2-2.5/4):R=3.5/2:r=0
LET Ngr%=3:Nk%=2:D=3.5:d=0:Px=0:Py=11.43:Mx=0:Mz=19.72:R=1.75:r=0

A38-9-U034 - PROC012 PIN BEND, SHEAR & TORSION 150325 -

A= PI*(R^2-r^2)= 9.621
A= 3.142*(1.75^2-0^2)= 9.622
I= PI*(R^4-r^4)/4= 7.366
I= 3.142*(1.75^4-0^4)/4= 7.367
fa= Px/A= 0
fa= 0/9.621= 0
fb= ABS(Mz)*R/I= 4.685
fb= ABS(19.72)*1.75/7.366= 4.685
fs_py= ABS(Py)*.4244*PI*(R^3-r^3)/(4*I*(R-r))= 1.584
fs_py= ABS(11.43)*.4244*3.142*(1.75^3-0^3)/(4*7.366*(1.75-0))= 1.584
fs_mx= 2*Mx*R/(PI*(R^4-r^4))= 0
fs_mx= 2*0*1.75/(3.142*(1.75^4-0^4))= 0
fE= SQR((ABS(fa)+fb)^2+3*fs_mx^2)= 4.685
fE= SQR((ABS(0)+4.685)^2+3*0^2)= 4.685
UF_001= (fa+fb)/(dac(Nk%,Kd%)*mgr(Ngr%,Fy%))= 1.421.42
UF_001= (0+4.685)/(0.6*5.5)= 1.421.42
UF_002= (fa-fb)/(dac(Nk%,Kd%)*mgr(Ngr%,Fy%))= 1.421.42
UF_002= (0-4.685)/(0.6*5.5)= 1.421.42
UF_003= (fs_py+fs_mx)/(dac(Nk%,Ks%)*mgr(Ngr%,Fy%))= 0.7201
UF_003= (1.584+0)/(0.4*5.5)= 0.72
UF_004= fE/(dac(Nk%,Kd%)*mgr(Ngr%,Fy%))= 1.421.42
UF_004= 4.685/(0.6*5.5)= 1.421.42
END012

A38-9-U034 - PROC012 PIN BEND - Simple Support Equiv Loading


SUMMARY TABLE

DWG/PART/FIGPROCLOADING/DES_CRITAPP/ALLAPP/ALLUF
A38-9-U034PROC012 PIN BEND SHEAR & TORSION 150325(fa+fb)/(dac(Nk%,Kd%)*mgr(Ngr%,Fy%))(0+4.685)/(0.6*5.5)UF_001=1.42*
A38-9-U034PROC012 PIN BEND SHEAR & TORSION 150325(fa-fb)/(dac(Nk%,Kd%)*mgr(Ngr%,Fy%))(0-4.685)/(0.6*5.5)UF_002=1.42*
A38-9-U034PROC012 PIN BEND SHEAR & TORSION 150325(fs_py+fs_mx)/(dac(Nk%,Ks%)*mgr(Ngr%,Fy%))(1.584+0)/(0.4*5.5)UF_003=0.7201
A38-9-U034PROC012 PIN BEND SHEAR & TORSION 150325fE/(dac(Nk%,Kd%)*mgr(Ngr%,Fy%))4.685/(0.6*5.5)UF_004=1.42*

ENDBAS027