Apart from what has said, one question: do you want to set the gradient, or the value of the temperature in the near wall cell? If delta denotes the (dimensional) y+, your formula is a first-order discretization in finite differences (and that is not equal to the expression that Fluent uses to compute gradients)