How to Use the Meshes as Group
From KratosWiki
In kratos each modelpart can store several meshes. This meshes can be accessed via a unique id of the mesh given from input file with GetMesh (or pGetMesh ) method:
ModelPart::MeshType& inlet_mesh = rThisModelPart.GetMesh();