Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 2194

how to change the Batch sweep output result file name

$
0
0
The batch sweep function in COMSOL 5.1 automatically stores the results for each parameter conbination in an new mph file. The fine name is typically composed of all the paramter names and values such as batchmodel_eta_RN_0.29_halflife_1_5700.mph.

in my case, there are too many parameters o generate a reasonable filename. Is there anybody know how to define the outputname in matlab?

model.study('std1').create('batsw', 'BatchSweep');
model.study('std1').feature('batsw').set('plistarr', {'eta_RN_1 eta_RN_2' ...
'eta_m_1 eta_m_2 ' ...
'eta_concrete_1 eta_concrete_2' ...
'Dp_1_1 Dp_1_2' ...
'Dp_1c_1 Dp_1c_2' ...
'Dpm_1_1 Dpm_1_2' ...
'halflife_1_1 halflife_1_2'...
'R_1_1 R_1_2'...
'R_1c_1 R_1c_2'...
'Rm_1_1 Rm_1_2' ...
'Cs_1_1 Cs_1_2' ...
'Cs_conc_1_1 Cs_conc_1_2' ...
'IRF_1_1 IRF_1_2' ...
'inventory_ini_1 inventory_ini_2'});

model.study('std1').feature('batsw').set('pname', {'eta_RN' 'eta_m' 'eta_concrete' 'Dp_1' 'Dp_1c' 'Dpm_1' 'halflife_1' 'R_1' 'R_1c' 'Rm_1' 'Cs_1' 'Cs_conc_1'...
'IRF_1' 'inventory_ini'});

or is there any other way to store the results for all calculated cases?

Many thanks!

Viewing all articles
Browse latest Browse all 2194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>