Filter löschen
Filter löschen

explanation on boundary condition matrix

6 Ansichten (letzte 30 Tage)
Dany
Dany am 17 Sep. 2013
where can i find an explanation about boundary condition matrix? especially what does each row in this matrix stands for. the documantation provided in the matlab help is not very clear.
thank you.

Akzeptierte Antwort

Bill Greene
Bill Greene am 17 Sep. 2013
Have you looked at this page?
There is a general description of the matrix format along with two examples.
If you are defining boundary conditions in a MATLAB script, my own preference (and recommendation) is to write a "boundary file" (user-written MATLAB function) to define your boundary conditions instead of trying to create a boundary matrix. I find writing a boundary condition function to be much more straightforward than writing a boundary matrix. The approach is documented here:
Bill
  3 Kommentare
Bill Greene
Bill Greene am 18 Sep. 2013
The first argument to assempde (or pdenonlin, parabolic, etc) can be a function handle. For example:
b = @pdebound;
u=assempde(b, ...);
(Note, the function doesn't have to be named pdebound for this to work.)
Bill
Florian Baumgartner
Florian Baumgartner am 3 Aug. 2015
When I have only Dirichlet boundary conditions, do I have to gibe "assempde" 4 matrixes (q,g,h,r) or just 2 matrixes (h,r) with the command
if true
b = @pdebund
u = assempde(b, ...)
end

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by