Modeling a pde on matlab

조회 수: 5 (최근 30일)
N G
N G 2024년 7월 11일
이동: Torsten 2024년 7월 11일
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일
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일
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일
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.

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by