Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
Jagadeesh Korukonda
Jagadeesh Korukonda am 16 Aug. 2021
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

Antworten (0)

Kategorien

Mehr zu Dynamic System Models finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by