{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## ECCENTRIC PAD FOUNDATION DESIGN IN ACCORDANCE TO EUROCODE 2"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### This example is contained in Reinforced concrete design to eurocodes by Prab Bhatt ,Thomas J. MacGinley and Ban Seng Choo 4TH EDITION\n",
"#### Example of Design of a Eccentrically Loaded Base section 11.5.3.1 page 450"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### PROBLEM STATEMENT"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
""
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Import the PadFoundation and padFoundationDesign classes from the foundationdesign module needed to effectively analyse and design the foundation"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# RUN THIS CELL FIRST TO INITIALISE GOOGLE NOTEBOOK!!!!\n",
"!pip install FoundationDesign"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"from FoundationDesign import padFoundationDesign, PadFoundation"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"# Create the pad foundation object\n",
"# Since the column is centrally placed the column position in x and y direction is the foundation length and width divided by two\n",
"# The column position in x and y direction should be verified anytime the foundation length and width is updated\n",
"fdn = PadFoundation(\n",
" foundation_length=3600,\n",
" foundation_width=3000,\n",
" column_length=450,\n",
" column_width=450,\n",
" col_pos_xdir=1800,\n",
" col_pos_ydir=1500,\n",
" soil_bearing_capacity=150,\n",
")\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Display the foundation geometry"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "red",
"width": 3
},
"mode": "lines",
"name": "FOOTING",
"type": "scatter",
"x": [
0,
3.6,
3.6,
0,
0
],
"y": [
0,
0,
3,
3,
0
]
},
{
"line": {
"color": "green",
"width": 1.5
},
"mode": "lines",
"name": "COLUMN",
"type": "scatter",
"x": [
1.575,
2.025,
2.025,
1.575,
1.575
],
"y": [
1.275,
1.275,
1.725,
1.725,
1.275
]
}
],
"layout": {
"height": 500,
"showlegend": true,
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "FOOTING PLAN"
},
"width": 500
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"fdn.plot_geometry()"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Assign Loads to the foundation"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The self weight of concrete is 13.2kN/m² while the soil weight is 0.0kN/m²\n"
]
}
],
"source": [
"# Assigning extra details about the foundation needed to calculate the soil weigth on the foundation and the concrete own load\n",
"# In this example, the soil above is not specified. Therefore the soil depth above foundation is assigned explicitly to zero\n",
"z = fdn.foundation_loads(\n",
" foundation_thickness=550,\n",
" soil_depth_abv_foundation=0,\n",
" soil_unit_weight=18,\n",
" concrete_unit_weight=24,\n",
")\n",
"print(\n",
" f\"The self weight of concrete is {z[0]}kN/m\\u00b2 while the soil weight is {z[1]}kN/m\\u00b2\"\n",
")\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"# Assign the column axial loads\n",
"fdn.column_axial_loads(permanent_axial_load=770, imposed_axial_load=330)\n"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
"# Assign the column horizontal loads in x direction\n",
"fdn.column_horizontal_loads_xdir(\n",
" permanent_horizontal_load_xdir=35, imposed_horizontal_load_xdir=15\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"# Assign column moments in the x direction\n",
"fdn.column_moments_xdir(permanent_moment_xdir=78, imposed_moment_xdir=34)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Check the minimum area required for the pad foundation"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The minimum area requried for the pad foundation is 10.24m²\n"
]
}
],
"source": [
"# This method is can be called immediately after all the loads have been updated. This method will give the user the idea\n",
"# of the minimum area needed for the pad foundation. With this information the user can then decide either to use the area as a square or rectangular\n",
"# foundation\n",
"area = fdn.minimum_area_required()\n",
"print(f'The minimum area requried for the pad foundation is {area}m\\u00b2')\n",
"# The required area in this case is 10.24m2 meaning this foundation can be redesigned using a dimension of 3.2m"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Check the total Moments in the foundation using the sls limit state"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The total moments on the foundation in x direction is 2376.108 kNm\n"
]
}
],
"source": [
"# Check the total foundation moments in sls\n",
"f = fdn.total_moments_X_direction_sls()\n",
"print(f\"The total moments on the foundation in x direction is {f} kNm\")\n"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The total moments on the foundation in Y direction is 1863.84 kNm\n"
]
}
],
"source": [
"# Check the total foundation moments in sls\n",
"f = fdn.total_moments_Y_direction_sls()\n",
"print(f\"The total moments on the foundation in Y direction is {f} kNm\")\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Check the foundation eccentricity at SLS"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The eccentricity of the foundation in the x direction is 112mm at SLS\n"
]
}
],
"source": [
"# Eccentricity in x direction at sls\n",
"ex = fdn.eccentricity_X_direction_sls()\n",
"print(\n",
" f\"The eccentricity of the foundation in the x direction is {ex}mm at SLS\")\n"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The eccentricity of the foundation in the y direction is 0mm at SLS\n"
]
}
],
"source": [
"# Eccentricity in y direction at sls\n",
"ey = fdn.eccentricity_Y_direction_sls()\n",
"print(\n",
" f\"The eccentricity of the foundation in the y direction is {ey}mm at SLS\")\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### BEARING CAPACITY CHECK"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(93.576, 93.576, 136.528, 136.528)\n"
]
}
],
"source": [
"# The bearing pressure of the foundation at all corners of the foundation can be gotten\n",
"pres = fdn.pad_base_pressures_sls()\n",
"print(pres)\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'minimum_pad_pressure': 93.576,\n",
" 'maximum_pad_pressure': 136.528,\n",
" 'status': 'PASS - Presumed bearing capacity exceeds design base pressure'}"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# The adequacy of the bearing pressure can be checked\n",
"fdn.bearing_pressure_check_sls()\n"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "red",
"width": 1.5
},
"mode": "lines+text",
"name": "FOOTING",
"text": [
"93.576",
"93.576",
"136.528",
"136.528"
],
"textposition": "top center",
"type": "scatter",
"x": [
0,
3.6,
3.6,
0,
0
],
"y": [
0,
0,
3,
3,
0
]
},
{
"line": {
"color": "green",
"width": 1.5
},
"mode": "lines",
"name": "COLUMN",
"type": "scatter",
"x": [
1.575,
2.025,
2.025,
1.575,
1.575
],
"y": [
1.275,
1.275,
1.725,
1.725,
1.275
]
}
],
"layout": {
"height": 500,
"showlegend": true,
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "FOOTING PLAN"
},
"width": 500
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Plot the bearing pressures at all corners of the foundation\n",
"fdn.plot_base_pressures_sls()"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Design the Pad foundation"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
"# Create the foundation design object needed to design the foundation\n",
"fdn_design = padFoundationDesign(\n",
" fdn, fck=30, fyk=500, concrete_cover=30, bar_diameterX=16, bar_diameterY=16\n",
")\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Plot the loading diagram, bending moment and shear forces along both directions of the foundatiom"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"hoverinfo": "skip",
"hovertemplate": "%{x} %{meta[0]}",
"line": {
"color": "purple",
"width": 2
},
"meta": [
"m"
],
"mode": "lines",
"name": "Beam_",
"type": "scatter",
"x": [
0,
3.6
],
"y": [
0,
0
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{x:.3f} %{meta[1]}
Fixed: %{meta[0]}",
"marker": {
"color": "blue",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
"[1, 1, 1]",
"m"
],
"mode": "markers",
"name": "Support",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
1.8
],
"y": [
0
]
},
{
"fill": "tozeroy",
"hoverinfo": "skip",
"hovertemplate": "",
"line": {
"color": "mediumpurple",
"width": 1
},
"mode": "lines",
"name": "Trapezoidal
Load",
"type": "scatter",
"x": [
0,
3.6
],
"y": [
-0.6836909826053995,
-1
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
0,
389589,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
0
],
"y": [
0
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
3.6,
569832,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
3.6
],
"y": [
0
]
},
{
"fill": "tozeroy",
"hoverinfo": "skip",
"hovertemplate": "",
"line": {
"color": "mediumpurple",
"width": 1
},
"mode": "lines",
"name": "Distributed
Load",
"type": "scatter",
"x": [
0,
0.01,
0.02,
0.03,
0.04,
0.05,
0.06,
0.07,
0.08,
0.09,
0.1,
0.11,
0.12,
0.13,
0.14,
0.15,
0.16,
0.17,
0.18,
0.19,
0.2,
0.21,
0.22,
0.23,
0.24,
0.25,
0.26,
0.27,
0.28,
0.29,
0.3,
0.31,
0.32,
0.33,
0.34,
0.35000000000000003,
0.36,
0.37,
0.38,
0.39,
0.4,
0.41000000000000003,
0.42,
0.43,
0.44,
0.45,
0.46,
0.47000000000000003,
0.48,
0.49,
0.5,
0.51,
0.52,
0.53,
0.54,
0.55,
0.56,
0.5700000000000001,
0.58,
0.59,
0.6,
0.61,
0.62,
0.63,
0.64,
0.65,
0.66,
0.67,
0.68,
0.6900000000000001,
0.7000000000000001,
0.71,
0.72,
0.73,
0.74,
0.75,
0.76,
0.77,
0.78,
0.79,
0.8,
0.81,
0.8200000000000001,
0.8300000000000001,
0.84,
0.85,
0.86,
0.87,
0.88,
0.89,
0.9,
0.91,
0.92,
0.93,
0.9400000000000001,
0.9500000000000001,
0.96,
0.97,
0.98,
0.99,
1,
1.01,
1.02,
1.03,
1.04,
1.05,
1.06,
1.07,
1.08,
1.09,
1.1,
1.11,
1.12,
1.1300000000000001,
1.1400000000000001,
1.1500000000000001,
1.16,
1.17,
1.18,
1.19,
1.2,
1.21,
1.22,
1.23,
1.24,
1.25,
1.26,
1.27,
1.28,
1.29,
1.3,
1.31,
1.32,
1.33,
1.34,
1.35,
1.36,
1.37,
1.3800000000000001,
1.3900000000000001,
1.4000000000000001,
1.41,
1.42,
1.43,
1.44,
1.45,
1.46,
1.47,
1.48,
1.49,
1.5,
1.51,
1.52,
1.53,
1.54,
1.55,
1.56,
1.57,
1.58,
1.59,
1.6,
1.61,
1.62,
1.6300000000000001,
1.6400000000000001,
1.6500000000000001,
1.6600000000000001,
1.67,
1.68,
1.69,
1.7,
1.71,
1.72,
1.73,
1.74,
1.75,
1.76,
1.77,
1.78,
1.79,
1.8,
1.81,
1.82,
1.83,
1.84,
1.85,
1.86,
1.87,
1.8800000000000001,
1.8900000000000001,
1.9000000000000001,
1.9100000000000001,
1.92,
1.93,
1.94,
1.95,
1.96,
1.97,
1.98,
1.99,
2,
2.0100000000000002,
2.02,
2.0300000000000002,
2.04,
2.05,
2.06,
2.07,
2.08,
2.09,
2.1,
2.11,
2.12,
2.13,
2.14,
2.15,
2.16,
2.17,
2.18,
2.19,
2.2,
2.21,
2.22,
2.23,
2.24,
2.25,
2.2600000000000002,
2.27,
2.2800000000000002,
2.29,
2.3000000000000003,
2.31,
2.32,
2.33,
2.34,
2.35,
2.36,
2.37,
2.38,
2.39,
2.4,
2.41,
2.42,
2.43,
2.44,
2.45,
2.46,
2.47,
2.48,
2.49,
2.5,
2.5100000000000002,
2.52,
2.5300000000000002,
2.54,
2.5500000000000003,
2.56,
2.57,
2.58,
2.59,
2.6,
2.61,
2.62,
2.63,
2.64,
2.65,
2.66,
2.67,
2.68,
2.69,
2.7,
2.71,
2.72,
2.73,
2.74,
2.75,
2.7600000000000002,
2.77,
2.7800000000000002,
2.79,
2.8000000000000003,
2.81,
2.82,
2.83,
2.84,
2.85,
2.86,
2.87,
2.88,
2.89,
2.9,
2.91,
2.92,
2.93,
2.94,
2.95,
2.96,
2.97,
2.98,
2.99,
3,
3.0100000000000002,
3.02,
3.0300000000000002,
3.04,
3.0500000000000003,
3.06,
3.0700000000000003,
3.08,
3.09,
3.1,
3.11,
3.12,
3.13,
3.14,
3.15,
3.16,
3.17,
3.18,
3.19,
3.2,
3.21,
3.22,
3.23,
3.24,
3.25,
3.2600000000000002,
3.27,
3.2800000000000002,
3.29,
3.3000000000000003,
3.31,
3.3200000000000003,
3.33,
3.34,
3.35,
3.36,
3.37,
3.38,
3.39,
3.4,
3.41,
3.42,
3.43,
3.44,
3.45,
3.46,
3.47,
3.48,
3.49,
3.5,
3.5100000000000002,
3.52,
3.5300000000000002,
3.54,
3.5500000000000003,
3.56,
3.5700000000000003,
3.58,
3.59,
3.6
],
"y": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
0,
-53460,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
0
],
"y": [
0
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
3.6,
-53460,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
3.6
],
"y": [
0
]
}
],
"layout": {
"annotations": [
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "389589.000 N/m",
"x": 0,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": -26
},
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "569832.000 N/m",
"x": 3.6,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": -39
},
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "-53460.000 N/m",
"x": 0,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": 39
},
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "-53460.000 N/m",
"x": 3.6,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": 39
}
],
"height": 350,
"hovermode": "x",
"shapes": [
{
"fillcolor": "blue",
"line": {
"color": "blue",
"width": 4
},
"type": "rect",
"x0": -2,
"x1": -2,
"xanchor": 1.8,
"xref": "x",
"xsizemode": "pixel",
"y0": -5,
"y1": 5,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -20,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 3.6,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 3.6,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 3.6,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 3.6,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 3.6,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 3.6,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
}
],
"showlegend": false,
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"size": 24
},
"text": "Foundation schematic (length)",
"x": 0.5
},
"xaxis": {
"title": {
"text": "Foundation length"
}
},
"yaxis": {
"fixedrange": true,
"range": [
-3,
3
],
"visible": false
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# The loading on the foundation in x direction showing the soil pressure and self weight on the foundation\n",
"fdn_design.plot_foundation_loading_X()"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"hoverinfo": "skip",
"hovertemplate": "%{x} %{meta[0]}",
"line": {
"color": "purple",
"width": 2
},
"meta": [
"m"
],
"mode": "lines",
"name": "Beam_",
"type": "scatter",
"x": [
0,
3
],
"y": [
0,
0
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{x:.3f} %{meta[1]}
Fixed: %{meta[0]}",
"marker": {
"color": "blue",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
"[1, 1, 1]",
"m"
],
"mode": "markers",
"name": "Support",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
1.5
],
"y": [
0
]
},
{
"fill": "tozeroy",
"hoverinfo": "skip",
"hovertemplate": "",
"line": {
"color": "mediumpurple",
"width": 1
},
"mode": "lines",
"name": "Distributed
Load",
"type": "scatter",
"x": [
0,
0.01,
0.02,
0.03,
0.04,
0.05,
0.06,
0.07,
0.08,
0.09,
0.1,
0.11,
0.12,
0.13,
0.14,
0.15,
0.16,
0.17,
0.18,
0.19,
0.2,
0.21,
0.22,
0.23,
0.24,
0.25,
0.26,
0.27,
0.28,
0.29,
0.3,
0.31,
0.32,
0.33,
0.34,
0.35000000000000003,
0.36,
0.37,
0.38,
0.39,
0.4,
0.41000000000000003,
0.42,
0.43,
0.44,
0.45,
0.46,
0.47000000000000003,
0.48,
0.49,
0.5,
0.51,
0.52,
0.53,
0.54,
0.55,
0.56,
0.5700000000000001,
0.58,
0.59,
0.6,
0.61,
0.62,
0.63,
0.64,
0.65,
0.66,
0.67,
0.68,
0.6900000000000001,
0.7000000000000001,
0.71,
0.72,
0.73,
0.74,
0.75,
0.76,
0.77,
0.78,
0.79,
0.8,
0.81,
0.8200000000000001,
0.8300000000000001,
0.84,
0.85,
0.86,
0.87,
0.88,
0.89,
0.9,
0.91,
0.92,
0.93,
0.9400000000000001,
0.9500000000000001,
0.96,
0.97,
0.98,
0.99,
1,
1.01,
1.02,
1.03,
1.04,
1.05,
1.06,
1.07,
1.08,
1.09,
1.1,
1.11,
1.12,
1.1300000000000001,
1.1400000000000001,
1.1500000000000001,
1.16,
1.17,
1.18,
1.19,
1.2,
1.21,
1.22,
1.23,
1.24,
1.25,
1.26,
1.27,
1.28,
1.29,
1.3,
1.31,
1.32,
1.33,
1.34,
1.35,
1.36,
1.37,
1.3800000000000001,
1.3900000000000001,
1.4000000000000001,
1.41,
1.42,
1.43,
1.44,
1.45,
1.46,
1.47,
1.48,
1.49,
1.5,
1.51,
1.52,
1.53,
1.54,
1.55,
1.56,
1.57,
1.58,
1.59,
1.6,
1.61,
1.62,
1.6300000000000001,
1.6400000000000001,
1.6500000000000001,
1.6600000000000001,
1.67,
1.68,
1.69,
1.7,
1.71,
1.72,
1.73,
1.74,
1.75,
1.76,
1.77,
1.78,
1.79,
1.8,
1.81,
1.82,
1.83,
1.84,
1.85,
1.86,
1.87,
1.8800000000000001,
1.8900000000000001,
1.9000000000000001,
1.9100000000000001,
1.92,
1.93,
1.94,
1.95,
1.96,
1.97,
1.98,
1.99,
2,
2.0100000000000002,
2.02,
2.0300000000000002,
2.04,
2.05,
2.06,
2.07,
2.08,
2.09,
2.1,
2.11,
2.12,
2.13,
2.14,
2.15,
2.16,
2.17,
2.18,
2.19,
2.2,
2.21,
2.22,
2.23,
2.24,
2.25,
2.2600000000000002,
2.27,
2.2800000000000002,
2.29,
2.3000000000000003,
2.31,
2.32,
2.33,
2.34,
2.35,
2.36,
2.37,
2.38,
2.39,
2.4,
2.41,
2.42,
2.43,
2.44,
2.45,
2.46,
2.47,
2.48,
2.49,
2.5,
2.5100000000000002,
2.52,
2.5300000000000002,
2.54,
2.5500000000000003,
2.56,
2.57,
2.58,
2.59,
2.6,
2.61,
2.62,
2.63,
2.64,
2.65,
2.66,
2.67,
2.68,
2.69,
2.7,
2.71,
2.72,
2.73,
2.74,
2.75,
2.7600000000000002,
2.77,
2.7800000000000002,
2.79,
2.8000000000000003,
2.81,
2.82,
2.83,
2.84,
2.85,
2.86,
2.87,
2.88,
2.89,
2.9,
2.91,
2.92,
2.93,
2.94,
2.95,
2.96,
2.97,
2.98,
2.99,
3
],
"y": [
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
0,
575653,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
0
],
"y": [
0
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
3,
575653,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
3
],
"y": [
0
]
},
{
"fill": "tozeroy",
"hoverinfo": "skip",
"hovertemplate": "",
"line": {
"color": "mediumpurple",
"width": 1
},
"mode": "lines",
"name": "Distributed
Load",
"type": "scatter",
"x": [
0,
0.01,
0.02,
0.03,
0.04,
0.05,
0.06,
0.07,
0.08,
0.09,
0.1,
0.11,
0.12,
0.13,
0.14,
0.15,
0.16,
0.17,
0.18,
0.19,
0.2,
0.21,
0.22,
0.23,
0.24,
0.25,
0.26,
0.27,
0.28,
0.29,
0.3,
0.31,
0.32,
0.33,
0.34,
0.35000000000000003,
0.36,
0.37,
0.38,
0.39,
0.4,
0.41000000000000003,
0.42,
0.43,
0.44,
0.45,
0.46,
0.47000000000000003,
0.48,
0.49,
0.5,
0.51,
0.52,
0.53,
0.54,
0.55,
0.56,
0.5700000000000001,
0.58,
0.59,
0.6,
0.61,
0.62,
0.63,
0.64,
0.65,
0.66,
0.67,
0.68,
0.6900000000000001,
0.7000000000000001,
0.71,
0.72,
0.73,
0.74,
0.75,
0.76,
0.77,
0.78,
0.79,
0.8,
0.81,
0.8200000000000001,
0.8300000000000001,
0.84,
0.85,
0.86,
0.87,
0.88,
0.89,
0.9,
0.91,
0.92,
0.93,
0.9400000000000001,
0.9500000000000001,
0.96,
0.97,
0.98,
0.99,
1,
1.01,
1.02,
1.03,
1.04,
1.05,
1.06,
1.07,
1.08,
1.09,
1.1,
1.11,
1.12,
1.1300000000000001,
1.1400000000000001,
1.1500000000000001,
1.16,
1.17,
1.18,
1.19,
1.2,
1.21,
1.22,
1.23,
1.24,
1.25,
1.26,
1.27,
1.28,
1.29,
1.3,
1.31,
1.32,
1.33,
1.34,
1.35,
1.36,
1.37,
1.3800000000000001,
1.3900000000000001,
1.4000000000000001,
1.41,
1.42,
1.43,
1.44,
1.45,
1.46,
1.47,
1.48,
1.49,
1.5,
1.51,
1.52,
1.53,
1.54,
1.55,
1.56,
1.57,
1.58,
1.59,
1.6,
1.61,
1.62,
1.6300000000000001,
1.6400000000000001,
1.6500000000000001,
1.6600000000000001,
1.67,
1.68,
1.69,
1.7,
1.71,
1.72,
1.73,
1.74,
1.75,
1.76,
1.77,
1.78,
1.79,
1.8,
1.81,
1.82,
1.83,
1.84,
1.85,
1.86,
1.87,
1.8800000000000001,
1.8900000000000001,
1.9000000000000001,
1.9100000000000001,
1.92,
1.93,
1.94,
1.95,
1.96,
1.97,
1.98,
1.99,
2,
2.0100000000000002,
2.02,
2.0300000000000002,
2.04,
2.05,
2.06,
2.07,
2.08,
2.09,
2.1,
2.11,
2.12,
2.13,
2.14,
2.15,
2.16,
2.17,
2.18,
2.19,
2.2,
2.21,
2.22,
2.23,
2.24,
2.25,
2.2600000000000002,
2.27,
2.2800000000000002,
2.29,
2.3000000000000003,
2.31,
2.32,
2.33,
2.34,
2.35,
2.36,
2.37,
2.38,
2.39,
2.4,
2.41,
2.42,
2.43,
2.44,
2.45,
2.46,
2.47,
2.48,
2.49,
2.5,
2.5100000000000002,
2.52,
2.5300000000000002,
2.54,
2.5500000000000003,
2.56,
2.57,
2.58,
2.59,
2.6,
2.61,
2.62,
2.63,
2.64,
2.65,
2.66,
2.67,
2.68,
2.69,
2.7,
2.71,
2.72,
2.73,
2.74,
2.75,
2.7600000000000002,
2.77,
2.7800000000000002,
2.79,
2.8000000000000003,
2.81,
2.82,
2.83,
2.84,
2.85,
2.86,
2.87,
2.88,
2.89,
2.9,
2.91,
2.92,
2.93,
2.94,
2.95,
2.96,
2.97,
2.98,
2.99,
3
],
"y": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
0,
-64152,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
0
],
"y": [
0
]
},
{
"hoverinfo": "skip",
"hovertemplate": "x: %{meta[0]:.3f} %{meta[3]}
Force: %{meta[1]:.3f} %{meta[4]}
Angle: %{meta[2]:.3f} deg",
"marker": {
"color": "mediumpurple",
"size": 10,
"symbol": "triangle-up"
},
"meta": [
3,
-64152,
90,
"m",
"N/m"
],
"mode": "markers",
"name": "Distributed
Load",
"opacity": 0,
"showlegend": false,
"type": "scatter",
"x": [
3
],
"y": [
0
]
}
],
"layout": {
"annotations": [
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "575653.000 N/m",
"x": 0,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": -39
},
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "575653.000 N/m",
"x": 3,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": -39
},
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "-64152.000 N/m",
"x": 0,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": 39
},
{
"font": {
"color": "mediumpurple"
},
"showarrow": false,
"text": "-64152.000 N/m",
"x": 3,
"xref": "x",
"xshift": 0,
"y": 0,
"yref": "y",
"yshift": 39
}
],
"height": 350,
"hovermode": "x",
"shapes": [
{
"fillcolor": "blue",
"line": {
"color": "blue",
"width": 4
},
"type": "rect",
"x0": -2,
"x1": -2,
"xanchor": 1.5,
"xref": "x",
"xsizemode": "pixel",
"y0": -5,
"y1": 5,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 3,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 3,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 3,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": -30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 0,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": -3,
"xanchor": 3,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 3,
"xanchor": 3,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 3,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
},
{
"line": {
"color": "mediumpurple",
"width": 2
},
"type": "line",
"x0": 0,
"x1": 0,
"xanchor": 3,
"xref": "x",
"xsizemode": "pixel",
"y0": 0,
"y1": 30,
"yanchor": 0,
"yref": "y",
"ysizemode": "pixel"
}
],
"showlegend": false,
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"size": 24
},
"text": "Foundation schematic (width)",
"x": 0.5
},
"xaxis": {
"title": {
"text": "Foundation width"
}
},
"yaxis": {
"fixedrange": true,
"range": [
-3,
3
],
"visible": false
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# The loading on the foundation in y direction showing the soil pressure and self weight on the foundation\n",
"fdn_design.plot_foundation_loading_Y()"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"fill": "tozeroy",
"hovertemplate": "x: %{x:.3f} %{meta[0]}
f(x): %{y:.3f} %{meta[1]}",
"line": {
"color": "lightgreen",
"width": 1
},
"meta": [
"m",
"N.m"
],
"mode": "lines",
"name": "Bending Moment",
"type": "scatter",
"x": [
0,
1e-7,
0.018090452261306532,
0.036180904522613064,
0.054271356783919596,
0.07236180904522613,
0.09045226130653267,
0.10854271356783919,
0.12663316582914572,
0.14472361809045226,
0.1628140703517588,
0.18090452261306533,
0.19899497487437184,
0.21708542713567838,
0.23517587939698492,
0.25326633165829143,
0.271356783919598,
0.2894472361809045,
0.307537688442211,
0.3256281407035176,
0.3437185929648241,
0.36180904522613067,
0.3798994974874372,
0.3979899497487437,
0.41608040201005025,
0.43417085427135677,
0.4522613065326633,
0.47035175879396984,
0.48844221105527635,
0.5065326633165829,
0.5246231155778894,
0.542713567839196,
0.5608040201005025,
0.578894472361809,
0.5969849246231156,
0.615075376884422,
0.6331658291457286,
0.6512562814070352,
0.6693467336683416,
0.6874371859296482,
0.7055276381909548,
0.7236180904522613,
0.7417085427135678,
0.7597989949748744,
0.7778894472361809,
0.7959798994974874,
0.8140703517587939,
0.8321608040201005,
0.850251256281407,
0.8683417085427135,
0.8864321608040201,
0.9045226130653266,
0.9226130653266331,
0.9407035175879397,
0.9587939698492461,
0.9768844221105527,
0.9949748743718593,
1.0130653266331657,
1.0311557788944723,
1.0492462311557789,
1.0673366834170854,
1.085427135678392,
1.1035175879396983,
1.121608040201005,
1.1396984924623115,
1.157788944723618,
1.1758793969849246,
1.1939698492462312,
1.2120603015075377,
1.230150753768844,
1.2482412060301507,
1.2663316582914572,
1.2844221105527638,
1.3025125628140704,
1.320603015075377,
1.3386934673366833,
1.3567839195979898,
1.3748743718592964,
1.392964824120603,
1.4110552763819095,
1.429145728643216,
1.4472361809045227,
1.465326633165829,
1.4834170854271356,
1.5015075376884421,
1.5195979899497487,
1.5376884422110553,
1.5557788944723618,
1.5738693467336682,
1.5919597989949748,
1.6100502512562813,
1.6281407035175879,
1.6462311557788945,
1.664321608040201,
1.6824120603015074,
1.700502512562814,
1.7185929648241205,
1.736683417085427,
1.7547738693467336,
1.7728643216080402,
1.7909547738693468,
1.7999999,
1.8000001,
1.809045226130653,
1.8271356783919597,
1.8452261306532662,
1.8633165829145728,
1.8814070351758794,
1.899497487437186,
1.9175879396984923,
1.9356783919597988,
1.9537688442211054,
1.971859296482412,
1.9899497487437185,
2.008040201005025,
2.0261306532663315,
2.044221105527638,
2.0623115577889446,
2.080402010050251,
2.0984924623115577,
2.1165829145728643,
2.134673366834171,
2.1527638190954774,
2.170854271356784,
2.1889447236180906,
2.2070351758793967,
2.2251256281407032,
2.24321608040201,
2.2613065326633164,
2.279396984924623,
2.2974874371859295,
2.315577889447236,
2.3336683417085426,
2.351758793969849,
2.369849246231156,
2.3879396984924623,
2.406030150753769,
2.4241206030150755,
2.4422110552763816,
2.460301507537688,
2.4783919597989947,
2.4964824120603013,
2.514572864321608,
2.5326633165829144,
2.550753768844221,
2.5688442211055276,
2.586934673366834,
2.6050251256281407,
2.6231155778894473,
2.641206030150754,
2.6592964824120604,
2.6773869346733665,
2.695477386934673,
2.7135678391959797,
2.7316582914572862,
2.749748743718593,
2.7678391959798994,
2.785929648241206,
2.8040201005025125,
2.822110552763819,
2.8402010050251256,
2.858291457286432,
2.8763819095477388,
2.8944723618090453,
2.9125628140703514,
2.930653266331658,
2.9487437185929646,
2.966834170854271,
2.9849246231155777,
3.0030150753768843,
3.021105527638191,
3.0391959798994974,
3.057286432160804,
3.0753768844221105,
3.093467336683417,
3.1115577889447237,
3.12964824120603,
3.1477386934673364,
3.165829145728643,
3.1839195979899495,
3.202010050251256,
3.2201005025125626,
3.238190954773869,
3.2562814070351758,
3.2743718592964823,
3.292462311557789,
3.3105527638190955,
3.328643216080402,
3.3467336683417086,
3.3648241206030147,
3.3829145728643213,
3.401005025125628,
3.4190954773869344,
3.437185929648241,
3.4552763819095476,
3.473366834170854,
3.4914572864321607,
3.5095477386934673,
3.527638190954774,
3.5457286432160804,
3.563819095477387,
3.5819095477386935,
3.5999999000000003,
3.6
],
"y": [
0,
1.680645008344583e-9,
55.050941300274246,
220.40137702222887,
496.34772489756176,
883.1864026579705,
1381.213828035153,
1990.7264187608075,
2712.0205925666305,
3545.392767184321,
4491.139360345578,
5549.5567897820965,
6720.941473225575,
8005.589828407714,
9403.798273060207,
10915.863224914754,
12542.08110170306,
14282.748321156803,
16138.161301007698,
18108.616458987446,
20194.41021282773,
22395.838980260254,
24713.199179016723,
27146.787226828816,
29696.89954142826,
32363.832540546733,
35147.882641915916,
38049.346263267544,
41068.5198223333,
44205.699736844865,
47461.182424533974,
50835.2643031323,
54328.2417903715,
57940.41130398336,
61672.06926169952,
65523.51208125168,
69495.03618037156,
73586.93797679085,
77799.51388824121,
82133.06033245442,
86587.8737271621,
91164.25049009599,
95862.48703898775,
100682.87979156914,
105625.72516557181,
110691.31957872743,
115879.95944876778,
121191.94119342451,
126627.5612304293,
132187.1159775139,
137870.90185240994,
143679.21527284916,
149612.35265656325,
155670.61042128396,
161854.28498474287,
168163.6727646718,
174599.07017880242,
181160.7736448663,
187849.0795805953,
194664.28440372107,
201606.6845319753,
208676.5763830897,
215874.2563747958,
223200.02092482557,
230654.16645091065,
238236.98937078257,
245948.78610217315,
253789.85306281416,
261760.48667043712,
269860.98334277375,
278091.63949755597,
286452.75155251526,
294944.61592538335,
303567.529033892,
312321.7872957728,
321207.68712875753,
330225.52495057794,
339375.5971789657,
348658.2002316524,
358073.6305263699,
367622.18448084977,
377304.1585128237,
387119.84904002346,
397069.5524801807,
407153.5652510272,
417372.18377029453,
427725.70445571456,
438214.4237250189,
448838.63799593906,
459598.64368620695,
470494.7372135543,
481527.2149957128,
492696.37345041404,
504002.5089953898,
515445.91804837156,
527026.8970270914,
538745.7423492807,
550602.7504326714,
562598.2176949949,
574732.4405539832,
587005.715427368,
593194.5213858471,
787856.9451639772,
780200.8629539863,
764993.2995515696,
749925.6774167445,
734998.2929672429,
720211.4426207958,
705565.4227951353,
691060.5299079933,
676697.060377101,
662475.3106201902,
648395.577054993,
634458.1560992408,
620663.3441706655,
607011.4376869985,
593502.7330659713,
580137.5267253164,
566916.1150827649,
553838.7945560483,
540905.8615628988,
528117.6125210482,
515474.3438482279,
502976.3519621694,
490623.9332806047,
478417.38422126556,
466357.0012018834,
454443.08064019005,
442675.9189539172,
431055.8125607965,
419583.0578785599,
408257.9513249387,
397080.78931766475,
386051.8682744698,
375171.4846130857,
364439.93475124426,
353857.5151066765,
343424.5220971146,
333141.25214029045,
323008.0016539353,
313025.06705578085,
303192.7447635593,
293511.33119500167,
283981.1227678405,
274602.41589980666,
265375.5070086322,
256300.69251204858,
247378.26882778818,
238608.53237358204,
229991.77956716222,
221528.30682626,
213218.41056860794,
205062.38721193656,
197060.53317397842,
189213.14487246482,
181520.51872512733,
173982.9511496982,
166600.73856390856,
159374.17738549082,
152303.56403217572,
145389.19492169566,
138631.366471782,
132030.3751001668,
125586.5172245813,
119300.08926275809,
113171.38763242748,
107200.7087513222,
101388.34903717315,
95734.60490771351,
90239.77278067317,
84904.14907378491,
79728.03020478005,
74711.71259139036,
69855.4926513476,
65159.66680238364,
60624.53146222973,
56250.38304861894,
52037.51797928056,
47986.232671947684,
44096.82354435255,
40369.58701422543,
36804.81949929992,
33402.81741730531,
30163.877185975434,
27088.295223040623,
24176.367946233542,
21428.391773285053,
18844.66312192747,
16425.47840989259,
14171.134054911323,
12081.926474715758,
10158.152087037859,
8400.107309609186,
6808.088560161297,
5382.3922564259265,
4123.314816135331,
3031.1526570198475,
2106.202196812257,
1348.7598532442353,
759.1220440472825,
337.5851869531325,
84.44569969305303,
2.444721758365631e-9,
-2.3283064365386963e-10
]
}
],
"layout": {
"annotations": [
{
"arrowhead": 1,
"ax": 0,
"ay": -40,
"showarrow": true,
"text": "2.025 m
607860.565 N.m",
"x": 2.025,
"xref": "x",
"y": 607860.5646694386,
"yref": "y"
}
],
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"size": 30
},
"text": "Bending Moment Plot"
},
"xaxis": {
"title": {
"text": "Foundation length"
}
},
"yaxis": {
"autorange": "reversed",
"title": {
"text": "Bending Moment (N.m)"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Plot the bending moment diagram of the foundation in x direction\n",
"fdn_design.plot_bending_moment_X()\n"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"fill": "tozeroy",
"hovertemplate": "x: %{x:.3f} %{meta[0]}
f(x): %{y:.3f} %{meta[1]}",
"line": {
"color": "lightgreen",
"width": 1
},
"meta": [
"m",
"N.m"
],
"mode": "lines",
"name": "Bending Moment",
"type": "scatter",
"x": [
0,
1e-7,
0.01507537688442211,
0.03015075376884422,
0.04522613065326633,
0.06030150753768844,
0.07537688442211055,
0.09045226130653267,
0.10552763819095477,
0.12060301507537688,
0.135678391959799,
0.1507537688442211,
0.1658291457286432,
0.18090452261306533,
0.19597989949748743,
0.21105527638190955,
0.22613065326633164,
0.24120603015075376,
0.2562814070351759,
0.271356783919598,
0.28643216080402006,
0.3015075376884422,
0.3165829145728643,
0.3316582914572864,
0.34673366834170855,
0.36180904522613067,
0.37688442211055273,
0.39195979899497485,
0.40703517587939697,
0.4221105527638191,
0.4371859296482412,
0.4522613065326633,
0.4673366834170854,
0.4824120603015075,
0.49748743718592964,
0.5125628140703518,
0.5276381909547738,
0.542713567839196,
0.5577889447236181,
0.5728643216080401,
0.5879396984924623,
0.6030150753768844,
0.6180904522613065,
0.6331658291457286,
0.6482412060301507,
0.6633165829145728,
0.6783919597989949,
0.6934673366834171,
0.7085427135678392,
0.7236180904522613,
0.7386934673366834,
0.7537688442211055,
0.7688442211055276,
0.7839195979899497,
0.7989949748743719,
0.8140703517587939,
0.829145728643216,
0.8442211055276382,
0.8592964824120602,
0.8743718592964824,
0.8894472361809045,
0.9045226130653266,
0.9195979899497487,
0.9346733668341708,
0.949748743718593,
0.964824120603015,
0.9798994974874371,
0.9949748743718593,
1.0100502512562815,
1.0251256281407035,
1.0402010050251256,
1.0552763819095476,
1.0703517587939697,
1.085427135678392,
1.100502512562814,
1.1155778894472361,
1.1306532663316582,
1.1457286432160803,
1.1608040201005025,
1.1758793969849246,
1.1909547738693467,
1.2060301507537687,
1.2211055276381908,
1.236180904522613,
1.2512562814070352,
1.2663316582914572,
1.2814070351758793,
1.2964824120603013,
1.3115577889447236,
1.3266331658291457,
1.3417085427135678,
1.3567839195979898,
1.371859296482412,
1.3869346733668342,
1.4020100502512562,
1.4170854271356783,
1.4321608040201004,
1.4472361809045227,
1.4623115577889447,
1.4773869346733668,
1.4924623115577889,
1.4999999,
1.5000001,
1.507537688442211,
1.5226130653266332,
1.5376884422110553,
1.5527638190954773,
1.5678391959798994,
1.5829145728643215,
1.5979899497487438,
1.6130653266331658,
1.6281407035175879,
1.64321608040201,
1.658291457286432,
1.6733668341708543,
1.6884422110552764,
1.7035175879396984,
1.7185929648241205,
1.7336683417085426,
1.7487437185929648,
1.763819095477387,
1.778894472361809,
1.793969849246231,
1.809045226130653,
1.8241206030150754,
1.8391959798994975,
1.8542713567839195,
1.8693467336683416,
1.8844221105527637,
1.899497487437186,
1.914572864321608,
1.92964824120603,
1.9447236180904521,
1.9597989949748742,
1.9748743718592965,
1.9899497487437185,
2.0050251256281406,
2.020100502512563,
2.0351758793969847,
2.050251256281407,
2.065326633165829,
2.080402010050251,
2.0954773869346734,
2.1105527638190953,
2.1256281407035176,
2.1407035175879394,
2.1557788944723617,
2.170854271356784,
2.185929648241206,
2.201005025125628,
2.21608040201005,
2.2311557788944723,
2.2462311557788945,
2.2613065326633164,
2.2763819095477387,
2.2914572864321605,
2.306532663316583,
2.321608040201005,
2.336683417085427,
2.351758793969849,
2.366834170854271,
2.3819095477386933,
2.3969849246231156,
2.4120603015075375,
2.4271356783919598,
2.4422110552763816,
2.457286432160804,
2.472361809045226,
2.487437185929648,
2.5025125628140703,
2.517587939698492,
2.5326633165829144,
2.5477386934673367,
2.5628140703517586,
2.577889447236181,
2.5929648241206027,
2.608040201005025,
2.6231155778894473,
2.638190954773869,
2.6532663316582914,
2.6683417085427132,
2.6834170854271355,
2.698492462311558,
2.7135678391959797,
2.728643216080402,
2.743718592964824,
2.758793969849246,
2.7738693467336684,
2.78894472361809,
2.8040201005025125,
2.8190954773869343,
2.8341708542713566,
2.849246231155779,
2.8643216080402008,
2.879396984924623,
2.8944723618090453,
2.909547738693467,
2.9246231155778895,
2.9396984924623113,
2.9547738693467336,
2.969849246231156,
2.9849246231155777,
2.9999999,
3
],
"y": [
0,
2.5575049999999994e-9,
58.123645867528595,
232.49458347011438,
523.1128128077573,
929.9783338804575,
1453.0911466882146,
2092.4512512310293,
2848.0586475089012,
3719.91333552183,
4708.015315269817,
5812.3645867528585,
7032.96114997096,
8369.805004924117,
9822.89615161233,
11392.234590035605,
13077.820320193932,
14879.65334208732,
16797.733655715765,
18832.061261079267,
20982.63615817782,
23249.458347011434,
25632.52782758011,
28131.84459988384,
30747.40866392263,
33479.22001969647,
36327.27866720537,
39291.58460644932,
42372.137837428345,
45568.93836014242,
48881.986174591555,
52311.28128077573,
55856.82367869498,
59518.61336834928,
63296.650349738644,
67190.93462286306,
71201.46618772253,
75328.24504431707,
79571.27119264664,
83930.54463271127,
88406.065364511,
92997.83338804574,
97705.84870331558,
102530.11131032044,
107470.62120906035,
112527.37839953536,
117700.38288174539,
122989.63465569052,
128395.13372137066,
133916.88007878588,
139554.87372793615,
145309.11466882148,
151179.6029014419,
157166.3384257973,
163269.32124188784,
169488.55134971338,
175824.02874927397,
182275.75344056968,
188843.7254236004,
195527.94469836622,
202328.41126486703,
209245.12512310292,
216278.08627307392,
223427.2947147799,
230692.75044822102,
238074.45347339712,
245572.40379030828,
253186.60139895458,
260917.04629933587,
268763.73849145224,
276726.67797530367,
284805.8647508901,
293001.2988182116,
301312.98017726827,
309740.9088280599,
318285.0847705866,
326945.50800484826,
335722.1785308451,
344615.09634857706,
353624.261458044,
362749.67385924596,
371991.33355218294,
381349.24053685507,
390823.39481326233,
400413.7963814045,
410120.44524128176,
419943.34139289404,
429882.4848362414,
439937.87557132397,
450109.51359814144,
460397.3989166939,
470801.53152698156,
481321.91142900416,
491958.5386227621,
502711.41310825484,
513580.53488548263,
524565.9039544455,
535667.5203151435,
546885.3839675765,
558219.4949117446,
569669.8531476477,
575438.5482748526,
575438.5482748525,
569669.8531476479,
558219.4949117446,
546885.3839675765,
535667.5203151436,
524565.9039544456,
513580.53488548275,
502711.4131082548,
491958.538622762,
481321.9114290044,
470801.53152698174,
460397.3989166941,
450109.51359814155,
439937.87557132397,
429882.4848362415,
419943.3413928943,
410120.4452412819,
400413.79638140457,
390823.39481326233,
381349.2405368551,
371991.3335521831,
362749.6738592461,
353624.261458044,
344615.0963485771,
335722.1785308453,
326945.5080048485,
318285.0847705867,
309740.9088280599,
301312.9801772684,
293001.29881821177,
284805.8647508902,
276726.6779753037,
268763.7384914522,
260917.046299336,
253186.60139895452,
245572.40379030816,
238074.45347339718,
230692.750448221,
223427.29471477994,
216278.08627307415,
209245.12512310292,
202328.4112648673,
195527.9446983661,
188843.72542360052,
182275.75344056974,
175824.02874927397,
169488.55134971347,
163269.32124188798,
157166.33842579764,
151179.60290144198,
145309.11466882145,
139554.87372793606,
133916.88007878582,
128395.13372137072,
122989.63465569052,
117700.38288174523,
112527.37839953555,
107470.62120906054,
102530.11131032044,
97705.84870331571,
92997.8333880459,
88406.06536451099,
83930.54463271121,
79571.27119264682,
75328.2450443171,
71201.46618772252,
67190.93462286331,
63296.650349738775,
59518.61336834938,
55856.82367869513,
52311.28128077579,
48881.986174591584,
45568.93836014252,
42372.13783742837,
39291.58460644935,
36327.278667205246,
33479.22001969651,
30747.408663922688,
28131.844599884003,
25632.527827579994,
23249.458347011358,
20982.636158177862,
18832.061261079274,
16797.733655715594,
14879.653342087287,
13077.820320193889,
11392.234590035863,
9822.896151612513,
8369.805004924303,
7032.961149971001,
5812.364586752839,
4708.0153152698185,
3719.9133355217054,
2848.058647508733,
2092.451251231134,
1453.091146687977,
929.9783338801935,
523.1128128077835,
232.4945834702812,
58.12364586722106,
2.3283064365386963e-9,
0
]
}
],
"layout": {
"annotations": [
{
"arrowhead": 1,
"ax": 0,
"ay": -40,
"showarrow": true,
"text": "1.725 m
415754.472 N.m",
"x": 1.725,
"xref": "x",
"y": 415754.47177888,
"yref": "y"
}
],
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"size": 30
},
"text": "Bending Moment Plot"
},
"xaxis": {
"title": {
"text": "Foundation width"
}
},
"yaxis": {
"autorange": "reversed",
"title": {
"text": "Bending Moment (N.m)"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Plot the bending moment diagram of the foundation in y direction\n",
"fdn_design.plot_bending_moment_Y()\n"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"fill": "tozeroy",
"hovertemplate": "x: %{x:.3f} %{meta[0]}
f(x): %{y:.3f} %{meta[1]}",
"line": {
"color": "aqua",
"width": 1
},
"meta": [
"m",
"N"
],
"mode": "lines",
"name": "Shear Force",
"type": "scatter",
"x": [
0,
1e-7,
0.018090452261306532,
0.036180904522613064,
0.054271356783919596,
0.07236180904522613,
0.09045226130653267,
0.10854271356783919,
0.12663316582914572,
0.14472361809045226,
0.1628140703517588,
0.18090452261306533,
0.19899497487437184,
0.21708542713567838,
0.23517587939698492,
0.25326633165829143,
0.271356783919598,
0.2894472361809045,
0.307537688442211,
0.3256281407035176,
0.3437185929648241,
0.36180904522613067,
0.3798994974874372,
0.3979899497487437,
0.41608040201005025,
0.43417085427135677,
0.4522613065326633,
0.47035175879396984,
0.48844221105527635,
0.5065326633165829,
0.5246231155778894,
0.542713567839196,
0.5608040201005025,
0.578894472361809,
0.5969849246231156,
0.615075376884422,
0.6331658291457286,
0.6512562814070352,
0.6693467336683416,
0.6874371859296482,
0.7055276381909548,
0.7236180904522613,
0.7417085427135678,
0.7597989949748744,
0.7778894472361809,
0.7959798994974874,
0.8140703517587939,
0.8321608040201005,
0.850251256281407,
0.8683417085427135,
0.8864321608040201,
0.9045226130653266,
0.9226130653266331,
0.9407035175879397,
0.9587939698492461,
0.9768844221105527,
0.9949748743718593,
1.0130653266331657,
1.0311557788944723,
1.0492462311557789,
1.0673366834170854,
1.085427135678392,
1.1035175879396983,
1.121608040201005,
1.1396984924623115,
1.157788944723618,
1.1758793969849246,
1.1939698492462312,
1.2120603015075377,
1.230150753768844,
1.2482412060301507,
1.2663316582914572,
1.2844221105527638,
1.3025125628140704,
1.320603015075377,
1.3386934673366833,
1.3567839195979898,
1.3748743718592964,
1.392964824120603,
1.4110552763819095,
1.429145728643216,
1.4472361809045227,
1.465326633165829,
1.4834170854271356,
1.5015075376884421,
1.5195979899497487,
1.5376884422110553,
1.5557788944723618,
1.5738693467336682,
1.5919597989949748,
1.6100502512562813,
1.6281407035175879,
1.6462311557788945,
1.664321608040201,
1.6824120603015074,
1.700502512562814,
1.7185929648241205,
1.736683417085427,
1.7547738693467336,
1.7728643216080402,
1.7909547738693468,
1.7999999,
1.8000001,
1.809045226130653,
1.8271356783919597,
1.8452261306532662,
1.8633165829145728,
1.8814070351758794,
1.899497487437186,
1.9175879396984923,
1.9356783919597988,
1.9537688442211054,
1.971859296482412,
1.9899497487437185,
2.008040201005025,
2.0261306532663315,
2.044221105527638,
2.0623115577889446,
2.080402010050251,
2.0984924623115577,
2.1165829145728643,
2.134673366834171,
2.1527638190954774,
2.170854271356784,
2.1889447236180906,
2.2070351758793967,
2.2251256281407032,
2.24321608040201,
2.2613065326633164,
2.279396984924623,
2.2974874371859295,
2.315577889447236,
2.3336683417085426,
2.351758793969849,
2.369849246231156,
2.3879396984924623,
2.406030150753769,
2.4241206030150755,
2.4422110552763816,
2.460301507537688,
2.4783919597989947,
2.4964824120603013,
2.514572864321608,
2.5326633165829144,
2.550753768844221,
2.5688442211055276,
2.586934673366834,
2.6050251256281407,
2.6231155778894473,
2.641206030150754,
2.6592964824120604,
2.6773869346733665,
2.695477386934673,
2.7135678391959797,
2.7316582914572862,
2.749748743718593,
2.7678391959798994,
2.785929648241206,
2.8040201005025125,
2.822110552763819,
2.8402010050251256,
2.858291457286432,
2.8763819095477388,
2.8944723618090453,
2.9125628140703514,
2.930653266331658,
2.9487437185929646,
2.966834170854271,
2.9849246231155777,
3.0030150753768843,
3.021105527638191,
3.0391959798994974,
3.057286432160804,
3.0753768844221105,
3.093467336683417,
3.1115577889447237,
3.12964824120603,
3.1477386934673364,
3.165829145728643,
3.1839195979899495,
3.202010050251256,
3.2201005025125626,
3.238190954773869,
3.2562814070351758,
3.2743718592964823,
3.292462311557789,
3.3105527638190955,
3.328643216080402,
3.3467336683417086,
3.3648241206030147,
3.3829145728643213,
3.401005025125628,
3.4190954773869344,
3.437185929648241,
3.4552763819095476,
3.473366834170854,
3.4914572864321607,
3.5095477386934673,
3.527638190954774,
3.5457286432160804,
3.563819095477387,
3.5819095477386935,
3.5999999000000003,
3.6
],
"y": [
0,
0.0336129002503375,
6088.918284891795,
12194.221883285776,
18315.91079518194,
24453.985020580287,
30608.444559480817,
36779.28941188353,
42966.51957778844,
49170.135057195526,
55390.135850104794,
61626.52195651625,
67879.29337642988,
74148.4501098457,
80433.99215676372,
86735.9195171839,
93054.23219110629,
99388.93017853085,
105740.01347945757,
112107.48209388652,
118491.33602181761,
124891.57526325092,
131308.19981818643,
137741.20968662406,
144190.60486856394,
150656.38536400592,
157138.5511729502,
163637.1022953966,
170152.03873134518,
176683.3604807959,
183231.0675437489,
189795.15992020402,
196375.63761016136,
202972.50061362085,
209585.74893058257,
216215.3825610464,
222861.40150501247,
229523.80576248074,
236202.5953334511,
242897.77021792374,
249609.33041589856,
256337.27592737557,
263081.6067523547,
269842.3228908361,
276619.4243428196,
283412.9111083053,
290222.7831872932,
297049.0405797834,
303891.6832857756,
310750.71130527003,
317626.1246382667,
324517.92328476557,
331426.10724476655,
338350.67651826976,
345291.63110527507,
352248.9710057827,
359222.6962197924,
366212.80674730433,
373219.3025883185,
380242.1837428348,
387281.45021085325,
394337.10199237394,
401409.13908739673,
408497.5614959218,
415602.369217949,
422723.56225347845,
429861.1406025101,
437015.1042650438,
444185.4532410798,
451372.1875306178,
458575.30713365815,
465794.81205020077,
473030.7022802454,
480282.9778237923,
487551.6386808414,
494836.6848513925,
502138.1163354461,
509455.9331330017,
516790.1352440595,
524140.7226686194,
531507.6954066816,
538891.0534582459,
546290.7968233125,
553706.9255018813,
561139.4394939521,
568588.3387995253,
576053.6234186005,
583535.293351178,
591033.3485972575,
598547.7891568394,
606078.6150299234,
613625.8262165097,
621189.422716598,
628769.4045301887,
636365.7716572813,
643978.5240978762,
651607.6618519734,
659253.1849195727,
666915.0933006742,
674593.3869952778,
682288.0660033837,
686141.5073749502,
-848360.2073749497,
-844502.6696750083,
-836775.2200398981,
-829031.3850912857,
-821271.164829171,
-813494.5592535542,
-805701.5683644353,
-797892.1921618142,
-790066.430645691,
-782224.2838160653,
-774365.7516729377,
-766490.8342163077,
-758599.5314461756,
-750691.8433625415,
-742767.7699654051,
-734827.3112547664,
-726870.4672306256,
-718897.2378929825,
-710907.6232418374,
-702901.62327719,
-694879.2379990404,
-686840.4674073887,
-678785.3115022348,
-670713.7702835788,
-662625.8437514206,
-654521.53190576,
-646400.8347465975,
-638263.7522739326,
-630110.2844877655,
-621940.4313880963,
-613754.192974925,
-605551.5692482513,
-597332.5602080757,
-589097.1658543977,
-580845.3861872175,
-572577.2212065351,
-564292.6709123509,
-555991.7353046642,
-547674.4143834753,
-539340.7081487842,
-530990.616600591,
-522624.13973889564,
-514241.2775636979,
-505842.03007499827,
-497426.3972727962,
-488994.3791570921,
-480545.9757278857,
-472081.18698517716,
-463600.01292896643,
-455102.4535592537,
-446588.5088760387,
-438058.1788793213,
-429511.4635691019,
-420948.3629453804,
-412368.8770081565,
-403773.00575743045,
-395160.7491932022,
-386532.107315472,
-377887.0801242394,
-369225.66761950456,
-360547.86980126763,
-351853.68666952866,
-343143.1182242875,
-334416.16446554405,
-325672.8253932983,
-316913.1010075504,
-308136.9913083005,
-299344.4962955482,
-290535.61596929375,
-281710.3503295372,
-272868.69937627856,
-264010.66310951754,
-255136.24152925436,
-246245.43463548896,
-237338.24242822168,
-228414.66490745213,
-219474.70207318023,
-210518.3539254061,
-201545.62046412978,
-192556.5016893515,
-183550.99760107082,
-174529.10819928802,
-165490.8334840029,
-156436.17345521573,
-147365.12811292653,
-138277.69745713496,
-129173.88148784116,
-120053.68020504544,
-110917.09360874732,
-101764.12169894727,
-92594.76447564474,
-83409.02193884001,
-74206.89408853315,
-64988.380924724275,
-55753.48244741306,
-46502.19865659965,
-37234.52955228399,
-27950.475134466426,
-18650.035403146438,
-9333.210358324286,
-0.051637199736433104,
1.1641532182693481e-10
]
}
],
"layout": {
"annotations": [
{
"arrowhead": 1,
"ax": 0,
"ay": -40,
"showarrow": true,
"text": "1.063 m
385592.527 N",
"x": 1.0630000000000002,
"xref": "x",
"y": 385592.5273888256,
"yref": "y"
},
{
"arrowhead": 1,
"ax": 0,
"ay": 40,
"showarrow": true,
"text": "2.537 m
-520616.121 N",
"x": 2.537,
"xref": "x",
"y": -520616.1208612745,
"yref": "y"
}
],
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"size": 30
},
"text": "Shear Force Plot"
},
"xaxis": {
"title": {
"text": "Foundation length"
}
},
"yaxis": {
"title": {
"text": "Shear Force (N)"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Plot the shear force of the foundation in x direction\n",
"fdn_design.plot_shear_force_X()\n"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"fill": "tozeroy",
"hovertemplate": "x: %{x:.3f} %{meta[0]}
f(x): %{y:.3f} %{meta[1]}",
"line": {
"color": "aqua",
"width": 1
},
"meta": [
"m",
"N"
],
"mode": "lines",
"name": "Shear Force",
"type": "scatter",
"x": [
0,
1e-7,
0.01507537688442211,
0.03015075376884422,
0.04522613065326633,
0.06030150753768844,
0.07537688442211055,
0.09045226130653267,
0.10552763819095477,
0.12060301507537688,
0.135678391959799,
0.1507537688442211,
0.1658291457286432,
0.18090452261306533,
0.19597989949748743,
0.21105527638190955,
0.22613065326633164,
0.24120603015075376,
0.2562814070351759,
0.271356783919598,
0.28643216080402006,
0.3015075376884422,
0.3165829145728643,
0.3316582914572864,
0.34673366834170855,
0.36180904522613067,
0.37688442211055273,
0.39195979899497485,
0.40703517587939697,
0.4221105527638191,
0.4371859296482412,
0.4522613065326633,
0.4673366834170854,
0.4824120603015075,
0.49748743718592964,
0.5125628140703518,
0.5276381909547738,
0.542713567839196,
0.5577889447236181,
0.5728643216080401,
0.5879396984924623,
0.6030150753768844,
0.6180904522613065,
0.6331658291457286,
0.6482412060301507,
0.6633165829145728,
0.6783919597989949,
0.6934673366834171,
0.7085427135678392,
0.7236180904522613,
0.7386934673366834,
0.7537688442211055,
0.7688442211055276,
0.7839195979899497,
0.7989949748743719,
0.8140703517587939,
0.829145728643216,
0.8442211055276382,
0.8592964824120602,
0.8743718592964824,
0.8894472361809045,
0.9045226130653266,
0.9195979899497487,
0.9346733668341708,
0.949748743718593,
0.964824120603015,
0.9798994974874371,
0.9949748743718593,
1.0100502512562815,
1.0251256281407035,
1.0402010050251256,
1.0552763819095476,
1.0703517587939697,
1.085427135678392,
1.100502512562814,
1.1155778894472361,
1.1306532663316582,
1.1457286432160803,
1.1608040201005025,
1.1758793969849246,
1.1909547738693467,
1.2060301507537687,
1.2211055276381908,
1.236180904522613,
1.2512562814070352,
1.2663316582914572,
1.2814070351758793,
1.2964824120603013,
1.3115577889447236,
1.3266331658291457,
1.3417085427135678,
1.3567839195979898,
1.371859296482412,
1.3869346733668342,
1.4020100502512562,
1.4170854271356783,
1.4321608040201004,
1.4472361809045227,
1.4623115577889447,
1.4773869346733668,
1.4924623115577889,
1.4999999,
1.5000001,
1.507537688442211,
1.5226130653266332,
1.5376884422110553,
1.5527638190954773,
1.5678391959798994,
1.5829145728643215,
1.5979899497487438,
1.6130653266331658,
1.6281407035175879,
1.64321608040201,
1.658291457286432,
1.6733668341708543,
1.6884422110552764,
1.7035175879396984,
1.7185929648241205,
1.7336683417085426,
1.7487437185929648,
1.763819095477387,
1.778894472361809,
1.793969849246231,
1.809045226130653,
1.8241206030150754,
1.8391959798994975,
1.8542713567839195,
1.8693467336683416,
1.8844221105527637,
1.899497487437186,
1.914572864321608,
1.92964824120603,
1.9447236180904521,
1.9597989949748742,
1.9748743718592965,
1.9899497487437185,
2.0050251256281406,
2.020100502512563,
2.0351758793969847,
2.050251256281407,
2.065326633165829,
2.080402010050251,
2.0954773869346734,
2.1105527638190953,
2.1256281407035176,
2.1407035175879394,
2.1557788944723617,
2.170854271356784,
2.185929648241206,
2.201005025125628,
2.21608040201005,
2.2311557788944723,
2.2462311557788945,
2.2613065326633164,
2.2763819095477387,
2.2914572864321605,
2.306532663316583,
2.321608040201005,
2.336683417085427,
2.351758793969849,
2.366834170854271,
2.3819095477386933,
2.3969849246231156,
2.4120603015075375,
2.4271356783919598,
2.4422110552763816,
2.457286432160804,
2.472361809045226,
2.487437185929648,
2.5025125628140703,
2.517587939698492,
2.5326633165829144,
2.5477386934673367,
2.5628140703517586,
2.577889447236181,
2.5929648241206027,
2.608040201005025,
2.6231155778894473,
2.638190954773869,
2.6532663316582914,
2.6683417085427132,
2.6834170854271355,
2.698492462311558,
2.7135678391959797,
2.728643216080402,
2.743718592964824,
2.758793969849246,
2.7738693467336684,
2.78894472361809,
2.8040201005025125,
2.8190954773869343,
2.8341708542713566,
2.849246231155779,
2.8643216080402008,
2.879396984924623,
2.8944723618090453,
2.909547738693467,
2.9246231155778895,
2.9396984924623113,
2.9547738693467336,
2.969849246231156,
2.9849246231155777,
2.9999999,
3
],
"y": [
0,
0.051150100000000004,
7711.0703517587945,
15422.140703517589,
23133.21105527638,
30844.281407035178,
38555.351758793964,
46266.42211055276,
53977.49246231156,
61688.562814070356,
69399.63316582915,
77110.70351758793,
84821.77386934673,
92532.84422110552,
100243.91457286432,
107954.98492462312,
115666.0552763819,
123377.12562814071,
131088.1959798995,
138799.2663316583,
146510.33668341706,
154221.40703517586,
161932.47738693468,
169643.54773869345,
177354.61809045228,
185065.68844221105,
192776.75879396984,
200487.82914572864,
208198.89949748744,
215909.96984924623,
223621.040201005,
231332.1105527638,
239043.1809045226,
246754.25125628142,
254465.3216080402,
262176.391959799,
269887.4623115578,
277598.5326633166,
285309.6030150754,
293020.6733668341,
300731.743718593,
308442.8140703517,
316153.88442211057,
323864.95477386937,
331576.0251256281,
339287.0954773869,
346998.1658291457,
354709.23618090455,
362420.3065326633,
370131.3768844221,
377842.4472361809,
385553.5175879397,
393264.5879396985,
400975.6582914573,
408686.7286432161,
416397.7989949749,
424108.8693467336,
431819.93969849247,
439531.0100502512,
447242.08040201,
454953.1507537688,
462664.2211055276,
470375.2914572864,
478086.3618090452,
485797.43216080405,
493508.50251256285,
501219.5728643215,
508930.6432160804,
516641.7135678392,
524352.783919598,
532063.8542713567,
539774.9246231156,
547485.9949748743,
555197.0653266332,
562908.135678392,
570619.2060301508,
578330.2763819095,
586041.3467336682,
593752.4170854271,
601463.487437186,
609174.5577889447,
616885.6281407034,
624596.6984924623,
632307.7688442211,
640018.83919598,
647729.9095477387,
655440.9798994974,
663152.0502512562,
670863.1206030151,
678574.1909547738,
686285.2613065327,
693996.3316582914,
701707.4020100501,
709418.4723618091,
717129.5427135678,
724840.6130653266,
732551.6834170853,
740262.7537688442,
747973.824120603,
755684.8944723618,
763395.9648241205,
767251.4488498999,
-767251.4488498999,
-763395.9648241207,
-755684.8944723618,
-747973.8241206029,
-740262.7537688443,
-732551.6834170854,
-724840.6130653267,
-717129.542713568,
-709418.4723618091,
-701707.4020100503,
-693996.3316582916,
-686285.2613065328,
-678574.1909547738,
-670863.120603015,
-663152.0502512563,
-655440.9798994976,
-647729.9095477387,
-640018.83919598,
-632307.7688442211,
-624596.6984924623,
-616885.6281407037,
-609174.5577889448,
-601463.4874371858,
-593752.4170854273,
-586041.3467336684,
-578330.2763819096,
-570619.2060301506,
-562908.1356783919,
-555197.0653266332,
-547485.9949748742,
-539774.9246231157,
-532063.854271357,
-524352.783919598,
-516641.71356783924,
-508930.6432160805,
-501219.5728643215,
-493508.502512563,
-485797.43216080405,
-478086.3618090453,
-470375.29145728657,
-462664.2211055276,
-454953.15075376886,
-447242.0804020101,
-439531.0100502514,
-431819.9396984924,
-424108.86934673367,
-416397.79899497493,
-408686.72864321596,
-400975.65829145745,
-393264.5879396985,
-385553.5175879395,
-377842.447236181,
-370131.37688442226,
-362420.3065326635,
-354709.23618090455,
-346998.1658291458,
-339287.0954773871,
-331576.0251256281,
-323864.9547738696,
-316153.8844221106,
-308442.81407035165,
-300731.74371859315,
-293020.6733668342,
-285309.60301507544,
-277598.5326633167,
-269887.4623115577,
-262176.391959799,
-254465.32160804002,
-246754.2512562815,
-239043.18090452254,
-231332.11055276357,
-223621.0402010053,
-215909.96984924632,
-208198.89949748758,
-200487.82914572884,
-192776.75879396987,
-185065.68844221113,
-177354.6180904524,
-169643.54773869365,
-161932.47738693468,
-154221.40703517594,
-146510.3366834172,
-138799.26633165823,
-131088.19597989973,
-123377.12562814075,
-115666.05527638178,
-107954.98492462328,
-100243.9145728643,
-92532.84422110557,
-84821.77386934683,
-77110.70351758786,
-69399.63316582935,
-61688.56281407061,
-53977.49246231164,
-46266.4221105529,
-38555.35175879393,
-30844.28140703542,
-23133.21105527645,
-15422.140703517478,
-7711.070351758972,
-0.05115009984001517,
0
]
}
],
"layout": {
"annotations": [
{
"arrowhead": 1,
"ax": 0,
"ay": -40,
"showarrow": true,
"text": "0.779 m
398459.330 N",
"x": 0.779,
"xref": "x",
"y": 398459.3301501,
"yref": "y"
},
{
"arrowhead": 1,
"ax": 0,
"ay": 40,
"showarrow": true,
"text": "2.221 m
-398459.330 N",
"x": 2.221,
"xref": "x",
"y": -398459.3301500999,
"yref": "y"
}
],
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"size": 30
},
"text": "Shear Force Plot"
},
"xaxis": {
"title": {
"text": "Foundation width"
}
},
"yaxis": {
"title": {
"text": "Shear Force (N)"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Plot the shear force of the foundation in the Y direction\n",
"fdn_design.plot_shear_force_Y()\n"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The foundation design bending moment along the x direction is 607.861kNm\n",
"The foundation design bending moment along the y direction is 415.754kNm\n",
"The foundation design shear force along the x direction is 520.616kN\n",
"The foundation design shear force along the y direction is 398.459kN\n"
]
}
],
"source": [
"# Obtain the foundation design moments and shear force\n",
"bmx = fdn_design.get_design_moment_X()\n",
"bmy = fdn_design.get_design_moment_Y()\n",
"sfx = fdn_design.get_design_shear_force_X()\n",
"sfy = fdn_design.get_design_shear_force_Y()\n",
"print(\n",
" f\"The foundation design bending moment along the x direction is {bmx}kNm\")\n",
"print(\n",
" f\"The foundation design bending moment along the y direction is {bmy}kNm\")\n",
"print(f\"The foundation design shear force along the x direction is {sfx}kN\")\n",
"print(f\"The foundation design shear force along the y direction is {sfy}kN\")\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### CHECK REINFORCEMENTS REQUIREMENTS AND PROVISIONS"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The area of steel required is 958mm² along X direction\n"
]
}
],
"source": [
"# Check the area of steel required along x direction\n",
"steel_areaX = fdn_design.area_of_steel_reqd_X_dir()\n",
"print(f\"The area of steel required is {steel_areaX}mm\\u00b2 along X direction\")\n"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The area of steel required is 958mm² along X direction\n"
]
}
],
"source": [
"# Check the area of steel required along y direction\n",
"steel_areaX = fdn_design.area_of_steel_reqd_X_dir()\n",
"print(f\"The area of steel required is {steel_areaX}mm\\u00b2 along X direction\")\n"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'Provide H16mm bars spaced at 200.0mm c/c bottom. The area provided is 1005mm²/m parallel to the 3.6m side'"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Check the area of steel provided along the x direction\n",
"fdn_design.reinforcement_provision_flexure_X_dir()['status']\n"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'Provide H12mm bars spaced at 150.0mm c/c bottom. The area provided is 754mm²/m parallel to the 3.6m side'"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Check the area of steel provided along the Y direction\n",
"fdn_design.reinforcement_provision_flexure_Y_dir()['status']"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### CHECK THE ADEQUACY OF THE FOUNDATION AGAINST SHEAR, PUNCHING AND SLIDING"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'The design shear resistance of 609.792kN exceeds the design shear force of 520.616kN - PASS!!!'"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Transverse shear check along x direction\n",
"fdn_design.tranverse_shear_check_Xdir()['status']"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'The design shear resistance of 739.123kN exceeds the design shear force of 398.459kN - PASS!!!'"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Transverse shear check along y direction\n",
"fdn_design.tranverse_shear_check_Ydir()['status']"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'The maximum punching shear resistance of 4.488N/mm² exceeds the design punching shear stress of 1.691N/mm² - PASS!!!'"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Punching shear check at the face of the column\n",
"fdn_design.punching_shear_column_face()['status']"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'The maximum punching shear resistance of 0.798N/mm² exceeds the design punching shear stress of 0.588N/mm² - PASS!!!'"
]
},
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Punching shear check at 1d from face of the column\n",
"fdn_design.punching_shear_check_1d()['status']"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'The maximum punching shear resistance of 0.399N/mm² exceeds the design punching shear stress of 0.222N/mm² - PASS!!!'"
]
},
"execution_count": 32,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Punching shear check at 2d from face of the column\n",
"fdn_design.punching_shear_check_2d()['status']"
]
},
{
"cell_type": "code",
"execution_count": 33,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"' The allowable sliding resistance 332kN is greater than the actual horizontal loads 70kN Status - PASS!!!'"
]
},
"execution_count": 33,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"fdn_design.sliding_resistance_check()['status']"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.7 64-bit",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "f6246b25e200e4c5124e3e61789ac81350562f0761bbcf92ad9e48654207659c"
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}