首页 > 其他分享 >200009 计算板的土方量和钢筋量已知集中标注

200009 计算板的土方量和钢筋量已知集中标注

时间:2022-12-17 18:33:37浏览次数:62  
标签:土方 200009 面筋 push mul array eq math 标注

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

$tit= '计算板的土方量和钢筋量已知集中标注';
//V体积 长Va:3600,宽Vb:400,高Vh:500
$Vabh = '2700 2670 120';
//梁宽300
$Lb = '300';
//面筋 直径d:10,间隔f:200
$Mdf = '10 200';
//底筋 直径d:10,间隔f:200
$Ddf = '10 200';

//调用方法
mill($tit,$img,$Vabh,$Lb,$Mdf,$Ddf);

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

    //设置默认值 
    bcscale (3);
    //$pi = round(pi(),2);
    $sg = '0.006165';
    $c = '20';
    $Mw = '15';
    $Dw = '5';
    
    //以空格分割成数值
    $Varr = expl($Vabh);
    $Va = evev($Varr[0]);
    $Vb = evev($Varr[1]);
    $Vh = evev($Varr[2]);
    $Larr = expl($Lb);
    $Lb = evev($Larr[0]);
    $Marr = expl($Mdf);
    $Md = evev($Marr[0]);
    $Mf = evev($Marr[1]);
    $Darr = expl($Ddf);
    $Dd = evev($Darr[0]);
    $Df = evev($Darr[1]);

    //已知条件
    $know = array();
    array_push($know, "钢筋比重 sg:$sg");
    array_push($know, "保护层厚度  c:$c{$unit['mm']}");
    array_push($know, "面筋弯折 Mw:$Mw");
    array_push($know, "底筋弯折 Dw:$Dw");

    array_push($know, $Vabh,$Lb,$Mdf,$Ddf);

    array_push($know, "板的长度 Va:$Va{$unit['mm']}");
    array_push($know, "板的宽度 Vb:$Vb{$unit['mm']}");
    array_push($know, "板的高度 Vh:$Vh{$unit['mm']}");
    array_push($know, "梁的宽度 Lb:$Lb{$unit['mm']}");
    array_push($know, "面筋直径 Md:$Md{$unit['mm']}");
    array_push($know, "面筋间隔 Mf:$Mf{$unit['mm']}");
    array_push($know, "底筋直径 Dd:$Dd{$unit['mm']}");
    array_push($know, "底筋间隔 Df:$Df{$unit['mm']}");

    //计算步骤
    $step = array();
    array_push($step, "板的体积:V");
    array_push($step, "{$math['eq']} $Va{$math['mul']}$Vb{$math['mul']}$Vh");
    $VaVb = bcmul($Va, $Vb);
    array_push($step, "{$math['eq']} $VaVb{$math['mul']}$Vh");
    $V = bcmul($VaVb, $Vh);
    array_push($step, "{$math['eq']} $V{$unit['mm3']}");
    $Vm3 = bcdiv($V, 1000000000);
    array_push($step, "{$math['eq']} $Vm3{$unit['m3']}");

    array_push($step, "面筋长度:Ma");
    array_push($step, "{$math['eq']} $Va{$math['add']}$Lb{$math['sub']}$c{$math['add']}$Mw{$math['mul']}d{$math['add']}$Lb{$math['sub']}$c{$math['add']}$Mw{$math['mul']}d");
    array_push($step, "{$math['eq']} $Va{$math['add']}$Lb{$math['sub']}$c{$math['add']}$Mw{$math['mul']}$Md{$math['add']}$Lb{$math['sub']}$c{$math['add']}$Mw{$math['mul']}$Md");
    $MwMd = bcmul($Mw,$Md);
    array_push($step, "{$math['eq']} $Va{$math['add']}$Lb{$math['sub']}$c{$math['add']}$MwMd{$math['add']}$Lb{$math['sub']}$c{$math['add']}$MwMd");
    $Lbc = bcsub($Lb, $c);
    array_push($step, "{$math['eq']} $Va{$math['add']}$Lbc{$math['add']}$MwMd{$math['add']}$Lbc{$math['add']}$MwMd");
    $LbcMwMd = bcadd($Lbc, $MwMd);
    array_push($step, "{$math['eq']} $Va{$math['add']}$LbcMwMd{$math['add']}$LbcMwMd");
    $Ma = bcadd($Va,$LbcMwMd+$LbcMwMd);
    array_push($step, "{$math['eq']} $Ma{$math['sub']}弯曲调整46");
    $Ma = bcsub($Ma, 46);
    array_push($step, "{$math['eq']} $Ma{$unit['mm']}");

    array_push($step, "底筋长度:Da");
    array_push($step, "{$math['eq']} $Vb{$math['add']}max($Lb/2,5*d){$math['add']}max($Lb/2,5*d)");
    array_push($step, "{$math['eq']} $Vb{$math['add']}max($Lb/2,5*$Dd){$math['add']}max($Lb/2,5*$Dd)");
    $max3002510 = $Lb/2>5*$Dd?$Lb/2:5*$Dd;
    array_push($step, "{$math['eq']} $Vb{$math['add']}$max3002510{$math['add']}$max3002510");
    $Da = bcadd($Vb,$max3002510+$max3002510);
    array_push($step, "{$math['eq']} $Da{$unit['mm']}");

    array_push($step, "面筋重量:Wm");
    array_push($step, "{$math['eq']} $sg{$math['mul']}$Md{$math['sup2']}{$math['mul']}$Ma{$math['mul']}{$math['lpar']}$Va{$math['div']}$Mf{$math['rpar']}");
    $VaMf = bcdiv($Va, $Mf);
    $VaMf1 = ceil($VaMf);
    array_push($step, "{$math['eq']} $sg{$math['mul']}$Md{$math['sup2']}{$math['mul']}$Ma{$math['mul']}$VaMf1");
    $MdMd = bcmul($Md, $Md);
    array_push($step, "{$math['eq']} $sg{$math['mul']}$MdMd{$math['mul']}$Ma{$math['mul']}$VaMf1");
    $MdMdMa = bcmul($MdMd, $Ma);
    array_push($step, "{$math['eq']} $sg{$math['mul']}$MdMdMa{$math['mul']}$VaMf1");
    $sgMdMdMa = bcmul($sg, $MdMdMa);
    array_push($step, "{$math['eq']} $sgMdMdMa{$math['mul']}$VaMf1");
    $Wm = bcmul($sgMdMdMa,$VaMf1);
    array_push($step, "{$math['eq']} $Wm{$unit['g']}");
    $Wmkg = bcdiv($Wm,1000);
    array_push($step, "{$math['eq']} $Wmkg{$unit['kg']}");

    array_push($step, "底筋重量:Wd");
    array_push($step, "{$math['eq']} $sg{$math['mul']}$Dd{$math['sup2']}{$math['mul']}$Da{$math['mul']}{$math['lpar']}$Va{$math['div']}$Df{$math['rpar']}");
    $VaDf = bcdiv($Va, $Df);
    $VaDf1 = ceil($VaDf);
    array_push($step, "{$math['eq']} $sg{$math['mul']}$Dd{$math['sup2']}{$math['mul']}$Da{$math['mul']}$VaDf1");
    $DdDd = bcmul($Dd, $Dd);
    array_push($step, "{$math['eq']} $sg{$math['mul']}$DdDd{$math['mul']}$Da{$math['mul']}$VaDf1");
    $DdDdDa = bcmul($DdDd, $Da);
    array_push($step, "{$math['eq']} $sg{$math['mul']}$DdDdDa{$math['mul']}$VaDf1");
    $sgDdDdDa = bcmul($sg, $DdDdDa);
    array_push($step, "{$math['eq']} $sgDdDdDa{$math['mul']}$VaDf1");
    $Wd = bcmul($sgDdDdDa,$VaDf1);
    array_push($step, "{$math['eq']} $Wd{$unit['g']}");
    $Wdkg = bcdiv($Wd,1000);
    array_push($step, "{$math['eq']} $Wdkg{$unit['kg']}");

    array_push($step, "总钢筋量:W");
    array_push($step, "{$math['eq']} $Wmkg{$math['add']}$Wdkg");
    $W = bcadd($Wmkg, $Wdkg);
    array_push($step, "{$math['eq']} $W{$unit['kg']}");

    //算出结果
    $ends = array();
    array_push($ends, "板的体积:$Vm3{$unit['m3']}");
    array_push($ends, "面筋长度:$Ma{$unit['mm']}");
    array_push($ends, "底筋长度:$Da{$unit['mm']}");
    array_push($ends, "面筋重量:$Wmkg{$unit['kg']}");
    array_push($ends, "底筋重量:$Wdkg{$unit['kg']}");
    array_push($ends, "总钢筋量:$W{$unit['kg']}");

    //公式表示
    $home = array();
    array_push($home, "板的体积:V{$math['eq']}Va{$math['mul']}Vb{$math['mul']}Vh");
    array_push($home, "面筋长度:Ma{$math['eq']}Va{$math['add']}Lb{$math['sub']}c{$math['add']}$Mw{$math['mul']}d{$math['add']}Lb{$math['sub']}c{$math['add']}$Mw{$math['mul']}d");
    array_push($home, "底筋长度:Da{$math['eq']}Vb{$math['add']}max($Lb/2,5*d){$math['add']}max($Lb/2,5*d)");
    array_push($home, "面筋重量:Wm{$math['eq']}$sg{$math['mul']}Md{$math['sup2']}{$math['mul']}Ma{$math['mul']}{$math['lpar']}Va{$math['div']}Mf{$math['rpar']}");
    array_push($home, "底筋重量:Wd{$math['eq']}$sg{$math['mul']}Dd{$math['sup2']}{$math['mul']}Da{$math['mul']}{$math['lpar']}Va{$math['div']}Df{$math['rpar']}");
    array_push($home, "总钢筋量:W{$math['eq']}Wm{$math['add']}Wd");

    //解释说明
    $info = array();
    array_push($info, "板的体积 {$math['eq']} 板的长度 {$math['mul']} 板的宽度 {$math['mul']} 板的高度 ");
    array_push($info, "面筋长度{$math['eq']} 板的长度 {$math['add']} 梁的宽度 {$math['sub']} 保护层厚度 {$math['add']} 面筋弯折 {$math['mul']} d {$math['add']} 梁的宽度 {$math['sub']} 保护层厚度 {$math['add']} 面筋弯折 {$math['mul']} d");
    array_push($info, "底筋长度{$math['eq']} 板的宽度 {$math['add']}max( 梁的宽度/2, 5*d){$math['add']}max( 梁的宽度/2, 5*d)");
    array_push($info, "面筋重量{$math['eq']} 钢筋比重 {$math['mul']} 面筋直径 {$math['sup2']}{$math['mul']} 面筋长度 {$math['mul']}{$math['lpar']} 板的长度 {$math['div']} 面筋间隔 {$math['rpar']}");
    array_push($info, "底筋重量{$math['eq']} 钢筋比重 {$math['mul']} 底筋直径 {$math['sup2']}{$math['mul']} 底筋长度 {$math['mul']}{$math['lpar']} 板的长度 {$math['div']} 底筋间隔 {$math['rpar']}");
    array_push($info, "总钢筋量{$math['eq']} 面筋重量 {$math['add']} 底筋重量");

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

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

