# Hydraulic Radius Examples, Formula, Calculator

[insert_php]
session_start();
\$hyd1=0;\$wet1=0;\$area1=0;\$area=0;\$wet=0;\$oper=0;\$e1=0;\$e2=0;\$no1=”-“;\$no2=”-“;\$result2=”-“;
\$i=””;\$haw=0;\$haww=0;\$_SESSION[“haww”]=””;\$_SESSION[“e1″]=””;\$_SESSION[“e2″]=””;\$_SESSION[“oper”]=””;\$_SESSION[“haww1″]=””;\$_SESSION[“e11″]=””;\$_SESSION[“e21″]=””;\$_SESSION[“oper1″]=””;
if(isset(\$_POST[“Calculate”]))
{

\$haw=\$_POST[“haw”]; \$_SESSION[“haww”]=\$haw;
if(\$haw === “hr”){
\$no1 = “Area of Section Flow”;
\$no2 = “Wetted Perimeter”;
\$area=\$_POST[“area”];\$_SESSION[“e1”]=\$area;
\$wet=\$_POST[“wet”];\$_SESSION[“e2”]=\$wet;
if(\$wet==0){echo ““;}
else{\$hyd1=(\$area/\$wet);\$_SESSION[“oper”]=\$hyd1;}
}
else if (\$haw === “af”) {
\$no2 = “Wetted Perimeter”;
\$result2 = “Area of Section Flow”;

\$hyd=\$_POST[“hyd”];\$_SESSION[“e1”]=\$hyd;
\$wet=\$_POST[“wet”];\$_SESSION[“e2”]=\$wet;
\$area1=(\$hyd*\$wet);\$_SESSION[“oper”]=\$area1;
}
else{
\$no1 = “Area of Section Flow”;
\$result2 = “Wetted Perimeter”;

\$area=\$_POST[“area”];\$_SESSION[“e1”]=\$area;
\$hyd=\$_POST[“hyd”];\$_SESSION[“e2”]=\$hyd;
if(\$hyd ==0){echo ““;}
else{\$wet1=(\$area/\$hyd);\$_SESSION[“oper”]=\$wet1;}
}

}
unset(\$_POST[“submit”]);
[/insert_php]

# Hydraulic Radius Examples, Formula, Calculator

hydraulic radius is the ratio of the cross-sectional area of a pipe to the perimeter of a pipe through which a fluid is flowing.

What To Calculate

Area of Section Flow(A) = m2
Wetted Perimeter(Pw) = m