I am using MATLAB live link to make a heat transfer model. The geometry that I am using contains several cubes which are in contact with each other. I want to apply "ThinThermallyResistiveLayer" to some of the interfaces between the cubes. I was wondering how I can change the interface selection with respect to time. For instance, at t=2s my code would be ttrl1.selection.set([11]) and at t=4s my code would be ttrl1.selection.set([16]);
I like to have a Function/Variable which I can have a comment like ttrl1.selection.set([Funcion/Variable]); in my MATLAB code to change the interface
The MATLAB code which is related to this part is as follow
ttrl1=model.physics('ht').feature.create('ttrl1', 'ThinThermallyResistiveLayer', 2);
ttrl1.selection.set([11]);
ttrl1.set('ThermalResistanceType', 1, 'ThermalResistance');
ttrl1.set('R_s', 1, '10000');
I like to have a Function/Variable which I can have a comment like ttrl1.selection.set([Funcion/Variable]); in my MATLAB code to change the interface
The MATLAB code which is related to this part is as follow
ttrl1=model.physics('ht').feature.create('ttrl1', 'ThinThermallyResistiveLayer', 2);
ttrl1.selection.set([11]);
ttrl1.set('ThermalResistanceType', 1, 'ThermalResistance');
ttrl1.set('R_s', 1, '10000');