Mechanical Translational Domain
The mechanical translational domain declaration is shown below.
domain translational % Mechanical Translational Domain % Copyright 2005-2013 The MathWorks, Inc. variables v = { 0 , 'm/s' }; end variables(Balancing = true) f = { 0 , 'N' }; end end
It contains the following variables:
Across variable v (velocity), in m/s
Through variable f (force), in N
To refer to this domain in your custom component declarations, use the following syntax:
foundation.mechanical.translational.translational