Regarding choosing correct boundary condition

조회 수: 4 (최근 30일)
Rahul
Rahul 2024년 6월 21일
댓글: Rahul 2024년 6월 21일
Hi,
I have a condition where at the left boundary and the right boundary I need the flux to be non-zero.
Thus, the equations
pL + qL*fL = 0 and pr + qr*fr = 0 are such that fL and fr being non zero is making my equation hard to determine the values for pl, ql as well as pr, qr.
Plz tell me how should I approach for the same.
with regards,
rc

채택된 답변

Torsten
Torsten 2024년 6월 21일
편집: Torsten 2024년 6월 21일
If you set qL = 1 and qr = 1 and you defined f as f = D*du/dx in the function where you need to specify [c,f,s], you can specify the flux in pL and pr.
  댓글 수: 7
Torsten
Torsten 2024년 6월 21일
편집: Torsten 2024년 6월 21일
What is u(2) ? Is it n ?
The flux for u(4) should not include pi_s.
Put 1/r d/dr(r*n*pi_s) in the source term s(4) and remove it in the specification of f(4).
Rahul
Rahul 2024년 6월 21일
Hi, Torsten,
Yes, u(2) is n.
Ok, I'll do so. Thanks a lot.
rgds,
rc

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by