Azzera filtri
Azzera filtri

Modeling a pde on matlab

65 visualizzazioni (ultimi 30 giorni)
N G
N G il 11 Lug 2024 alle 1:10
Spostato: Torsten il 11 Lug 2024 alle 12:19
How do I model the given pde on matlab
  2 Commenti
Torsten
Torsten il 11 Lug 2024 alle 8:59
At first, you need a second differential equation because the one above has P and H as unknowns.
N G
N G il 11 Lug 2024 alle 11:35
H is known

Accedi per commentare.

Risposte (3)

Suraj
Suraj il 11 Lug 2024 alle 6:41
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 Commento
N G
N G il 11 Lug 2024 alle 6:59
I have 2 dependent variables and 2 independent variables, how can I model that?

Accedi per commentare.


Ruchika Parag
Ruchika Parag il 11 Lug 2024 alle 6:48
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 il 11 Lug 2024 alle 12:11
Spostato: Torsten il 11 Lug 2024 alle 12:19
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.

Tag

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by