Skip to content

Commit

Permalink
calculate reaction forces at A
Browse files Browse the repository at this point in the history
  • Loading branch information
beachdweller committed Dec 6, 2024
1 parent d46fcc1 commit d5100a0
Showing 1 changed file with 66 additions and 4 deletions.
70 changes: 66 additions & 4 deletions 60_linear_algebra_2/127_Truss_Section_Method.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"cells": [
{
"cell_type": "markdown",
"id": "eb2204d4",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
"colab_type": "text",
"id": "view-in-github"
},
"source": [
"<a href=\"https://colab.research.google.com/github/kangwonlee/nmisp/blob/truss-example/60_linear_algebra_2/127_Truss_Section_Method.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\n"
Expand All @@ -13,6 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cc57ebcd",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,6 +25,7 @@
},
{
"cell_type": "markdown",
"id": "95df90d9",
"metadata": {},
"source": [
"## Truss\n",
Expand All @@ -32,6 +35,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "730ff013",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -48,6 +52,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "226a4774",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -67,6 +72,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2c6f5931",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -116,32 +122,88 @@
},
{
"cell_type": "markdown",
"id": "480740a9-c421-4d49-8978-0acf1444ec6c",
"metadata": {},
"source": [
"### Reaction forces\n",
"\n"
]
},
{
"cell_type": "markdown",
"id": "8ca7d426-c465-46f2-bc5b-81cce2a2f74b",
"metadata": {},
"source": [
"#### Moment around A\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0a881ec7-656b-4365-b718-5f0ad1328b79",
"metadata": {},
"outputs": [],
"source": [
"RGy = (\n",
" (\n",
" points[2, 0] * 1\n",
" + points[4, 0] * 2\n",
" )\n",
" ) \n",
" / points[5, 0]\n",
")\n",
"RGy\n",
"\n"
]
},
{
"cell_type": "markdown",
"id": "3e498bc5-d8cf-483a-9146-54661f610642",
"metadata": {},
"source": [
"Reaction force at G\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "50e14a8e-9a53-4173-bb46-da2ac36e7619",
"metadata": {},
"outputs": [],
"source": [
"RAy = 3 - RGy\n",
"RAy\n",
"\n"
]
},
{
"cell_type": "markdown",
"id": "34b6b8d8-174a-489f-9f65-5d48fc0eb4d1",
"metadata": {},
"source": [
"#### Moment around G\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0cc990c5-ecf0-477d-bf05-ef14fce7a6f8",
"metadata": {},
"outputs": [],
"source": [
"RAx = (points[5, 0] - points[4, 0]) * 2\n",
"+ (points[5, 0] - points[2, 0]) * 1\n",
"- (points[5, 0] - points[0, 0]) * RAy\n",
"RAx\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "81ce2c0a",
"metadata": {},
"outputs": [],
"source": []
Expand All @@ -168,4 +230,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit d5100a0

Please sign in to comment.