About Global Parameters
If you plan to solve your model for several different parameter values, it is convenient to define them in the Parameters node and make use of the parametric sweep functionality in COMSOL Multiphysics. Global parameters can be used in expressions during all stages of model setup, like creating geometry, applying physics, or defining the mesh.
1
mphsetparam(model, 'L', '9[cm]', 'Length of the busbar');
mphsetparam(model, 'rad_1', '6[mm]', 'Radius of the fillet');
mphsetparam(model, 'tbb', '5[mm]', 'Thickness');
mphsetparam(model, 'wbb', '5[cm]', 'Width');
mphsetparam(model, 'mh', '6[mm]', 'Maximum element size');
mphsetparam(model, 'htc', '5[W/m^2/K]', 'Heat transfer coefficient');
mphsetparam(model, 'Vtot', '20[mV]', 'Applied electric potential');