Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
created finite diff ipynb
- Loading branch information
0 parents
commit a38cfd6
Showing
3 changed files
with
311 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Numerically integrate Euler-Bernoulli equation | ||
$EI\frac{d^4w}{dx^4}=0$ | ||
|
||
Boundary Conditions: | ||
|
||
1. $w(0)=0$ | ||
|
||
2. $w'(0)=0$ | ||
|
||
3. $w''(L)=0$ | ||
|
||
4. $EIw'''(L) = -F$ | ||
|
||
Using constants | ||
- L=400 mm | ||
- E=200e3 MPa | ||
- t=3 mm | ||
- w=12 mm | ||
|
||
**Demonstrate qualitative convergence between 4, 24, and 44 nodes. The beam | ||
shape looks similar between each solution** | ||
|
||
**Demonstrate quantitative convergence of tip displacement under given load.** | ||
|
||
The relative error is calculated based upon finite-difference calculations | ||
|
||
$e_{rel}=\frac{\delta_{new}-\delta_{old}}{\delta_{new}}$ | ||
|
||
The absolute error is compared to the analytical solution of $EIw''''=0$ for a | ||
cantilever beam | ||
|
||
$\delta_{an}=\frac{FL^3}{3EI}$ | ||
|
||
$e_{abs}=\frac{\delta_{new}-\delta_{an}}{\delta_{an}}$ |
Oops, something went wrong.