in MATLAB 2015b PDE toolbox for 3D geometry, how can i specify coefficients?
1 次查看(过去 30 天)
显示 更早的评论
The 'specifyCoefficients' command is given in the documentation of the 2016b MATLAB, but in 2015b it is undefined. what should i use instead? Thank you.
0 个评论
回答(1 个)
Alan Weiss
2016-11-1
编辑:Alan Weiss
2016-11-1
To get to this documentation, I went to the MathWorks documentation page and clicked the Other Releases link on the right part of the page, just below the first divider.
You could also use the built-in documentation for your version of MATLAB, available by entering doc at the MATLAB command line, or by clicking the question mark on the upper part of the screen.
Alan Weiss
MATLAB mathematical toolbox documentation
2 个评论
Alan Weiss
2016-11-2
编辑:Alan Weiss
2016-11-2
The equation falls into the class of problems you can solve with the c coefficient being your constant c, and the a coefficient being your constant b, and f, m, and d all = 0. Well, the problem setup is
-nabla dot (c nabla u) + au = 0,
which is the negative of your equation
c*laplacian(u) - b*u = 0.
You would call the solver as follows, after including the geometry, making a mesh, and including the boundary conditions in model:
u = assempde(model,c,a,f);
Alan Weiss
MATLAB mathematical toolbox documentation
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Boundary Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!