get solution in spesific point in the domain after solving pde

2 ビュー (過去 30 日間)
Dany
Dany 2013 年 9 月 17 日
hi, after solving pde on some domain i've created using: u=assempde(b,p,e,t,c,a,f)
is it possible to extract the value in a spesific point in that domain?
thank you.

採用された回答

Bill Greene
Bill Greene 2013 年 9 月 17 日
There are several ways to do this. Here is one simple one:
% p is the point matrix from initmesh
% u is the solution from, e.g. assempde
F = TriScatteredInterp(p(1,:)', p(2,:)', u);
x = .5; y = .8; % location of a point in the model
upt = F(x,y);
Bill

その他の回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by