Modeling a pde on matlab

3 次查看(过去 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.

请先登录,再进行评论。

回答(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