点击查看代码
<?php
header('Content-Type: text/html; charset=utf-8');
define ('ROOT', $_SERVER['DOCUMENT_ROOT']);
include ROOT.'/assets/php/head.php';
$tit= '计算柱的箍筋根数已知长高和加密区非加密区';
//柱 长5600,宽400,高500,间隔 100 200
$val='3000 400 500 100 200';
$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);
//以空格分割成数值
$vals = expl($val);
$a = evev($vals[0]);
$b = evev($vals[1]);
$h = evev($vals[2]);
$m = evev($vals[3]);
$f = evev($vals[4]);
//已知条件
$know = array();
array_push($know, $val);
$v0 = eveq($vals[0]);
array_push($know, "柱的长度 a:$v0{$unit['mm']}");
$v1 = eveq($vals[1]);
array_push($know, "柱的宽度 b:$v1{$unit['mm']}");
$v2 = eveq($vals[2]);
array_push($know, "柱的高度 h:$v2{$unit['mm']}");
$v3 = eveq($vals[3]);
array_push($know, "箍筋的加密区 m:$v3{$unit['mm']}");
$v4 = eveq($vals[4]);
array_push($know, "箍筋的非加密区 f:$v4{$unit['mm']}");
//计算步骤
$step = array();
array_push($step, "计算无加密区柱箍筋的根数:n1");
array_push($step, "{$math['eq']} $a{$math['div']}$f{$math['add']}1");
$af = bcdiv($a, $f);
array_push($step, "{$math['eq']} $af{$math['add']}1");
$n1 = ceil($af+1);
array_push($step, "{$math['eq']} $n1");
array_push($step, "计算首层柱箍筋的根数:n2");
array_push($step, "{$math['eq']} Hn/3{$math['div']}$m{$math['add']}Max{500,柱长边尺寸,Hn/6}{$math['div']}$m{$math['add']}{$math['lsqb']}$a{$math['sub']}{$math['lpar']}Hn/3{$math['add']}Max{500,柱长边尺寸,Hn/6}{$math['rpar']}{$math['rsqb']}{$math['div']}$f{$math['add']}1");
$Hn3 = bcdiv($a, 3);
$bh = $b>$h?$b:$h;
$a6 = bcdiv($a, 6);
$Hn6=$a6>(500>$bh?500:$bh)?$a6:(500>$bh?500:$bh);
array_push($step, "{$math['eq']} $a/3{$math['div']}$m{$math['add']}Max{500,{$bh},$a6}{$math['div']}$m{$math['add']}{$math['lsqb']}$a{$math['sub']}{$math['lpar']}$a/3{$math['add']}Max{500,{$bh},$a6}{$math['rpar']}{$math['rsqb']}{$math['div']}$f{$math['add']}1");
array_push($step, "{$math['eq']} $Hn3{$math['div']}$m{$math['add']}$Hn6{$math['div']}$m{$math['add']}{$math['lsqb']}$a{$math['sub']}{$math['lpar']}$Hn3{$math['add']}$Hn6{$math['rpar']}{$math['rsqb']}{$math['div']}$f{$math['add']}1");
$Hn3Hn6 = bcadd($Hn3, $Hn6);
array_push($step, "{$math['eq']} $Hn3{$math['div']}$m{$math['add']}$Hn6{$math['div']}$m{$math['add']}{$math['lpar']}$a{$math['sub']}$Hn3Hn6{$math['rpar']}{$math['div']}$f{$math['add']}1");
$aHn3Hn6 = bcsub($a, $Hn3Hn6);
array_push($step, "{$math['eq']} $Hn3{$math['div']}$m{$math['add']}$Hn6{$math['div']}$m{$math['add']}$aHn3Hn6{$math['div']}$f{$math['add']}1");
$Hn3m = bcdiv($Hn3,$m,0);
$Hn6m = bcdiv($Hn6,$m,0);
$aHn3Hn6f = ceil(bcdiv($aHn3Hn6, $f));
array_push($step, "{$math['eq']} $Hn3m{$math['add']}$Hn6m{$math['add']}$aHn3Hn6f{$math['add']}1");
$n2 = ceil(bcadd($Hn3m+$Hn6m, $aHn3Hn6f+1));
array_push($step, "{$math['eq']} $n2");
array_push($step, "计算首层以上柱箍筋的根数:n3");
array_push($step, "{$math['eq']} {$math['lpar']}Max{500,柱长边尺寸,Hn/6}{$math['div']}$m{$math['rpar']}{$math['mul']}2{$math['add']}{$math['lsqb']}$a{$math['sub']}{$math['lpar']}Max{500,柱长边尺寸,Hn/6}{$math['mul']}2{$math['rpar']}{$math['rsqb']}{$math['div']}$f{$math['add']}1");
array_push($step, "{$math['eq']} {$math['lpar']}Max{500,{$bh},$a6}{$math['div']}$m{$math['rpar']}{$math['mul']}2{$math['add']}{$math['lsqb']}$a{$math['sub']}{$math['lpar']}Max{500,{$bh},$a6}{$math['mul']}2{$math['rpar']}{$math['rsqb']}{$math['div']}$f{$math['add']}1");
array_push($step, "{$math['eq']} {$math['lpar']}$Hn6{$math['div']}$m{$math['rpar']}{$math['mul']}2{$math['add']}{$math['lsqb']}$a{$math['sub']}{$math['lpar']}$Hn6{$math['mul']}2{$math['rpar']}{$math['rsqb']}{$math['div']}$f{$math['add']}1");
$Hn6m = bcdiv($Hn6,$m,0);
$Hn62 = bcmul($Hn6,2);
array_push($step, "{$math['eq']} $Hn6m{$math['mul']}2{$math['add']}{$math['lpar']}$a{$math['sub']}$Hn62{$math['rpar']}{$math['div']}$f{$math['add']}1");
$Hn6m2 = bcmul($Hn6m,2);
$aHn62 = bcsub($a, $Hn62);
array_push($step, "{$math['eq']} $Hn6m2{$math['add']}$aHn62{$math['div']}$f{$math['add']}1");
$aHn62f = ceil(bcdiv($aHn62, $f));
array_push($step, "{$math['eq']} $Hn6m2{$math['add']}$aHn62f{$math['add']}1");
$n3 = ceil(bcadd($Hn6m2, $aHn62f+1));
array_push($step, "{$math['eq']} $n3");
//算出结果
$ends = array();
array_push($ends, "无加密区柱箍筋的根数:$n1");
array_push($ends, "首层柱箍筋的根数:$n2");
array_push($ends, "首层以上柱箍筋的根数:$n3");
//公式表示
$home = array();
array_push($home, "计算无加密区柱箍筋的根数:n1{$math['eq']}a{$math['div']}f{$math['add']}1");
array_push($home, "计算首层柱箍筋的根数:n2{$math['eq']}Hn/3{$math['div']}m{$math['add']}Max{500,柱长边尺寸,Hn/6}){$math['div']}m{$math['add']}{$math['lsqb']}a{$math['sub']}{$math['lpar']}Hn/3{$math['add']}Max{500,柱长边尺寸,Hn/6}){$math['rpar']}{$math['rsqb']}{$math['div']}f{$math['add']}1");
array_push($home, "计算首层以上柱箍筋的根数:n3{$math['eq']}{$math['lpar']}Max{500,柱长边尺寸,Hn/6}){$math['div']}m{$math['rpar']}{$math['mul']}2{$math['add']}{$math['lsqb']}a{$math['sub']}{$math['lpar']}Max{500,柱长边尺寸,Hn/6}){$math['mul']}2{$math['rpar']}{$math['rsqb']}{$math['div']}f{$math['add']}1");
//公式说明
$info = array();
array_push($info, "计算无加密区箍筋的根数 {$math['eq']} 柱的长度 {$math['div']} 箍筋的非加密 {$math['add']}1");
array_push($info, "计算首层柱箍筋的根数 {$math['eq']} Hn/3 {$math['div']} 箍筋的加密区 {$math['add']} Max{500,柱长边尺寸,Hn/6}{$math['div']} 箍筋的加密区 {$math['add']}{$math['lsqb']} 柱的长度 {$math['sub']}{$math['lpar']} Hn/3 {$math['add']} Max{500,柱长边尺寸,Hn/6}{$math['rpar']}{$math['rsqb']}{$math['div']} 箍筋的非加密 {$math['add']}1");
array_push($info, "计算首层以上柱箍筋的根数 {$math['eq']}{$math['lpar']} Max{500,柱长边尺寸,Hn/6} {$math['div']} 箍筋的加密区 {$math['rpar']}{$math['mul']}2{$math['add']}{$math['lsqb']} 柱的长度 {$math['sub']}{$math['lpar']} Max{500,柱长边尺寸,Hn/6}{$math['mul']}2{$math['rpar']}{$math['rsqb']}{$math['div']} 箍筋的非加密 {$math['add']}1");
array_push($info, "参看03G101-1规定 ");
array_push($info, "1)首层柱箍筋的加密区有三个,分别为:下部的箍筋加密区长度取Hn/3;上部取Max{500,柱长边尺寸,Hn/6};梁节点范围内加密;如果该柱采用绑扎搭接,那么搭接范围内同时需要加密。 ");
array_push($info, "2)首层以上柱箍筋分别为:上、下部的箍筋加密区长度均取Max{500,柱长边尺寸,Hn/6};梁节点范围内加密;如果该柱采用绑扎搭接,那么搭接范围内同时需要加密。");
//参考链接
$href = array();
array_push($href, "柱箍筋加密范围:https://www.fwxgx.com/questions/617763");
know($know);
ends($ends);
home($home);
step($step);
info($info);
href($href);
}
?>
<?php include ROOT.'/assets/php/foot.php';
//写下记录
$note = array();
note($note);
?>
☁参考上图[22-12-23 chaoyi]
☀计算柱的箍筋根数已知长高和加密区非加密区
3000 400 500 100 200
柱的长度 a:3000㎜
柱的宽度 b:400㎜
柱的高度 h:500㎜
箍筋的加密区 m:100㎜
箍筋的非加密区 f:200㎜
♠算出结果
无加密区柱箍筋的根数:16
首层柱箍筋的根数:24
首层以上柱箍筋的根数:21
♥公式表示
计算无加密区柱箍筋的根数:n1=a÷f+1
计算首层柱箍筋的根数:n2=Hn/3÷m+Max{500,柱长边尺寸,Hn/6})÷m+[a−(Hn/3+Max{500,柱长边尺寸,Hn/6}))]÷f+1
计算首层以上柱箍筋的根数:n3=(Max{500,柱长边尺寸,Hn/6})÷m)×2+[a−(Max{500,柱长边尺寸,Hn/6})×2)]÷f+1
♣计算步骤
计算无加密区柱箍筋的根数:n1
= 3000÷200+1
= 15.00+1
= 16
计算首层柱箍筋的根数:n2
= Hn/3÷100+Max{500,柱长边尺寸,Hn/6}÷100+[3000−(Hn/3+Max{500,柱长边尺寸,Hn/6})]÷200+1
= 3000/3÷100+Max{500,500,500.00}÷100+[3000−(3000/3+Max{500,500,500.00})]÷200+1
= 1000.00÷100+500÷100+[3000−(1000.00+500)]÷200+1
= 1000.00÷100+500÷100+(3000−1500.00)÷200+1
= 1000.00÷100+500÷100+1500.00÷200+1
= 10+5+8+1
= 24
计算首层以上柱箍筋的根数:n3
= (Max{500,柱长边尺寸,Hn/6}÷100)×2+[3000−(Max{500,柱长边尺寸,Hn/6}×2)]÷200+1
= (Max{500,500,500.00}÷100)×2+[3000−(Max{500,500,500.00}×2)]÷200+1
= (500÷100)×2+[3000−(500×2)]÷200+1
= 5×2+(3000−1000.00)÷200+1
= 10.00+2000.00÷200+1
= 10.00+10+1
= 21
♦公式说明
计算无加密区箍筋的根数 = 柱的长度 ÷ 箍筋的非加密 +1
计算首层柱箍筋的根数 = Hn/3 ÷ 箍筋的加密区 + Max{500,柱长边尺寸,Hn/6}÷ 箍筋的加密区 +[ 柱的长度 −( Hn/3 + Max{500,柱长边尺寸,Hn/6})]÷ 箍筋的非加密 +1
计算首层以上柱箍筋的根数 =( Max{500,柱长边尺寸,Hn/6} ÷ 箍筋的加密区 )×2+[ 柱的长度 −( Max{500,柱长边尺寸,Hn/6}×2)]÷ 箍筋的非加密 +1
参看03G101-1规定
1)首层柱箍筋的加密区有三个,分别为:下部的箍筋加密区长度取Hn/3;上部取Max{500,柱长边尺寸,Hn/6};梁节点范围内加密;如果该柱采用绑扎搭接,那么搭接范围内同时需要加密。
2)首层以上柱箍筋分别为:上、下部的箍筋加密区长度均取Max{500,柱长边尺寸,Hn/6};梁节点范围内加密;如果该柱采用绑扎搭接,那么搭接范围内同时需要加密。
♥参考链接
柱箍筋加密范围:https://www.fwxgx.com/questions/617763
标签:加密,200016,add,区非,Hn,math,Max,500
From: https://www.cnblogs.com/onestopweb/p/17001252.html