get solution in spesific point in the domain after solving pde

조회 수: 3 (최근 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개)

카테고리

Help CenterFile Exchange에서 Boundary Conditions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by