Coefficient Multiplying Laplacian Implicit in Neumann BC?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I'm solving the parabolic equation:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/283545/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/283546/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/283547/image.png)
I set up the PDE as:
specifyCoefficients(model,'m',0,'d',1,'c',D,'a',0,'f',0);
and the Neumann BC as:
applyBoundaryCondition(model,'neumann','Face',1,'g',zeros(1),'q',k/D);
However, reading the information about the Neumann BCs on the webpage below, I am wondering if Matlab automatically uses D in the boundary condtition because it is the coefficient c in the equation set up?? If this is the case, would I just use??
applyBoundaryCondition(model,'neumann','Face',1,'g',zeros(1),'q',k);
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Boundary Conditions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!