How to get the numerical value from Matlab - comsol server?

조회 수: 5 (최근 30일)
Jagadeesh Korukonda
Jagadeesh Korukonda 2021년 8월 16일
I connected Matlab to COMSOL server and created a model. The model describes flow past hot cylinder in a rectangular channel..I wrote a code for created model and attached that code to this question.
The code is written as a function of radius(R). and its output is Nusselt no. (Nu). I found Nu by different means.
In that code generated from COMSOL model, he below code is used for finding Nusselt no.
%Nusselt no.
Unable to resolve the name model.result.dataset.
model.result.dataset('dset1').set('geom', 'geom1');
model.result.numerical.create('av1', 'AvLine');
model.result.dataset('dset1').set('geom', 'geom1');
model.result.numerical.create('av1', 'AvLine');
model.result.numerical('av1').set('intsurface', true);
model.result.numerical('av1').selection.set([5 6 7 8]);
model.result.numerical('av1').set('expr', {'2*Rc*ht.dfluxMag/K'});
model.result.numerical('av1').set('descr', {'Conductive heat flux magnitude'});
how to get that value in matlab? and which commands I've to use for that numerical value?
Thank you

답변 (0개)

카테고리

Help CenterFile Exchange에서 Dynamic System Models에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by