전산구조해석 report 1
- 최초 등록일
- 2022.06.14
- 최종 저작일
- 2022.06
- 10페이지/ 한컴오피스
- 가격 1,000원
소개글
"전산구조해석 report 1"에 대한 내용입니다.
목차
1. 이론
2. 코드
3. 결과 그래프
본문내용
13개의 nodes를 사용, 12개의 linear elements, 6개의 quadratic elements, 4개의 cubic elements
plot용 Master coordinates
-Linear elements = (-1, -0.5, 0, 0.5, 1)
-Quadratic elements = (-1, -0.75, -0.5, -0.25, 0, 0.25, 0.5, 0.75, 1)
-Cubic elements = (-1, -5/6, -2/3, -1/2, -1/3, -1/6, 0, 1/6, 1/3, 1/2, 2/3, 5/6, 1)
< 중 략 >
코드
x=linspace(-2,2,1000); %% 실제 함수의 x 값
%%linear part
mc1=linspace(-1,1,5); %% shape function을 각각의 master coordinate로 나누어 구간을 설정
l_mc1=length(mc1); %% linear master coordinate 개수
le1=linspace(-2,2,13); %% x의 구간을 linear, quadratic, cubic의 element개수에 맞게 나누기
l_le1=length(le1); %% global node의 개수
alpha=zeros(1,l_le1); %% 각 shape function에 곱해줄 계수(알파) 행렬 생성
x_output1=zeros(1,(l_mc1-1)*(l_le1-1)+1); %% 전체 노드 49개 행렬 생성
참고 자료
없음