Can we solve convection diffusion equation using pdetoolbox given a is constant vector?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi!
We would like to solve the following 2D convection diffusion equation. Would it be possible using vanilla MATLAB pdetoolbox?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1222947/image.png)
where
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1221977/image.png)
or the flow is laminar in simpler words.
2 Kommentare
Torsten
am 7 Dez. 2022
Why v_x ? Shouldn't it be v_y ?
For r=R, velocity should be 0. This is not the case for your formula.
Are you sure diffusion in x-direction is relevant compared to convection in y-direction ?
In other words: Don't you think it suffices to solve
dc/dt = -v_y * dc/dy - f(c)
?
Antworten (1)
SAI SRUJAN
am 27 Okt. 2023
Hi Hashim,
I understand that you are trying to solve a non linear partial differential equation.
Typically, the Partial Differential Equations (PDEs) in MATLAB adhere to the following format,
c(x,t,u,du/dx).du/dt=(x^-m).d/dx[(x^-m)f(x,t,u,du/dx)]+s(x,t,u,du/dx)
Given a PDE, model the partial differential equation to make an analogy to the format specified above.To be more specific in resolving the issue, you can use the "pdepe" MATLAB function to further solve the issue by setting initial and boundary conditions.
For a comprehensive understanding of the "pdepe" function in MATLAB, please refer to the following documentation.
1 Kommentar
Siehe auch
Kategorien
Mehr zu PDE Solvers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!