☀计算板的土方量和钢筋量已知集中标注
钢筋比重 sg:0.006165  
保护层厚度 c:20㎜  
面筋弯折 Mw:15  
底筋弯折 Dw:5  
2700 2670 120  
300  
10 200  
10 200  
板的长度 Va:2700㎜  
板的宽度 Vb:2670㎜  
板的高度 Vh:120㎜  
梁的宽度 Lb:300㎜  
面筋直径 Md:10㎜  
面筋间隔 Mf:200㎜  
底筋直径 Dd:10㎜  
底筋间隔 Df:200㎜  

♠算出结果  
板的体积:0.865m³  
面筋长度:3514.000㎜  
底筋长度:2970.000㎜  
面筋重量:30.329㎏  
底筋重量:25.634㎏  
总钢筋量:55.963㎏  

♥公式表示  
板的体积:V=Va×Vb×Vh  
面筋长度:Ma=Va+Lb−c+15×d+Lb−c+15×d  
底筋长度:Da=Vb+max(300/2,5*d)+max(300/2,5*d)  
面筋重量:Wm=0.006165×Md²×Ma×(Va÷Mf)  
底筋重量:Wd=0.006165×Dd²×Da×(Va÷Df)  
总钢筋量:W=Wm+Wd  

♣计算步骤  
板的体积:V  
= 2700×2670×120  
= 7209000.000×120  
= 865080000.000㎜³  
= 0.865m³  
面筋长度:Ma  
= 2700+300−20+15×d+300−20+15×d  
= 2700+300−20+15×10+300−20+15×10  
= 2700+300−20+150.000+300−20+150.000  
= 2700+280.000+150.000+280.000+150.000  
= 2700+430.000+430.000  
= 3560.000−弯曲调整46  
= 3514.000㎜  
底筋长度:Da  
= 2670+max(300/2,5*d)+max(300/2,5*d)  
= 2670+max(300/2,5*10)+max(300/2,5*10)  
= 2670+150+150  
= 2970.000㎜  
面筋重量:Wm  
= 0.006165×10²×3514.000×(2700÷200)  
= 0.006165×10²×3514.000×14  
= 0.006165×100.000×3514.000×14  
= 0.006165×351400.000×14  
= 2166.381×14  
= 30329.334g  
= 30.329㎏  
底筋重量:Wd  
= 0.006165×10²×2970.000×(2700÷200)  
= 0.006165×10²×2970.000×14  
= 0.006165×100.000×2970.000×14  
= 0.006165×297000.000×14  
= 1831.005×14  
= 25634.070g  
= 25.634㎏  
总钢筋量:W  
= 30.329+25.634  
= 55.963㎏  

♦公式说明  
板的体积 = 板的长度 × 板的宽度 × 板的高度   
面筋长度= 板的长度 + 梁的宽度 − 保护层厚度 + 面筋弯折 × d + 梁的宽度 − 保护层厚度 + 面筋弯折 × d  
底筋长度= 板的宽度 +max( 梁的宽度/2, 5*d)+max( 梁的宽度/2, 5*d)  
面筋重量= 钢筋比重 × 面筋直径 ²× 面筋长度 ×( 板的长度 ÷ 面筋间隔 )  
底筋重量= 钢筋比重 × 底筋直径 ²× 底筋长度 ×( 板的长度 ÷ 底筋间隔 )  
总钢筋量= 面筋重量 + 底筋重量  

标签:土方,200009,面筋,push,mul,array,eq,math,标注
From: https://www.cnblogs.com/onestopweb/p/16989324.html

相关文章