0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

thin wall structure x軸方向応力σxと円周方向応力σt 第10章 薄肉圧力容器 基本例題10.01 p335「材料力学演習(20221021)」をsympyでやってみたい。

Last updated at Posted at 2023-12-13

オリジナル

基本例題10.01 p335「材料力学演習(20221021)一括(ver.3.3)」を勉強したい。#sympy
        ???タブレット等で、pdfを開く事ができないかも。??? 

sympyで

ver0.2 (普通?は,ver0.1でしょうか?)

from sympy import *

var('σx,σt',real=True)
var('D,t,p',real=True)
var('l'    ,real=True)
print("#",solve(Eq(pi*D*t*σx,pi*D**2*p/4),σx)[0])
print("#",solve(Eq(l*t*σt*2,D*l*p)       ,σt)[0])
# D*p/(4*t)
# D*p/(2*t)

ver0.1

from sympy import *

var('σx,σt',real=True)
var('D,t,p',real=True)
var('l'    ,real=True)
Nx=pi*D*t*σx
Px=pi*D**2*p/4
eq=Eq(Nx,Px)
print("#",solve(eq,σx)[0])
Nt=l*t*σt
Pt=D*l*p
eq=Eq(Nt*2,Pt)
print("#",solve(eq,σt)[0])
# D*p/(4*t)
# D*p/(2*t)

いつもの? sympyの実行環境と 参考のおすすめです。

(テンプレート)

いつもと違うおすすめです。

参考文献

>一部に等分布荷重を受ける単純支持はり
>JSME p139
 
>片持ちばり 1)
>構造力学公式集 表5.1 片持ちばりの公式 p128

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?