The error "Failed to create boundary layer mesh for domains" occurs.
First, due to continual improvements in meshing, make sure to use the latest version of COMSOL Multiphysics: Product Download
The mesh generator was not able to create the boundary layers for some domains. The boundary layer meshing algorithm is sensitive to the topology of the model geometry, and it might help to, for example, remove any unnecessary interior boundaries. Check the information in the error message for details about location and possible cause of the problem. Also see the section "Troubleshooting Boundary Layer Mesh Generation" in the COMSOL documentation.
If possible, send the model file which is causing the issue to COMSOL Technical Support.
COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.