A b str a c tT he grid generation m ethod based on th e m inim ization of th e discrete barrier functional w ith feasible set consisting of quasi-isom etric grids is suggested. T he deviation from isom etry for given grid connectivity an d fixed boundary nodes is m inim ized via th e contraction of th e feasible set into small vicinity of th e optim al grid. Form ulation of functional w ith given m etrics in b o th physical and logical spaces allows to consider th e adaptive grid generation in term s of quasi isom etric grids and cover m any practical applications. T he fast an d reliable procedure for finding feasible solution based on th e penalty-like reform ulation of barrier functional and th e continuation technique is described. T he relations between different barrier approxim ations to quasi-isom etric functional in 2-D and 3-D cases are investigated. N um erical experim ents have confirm ed th a t th e suggested functional allows to obtain high quality grids.