pde coefficient as function in 2 space
Mostra commenti meno recenti
Hello, I am trying to implement a elliptic pde on a 2D rectangular domain by PDE toolbox. The equation is following -div(C.grad(u))=f where C= a known constant but f is function of u as f= (A+u)/B, where A and B are known constant. Now i have two questions- 1. How can I implement the function for the coefficient f as a function? I have tried to put '(A+u)/B' but with error as dimension mismatch issue 2. How can I use workspace variable in the coefficient of pde.
Thanks in advance.
Best regards, Shovon.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su PDE Solvers in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!