A general external material model defines a relationship between a number of input quantities and a number of output quantities, a relationship that may also depend on model parameters and stored states. From the physics interfaces’ point of view, an external material model is a black box, which may implement any relationship between provided input and required output quantities.
As a security precaution, running code contained in external libraries is by default not allowed in a new COMSOL installation. Therefore, in order to use external material models, you must open the Preferences dialog box, go to the Security page, and select Allow external processes and libraries.