In COMSOL 5.1, If the batch job is generated from a parametric sweep, a unique name that depends on the parameter names and values is automatically created. in my case, there are too many parameters to generate a reasonable filename
Is there anybody know how to define the outputname in COMSOL or through matlab? or is there any other way to store the results for all the calculated cases?
For example: the following script is the definition of parameter names and parameter values in batch sweep:
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'});
the file name would be sth like
batchmodel_eta_RN_0.29_eta_m_0.2_eta_concrete_0.29_Dp_1_0.002840184_Dp_1c_0.002840184_Dpm_1_0_halflife_1_5700_R_1_1_R_1c_1_Rm_1_0_Cs_1_0_Cs_conc_1_696274926602.475_IRF_1_0.0726605008325613_inventory_ini_41068264142.2127.mph
the name is too long to be saved and written.
Many thanks!
Is there anybody know how to define the outputname in COMSOL or through matlab? or is there any other way to store the results for all the calculated cases?
For example: the following script is the definition of parameter names and parameter values in batch sweep:
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'});
the file name would be sth like
batchmodel_eta_RN_0.29_eta_m_0.2_eta_concrete_0.29_Dp_1_0.002840184_Dp_1c_0.002840184_Dpm_1_0_halflife_1_5700_R_1_1_R_1c_1_Rm_1_0_Cs_1_0_Cs_conc_1_696274926602.475_IRF_1_0.0726605008325613_inventory_ini_41068264142.2127.mph
the name is too long to be saved and written.
Many thanks!