How can I solve 2D transient diffusion equation with nonlinear source term?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to solve the problem of 2d transient diffusion equation.
I created block like this figure, 60×6.
All of edges (E1,E2,E3,E4) is Dirichlet Boundary, 0.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268794/image.png)
where S is the concentration of each species(A,B,C,D), Ds is the diffusion constant for each species, and Rs is the reaction term for each species.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268795/image.png)
Initial condition:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268796/image.png)
Diffusion constant :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268797/image.png)
What should I write program?
Can anybody help me?
![block.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268798/block.jpeg)
0 comentarios
Respuestas (1)
Ravi Kumar
el 29 de En. de 2020
I don't see any interaction between species being defined by the stated PDEs. You can define coefficients usng PDEModel workflow: d = 1, c = Ds, and f = Rs.
Regards,
Ravi
0 comentarios
Ver también
Categorías
Más información sobre Geometry and Mesh en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!