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!