필터 지우기
필터 지우기

Thomas Algorithm: I want to know how to specify the boundary conditions of Thomas Algorithm.

조회 수: 2 (최근 30일)
I want to know how to specify the boundary conditions of Thomas Algorithm. I came to know from "help thomas" that :
LEFT is the left boundary conditions
RIGHT is the right boundary conditions
LEFT and RIGHT should be arranged in the form [THETA DTHETA CONS]
THETA is the theta coefficient in the boundary condition
DTHETA is the d theta / d x coefficient in the boundary condition
CONS is the constants, if any, on the right-hand side, minding the sign
What if I have boundary conditions which are constants. For example left boundary condtion is "20" and right boundary condtion is "100". Can I write ???
LEFT = [0 0 20];
RIGHT = [0 0 100];
Is that theoretically correct?

답변 (1개)

Ege Keskin
Ege Keskin 2019년 2월 3일
Are you using this to solve a heat transfer problem? If so, the boundary conditions are usually constant because the integration constants are derived from the boundary conditions.
  댓글 수: 2
Yogi Patel
Yogi Patel 2019년 2월 3일
Yeah, I know the boundary conditions are constant. But do you know how to write that constant value of boundary condition in Thomas algorithm?
Walter Roberson
Walter Roberson 2019년 2월 3일
How to write the boundary conditions is going to depend on the implementation you are using. I asked for clarification of that, but you did not respond. Mathworks does not provide a function named thomas .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by