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.
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Installation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!