in MATLAB 2015b PDE toolbox for 3D geometry, how can i specify coefficients?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Alan Weiss
el 1 de Nov. de 2016
Editada: Alan Weiss
el 1 de Nov. de 2016
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 comentarios
Alan Weiss
el 2 de Nov. de 2016
Editada: Alan Weiss
el 2 de Nov. de 2016
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
Ver también
Categorías
Más información sobre Boundary Conditions 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!