How do I model the given pde on matlab

댓글 수: 2

Torsten
Torsten 2024년 7월 11일
At first, you need a second differential equation because the one above has P and H as unknowns.
N G
N G 2024년 7월 11일
H is known

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

답변 (3개)

Suraj
Suraj 2024년 7월 11일

0 개 추천

You can use the "pdepe" function in MATLAB to solve initial-boundary value problems for systems of PDEs in one spatial variable x and time t.
You can learn more about its usage from the link below,
The following page also has some examples of solving PDEs that you can refer,

댓글 수: 1

N G
N G 2024년 7월 11일
I have 2 dependent variables and 2 independent variables, how can I model that?

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

Ruchika Parag
Ruchika Parag 2024년 7월 11일

0 개 추천

Hi N G, you can check out the example on this page, which explains how to use a spatial mesh and plot the solution to model a partial differential equation:
Hope this helps!
Torsten
Torsten 2024년 7월 11일
이동: Torsten 2024년 7월 11일

0 개 추천

So you have H as a function of x and t. Are you sure about the + sign between the derivatives on the right-hand side ? Then
should be a good starting point.
Or use the PDE toolbox.

제품

릴리스

R2024a

태그

질문:

N G
2024년 7월 11일

이동:

2024년 7월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by