Use model.component(<ctag>).mesh(<tag>).create(<ftag>,"AdjacentSelection") to create a named selection for one or more entities.
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).selection() to specify the input entities for the selection. For information about specifying a named selection as input, see Selections.