Numerical assessment of metamaterial and adaptive acoustic liners