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

9 次查看(过去 30 天)
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 中查找有关 Installation 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by