How to include constraint for pdepe solution (e.g., u>0)
Mostrar comentarios más antiguos
Hello, I want to solve a parabolic partial differential equation (i.e., mixed Richards' Eq): du/dt=d/dz(A(z)*du/dz+B(z)) I want to put a constraint so that all solution are greater than a constant value, c (u>c). I would be grateful if you help me.
Thanks, Abedeh
Respuestas (1)
Gareth Thomas
el 3 de Oct. de 2016
0 votos
In R2016b one can use the Piecewise function. I hope that this helps you.
1 comentario
Abedeh Abd
el 3 de Oct. de 2016
Categorías
Más información sobre Numerical Integration and Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!