首页 > 其他分享 >200017 计算柱的箍筋长度已知宽高肢数

200017 计算柱的箍筋长度已知宽高肢数

时间:2022-12-25 22:00:11浏览次数:45  
标签:10 200017 高肢数 13.57 已知 2.29 计算 400 长度

点击查看代码
<?php
header('Content-Type: text/html; charset=utf-8');
define ('ROOT', $_SERVER['DOCUMENT_ROOT']);
include ROOT.'/assets/php/head.php';

$tit= '计算柱的箍筋长度已知宽高肢数';
//柱 宽400,高500,直径10,宽肢数,4,高肢数5
$val='400 500 10 4 5';
$img='';

//调用方法
mill($val,$img,$tit);
//mill 是磨粉机的方法
function mill($val,$img,$tit){
    //初始化
    include ROOT.'/assets/php/init.php';
    imgt($img,$tit);

    //设置默认值 
    bcscale (2);
    //$pi = round(pi(),2);
    $c = 20;
    $w = 13.57;
    $t = 2.29;

     //以空格分割成数值
    $vals = expl($val);
    $b = evev($vals[0]);
    $h = evev($vals[1]);
    $d = evev($vals[2]);
    $bn = evev($vals[3]);
    $hn = evev($vals[4]);

    //已知条件
    $know = array();
    array_push($know, "保护层厚度 c:$c{$unit['mm']}");
    array_push($know, "箍筋的弯折 w:$w{$unit['mm']}");
    array_push($know, "箍筋的弯曲调整 t:$t{$unit['mm']}");
    array_push($know, $val);
    $v0 = eveq($vals[0]);
    array_push($know, "柱的宽度 b:$v0{$unit['mm']}");
    $v1 = eveq($vals[1]);
    array_push($know, "柱的高度 h:$v1{$unit['mm']}");
    $v2 = eveq($vals[2]);
    array_push($know, "箍筋的直径 d:$v2{$unit['mm']}");
    $v3 = eveq($vals[3]);
    array_push($know, "箍筋的宽肢数 bn:$v3");
    $v4 = eveq($vals[4]);
    array_push($know, "箍筋的高肢数 hn:$v4");

    //计算步骤
    $step = array();
    array_push($step, "计算外箍的长度:");
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$b{$math['sub']}2{$math['mul']}$c{$math['add']}$h{$math['sub']}2{$math['mul']}$c{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $c2 = bcmul($c, 2);
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$b{$math['sub']}$c2{$math['add']}$h{$math['sub']}$c2{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $bc2 = bcsub($b, $c2);
    $hc2 = bcsub($h, $c2);
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$bc2{$math['add']}$hc2{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $bc2hc2 = bcadd($bc2, $hc2);
    $wd = bcmul($w, $d);
    $t3 = bcmul($t, 3);
    array_push($step, "{$math['eq']} 2{$math['mul']}$bc2hc2{$math['add']}2{$math['mul']}$wd{$math['sub']}$t3{$math['mul']}$d");
    $bc2hc22 = bcmul($bc2hc2, 2);
    $wd2 = round(bcmul(2, $wd),0);
    $t3d = round(bcmul($t3, $d),0);
    array_push($step, "{$math['eq']} $bc2hc22{$math['add']}$wd2{$math['sub']}$t3d");
    $bc2hc22wd2 = bcadd($bc2hc22, $wd2);
    array_push($step, "{$math['eq']} $bc2hc22wd2{$math['sub']}$t3d");
    $l1 = bcsub($bc2hc22wd2, $t3d);
    array_push($step, "{$math['eq']} $l1{$unit['mm']}");

    array_push($step, "计算内箍1的长度,设b1为201:");
    $b1 = 201;
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$b1{$math['add']}$h{$math['sub']}2{$math['mul']}$c{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $c2 = bcmul($c, 2);
    $bc2 = $b1;
    $hc2 = bcsub($h, $c2);
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$bc2{$math['add']}$hc2{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $bc2hc2 = bcadd($bc2, $hc2);
    $wd = bcmul($w, $d);
    $t3 = bcmul($t, 3);
    array_push($step, "{$math['eq']} 2{$math['mul']}$bc2hc2{$math['add']}2{$math['mul']}$wd{$math['sub']}$t3{$math['mul']}$d");
    $bc2hc22 = bcmul($bc2hc2, 2);
    $wd2 = round(bcmul(2, $wd),0);
    $t3d = round(bcmul($t3, $d),0);
    array_push($step, "{$math['eq']} $bc2hc22{$math['add']}$wd2{$math['sub']}$t3d");
    $bc2hc22wd2 = bcadd($bc2hc22, $wd2);
    array_push($step, "{$math['eq']} $bc2hc22wd2{$math['sub']}$t3d");
    $l2 = bcsub($bc2hc22wd2, $t3d);
    array_push($step, "{$math['eq']} $l2{$unit['mm']}");

    array_push($step, "计算内箍2的长度,设h1为147:");
    $h1 = 147;
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$b{$math['sub']}2{$math['mul']}$c{$math['add']}$h1{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $c2 = bcmul($c, 2);
    $bc2 = bcsub($b, $c2);
    $hc2 = $h1;
    array_push($step, "{$math['eq']} 2{$math['mul']}{$math['lpar']}$bc2{$math['add']}$hc2{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}$t{$math['rpar']}{$math['mul']}$d");
    $bc2hc2 = bcadd($bc2, $hc2);
    $wd = bcmul($w, $d);
    $t3 = bcmul($t, 3);
    array_push($step, "{$math['eq']} 2{$math['mul']}$bc2hc2{$math['add']}2{$math['mul']}$wd{$math['sub']}$t3{$math['mul']}$d");
    $bc2hc22 = bcmul($bc2hc2, 2);
    $wd2 = round(bcmul(2, $wd),0);
    $t3d = round(bcmul($t3, $d),0);
    array_push($step, "{$math['eq']} $bc2hc22{$math['add']}$wd2{$math['sub']}$t3d");
    $bc2hc22wd2 = bcadd($bc2hc22, $wd2);
    array_push($step, "{$math['eq']} $bc2hc22wd2{$math['sub']}$t3d");
    $l3 = bcsub($bc2hc22wd2, $t3d);
    array_push($step, "{$math['eq']} $l3{$unit['mm']}");

    array_push($step, "计算单肢箍的长度:");
    array_push($step, "{$math['eq']} {$math['lpar']}$b{$math['sub']}2{$math['mul']}$c{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}");
    $c2 = bcmul($c, 2);
    array_push($step, "{$math['eq']} {$math['lpar']}$b{$math['sub']}$c2{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}$w{$math['mul']}$d{$math['rpar']}");
    $bc2 = bcsub($b, $c2);
    array_push($step, "{$math['eq']} $bc2{$math['add']}2{$math['mul']}2{$math['mul']}$bc2");
    $wd = bcmul($w, $d);
    array_push($step, "{$math['eq']} $bc2{$math['add']}$wd2");
    $l4 = bcadd($bc2, $wd2);
    array_push($step, "{$math['eq']} $l4{$unit['mm']}");


    //算出结果
    $ends = array();
    array_push($ends, "计算外箍的长度:$l1{$unit['mm']}");
    array_push($ends, "计算内箍1的长度,设b1为201:$l2{$unit['mm']}");
    array_push($ends, "计算内箍2的长度,设h1为147:$l3{$unit['mm']}");
    array_push($ends, "计算单肢箍的长度:$l4{$unit['mm']}");

    //公式表示
    $home = array();
    array_push($home, "计算外箍的长度:l{$math['eq']}2{$math['mul']}{$math['lpar']}b{$math['sub']}2{$math['mul']}c{$math['add']}h{$math['sub']}2{$math['mul']}c{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}w{$math['mul']}d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}t{$math['rpar']}{$math['mul']}d");
    array_push($home, "计算内箍1的长度,设b1为201:l{$math['eq']}2{$math['mul']}{$math['lpar']}b1{$math['add']}h{$math['sub']}2{$math['mul']}c{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}w{$math['mul']}d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}t{$math['rpar']}{$math['mul']}d");
    array_push($home, "计算内箍2的长度,设h1为147:l{$math['eq']}2{$math['mul']}{$math['lpar']}b{$math['sub']}2{$math['mul']}c{$math['add']}h1{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}w{$math['mul']}d{$math['rpar']}{$math['sub']}{$math['lpar']}3{$math['mul']}t{$math['rpar']}{$math['mul']}d");
    array_push($home, "计算单肢箍的长度:l{$math['eq']}{$math['lpar']}b{$math['sub']}2{$math['mul']}c{$math['rpar']}{$math['add']}2{$math['mul']}{$math['lpar']}w{$math['mul']}d{$math['rpar']}");

    //公式表示
    $info = array();
    array_push($info, "外箍的长度 {$math['eq']} 2 {$math['mul']}{$math['lpar']} 宽度 {$math['sub']} 2 {$math['mul']} 保护层厚度 {$math['add']} 高度 {$math['sub']} 2 {$math['mul']} 保护层厚度 {$math['rpar']}{$math['add']} 2 {$math['mul']}{$math['lpar']} 弯折 {$math['mul']} 箍筋直径 {$math['rpar']}{$math['sub']}{$math['lpar']} 3 {$math['mul']} 弯曲调整 {$math['rpar']}{$math['mul']} 箍筋直径 ");
    array_push($info, "内箍1的长度 {$math['eq']} 2 {$math['mul']}{$math['lpar']} 宽度1 {$math['add']} 高度 {$math['sub']} 2 {$math['mul']} 保护层厚度 {$math['rpar']}{$math['add']} 2 {$math['mul']}{$math['lpar']} 弯折 {$math['mul']} 箍筋直径 {$math['rpar']}{$math['sub']}{$math['lpar']} 3 {$math['mul']} 弯曲调整 {$math['rpar']}{$math['mul']} 箍筋直径 ");
    array_push($info, "内箍2的长度 {$math['eq']} 2 {$math['mul']}{$math['lpar']} 宽度 {$math['sub']} 2 {$math['mul']} 保护层厚度 {$math['add']} 高度1 {$math['rpar']}{$math['add']} 2 {$math['mul']}{$math['lpar']} 弯折 {$math['mul']} 箍筋直径 {$math['rpar']}{$math['sub']}{$math['lpar']} 3 {$math['mul']} 弯曲调整 {$math['rpar']}{$math['mul']} 箍筋直径 ");
    array_push($info, "单肢箍的长度 {$math['eq']}{$math['lpar']} 宽度 {$math['sub']} 2 {$math['mul']} 保护层厚度 {$math['rpar']}{$math['add']} 2 {$math['mul']}{$math['lpar']} 弯折 {$math['mul']} 箍筋直径 {$math['rpar']}");

    know($know);
    ends($ends);
    home($home);
    step($step);
    info($info);
}
?>
<?php include ROOT.'/assets/php/foot.php';
//写下记录
$note = array();
note($note);
?>

☁参考上图[22-12-25 chaoyi]

☀计算柱的箍筋长度已知宽高肢数
保护层厚度 c:20㎜  
箍筋的弯折 w:13.57㎜  
箍筋的弯曲调整 t:2.29㎜  
400 500 10 4 5  
柱的宽度 b:400㎜  
柱的高度 h:500㎜  
箍筋的直径 d:10㎜  
箍筋的宽肢数 bn:4  
箍筋的高肢数 hn:5  

♠算出结果  
计算外箍的长度:1842.00㎜  
计算内箍1的长度,设b1为201:1524.00㎜  
计算内箍2的长度,设h1为147:1216.00㎜  
计算单肢箍的长度:631.00㎜  

♥公式表示  
计算外箍的长度:l=2×(b−2×c+h−2×c)+2×(w×d)−(3×t)×d  
计算内箍1的长度,设b1为201:l=2×(b1+h−2×c)+2×(w×d)−(3×t)×d  
计算内箍2的长度,设h1为147:l=2×(b−2×c+h1)+2×(w×d)−(3×t)×d  
计算单肢箍的长度:l=(b−2×c)+2×(w×d)  

♣计算步骤  
计算外箍的长度:  
= 2×(400−2×20+500−2×20)+2×(13.57×10)−(3×2.29)×10  
= 2×(400−40.00+500−40.00)+2×(13.57×10)−(3×2.29)×10  
= 2×(360.00+460.00)+2×(13.57×10)−(3×2.29)×10  
= 2×820.00+2×135.70−6.87×10  
= 1640.00+271−69  
= 1911.00−69  
= 1842.00㎜  
计算内箍1的长度,设b1为201:  
= 2×(201+500−2×20)+2×(13.57×10)−(3×2.29)×10  
= 2×(201+460.00)+2×(13.57×10)−(3×2.29)×10  
= 2×661.00+2×135.70−6.87×10  
= 1322.00+271−69  
= 1593.00−69  
= 1524.00㎜  
计算内箍2的长度,设h1为147:  
= 2×(400−2×20+147)+2×(13.57×10)−(3×2.29)×10  
= 2×(360.00+147)+2×(13.57×10)−(3×2.29)×10  
= 2×507.00+2×135.70−6.87×10  
= 1014.00+271−69  
= 1285.00−69  
= 1216.00㎜  
计算单肢箍的长度:  
= (400−2×20)+2×(13.57×10)  
= (400−40.00)+2×(13.57×10)  
= 360.00+2×2×360.00  
= 360.00+271  
= 631.00㎜  

♦公式说明  
外箍的长度 = 2 ×( 宽度 − 2 × 保护层厚度 + 高度 − 2 × 保护层厚度 )+ 2 ×( 弯折 × 箍筋直径 )−( 3 × 弯曲调整 )× 箍筋直径   
内箍1的长度 = 2 ×( 宽度1 + 高度 − 2 × 保护层厚度 )+ 2 ×( 弯折 × 箍筋直径 )−( 3 × 弯曲调整 )× 箍筋直径   
内箍2的长度 = 2 ×( 宽度 − 2 × 保护层厚度 + 高度1 )+ 2 ×( 弯折 × 箍筋直径 )−( 3 × 弯曲调整 )× 箍筋直径   
单肢箍的长度 =( 宽度 − 2 × 保护层厚度 )+ 2 ×( 弯折 × 箍筋直径 )  

标签:10,200017,高肢数,13.57,已知,2.29,计算,400,长度
From: https://www.cnblogs.com/onestopweb/p/17004681.html

相关文章